135 Commits
Author SHA1 Message Date
Daniel Golle 11dae3ae49 weston: refuse meson subproject fallbacks
weston ships wrap files for aml, display-info, edid-decode, neatvnc
and perfetto. When a dependency check fails, meson quietly builds the
bundled copy, and Build/InstallDev then stages its library, headers
and pkg-config file over the ones of the real package, which broke
every later consumer of libdisplay-info. Pass --wrap-mode=nofallback
so a missing or unsuitable dependency fails the configure step.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-09-23 11:16:31 +01:00
Daniel Golle a7ca7540f9 weston: accept libdisplay-info 0.4
weston 16.0.0 requires libdisplay-info below 0.4.0 while the feed
ships 0.4.0, so meson silently fell back to the bundled 0.2.0
subproject. libweston uses no interface that 0.4.0 lacks; raise the
upper bound of the version constraint so the system library is used.

Fixes: 644a662612 ("weston: update to version 16.0.0")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-09-23 11:16:31 +01:00
Daniel Golle 644a662612 weston: update to version 16.0.0
Removed fullscreen-shell entirely; deprecated (but not yet removed)
xdg-shell-v6, the GStreamer-based remoting plug-in and the old
Pipewire virtual-output plug-in in favour of the new first-class
backend-pipewire backend. Improved Perfetto traces with debug
annotations, further HDR/colour-management work (grayscale output
colour effect, better inversion documentation), new DRM connector
properties (color-format, underscan/margin), DRM state-reuse and
plane-handling rework, Vulkan renderer explicit-synchronisation and
non-axis-aligned rotation support, and a large number of memory-leak
and use-after-free fixes across the DRM/GL/Vulkan/xdg-shell code
paths.

The old 'pipewire' and 'remoting' meson options were renamed to
'deprecated-pipewire' and 'deprecated-remoting' upstream (migrating to
the first-class 'backend-pipewire' option, already explicitly disabled
here); updated accordingly, otherwise meson configure would fail with
"Unknown options". Verified every other MESON_ARGS option referenced
by this Makefile still exists unchanged in 16.0.0's meson_options.txt.

Also add an explicit PKG_RELEASE:=1 line (version bump resets it from
the prior package's PKG_RELEASE:=2).

No patches to refresh. Hash verified against the release download and
the official SHA256 published in the upstream release announcement
(wayland-devel mailing list).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-08-25 17:47:11 +01:00
Daniel Golle b446792c1d cage: update to 0.3.1
- guard git version detection against a missing .git directory
- stop using DEFAULT_XCURSOR as a cursor theme name
- fix XDG-shell windows requesting fullscreen on startup

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-08-25 02:26:02 +01:00
Daniel Golle 4c5a3bb191 wlroots: update to version 0.20.2
Also add an explicit PKG_RELEASE line (was previously undefined).

Several Xwayland hardening fixes for handling malformed/malicious
client input: an out-of-bounds strndup() in read_surface_class(),
removed VLAs for MIME type atom lists, use of const pointers for
xcb_get_property_value(), no longer relying on the (removable)
xcb_get_property_reply_t.value_len field, a WM_TRANSIENT_FOR length
check, and checks against duplicate/mistyped WL_SURFACE_ID association
messages. Also: intersect the visible area with the output layout in
update_node_update_outputs(), don't send a new dmabuf feedback after a
scene node is disabled, set CLOEXEC on client FDs in
security_context_v1, emit set_parent when an Xwayland parent surface
is destroyed, and check the drag-and-drop action/accepted state on
touch-up.

No patches to refresh. Hash verified against the release archive and
an independent fresh git clone of the same tag (byte-identical tree
content after extraction).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-08-25 02:25:40 +01:00
Daniel Golle 03c0664552 wayland: update to 1.26.0
Notable changes: added wl_fixes.ack_global_remove() and delivery of
wl_registry.global_remove to a global's offer list; added the
wl_pointer.warp event; added new wl_shm formats and a
wl_shm_pool::error enum; added server-side wl_display_remove_socket_fd();
fixed a use-after-free in for_each_helper; several scanner fixes
(dropped a redundant exit() after fail(), fixed the emitted types for
new_id arguments, removed an unused arg_count); protocol documentation
fixes.

001-fix-wayland-scanner-detect.patch refreshed cleanly, no hunk-offset
changes needed. Hash verified against the release tarball and
Debian's independently-hosted orig tarball for 1.26.0-1.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-08-25 02:23:17 +01:00
Daniel Golle 58f9510cfc wlroots: update to version 0.20.1
Bugfix point release on the 0.20 stable series.

https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-06-11 17:08:18 +01:00
Daniel Golle 559cb9075e wayland-protocols: update to version 1.49
Adds new and updated Wayland protocol definitions.

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.49
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-06-10 04:51:48 +01:00
Daniel Golle 751b350662 cage: update to 0.3.0
Bump from 0.2.0. Also fix PKG_SOURCE_URL to use $(PKG_VERSION)
instead of a hardcoded v0.2.0 path.

Link: https://github.com/cage-kiosk/cage/releases/tag/v0.3.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-19 14:36:11 +01:00
Daniel Golle 1b3744b6ab weston: update to 15.0.1
Major version update from 14.0.2.

Drop four downstream DRM backend patches (001-004) and the
100-timespec.patch that have all been merged upstream.

Drop the now-removed meson options:
  -Dbackend-drm-screencast-vaapi
  -Dscreenshare
  -Dshell-fullscreen (twice listed)

Add -Dshell-lua=false explicitly (default is auto, requires
Lua >= 5.4 which is not available on OpenWrt).

Add +vulkan-loader to runtime DEPENDS - libweston in 15.x links
against libvulkan unconditionally.

Link: https://gitlab.freedesktop.org/wayland/weston/-/releases/15.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-19 02:56:49 +01:00
Daniel Golle b68b93cd1d gtk: update to 4.22.4
Bump from 4.18.6 to current upstream stable.

GTK 4.22 highlights:
 * SVG support: built-in GtkSvg backend with native rendering
 * Updated GPU rendering with broader Vulkan adoption
 * Improved input methods, accessibility and DPI handling
 * Modernised GtkInscription, popovers and menus
 * Major-version glib requirement (>= 2.84)

Add -Dsysprof=disabled to MESON_ARGS - 4.22 pulls in libsysprof
which conflicts with the bundled glib subproject when sysprof
isn't available on the build host.

Drop the now-removed /usr/lib/gtk-4.0 directory copy from
Build/InstallDev (gtk no longer installs anything under that
path).

Link: https://gitlab.gnome.org/GNOME/gtk/-/tags/4.22.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-17 12:54:46 +01:00
Daniel Golle 060d917e70 wlroots: update to 0.20.0
Bump from 0.18.2 to current upstream stable.

Requires libdrm >= 2.4.129 and wayland-protocols 1.48+ with
the enum-header generator.

Link: https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.20.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-11 12:30:30 +01:00
Daniel Golle f212493fb6 wayland-utils: update to 1.3.0
Update from 1.2.0.

Link: https://gitlab.freedesktop.org/wayland/wayland-utils/-/tags/1.3.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-10 00:57:28 +01:00
Daniel Golle ba42527f2a wayland-protocols: update to 1.48
Bump from 1.45 to current upstream stable.

1.48 introduces the new 'enum-header' wayland-scanner mode that
generates a *-enum.h header per protocol. wlroots 0.20+ relies
on these. Extend Build/InstallDev to copy
/usr/include/wayland-protocols/*.h into staging so consumers can
include them via <wayland-protocols/...-enum.h>.

Link: https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/1.48
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-10 00:57:28 +01:00
Daniel Golle 6a5b51e4dc wayland: update to 1.25.0
Bump from 1.23.0 to current upstream stable.

Link: https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.25.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-05-10 00:57:28 +01:00
Tito Brasolin b4b6cefc8b qt5: update source url to use qt archive
The official_releases directory returns 404 for Qt 5.15.16.
Switching to the archive path ensures a reliable primary download.

Fixes #101
Relates to #72

Signed-off-by: Tito Brasolin <tito.brasolin@gmail.com>
2026-03-30 13:21:36 +02:00
Florian Eckert 60bfe72645 qt5base: only show OPENGL choice if qt5base-gui is selected
The choice for the config option 'BUILD_qt5base-gui_OPENGL_OPENGLES2'
and 'BUILD_qt5base-gui_OPENGL_NONE' should only be visible if 'qt5base-gui'
is selected. This also applies to the default value if 'qt5base-gui' is
not selected.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-07-22 13:24:23 +02:00
Daniel Golle 1a3f140de3 weston: fix crash on RaspberryPi 3 with VC4 DRM driver
See issue:
https://gitlab.freedesktop.org/wayland/weston/-/issues/1024

Patches imported are:
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1621

Hopefully they will be part of an 14.0.3 release.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-19 16:56:01 +01:00
Daniel Golle c7cdfe1b49 gtk: drop IconBrowser demo applet
The IconBrowser has been dropped upstream, which currently breaks the
build of the libgtk-utils package. Drop it here too.

Fixes: af09bd7 ("gtk: update to 4.18.6")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-16 12:17:37 +01:00
Daniel Golle df62126f87 wlroots: update to 0.18.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-15 15:08:31 +01:00
Daniel Golle 0de92ab7ea weston: update to 14.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-15 15:08:31 +01:00
Daniel Golle 042da23cfc wayland-protocols: update to 1.45
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-15 15:08:31 +01:00
Daniel Golle af09bd725c gtk: update to 4.18.6
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-13 12:52:26 +01:00
Daniel Golle da74d6c1e8 gtk: support build on soft-float PowerPC
Improve existing patch to also support build on soft-float PowerPC.

Fixes: #70
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-06-20 15:04:15 +02:00
Mirko Vogt eb56ee07e5 qt5: add package qt5virtualkeyboard 2025-05-22 12:13:09 +00:00
Mirko Vogt d74795e935 qt5: add package qt5svg 2025-05-22 12:12:54 +00:00
Mirko Vogt 69a5a8a7c3 qt5/quick: also install Plugins into staging-dir
cmake errors out about referenced files not being found otherwise.
2025-05-22 10:58:15 +00:00
Mirko Vogt f2d91667f1 qt5/quick: also install CMake files into staging-dir 2025-05-22 10:58:15 +00:00
Mirko Vogt 4c44d2d203 qt5/cmake.mk: add makefile for inclusion for qt5 projects using cmake 2025-05-22 10:58:15 +00:00
Mirko Vogt cae7eda25f qt5quick: rename to qt5declarative
qtdeclarative always has been and still is the official module name.
2025-05-22 10:58:15 +00:00
Mirko Vogt 8442f0db3c qt5/common: only apply pkg-defaults for official modules
Determined by PKG_NAME starting with "qt5".
2025-05-22 10:58:15 +00:00
Mirko Vogt 7d9d4a9361 qt5/common: official module names don't contain dashes
strip '-' from PKG_NAME to determine official module name, but keep them
inside PKG_NAMEs for readibility (same as we still have the major
version number inside PKG_NAMEs)
2025-05-22 10:58:15 +00:00
Mirko Vogt 4d8a328925 qt5*: there's no more 2 versions of QtQuick - quick2 now is just quick 2025-05-22 10:58:15 +00:00
Mirko Vogt a09ab9c206 qt5/qmake: rework issue of install prefix containing staging-dir 2025-05-22 10:58:15 +00:00
Mirko Vogt 580d0fcc8e qt5: move Build/Install/HostFiles from common.mk to qmake.mk
This directive is for target specific host files which can only result
in qmake builds.
2025-05-22 10:58:15 +00:00
Mirko Vogt 45d8e4b6a7 qt5/base: prepare for own mkspec file for taregt specific host builds
This is trying to address the following issue: We pass variables to
qmake which get appended to qmake specific vars in mkspecs/*/qmake.conf.
However projects might invoke qmake once again, however without passing
respective variables along.
We might need to consider hard-coding the flags inside qmake.conf.
2025-05-22 10:58:15 +00:00
Mirko Vogt e536bd5911 qt5*: outsource common PKG_*-vars into common.mk
given qt5/common.mk is now included earlier, some variables such as
CONFIGURE_PREFIX are not yet defined. Since it's always /usr anyway,
set it statically.
2025-05-22 10:58:15 +00:00
Mirko Vogt cecd0e026f qt5*: globally define Qt5 version 2025-05-22 10:58:15 +00:00
Mirko Vogt 40ced33869 qt5: purge pkg qt5quick2-2d-sw-renderer-GLstubs
qt5quick2-2d-sw-renderer-GLstubs was a hack back then to get QtQuick
running on hardware without native gles2 support, but isn't needed
for recent versions anymore.
2025-05-22 10:58:15 +00:00
Mirko Vogt b749b9e83d qt5*: split qmake.mk into common.mk and qmake.mk
That way projects not using qmake (but cmake) can still import all qt5
specific variables and helper functions, without its routines being
overriden by the qmake specific ones.
2025-05-22 10:58:15 +00:00
Mirko Vogt 8c825c6477 qt5*: include qmake(5).mk file directly from the qt5 package 2025-05-22 10:58:15 +00:00
Mirko Vogt 8155ef231f qt5base: do not copy qmake.mk file into staging-dir anymore
Packages should now include the file directly from within the qt5
directory part of the feed..
2025-05-22 10:58:15 +00:00
Mirko Vogt 6783ae0a9d qt5base: allow more fine-grained builds, enable building with gles2 2025-05-22 10:58:15 +00:00
Mirko Vogt 484911f1b9 qt5base: introduce build config options, starting with support for inotify 2025-05-22 10:58:15 +00:00
Mirko Vogt 15d50e1605 qt5base: explicitly disable KMS support 2025-05-22 10:58:15 +00:00
Mirko Vogt af2dc0b0d4 qt5base: restructure Makefile a bit (only cosmetics) 2025-05-22 10:58:15 +00:00
Mirko Vogt 10cefd1467 qt5base: disable udev / input auto-discovery by default
Under certain circumstances udev appears to be responsible (or part of)
a race condition, where input devices are treated and behave differently
than expected.

An attempt of documenting this issue:
https://bugreports.qt.io/browse/QTBUG-86630
2025-05-22 10:58:15 +00:00
Mirko Vogt 9e0912ac7e qt5declarative: also install cmake and pkgconfig files for qt5quick 2025-05-22 10:58:15 +00:00
Mirko Vogt 68d48f0ef8 qt5base: introduce rule to install pkgconfig *.pc files
and use that for files coming out of an qt5base install already.
2025-05-22 10:58:15 +00:00
Mirko Vogt 36d9961785 qt5base: install all built plugin binaries into $(STAGING_DIR)
They shouldn't be necessary, as nothing will or at least should link
against the resulting shared objects, as they aren't regular ones but
plug-ins.
However cmake-based projects complain about them missing - hence
provide/install them.
2025-05-22 10:58:15 +00:00