diff --git a/sysprof-3.44.0.tar.xz b/sysprof-3.44.0.tar.xz deleted file mode 100644 index 9b309faaa6d8dc4675c9aea27a59174a0609fc31..0000000000000000000000000000000000000000 Binary files a/sysprof-3.44.0.tar.xz and /dev/null differ diff --git a/sysprof-3.46.0.tar.xz b/sysprof-3.46.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..9caf79ee9d96485fabea7ebceeea21256dcdd90b Binary files /dev/null and b/sysprof-3.46.0.tar.xz differ diff --git a/sysprof.spec b/sysprof.spec index 8e41accdf35c9e7d708e586acb3d2d5f5f09e174..43075c0769dff133b1abef71136c3787a05efa1b 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -1,14 +1,14 @@ %define anolis_release 1 -%global glib2_version 2.67.4 +%global glib2_version 2.73.0 Name: sysprof -Version: 3.44.0 +Version: 3.46.0 Release: %{anolis_release}%{?dist} Summary: A system-wide Linux profiler License: GPLv3+ URL: http://www.sysprof.com -Source0: https://download.gnome.org/sources/sysprof/3.44/sysprof-%{version}.tar.xz +Source0: https://download.gnome.org/sources/sysprof/3.46/sysprof-%{version}.tar.xz BuildRequires: gcc BuildRequires: gcc-c++ @@ -19,8 +19,9 @@ BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version} BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gobject-2.0) -BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libadwaita-1) BuildRequires: pkgconfig(libdazzle-1.0) BuildRequires: pkgconfig(libsystemd) BuildRequires: pkgconfig(libunwind-generic) @@ -39,6 +40,13 @@ Sysprof is a sampling CPU profiler for Linux that collects accurate, high-precision data and provides efficient access to the sampled calltrees. +%package agent +Summary: Sysprof agent utility + +%description agent +The %{name}-agent package contains the sysprof-agent program. It provides a P2P +D-Bus API to the process which can control subprocesses. It's used by IDE +tooling to have more control across container boundaries. %package cli Summary: Sysprof command line utility @@ -107,12 +115,15 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %license COPYING %doc NEWS README.md AUTHORS %{_bindir}/sysprof -%{_datadir}/applications/org.gnome.Sysprof3.desktop -%{_datadir}/glib-2.0/schemas/org.gnome.sysprof3.gschema.xml +%{_datadir}/applications/org.gnome.Sysprof.desktop %{_datadir}/icons/hicolor/*/*/* -%{_datadir}/metainfo/org.gnome.Sysprof3.appdata.xml +%{_datadir}/metainfo/org.gnome.Sysprof.appdata.xml %{_datadir}/mime/packages/sysprof-mime.xml +%files agent +%license COPYING +%{_bindir}/sysprof-agent + %files cli -f %{name}.lang %license COPYING %{_bindir}/sysprof-cli @@ -133,7 +144,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -n libsysprof-ui %license COPYING -%{_libdir}/libsysprof-ui-4.so +%{_libdir}/libsysprof-ui-5.so %files capture-devel %license src/libsysprof-capture/COPYING @@ -156,13 +167,19 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files devel %{_includedir}/sysprof-4/ +%{_includedir}/sysprof-ui-5/ %{_libdir}/pkgconfig/sysprof-4.pc -%{_libdir}/pkgconfig/sysprof-ui-4.pc +%{_libdir}/pkgconfig/sysprof-ui-5.pc +%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof.Agent.xml %{_datadir}/dbus-1/interfaces/org.gnome.Sysprof2.xml %{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml %{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml %changelog +* Wed Mar 01 2023 Ziyang Zhang - 3.46.0-1 +- Update to 3.46. Now it requires gtk4 and exports sysprof-ui-5 +- Add agent subpackage + * Fri Jul 01 2022 happy_orange - 3.44.0-1 - Init package from upstrem