update to 3.36.0 [release 3.36.0-1mamba;Wed Mar 18 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:18:10 +01:00
parent 353d8cb80f
commit 6fa2b54026
2 changed files with 32 additions and 10 deletions

View File

@ -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);
}
}

View File

@ -1,16 +1,19 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: sysprof Name: sysprof
Version: 3.34.1 Version: 3.36.0
Release: 2mamba Release: 1mamba
Summary: A sampling profiler that uses a kernel module to generate stacktraces Summary: A sampling profiler that uses a kernel module to generate stacktraces
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://live.gnome.org 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 License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libdazzle-devel BuildRequires: libdazzle-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
@ -18,6 +21,7 @@ BuildRequires: libgtk-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libpolkit-devel BuildRequires: libpolkit-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libunwind-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -47,6 +51,7 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q %setup -q
%patch0 -p1
%build %build
%meson %meson
@ -80,21 +85,24 @@ This package contains libraries and header files for developing applications tha
%{_datadir}/mime/packages/sysprof-mime.xml %{_datadir}/mime/packages/sysprof-mime.xml
%{_datadir}/polkit-1/actions/org.gnome.sysprof3.policy %{_datadir}/polkit-1/actions/org.gnome.sysprof3.policy
%{_datadir}/help/C/sysprof %{_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/actions/sysprof-trace-app.svg
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Sysprof.svg %{_datadir}/icons/hicolor/scalable/apps/org.gnome.Sysprof.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Sysprof-symbolic.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 %doc AUTHORS COPYING
%files -n lib%{name} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libsysprof-3.so %{_libdir}/libsysprof-3.so
%{_libdir}/libsysprof-ui-3.so %{_libdir}/libsysprof-ui-3.so
%{_libdir}/libsysprof-memory-3.so
%{_libexecdir}/sysprofd %{_libexecdir}/sysprofd
%files -n lib%{name}-devel %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-3.pc
%{_libdir}/pkgconfig/sysprof-capture-3.pc %{_libdir}/pkgconfig/sysprof-capture-3.pc
%{_libdir}/pkgconfig/sysprof-ui-3.pc %{_libdir}/pkgconfig/sysprof-ui-3.pc
%doc NEWS README.md TODO %doc NEWS README.md
%changelog %changelog
* Wed Mar 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.36.0-1mamba
- update to 3.36.0
* Fri Nov 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.34.1-2mamba * Fri Nov 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.34.1-2mamba
- libsysprof: require sysprof - libsysprof: require sysprof