Hello community, here is the log from the commit of package sysprof for openSUSE:Leap:15.2 checked in at 2020-01-30 14:50:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/sysprof (Old) and /work/SRC/openSUSE:Leap:15.2/.sysprof.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "sysprof" Thu Jan 30 14:50:26 2020 rev:22 rq:761891 version:3.34.1 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/sysprof/sysprof.changes 2020-01-15 16:04:59.627975494 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.sysprof.new.26092/sysprof.changes 2020-01-30 14:51:37.638941615 +0100 @@ -1,0 +2,261 @@ +Tue Nov 19 12:12:49 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Add sysprof-libsysprof-ui-avoid-use-of-env.patch: libsysprof-ui: + avoid use of environ for -Werror=shadow. + +------------------------------------------------------------------- +Mon Oct 7 20:19:14 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 3.34.1: + + Process search fixes. + +------------------------------------------------------------------- +Tue Sep 10 06:14:12 CDT 2019 - mgorse@suse.com + +- Update to version 3.34.0: + + Help fixes. + + Build and test fixes. + + Updated translations. +- Require meson >= 0.50.0. + +------------------------------------------------------------------- +Thu Sep 5 20:13:37 NZST 2019 - luke@ljones.dev + +- Update to version 3.33.92: + + Check for GLib 2.61.3 or newer for features used when removing + deprecated API usage from GLib. + + Require meson 0.50 + + Updated translations. + +------------------------------------------------------------------- +Thu Aug 15 09:33:26 CEST 2019 - bjorn.lie@gmail.com + +- Update to version 3.33.90: + + Tweak CSS styling a bit. + + Hide RAPL rows if no counters were discovered. + + Fix --no-battery in sysprof-cli. + + Improve parsing of /proc/mounts and /proc/pid/mountinfo. + + Improve support for using libsysprof from Flatpak. + + Symbol directories are removed from public ABI and consumers + should now add directories to SysprofElfSymbolResolver + directly. +- Changes from version 3.33.4: + + Build system fixes and improved backports. + + New network, disk, battery, and energy sources. + + Additional options for sysprof-cli including "syprof-cli + --command" support. + + i18n is now properly initialized at startup. + + Improved styling. + + A new "duplex" graph type for read/write type visuals. +- Changes from version 3.33.3: + + This release of Sysprof contains the largest amount of work + since we revived the project a few years ago. We have revamped + and minimized the ABI of libsysprof-ui considerably. As port of + the ABI update, symbols have been changed from Sp to Sysprof to + reduce chances of collisions. + + With these changes comes a soname bump and upgrade of the D-Bus + API provided by the package. Some work has been taken to + implement older versions of the sysprofd API so that older + clients may continue to work. + + Various build system improvements. + + A new libsysprof-capture-3.a capture library has been provided + to allow application developers to capture data and merge into + the profiler stream. + + The recording and viewing API has been redesigned and improved. + + Sysprof has been backported to support GTK 3.22 and GLib 2.50. + + Support for passing file-descriptors has been added to allow + profiling integration with GNOME Shell, GJS, and GTK profilers. + + New API to allow integration with external tooling that spawns + applications is provided so that environment and arguments may + be modified. + + A new re-record feature has been added. + + The capture format can now store log messages, metadata, and + file content. + + A new org.gnome.Sysprof3 daemon has been added, which is + written using GDBus instead of libsystemd. This may improve + portability to some distributions. + + The portability of Sysprof to non-Linux systems has been + improved, however many recording features are still not + available on non-Linux platforms. + + A new org.gnome.Sysprof3.Profiler XML D-Bus interface is + provided for tooling that wants to export Sysprof content via + D-Bus. + + Various new capture sources have been provided. + + sysprofd also implements a compat org.gnome.Sysprof2 D-Bus + end-point for older clients. + + Updated translations. +- Add pkgconfig(glib-2.0) and pkgconfig(libdazzle-1.0) + BuildRequires: New dependencies. + +------------------------------------------------------------------- +Fri Aug 2 08:23:32 UTC 2019 - Martin Liška <mliska@suse.cz> + +- Use FAT LTO objects in order to provide proper static library. + +------------------------------------------------------------------- +Mon May 13 07:46:35 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org> + +- Replace systemd-gtk BuildRequires with pkgconfig(systemd): make + the build cheaper by not having to wait for the 'real' systemd + package to have built, but allow to use systemd-mini. The change + in the stack causing this was polkit dropping its hard dep on + systemd. + +------------------------------------------------------------------- +Sat May 11 20:12:28 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Add systemd-gtk BuildRequires: Now needed due to changes + elsewhere in the stack. + +------------------------------------------------------------------- +Wed Mar 13 08:33:13 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com> + +- Update to version 3.32.0: + + Updated translations. + +------------------------------------------------------------------- +Tue Feb 19 22:24:12 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.31.91: + + Handle cancellation during profiler startup more gracefully. + +------------------------------------------------------------------- +Thu Feb 14 22:32:17 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.31.90: + + A new memory source for basic memory statistics. This is meant + for overview only, not precise details. + + Fix a small memory leak. + + Allow disabling memory/cpu sources from sysprof-cli. + + CSS styling updates. + + Updated icon for GNOME 3.32 icon initiative. + + The line visualizer can auto-discover Y axis range. + + Build system improvements. + + Updated translations. +- Update URL to https://wiki.gnome.org/Apps/Sysprof. + +------------------------------------------------------------------- +Thu Jan 3 22:00:14 UTC 2019 - bjorn.lie@gmail.com + +- Update to version 3.31.1: + + Remove app-menu in favor of window-menu, following GNOME design + guidelines for 3.32. + + Fixes for i18n/l10n. + + Build fixes to avoid use of non-portable __WORDSIZE. + + Updated translations. +- Add meson_test macro in check section, run tests. + +------------------------------------------------------------------- +Fri Nov 2 18:24:25 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 3.30.2: + + The profiler menu button more properly handles changes to the + toplevel window. + + Fixes for i18n/l10n intialization. + +------------------------------------------------------------------- +Wed Sep 26 12:03:56 UTC 2018 - bjorn.lie@gmail.com + +- Update to version 3.30.1: + + Various compilation fixes for alternative platforms, compilers, + and toolchains. + + Backport model filter fixes from libdazzle. + + Updated translations. + +------------------------------------------------------------------- +Wed Sep 12 20:17:04 UTC 2018 - antoine.belvire@opensuse.org + +- Update to version 3.30.0: + + Fix incorrect free func for GPtrArray. + + Various build system improvements. + + ENABLE_POLKIT is now repsected in the kallsyms support. + + suggested-action fixes for CSS. + + Updated translations. +- Drop sysprof-fix-incorrect-free-func.patch (fixed upstream). +- Remove lang package from recommended packages as it already + supplements main package (same effect, it's redundant). + +------------------------------------------------------------------- +Thu Jun 21 00:42:44 UTC 2018 - luc14n0@linuxmail.org + +- Update to version 3.29.3: + + Experimental tracking of various drm events (vblank and + CRTC/MSC). + + Drawing code now uses double instead of float for additional + precision. + + CLOCK_MONOTONIC is now the preferred clock. + + A new capture type of "mark" has been added to the capture + format. It supports an event name with a duration >= 0. + + Various counters are automatically detected and displayed when + opening a capture file. + + A new in-tree tool "sysprof-cat" which can join multiple + capture files together gracefully. + + Fix a number of situations where cpu/pid were crossed. + + Updated translations. +- Drop explicit gettext BuildRequires: meson doesn't look for it. + +------------------------------------------------------------------- ++++ 64 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/sysprof/sysprof.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.sysprof.new.26092/sysprof.changes Old: ---- sysprof-3.26.1.tar.xz New: ---- sysprof-3.34.1.tar.xz sysprof-libsysprof-ui-avoid-use-of-env.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysprof.spec ++++++ --- /var/tmp/diff_new_pack.DrDb1B/_old 2020-01-30 14:51:37.890941749 +0100 +++ /var/tmp/diff_new_pack.DrDb1B/_new 2020-01-30 14:51:37.894941752 +0100 @@ -1,7 +1,7 @@ # # spec file for package sysprof # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # Copyright (c) 2016 Bjørn Lie, Bryne, Norway. # # All modifications and additions to the file contributed by third parties @@ -13,34 +13,39 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # +%define sover 3 + Name: sysprof -Version: 3.26.1 +Version: 3.34.1 Release: 0 Summary: A system-wide Linux profiler -License: GPL-3.0+ +License: GPL-3.0-or-later AND LGPL-2.1-or-later Group: Development/Tools/Debuggers -Url: http://www.sysprof.com -Source0: http://download.gnome.org/sources/sysprof/3.26/%{name}-%{version}.tar.xz -BuildRequires: binutils-devel +URL: https://wiki.gnome.org/Apps/Sysprof +Source0: http://download.gnome.org/sources/sysprof/3.34/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM sysprof-libsysprof-ui-avoid-use-of-env.patch -- Avoid use of env +Patch0: sysprof-libsysprof-ui-avoid-use-of-env.patch + BuildRequires: gcc-c++ -BuildRequires: gettext -BuildRequires: gobject-introspection-devel +BuildRequires: hicolor-icon-theme BuildRequires: itstool -BuildRequires: libxml2-tools +BuildRequires: meson >= 0.50.0 BuildRequires: pkgconfig BuildRequires: update-desktop-files -BuildRequires: pkgconfig(gio-2.0) >= 2.44.0 -BuildRequires: pkgconfig(gio-unix-2.0) >= 2.44.0 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.21.5 -BuildRequires: pkgconfig(libsystemd) -BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(gio-2.0) >= 2.50.0 +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.50.0 +BuildRequires: pkgconfig(glib-2.0) >= 2.61.3 +BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0 +BuildRequires: pkgconfig(libdazzle-1.0) >= 3.30.0 +BuildRequires: pkgconfig(libsystemd) >= 222 +BuildRequires: pkgconfig(polkit-gobject-1) >= 0.105 +BuildRequires: pkgconfig(systemd) Requires: hicolor-icon-theme -Recommends: %{name}-lang -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{?systemd_requires} %description Sysprof is a sampling CPU profiler for Linux that collects accurate, @@ -56,68 +61,88 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package capture-devel-static +Summary: Library to read and write syspref's capture format +Group: Development/Tools/Debuggers + +%description capture-devel-static +This static library allows external tooling to read and write the +syspref's capture format. + %lang_package %prep -%setup -q +%autosetup -p1 %build -%configure --disable-static --disable-Werror -make %{?_smp_mflags} +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%meson +%meson_build %install -%make_install DESTDIR=%{buildroot} %{?_smp_mflags} -find %{buildroot} -type f -name "*.la" -delete -print +%meson_install %find_lang %{name} %{?no_lang_C} -%suse_update_desktop_file org.gnome.Sysprof2 Profiling +%suse_update_desktop_file org.gnome.Sysprof%{sover} Profiling + +%check +### FIXME ### Temp disabled during 3.34 devel period +#%%meson_test %pre +%service_add_pre sysprof%{sover}.service %service_add_pre sysprof2.service %preun +%service_del_preun sysprof%{sover}.service %service_del_preun sysprof2.service %post /sbin/ldconfig -%desktop_database_post -%icon_theme_cache_post +%service_add_post sysprof%{sover}.service %service_add_post sysprof2.service %postun /sbin/ldconfig -%desktop_database_postun -%icon_theme_cache_postun +%service_del_postun sysprof%{sover}.service %service_del_postun sysprof2.service %files -%defattr(-,root,root) -%doc README COPYING NEWS TODO AUTHORS +%license COPYING +%doc NEWS README.md %{_bindir}/sysprof %{_bindir}/sysprof-cli -%{_libdir}/libsysprof-2.so -%{_libdir}/libsysprof-ui-2.so -%dir %{_libexecdir}/sysprof -%{_libexecdir}/sysprof/sysprofd -%{_datadir}/appdata/org.gnome.Sysprof2.appdata.xml %{_datadir}/applications/*.desktop +%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof2.xml +%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof%{sover}.Profiler.xml +%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof%{sover}.Service.xml %dir %{_datadir}/dbus-1/system.d %{_datadir}/dbus-1/system.d/org.gnome.Sysprof2.conf +%{_datadir}/dbus-1/system.d/org.gnome.Sysprof%{sover}.conf %{_datadir}/dbus-1/system-services/org.gnome.Sysprof2.service -%{_datadir}/glib-2.0/schemas/org.gnome.sysprof2.gschema.xml +%{_datadir}/dbus-1/system-services/org.gnome.Sysprof%{sover}.service +%{_datadir}/glib-2.0/schemas/org.gnome.sysprof%{sover}.gschema.xml %{_datadir}/icons/hicolor/*/*/* +%{_datadir}/metainfo/org.gnome.Sysprof%{sover}.appdata.xml %{_datadir}/mime/packages/sysprof-mime.xml -%{_datadir}/polkit-1/actions/org.gnome.sysprof2.policy +%{_datadir}/polkit-1/actions/org.gnome.sysprof%{sover}.policy +%{_libdir}/libsysprof-%{sover}.so +%{_libdir}/libsysprof-ui-%{sover}.so +%{_libexecdir}/sysprofd %{_unitdir}/sysprof2.service +%{_unitdir}/sysprof%{sover}.service %dir %{_datadir}/help/C/sysprof -%{_datadir}/help/C/sysprof/* +%doc %{_datadir}/help/C/sysprof/* %files devel -%defattr(-,root,root) -%{_includedir}/sysprof-2/ -%{_libdir}/pkgconfig/sysprof-2.pc -%{_libdir}/pkgconfig/sysprof-ui-2.pc +%doc AUTHORS TODO +%{_includedir}/sysprof-%{sover}/ +%{_libdir}/pkgconfig/sysprof-%{sover}.pc +%{_libdir}/pkgconfig/sysprof-ui-%{sover}.pc + +%files capture-devel-static +%{_libdir}/libsysprof-capture-%{sover}.a +%{_libdir}/pkgconfig/sysprof-capture-%{sover}.pc %files lang -f %{name}.lang -%defattr(-,root,root) %changelog ++++++ sysprof-3.26.1.tar.xz -> sysprof-3.34.1.tar.xz ++++++ ++++ 183473 lines of diff (skipped) ++++++ sysprof-libsysprof-ui-avoid-use-of-env.patch ++++++
From a6e3b4ac74ddd856553cc96f3e6c620dc2cabf52 Mon Sep 17 00:00:00 2001 From: Christian Hergert <chergert@redhat.com> Date: Mon, 21 Oct 2019 11:35:42 -0700 Subject: [PATCH] libsysprof-ui: avoid use of environ for -Werror=shadow
Fixes #18 --- src/libsysprof-ui/sysprof-profiler-assistant.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libsysprof-ui/sysprof-profiler-assistant.c b/src/libsysprof-ui/sysprof-profiler-assistant.c index 22e3e24..c7fcf77 100644 --- a/src/libsysprof-ui/sysprof-profiler-assistant.c +++ b/src/libsysprof-ui/sysprof-profiler-assistant.c @@ -235,7 +235,7 @@ sysprof_profiler_assistant_record_clicked_cb (SysprofProfilerAssistant *self, { g_auto(GStrv) argv = NULL; g_auto(GStrv) env = NULL; - SysprofEnviron *environ; + SysprofEnviron *environ_; const gchar *command; gint argc; @@ -245,8 +245,8 @@ sysprof_profiler_assistant_record_clicked_cb (SysprofProfilerAssistant *self, sysprof_profiler_set_spawn (profiler, TRUE); sysprof_profiler_set_spawn_argv (profiler, (const gchar * const *)argv); - environ = sysprof_environ_editor_get_environ (self->environ_editor); - env = sysprof_environ_get_environ (environ); + environ_ = sysprof_environ_editor_get_environ (self->environ_editor); + env = sysprof_environ_get_environ (environ_); sysprof_profiler_set_spawn_env (profiler, (const gchar * const *)env); sysprof_profiler_set_spawn_inherit_environ (profiler, @@ -405,7 +405,7 @@ sysprof_profiler_assistant_class_init (SysprofProfilerAssistantClass *klass) static void sysprof_profiler_assistant_init (SysprofProfilerAssistant *self) { - g_autoptr(SysprofEnviron) environ = sysprof_environ_new (); + g_autoptr(SysprofEnviron) environ_ = sysprof_environ_new (); gtk_widget_init_template (GTK_WIDGET (self)); @@ -445,7 +445,7 @@ sysprof_profiler_assistant_init (SysprofProfilerAssistant *self) self, G_CONNECT_SWAPPED); - sysprof_environ_editor_set_environ (self->environ_editor, environ); + sysprof_environ_editor_set_environ (self->environ_editor, environ_); } void -- 2.22.0
participants (1)
-
root