new file mode 100644
@@ -0,0 +1,30 @@
+From c34fba6fe5c3ecd2028461a4317bd2916e2a09d7 Mon Sep 17 00:00:00 2001
+From: Christian Hergert <chergert@redhat.com>
+Date: Mon, 16 Sep 2024 09:48:15 -0700
+Subject: [PATCH] build: reduce GLib requirement
+
+This is kept lower so that you can build without GTK on older systems.
+
+Related: https://gitlab.gnome.org/GNOME/sysprof/-/commit/530b4a9d121c8659148c36ce67f2ce415443baa5#note_2223853
+Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
+Upstream: https://gitlab.gnome.org/GNOME/sysprof/-/commit/e5382d1b8cae4d829751938ce39c2e5fbc419064
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 63a31894..696b87be 100644
+--- a/meson.build
++++ b/meson.build
+@@ -45,7 +45,7 @@ need_libsysprof = (need_gtk or
+ get_option('tests'))
+
+ dex_req = '0.6'
+-glib_req = '2.80.0'
++glib_req = '2.76.0'
+ gtk_req = '4.15'
+ polkit_req = '0.105'
+
+--
+2.46.2
+
@@ -1,5 +1,5 @@
-# From https://download.gnome.org/sources/sysprof/46/sysprof-46.0.sha256sum
-sha256 73aa7e75ebab3e4e0946a05a723df7e6ee4249e3b9e884dba35500aba2a1d176 sysprof-46.0.tar.xz
+# From https://download.gnome.org/sources/sysprof/47/sysprof-47.0.sha256sum
+sha256 7424c629434660654288c04248998c357d1ce87ee1559fd44df1980992ef5df5 sysprof-47.0.tar.xz
# License files
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
@@ -4,7 +4,7 @@
#
################################################################################
-SYSPROF_VERSION_MAJOR = 46
+SYSPROF_VERSION_MAJOR = 47
SYSPROF_VERSION = $(SYSPROF_VERSION_MAJOR).0
SYSPROF_SOURCE = sysprof-$(SYSPROF_VERSION).tar.xz
SYSPROF_SITE = https://download.gnome.org/sources/sysprof/$(SYSPROF_VERSION_MAJOR)
Include an upstream patch that allows building with older versions of GLib, to avoid needing to update its package. https://gitlab.gnome.org/GNOME/sysprof/-/blob/47.0/NEWS Signed-off-by: Adrian Perez de Castro <aperez@igalia.com> --- .../0001-build-reduce-GLib-requirement.patch | 30 +++++++++++++++++++ package/sysprof/sysprof.hash | 4 +-- package/sysprof/sysprof.mk | 2 +- 3 files changed, 33 insertions(+), 3 deletions(-) create mode 100644 package/sysprof/0001-build-reduce-GLib-requirement.patch