Hello community, here is the log from the commit of package gnome-pie for openSUSE:Factory checked in at 2019-12-05 17:34:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gnome-pie (Old) and /work/SRC/openSUSE:Factory/.gnome-pie.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-pie" Thu Dec 5 17:34:42 2019 rev:6 rq:754118 version:0.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/gnome-pie/gnome-pie.changes 2018-10-08 17:45:57.314443299 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-pie.new.4691/gnome-pie.changes 2019-12-05 17:35:50.785428278 +0100 @@ -1,0 +2,30 @@ +Tue Nov 26 11:32:17 UTC 2019 - Luigi Baldoni <aloi...@gmx.com> + +- Update to version 0.7.2 + * New Feature: Pies will not close when CTRL or SHIFT is + pressed while clicking. This feature got requested several + times so it is now reality! You can now perform multiple + actions without having to re-open the pie. + * Improvement: Gnome-Pie switched from GPL to MIT license. + * Improvement: Gnome-Pie will now hide when it looses focus. + This is helpful under wayland when users click on panels for + example. + * Improvement: Fixed several deprecation warnings. + * Improvement: Added Dutch translation (thank you, Heimen + Stoffels). + * Bugfix: Fixed a segmentation fault when a new pie was added + under Wayland. + * Bugfix: Fixed some typos in the English translation (thank + you, Jörg Frings-Fürst). + * Bugfix: Removed creation of obsolete statistics file. + * Bugfix: Fixed build with vala 0.42 (thank you, Rico + Tzschichholz). + +- Dropped gnome-pie-fix-build-vala042.patch (merged upstream) + +- Added gnome-pie-fix-build-vala046.patch (fix build with vala + 0.46+) + +- Spec cleanup + +------------------------------------------------------------------- Old: ---- gnome-pie-fix-build-vala042.patch v0.7.1.tar.gz New: ---- Gnome-Pie-0.7.2.tar.gz gnome-pie-fix-build-vala046.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-pie.spec ++++++ --- /var/tmp/diff_new_pack.qMEkhc/_old 2019-12-05 17:35:53.065427455 +0100 +++ /var/tmp/diff_new_pack.qMEkhc/_new 2019-12-05 17:35:53.073427453 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-pie # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,15 @@ Name: gnome-pie -Version: 0.7.1 +Version: 0.7.2 Release: 0 Summary: A circular application launcher for GNOME -License: GPL-3.0-or-later +License: MIT Group: System/GUI/GNOME URL: https://simmesimme.github.io/gnome-pie.html -Source: https://github.com/Simmesimme/Gnome-Pie/archive/v%{version}.tar.gz -# PATCH-FIX-UPSTREAM gnome-pie-fix-build-vala042.patch -- Fix build with vala 0.42.x -Patch0: gnome-pie-fix-build-vala042.patch - +Source: https://github.com/Simmesimme/Gnome-Pie/archive/v%{version}.tar.gz#/Gnome-Pie-%{version}.tar.gz +# PATCH-FIX-UPSTREAM gnome-pie-fix-build-vala046.patch aloi...@gmx.com -- make constructor of abstract class protected +Patch1: gnome-pie-fix-build-vala046.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: hicolor-icon-theme @@ -55,9 +54,7 @@ %prep %setup -q -n Gnome-Pie-%{version} -%if %{pkg_vcmp vala > 0.42} -%patch0 -p1 -%endif +%patch1 -p1 %build %cmake @@ -68,16 +65,6 @@ %suse_update_desktop_file %{name} -r Utilities DesktopUtility %fdupes %{buildroot}%{_datadir} -%if 0%{?suse_version} && 0%{?suse_version} < 1330 -%post -%desktop_database_post -%icon_theme_cache_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun -%endif - %files %license COPYING %doc AUTHORS TRANSLATING ++++++ gnome-pie-fix-build-vala042.patch -> gnome-pie-fix-build-vala046.patch ++++++ --- /work/SRC/openSUSE:Factory/gnome-pie/gnome-pie-fix-build-vala042.patch 2018-10-08 17:45:56.542444282 +0200 +++ /work/SRC/openSUSE:Factory/.gnome-pie.new.4691/gnome-pie-fix-build-vala046.patch 2019-12-05 17:35:50.081428532 +0100 @@ -1,69 +1,13 @@ -From 86412ee09b7f8bc11f163bc8b6c3a061be279c43 Mon Sep 17 00:00:00 2001 -From: Rico Tzschichholz <ric...@ubuntu.com> -Date: Wed, 22 Aug 2018 10:38:13 +0200 -Subject: [PATCH] Fix build with vala 0.42 - ---- - src/utilities/archiveReader.vala | 10 +++++++++- - src/utilities/archiveWriter.vala | 14 +++++++++----- - 2 files changed, 18 insertions(+), 6 deletions(-) - -diff --git a/src/utilities/archiveReader.vala b/src/utilities/archiveReader.vala -index df248cf..28b7005 100644 ---- a/src/utilities/archiveReader.vala -+++ b/src/utilities/archiveReader.vala -@@ -84,9 +84,13 @@ public class ArchiveReader : GLib.Object { - if (entry.size() > 0) { - while (true) { - size_t offset, size; -- void *buff; -+ uint8[] buff; +Index: Gnome-Pie-0.7.2/src/actions/action.vala +=================================================================== +--- Gnome-Pie-0.7.2.orig/src/actions/action.vala ++++ Gnome-Pie-0.7.2/src/actions/action.vala +@@ -69,7 +69,7 @@ public abstract class Action : GLib.Obje + /// C'tor, initializes all members. + ///////////////////////////////////////////////////////////////////// + +- public Action(string name, string icon, bool is_quickaction) { ++ protected Action(string name, string icon, bool is_quickaction) { + GLib.Object(name : name, icon : icon, is_quickaction : is_quickaction); + } -+#if VALA_0_42 -+ r = this.archive.read_data_block(out buff, out offset); -+#else - r = this.archive.read_data_block(out buff, out size, out offset); -+#endif - if (r == Archive.Result.EOF) { - break; - } -@@ -96,7 +100,11 @@ public class ArchiveReader : GLib.Object { - return false; - } - -+#if VALA_0_42 -+ this.writer.write_data_block(buff, offset); -+#else - this.writer.write_data_block(buff, size, offset); -+#endif - } - } - -diff --git a/src/utilities/archiveWriter.vala b/src/utilities/archiveWriter.vala -index 2a18154..59b2b2f 100644 ---- a/src/utilities/archiveWriter.vala -+++ b/src/utilities/archiveWriter.vala -@@ -112,13 +112,17 @@ public class ArchiveWriter : GLib.Object { - if (this.archive.write_header(entry) == Archive.Result.OK) { - try { - var reader = File.new_for_path(path).read(); -- uint8 buffer[4096]; -+ uint8[] buffer = new uint8[4096]; - -- var len = reader.read(buffer); -+ buffer.length = (int) reader.read(buffer); - -- while(len > 0) { -- this.archive.write_data(buffer, len); -- len = reader.read(buffer); -+ while(buffer.length > 0) { -+#if VALA_0_42 -+ this.archive.write_data(buffer); -+#else -+ this.archive.write_data(buffer, buffer.length); -+#endif -+ buffer.length = (int) reader.read(buffer); - } - - this.archive.finish_entry(); -