Hello community,
here is the log from the commit of package elementary-appcenter for
openSUSE:Factory checked in at 2018-03-26 13:16:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/elementary-appcenter (Old)
and /work/SRC/openSUSE:Factory/.elementary-appcenter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "elementary-appcenter"
Mon Mar 26 13:16:43 2018 rev:3 rq:590892 version:0.2.9
Changes:
--------
---
/work/SRC/openSUSE:Factory/elementary-appcenter/elementary-appcenter.changes
2018-03-09 10:46:45.786317008 +0100
+++
/work/SRC/openSUSE:Factory/.elementary-appcenter.new/elementary-appcenter.changes
2018-03-26 13:16:48.235703362 +0200
@@ -1,0 +2,5 @@
+Sun Mar 25 08:32:22 UTC 2018 - [email protected]
+
+- Fix vala compiler errors (appcenter-0.2.9-vala-0.4.patch)
+
+-------------------------------------------------------------------
New:
----
appcenter-0.2.9-vala-0.4.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ elementary-appcenter.spec ++++++
--- /var/tmp/diff_new_pack.Q6JhaU/_old 2018-03-26 13:16:49.515657327 +0200
+++ /var/tmp/diff_new_pack.Q6JhaU/_new 2018-03-26 13:16:49.519657183 +0200
@@ -24,6 +24,8 @@
Group: System/GUI/Other
URL: https://elementary.io/
Source:
https://github.com/elementary/appcenter/archive/%{version}.tar.gz#/appcenter-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM -- Fix vala compiler errors (#663)
+Patch0: appcenter-0.2.9-vala-0.4.patch
BuildRequires: cmake
BuildRequires: elementary-cmake-modules
BuildRequires: fdupes
@@ -55,6 +57,7 @@
%prep
%setup -q -n appcenter-%{version}
+%patch0 -p2
sed -i 's/\bmetainfo\b/appdata/' $(grep -rwl 'metainfo')
++++++ appcenter-0.2.9-vala-0.4.patch ++++++
diff -ruN appcenter-0.2.9.orig/appcenter-0.2.9/src/Core/Client.vala
appcenter-0.2.9/appcenter-0.2.9/src/Core/Client.vala
--- appcenter-0.2.9.orig/appcenter-0.2.9/src/Core/Client.vala 2018-03-02
15:24:42.000000000 +0300
+++ appcenter-0.2.9/appcenter-0.2.9/src/Core/Client.vala 2018-03-25
11:33:47.689248023 +0300
@@ -223,7 +223,11 @@
}
if (exit_status != Pk.Exit.SUCCESS) {
- throw new GLib.IOError.FAILED (Pk.Exit.enum_to_string
(exit_status));
+#if VALA_0_40
+ throw new GLib.IOError.FAILED (exit_status.enum_to_string());
+#else
+ throw new GLib.IOError.FAILED (Pk.Exit.enum_to_string
(exit_status));
+#endif
} else {
package.change_information.clear_update_info ();
}