Hello community, here is the log from the commit of package pithos for openSUSE:Factory checked in at 2018-10-11 11:48:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pithos (Old) and /work/SRC/openSUSE:Factory/.pithos.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pithos" Thu Oct 11 11:48:51 2018 rev:11 rq:639232 version:1.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pithos/pithos.changes 2016-08-05 18:17:58.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pithos.new/pithos.changes 2018-10-11 11:48:56.246520692 +0200 @@ -1,0 +2,60 @@ +Sat Aug 18 10:43:23 UTC 2018 - bjorn....@gmail.com + +- Update to version 1.4.1: + + Change default quality to high (mp3) + + Mark application as DBusActivatable + + MPRIS: Fix potential unhandled exception + + Mediakeys: Handle keyboards with a dedicated pause key + + Mediakeys: Fix support on GNOME-Shell 3.26+ and MATE + + Notify: Improve behavior on various notification servers +- Changes from version 1.4.0: + + Add new plugin that inhibits screensaver/suspend during + playback + + Add new plugin adding a 10-band equalizer + + Add new plugin that automatically normalizes volume between + tracks + + Add help entry (F1) that opens the wiki + + Replace build system with Meson + + Automatically detect if the user has Pandora One + + Improve saving and restoring window position + + Improve plugin loading performance and error reporting + + Notification Icon: Improve detecting if a tray is available + + Notification Icon: Add option to use symbolic icon +- Changes from version 1.3.1: + + Fix exception on Python 3.6+ + + Add ability to create stations based upon current song/artist + + Show useful error on renaming Thumbprint Radio + + Show useful error on creating already existing station + + Minor buffering improvements + + lastfm: Improve preferences and offer to deauthorize account + + mpris: Add extension for ratings and remove legacy interface + + mediakeys: Fix on future versions of GNOME 3.24.2+ + + mediakeys: Avoid using keybinder on Wayland (old keybinder + would crash) +- Changes from version 1.3.0: + + Add support for MPRIS TrackList and PlayList interface + + Add dynamic rating and cover icons based upon theme colors + + Add plugin for logging to systemd journal + + Add symbolic icon + + Add man page + + Improve handling playlist expiration + + Improve search in stations list + + Improve accessibility of UI + + Improve buffering behavior + + Improve libsecret support + + Remove dependency on libnotify + + Fix disabling keybindings plugin when using keybinder + + Fix notification icon trying to load on Wayland + + Fix failure to reconnect on login expiration + + Fix some plugins not being enabled by default + + Fix handling error on MPRIS plugin failure + + Fix migrating configs from < 0.3.18 +- Switch to meson buildsystem, add meson BuildRequires and + corresponding macros. +- Add pithos-fix-deprecated-pygobject.patch: Fix deprecated + PyGObject usage. +- Conditionalize post(un) handling, no longer needed for modern + versions of openSUSE. +- Drop fdupes BuildRequires and macro, no longer needed. + +------------------------------------------------------------------- Old: ---- pithos-1.2.1.tar.xz New: ---- pithos-1.4.1.tar.xz pithos-fix-deprecated-pygobject.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pithos.spec ++++++ --- /var/tmp/diff_new_pack.WJo0nm/_old 2018-10-11 11:48:56.838519939 +0200 +++ /var/tmp/diff_new_pack.WJo0nm/_new 2018-10-11 11:48:56.838519939 +0200 @@ -1,7 +1,7 @@ # # spec file for package pithos # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012-2014 Malcolm J Lewis <malcolmle...@opensuse.org> # # All modifications and additions to the file contributed by third parties @@ -19,16 +19,19 @@ %global appid io.github.Pithos Name: pithos -Version: 1.2.1 +Version: 1.4.1 Release: 0 Summary: Native Pandora Radio client for Linux -License: GPL-3.0 +License: GPL-3.0-only Group: Productivity/Multimedia/Other Url: https://pithos.github.io/ Source0: https://github.com/pithos/pithos/releases/download/%{version}/pithos-%{version}.tar.xz -BuildRequires: fdupes +# PATCH-FIX-UPSTREAM pithos-fix-deprecated-pygobject.patch -- Fix deprecated PyGObject usage +Patch0: pithos-fix-deprecated-pygobject.patch + BuildRequires: gdk-pixbuf-devel BuildRequires: glib2-devel +BuildRequires: meson # Needed for automatic typelib() Requires. BuildRequires: gobject-introspection BuildRequires: hicolor-icon-theme @@ -49,21 +52,21 @@ features such as media keys, notifications, and the sound menu. %prep -%autosetup +%autosetup -p1 %build -%configure -make %{?_smp_mflags} +%meson +%meson_build %install -%make_install +%meson_install # Remove unnecessary icons rm -rf %{buildroot}%{_datadir}/icons/ubuntu-mono* %suse_update_desktop_file %{appid} -%fdupes -s %{buildroot}%{python3_sitelib} +%if 0%{?suse_version} < 1330 %post %glib2_gsettings_schema_post %desktop_database_post @@ -73,17 +76,21 @@ %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun +%endif %files %defattr(-,root,root) %doc license README.md %{_bindir}/%{name} -%{python3_sitelib}/%{name}/ %{_datadir}/%{name}/ %{_datadir}/applications/%{appid}.desktop %{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml %{_datadir}/icons/hicolor/ %dir %{_datadir}/appdata/ %{_datadir}/appdata/%{appid}.appdata.xml +%dir %{_datadir}/dbus-1 +%dir %{_datadir}/dbus-1/services +%{_datadir}/dbus-1/services/io.github.Pithos.service +%{_mandir}/man1/pithos.1%{?ext_man} %changelog ++++++ pithos-1.2.1.tar.xz -> pithos-1.4.1.tar.xz ++++++ ++++ 24567 lines of diff (skipped) ++++++ pithos-fix-deprecated-pygobject.patch ++++++ >From 522f02e303c3762b2c1a81a001e7000055521a94 Mon Sep 17 00:00:00 2001 From: Patrick Griffis <tingp...@tingping.se> Date: Fri, 6 Apr 2018 03:11:46 -0400 Subject: [PATCH] Fix deprecated PyGObject usage --- pithos/plugins/notification_icon.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pithos/plugins/notification_icon.py b/pithos/plugins/notification_icon.py index 126eca66..1762b20a 100644 --- a/pithos/plugins/notification_icon.py +++ b/pithos/plugins/notification_icon.py @@ -164,10 +164,10 @@ def build_context_menu(self): def button(text, action, checked=False): if checked: - item = Gtk.CheckMenuItem(text) + item = Gtk.CheckMenuItem.new_with_label(text) item.set_active(True) else: - item = Gtk.MenuItem(text) + item = Gtk.MenuItem.new_with_label(text) handler = item.connect('activate', action) item.show() menu.append(item) @@ -253,16 +253,16 @@ class NotificationIconPluginPrefsDialog(Gtk.Dialog): def __init__(self, parent, settings): super().__init__( - _('Icon Type'), - parent, - 0, - ('_Cancel', Gtk.ResponseType.CANCEL, '_Apply', Gtk.ResponseType.APPLY), + title=_('Icon Type'), + transient_for=parent, use_header_bar=1, resizable=False, default_width=300 ) self.settings = settings + self.add_buttons('_Cancel', Gtk.ResponseType.CANCEL, '_Apply', Gtk.ResponseType.APPLY) + self.connect('delete-event', lambda *ignore: self.response(Gtk.ResponseType.CANCEL) or True) sub_title = Gtk.Label.new(_('Set the Notification Icon Type'))