From 6fa2b54026905418441e3bd879ac1c35b5defe85 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:18:10 +0100 Subject: [PATCH] update to 3.36.0 [release 3.36.0-1mamba;Wed Mar 18 2020] --- sysprof-3.36.0-x86-fix-long-long-type.patch | 11 ++++++++ sysprof.spec | 31 ++++++++++++++------- 2 files changed, 32 insertions(+), 10 deletions(-) create mode 100644 sysprof-3.36.0-x86-fix-long-long-type.patch diff --git a/sysprof-3.36.0-x86-fix-long-long-type.patch b/sysprof-3.36.0-x86-fix-long-long-type.patch new file mode 100644 index 0000000..04f106f --- /dev/null +++ b/sysprof-3.36.0-x86-fix-long-long-type.patch @@ -0,0 +1,11 @@ +--- sysprof-3.36.0/src/tests/allocs-by-size.c.orig 2020-03-25 09:24:40.338545357 +0100 ++++ sysprof-3.36.0/src/tests/allocs-by-size.c 2020-03-25 09:26:26.520451902 +0100 +@@ -109,7 +109,7 @@ + { + const Item *item = &g_array_index (ar, Item, i); + +- g_print ("%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT",%"G_GUINT64_FORMAT"\n", ++ g_print ("%u,%u,%u\n", + item->size, item->cmp, item->count); + } + } diff --git a/sysprof.spec b/sysprof.spec index fd8995d..461d33a 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -1,16 +1,19 @@ +%define majver %(echo %version | cut -d. -f1-2) Name: sysprof -Version: 3.34.1 -Release: 2mamba +Version: 3.36.0 +Release: 1mamba Summary: A sampling profiler that uses a kernel module to generate stacktraces Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://live.gnome.org -Source: http://ftp.acc.umu.se/pub/GNOME/sources/sysprof/3.34/sysprof-%{version}.tar.xz +Source: http://ftp.acc.umu.se/pub/GNOME/sources/sysprof/%{majver}/sysprof-%{version}.tar.xz +Patch0: sysprof-3.36.0-x86-fix-long-long-type.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libcairo-devel BuildRequires: libdazzle-devel BuildRequires: libglib-devel @@ -18,6 +21,7 @@ BuildRequires: libgtk-devel BuildRequires: libpango-devel BuildRequires: libpolkit-devel BuildRequires: libstdc++6-devel +BuildRequires: libunwind-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -47,6 +51,7 @@ This package contains libraries and header files for developing applications tha %prep %setup -q +%patch0 -p1 %build %meson @@ -80,21 +85,24 @@ This package contains libraries and header files for developing applications tha %{_datadir}/mime/packages/sysprof-mime.xml %{_datadir}/polkit-1/actions/org.gnome.sysprof3.policy %{_datadir}/help/C/sysprof -%lang(cs) %{_datadir}/help/cs/sysprof -%lang(de) %{_datadir}/help/de/sysprof -%lang(es) %{_datadir}/help/es/sysprof -%lang(pl) %{_datadir}/help/pl/sysprof -%lang(pt_BR) %{_datadir}/help/pt_BR/sysprof -%lang(sv) %{_datadir}/help/sv/sysprof %{_datadir}/icons/hicolor/scalable/actions/sysprof-trace-app.svg %{_datadir}/icons/hicolor/scalable/apps/org.gnome.Sysprof.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Sysprof-symbolic.svg +%{_datadir}/icons/hicolor/scalable/actions/sysprof-*.svg +%lang(cs) %{_datadir}/help/cs/sysprof +%lang(de) %{_datadir}/help/de/sysprof +%lang(el) %{_datadir}/help/el/sysprof +%lang(es) %{_datadir}/help/es/sysprof +%lang(pl) %{_datadir}/help/pl/sysprof +%lang(pt_BR) %{_datadir}/help/pt_BR/sysprof/ +%lang(sv) %{_datadir}/help/sv/sysprof %doc AUTHORS COPYING %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libsysprof-3.so %{_libdir}/libsysprof-ui-3.so +%{_libdir}/libsysprof-memory-3.so %{_libexecdir}/sysprofd %files -n lib%{name}-devel @@ -105,9 +113,12 @@ This package contains libraries and header files for developing applications tha %{_libdir}/pkgconfig/sysprof-3.pc %{_libdir}/pkgconfig/sysprof-capture-3.pc %{_libdir}/pkgconfig/sysprof-ui-3.pc -%doc NEWS README.md TODO +%doc NEWS README.md %changelog +* Wed Mar 18 2020 Silvan Calarco 3.36.0-1mamba +- update to 3.36.0 + * Fri Nov 01 2019 Silvan Calarco 3.34.1-2mamba - libsysprof: require sysprof