Hello community, here is the log from the commit of package libunity for openSUSE:Factory checked in at 2019-10-30 14:43:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libunity (Old) and /work/SRC/openSUSE:Factory/.libunity.new.2990 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libunity" Wed Oct 30 14:43:27 2019 rev:2 rq:743628 version:7.1.4+bzr20190319 Changes: -------- --- /work/SRC/openSUSE:Factory/libunity/libunity.changes 2019-04-28 20:11:34.382488593 +0200 +++ /work/SRC/openSUSE:Factory/.libunity.new.2990/libunity.changes 2019-10-30 14:43:30.473907299 +0100 @@ -1,0 +2,7 @@ +Tue Oct 29 04:36:27 UTC 2019 - Marguerite Su <i...@marguerite.su> + +- Add 0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch + * vala 0.46.1+ doesn't allow creation method of abstract class + to be public + +------------------------------------------------------------------- New: ---- 0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libunity.spec ++++++ --- /var/tmp/diff_new_pack.hzRLM7/_old 2019-10-30 14:43:31.065907929 +0100 +++ /var/tmp/diff_new_pack.hzRLM7/_new 2019-10-30 14:43:31.065907929 +0100 @@ -1,7 +1,7 @@ # # spec file for package libunity # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # 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/ # @@ -31,6 +31,8 @@ Source1: baselibs.conf # PATCH-FIX-OPENSUSE libunity-protocol-private-install.patch i...@marguerite.su -- Unity can't find /usr/lib(64)/libunity/. Patch0: libunity-protocol-private-install.patch +# PATCH-FIX-UPSTREAM 0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch vala 0.46.1+ doesn't allow creation method of abstract class to be public +Patch1: 0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch BuildRequires: fdupes BuildRequires: gnome-common BuildRequires: pkgconfig @@ -122,6 +124,7 @@ %prep %setup -q -c %patch0 -p1 +%patch1 -p1 %build NOCONFIGURE=1 gnome-autogen.sh ++++++ 0001-Fix-FTB-with-recent-vala-requiring-non-public-abstra.patch ++++++ >From ef769be7116a5b9cef0f972fb54faed6b75f7dc3 Mon Sep 17 00:00:00 2001 From: Michael James Gratton <m...@vee.net> Date: Mon, 23 Sep 2019 21:07:57 +1000 Subject: [PATCH] Fix FTB with recent vala requiring non-public abstract class ctors --- src/unity-aggregator-scope.vala | 2 +- src/unity-deprecated-scope.vala | 2 +- tools/preview-renderer.vala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/unity-aggregator-scope.vala b/src/unity-aggregator-scope.vala index 6664d48..5886e88 100644 --- a/src/unity-aggregator-scope.vala +++ b/src/unity-aggregator-scope.vala @@ -51,7 +51,7 @@ public abstract class AggregatorScope : DeprecatedScopeBase */ public abstract int category_index_for_scope_id (string scope_id); - public AggregatorScope (string dbus_path_, string id_, MergeMode merge_mode = AggregatorScope.MergeMode.OWNER_SCOPE, bool proxy_filter_hints = false) + protected AggregatorScope (string dbus_path_, string id_, MergeMode merge_mode = AggregatorScope.MergeMode.OWNER_SCOPE, bool proxy_filter_hints = false) { Object (dbus_path: dbus_path_, id: id_, is_master: true, merge_mode: merge_mode, proxy_filter_hints: proxy_filter_hints); diff --git a/src/unity-deprecated-scope.vala b/src/unity-deprecated-scope.vala index 4fc5355..47d8cc8 100644 --- a/src/unity-deprecated-scope.vala +++ b/src/unity-deprecated-scope.vala @@ -61,7 +61,7 @@ public abstract class DeprecatedScopeBase : GLib.Object internal CategorySet _categories; internal FilterSet _filters; - public DeprecatedScopeBase (string dbus_path_, string id_) + protected DeprecatedScopeBase (string dbus_path_, string id_) { Object (dbus_path: dbus_path_, id: id_); } diff --git a/tools/preview-renderer.vala b/tools/preview-renderer.vala index ed59321..bb0aaf2 100644 --- a/tools/preview-renderer.vala +++ b/tools/preview-renderer.vala @@ -63,7 +63,7 @@ namespace Unity.Tester { */ public abstract class GridRenderer: PreviewRenderer { - public GridRenderer() + protected GridRenderer() { Object(); } -- 2.20.1