summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/sysprof/sysprof_48.1.bb
diff options
context:
space:
mode:
authorPablo Saavedra <psaavedra@igalia.com>2025-09-04 13:42:33 +0200
committerKhem Raj <raj.khem@gmail.com>2025-09-04 10:51:14 -0700
commit7856922e5ebede9bf41ff4a38065c8aeccaef51d (patch)
treeb24a6864b4aa0072eb3d7084dd9ed12592443531 /meta-gnome/recipes-gnome/sysprof/sysprof_48.1.bb
parent6485fad19084dc2c3fcb9fbb7e00ab955d110999 (diff)
downloadmeta-openembedded-7856922e5ebede9bf41ff4a38065c8aeccaef51d.tar.gz
sysprof: upgrade 48.0 -> 48.1
Changes: * libsysprof-capture: Clean ring buffer memory for counters Also: * Make elf loader search for debug links in .debug dirs Signed-off-by: Pablo Saavedra <psaavedra@igalia.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-gnome/recipes-gnome/sysprof/sysprof_48.1.bb')
-rw-r--r--meta-gnome/recipes-gnome/sysprof/sysprof_48.1.bb52
1 files changed, 52 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/sysprof/sysprof_48.1.bb b/meta-gnome/recipes-gnome/sysprof/sysprof_48.1.bb
new file mode 100644
index 0000000000..145c0bfe38
--- /dev/null
+++ b/meta-gnome/recipes-gnome/sysprof/sysprof_48.1.bb
@@ -0,0 +1,52 @@
1SUMMARY = "System-wide Performance Profiler for Linux"
2HOMEPAGE = "http://www.sysprof.com"
3LICENSE = "GPL-3.0-or-later"
4LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
5 file://src/sysprof/sysprof-application.c;endline=17;md5=a3de8df3b0f8876dd01e1388d2d4b607"
6
7inherit gnomebase gnome-help gettext systemd gsettings gtk-icon-cache mime mime-xdg features_check
8
9DEPENDS += " \
10 desktop-file-utils-native \
11 glib-2.0 \
12 glib-2.0-native \
13 json-glib \
14 libdex \
15 libunwind \
16 libxml2-native \
17 yelp-tools-native \
18"
19
20SRC_URI += "file://0001-meson-Check-for-libunwind-instead-of-libunwind-gener.patch \
21 file://0002-meson-Do-not-invoke-the-commands-to-update-the-icon-.patch \
22 file://0003-libsysprof-Check-for-unw_set_caching_policy-before-u.patch \
23 file://0004-sysprof-greeter-fix-environ-with-shadowing.patch \
24 file://0005-Make-elf-loader-search-for-debug-links-in-.debug-dir.patch \
25 "
26SRC_URI[archive.sha256sum] = "54f157fdfef1edf1e2f22e542c462d90e1c21fca8c30eba4127cee739039bbe2"
27
28# reason: gtk4 requires opengl distro feature
29REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk', 'opengl', '', d)}"
30
31PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd libsysprof', '', d)} \
32 ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \
33 "
34
35PACKAGECONFIG[gtk] = "-Dgtk=true,-Dgtk=false,gtk4 libpanel"
36PACKAGECONFIG[sysprofd] = "-Dsysprofd=bundled,-Dsysprofd=none,polkit"
37PACKAGECONFIG[libsysprof] = "-Dlibsysprof=true,-Dlibsysprof=false,polkit"
38
39EXTRA_OEMESON += "-Dsystemdunitdir=${systemd_unitdir}/system"
40
41SOLIBS = ".so"
42FILES_SOLIBSDEV = "${libdir}/libsysprof-6.so"
43
44SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'sysprofd', 'sysprof3.service', '', d)}"
45
46FILES:${PN} += " \
47 ${datadir}/dbus-1/system-services \
48 ${datadir}/dbus-1/system.d \
49 ${datadir}/dbus-1/interfaces \
50 ${datadir}/metainfo \
51 ${libdir}/libsysprof-6*.so.* \
52"