From b68b93cd1d9cac2ac05310167d9ab848bc87dea9 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sat, 9 May 2026 01:37:44 +0100 Subject: [PATCH] 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 --- frameworks/gtk/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/frameworks/gtk/Makefile b/frameworks/gtk/Makefile index 3560e0c..98b7527 100644 --- a/frameworks/gtk/Makefile +++ b/frameworks/gtk/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gtk -PKG_VERSION:=4.18.6 +PKG_VERSION:=4.22.4 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=@GNOME/$(PKG_NAME)/$(basename $(PKG_VERSION)) -PKG_HASH:=e1817c650ddc3261f9a8345b3b22a26a5d80af154630dedc03cc7becefffd0fa +PKG_HASH:=51bd9f60c7d23a665a556c7364c21fb2e4e282566b3e7e092455e8f910330893 PKG_MAINTAINER:=Daniel Golle PKG_LICENSE:=LGPL-2.1-or-later @@ -91,6 +91,7 @@ MESON_ARGS += \ -Dprint-cpdb=disabled \ -Dprint-cups=disabled \ -Dcloudproviders=disabled \ + -Dsysprof=disabled \ -Dbuild-testsuite=false \ -Dbuild-tests=false @@ -99,8 +100,6 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/include/gtk-4.0 $(1)/usr/include/ $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/gtk-4.0 $(1)/usr/lib/ - $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig