Commit Graph

82 Commits

Author SHA1 Message Date
Mirko Vogt
6244c3ab91 qt5base - add missing includes for newer gcc versions (limits.h)
With gcc11+ certain headers are not included by default anymore - see:
https://www.gnu.org/software/gcc/gcc-11/porting_to.html#header-dep-changes
2025-05-22 10:58:15 +00:00
Mirko Vogt
844452a0ff qt5base: do not use OpenWrt's pkg-config wrapper
Qt takes care of wrapping cross compiling paths by its own
2025-05-22 10:58:15 +00:00
Mirko Vogt
220ce15648 qt5base: force-build "input"-component
Without that patch the build rule including the input component depends
on other options being enabled, such as e.g. GUI support.
Since our host build is headless and we only need the input component
which actually does not have any such dependencies, we patch to force-
build it.

input component being present is a requirement for e.g. qt5tools
building certain host tools - such as 'kmap2qmap'.
2025-05-22 10:58:15 +00:00
Mirko Vogt
e9618104f7 qt5base/qmake.conf: clear optimization related compiler flags 2025-05-22 10:58:15 +00:00
Mirko Vogt
e8e789efc3 qt5*: adjust Qt5 suite to previously applied path/name changes 2025-05-22 10:58:15 +00:00
Mirko Vogt
aae52e9b46 qt5base: change dir/file structure for Qt5 install in staging-dirs
Main objective is to make sure every Qt5 related file is clearly about
Qt version *5*. For files which do not contain the version number, make
sure the path contains it (e.g. suffixing the directory paths with
"/qt5"). This is done for host and target builds and accounts for the
following paths:
/bin -> /bin/qt5
/share -> /share/qt5
Every file inside /lib (except /lib/qt5/* which is covered by the
archdata-directory) is already versioned by its respective file names.
Keep target specific host builds inside $(STAGING_DIR)/host.
2025-05-22 10:58:15 +00:00
Mirko Vogt
6655386d5c qt5*: update complete Qt5 suite to latest version: 5.15.16 2025-05-22 10:58:15 +00:00
Mirko Vogt
5418a44bc8 qt5: move qt5 modules into its own sub-directory 2025-05-22 10:58:15 +00:00
Mirko Vogt
76fbcf9871 qt5base: compile host build without xkbcommon support 2025-05-22 10:58:15 +00:00
Christian Marangi
d41d8b1aa8 qt5base: fix wrong PKG_HASH
Fix wrong PKG_HASH this has probably changed after xz vulnerability
discovery. Update to new PKG_HASH version.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2025-02-02 13:25:34 +01:00
Daniel Golle
d66b60264d gtk: depends on libgst1player
Add missing dependency on libgst1player.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-08 02:09:00 +00:00
Daniel Golle
3c4f017739 gtk: import patch to support softfloat targets
Use work-around for missing fesetround() options on targets without
floating point unit.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-07 21:56:37 +00:00
Daniel Golle
92e4f15fbe cage: add package
Add Cage which is a Wayland kiosk compositor running a single
application in full-screen.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:27:37 +00:00
Daniel Golle
739b2397f5 wlroots: add package
Add wlroots Wayland compositor library.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:27:37 +00:00
Daniel Golle
fe0c58d84b gtk: add package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:15:41 +00:00
Daniel Golle
5bc7fe5692 weston: update to 14.0.1
Move to frameworks which is a batter match than libs.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:15:41 +00:00
Daniel Golle
af0b6d4d74 wayland: update to 1.23.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:15:41 +00:00
Daniel Golle
6e4b25f1b6 wayland-protocols: update to 1.38
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:15:41 +00:00
Daniel Golle
cd4a1ae512 qt4: remove package
Qt4 requires various X11 libraries which are not packaged in any feed.
Remove that obsolete version of Qt.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-05 01:14:12 +00:00
Andre Heider
c618948b88 qt5base: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-05-12 13:16:13 +02:00
Jeffery To
d3f5f2c931 wayland: Use tools/expat instead of expat/host
As described in
5bf74f2ad4,
packages that supposedly use expat/host actually use tools/expat.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-18 04:17:39 +00:00
Daniel Golle
1d1153bb87 wayland: update to version 1.20.0 (#21)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-12-10 02:00:45 +00:00
Daniel Golle
0897400be7 wayland-protocols: update to version 1.24
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-24 11:08:42 +00:00
Daniel Golle
cea8f9e255 wayland: update to version 1.19.92 (1.20 beta)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-24 11:08:42 +00:00
Daniel Golle
db3844af7b wayland-protocols: add package
Add wayland protocols which are required to build wayland clients and
servers.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-07 00:09:16 +01:00
Daniel Golle
88e6533268 wayland: add package
Add wayland framework package and host build.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-07 00:09:16 +01:00
Mirko Vogt
1f37050afa qt5: update to 5.15.0 (LTS release)
This also purges already back then (v5.9) legacy projects, such as Qt
Quick 1 / QML 1.

We also focus on software rendering only for now, postponing dealing
with messy vendor specific GL(ES) APIs, quirks and proprietary / binary
blobs. Implies certain features and packages being unavailable for the
moment.
2020-06-07 23:09:24 +00:00
Tito Brasolin
a04ec9e180 Fix -iconv/-no-iconv switch
See comment:
e529dc6cc7 (r26652161)
2018-01-06 15:25:29 +01:00
Mirko Vogt
e611d59c05 qt5base: extend patch to prevent SEGV when hiding cursor is desired 2017-12-11 17:38:30 +01:00
Mirko Vogt
615ee01e17 qt5quick2: include *.js-files for QML plugins and include qmlrunner in test pkg 2017-12-11 15:38:49 +01:00
Mirko Vogt
ae7d0f7d24 qt5base: fix segfault if QT_QPA_FB_HIDECURSOR=1 2017-12-03 22:20:12 +01:00
Mirko Vogt
fae337e73c Revert "do not build GUI (and other) component(s) in host build"
This reverts commit 2b0949f460.
Some modules being built for the host require Gui / evdev support -
notably the kmap->qmap converter in qt5tools.
2017-12-03 21:55:35 +01:00
Mirko Vogt
2b0949f460 do not build GUI (and other) component(s) in host build 2017-11-29 16:02:16 +01:00
Mirko Vogt
ebe0834496 qt5base: partially revert previous commit which enabled libinput support by default
As switching to libinput by default resulted in a few issues, let's make
it optional however enable and depend on libudev (only) by default.
2017-11-29 16:01:39 +01:00
Mirko Vogt
808b3c6430 qt5base: use libinput by default
Due to the switch from hotplug2 to procd, libudev - which libinput
requires - was rendered unusable on OpenWrt/LEDE.
However since there's libudev-fbsd now which is used as a
drop-in-replacement for libudev, we can now make use of libinput again
and therewith avoid the need of passing platform specific env vars
telling the paths to mouse/touchscreen/keyboard (evdev).
2017-11-18 17:11:24 +01:00
Mirko Vogt
ab90b203ba upgrade Qt5 to version 5.9.1
5.9 is a LTS tree so we're gonna stick to that version for a while now.

WARNING: This upgrade introduces a new dependency to pcre2 which is not
available in the lede-17.01 release branch!
2017-07-03 16:03:57 +02:00
Mirko Vogt
fa3789dae6 [qt5base] also *directly* pass CFLAGS/CXXFLAGS/LDFLAGS to Makefiles
Signed-off-by: Mirko Vogt <mirko-dev@nanl.de>
2017-03-01 04:20:50 +01:00
Mirko Vogt
3d7eaf0719 [qt5base] fix path to target qmake 2017-02-22 02:24:54 +01:00
Mirko Vogt
2b3636767d examples are not built by default -> disable 2017-02-21 19:19:29 +01:00
Mirko Vogt
c26c09e61b use variables for calling qmake
We need to distinguish as carefully as possible
between qmake for the host builds and qmake for
target builds
2017-02-21 19:19:20 +01:00
Mirko Vogt
2190867b24 copy all host tools 2017-02-21 19:19:20 +01:00
Mirko Vogt
32b3fa76c9 make qt5base a build dependency for qt5base/host 2017-02-21 19:19:20 +01:00
Mirko Vogt
43fcb377d5 add key 'HomePage' 2017-02-21 03:37:18 +01:00
Mirko Vogt
3640885523 add qt5tools - for now only build as HostBuild 2017-02-21 03:16:04 +01:00
Mirko Vogt
8746e4a224 remove Build/Configure sections
The generic Build/Configure/Default doesn't need to get
passed the project file name anymore.
2017-02-20 19:19:04 +01:00
Mirko Vogt
0c39484ffc qt5base: also build for host
Although Qt has the functionality of <host_build>'s,
it's supposed to be used and explicitly stated in
project files, so it can't be switched on from the
outside (e.g. via flags or env vars).

On top of that all builds using the <host_build>
directive get linked against libQtBootstrap.a which
is not always desired.

libQtBootstrap.a is also the only file available for
host builds, which means, <host_build>'s can't just make
use of and and link against e.g. libQtCore, as those
objects only get compiled for the target, not for the
host.

Because of above reasons, we build Qt twice now, once
for the host, once for the target.
2017-02-20 19:19:01 +01:00
Mirko Vogt
19579c851d qt5base/qmake.mk: make arg for project file optional 2017-02-06 02:57:40 +01:00
Mirko Vogt
bbae76c997 bump to release (5.8.0) and adjust/change to sha256 hashes 2017-02-06 02:56:53 +01:00
Mirko Vogt
28c376c9a8 Make Qt less smart about cross-toolchain detection and pkgconfig
When using the pkgconfig macros inside qmake
project files, qmake silently returns since it
detects being run inside a cross-toolchain and
pkgconfig normally doesn't work as expected in
such an environment.

However we patched pkgconfig to work inside
OpenWrt / LEDE (pkgconfig.real), so stop Qt
failing for qmake projects using pkgconfig.
2017-01-24 20:00:38 +01:00
Mirko Vogt
eef8974950 qt5 GL stubs should not have a build dependency on qt5base
I honestly wonder why I added that back then,
however right now it doesn't make any sense to me.

So, drop it and wait for it to backfire..
2017-01-18 13:31:05 +01:00