Hello community, here is the log from the commit of package vala-panel-extras for openSUSE:Factory checked in at 2016-05-17 17:15:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vala-panel-extras (Old) and /work/SRC/openSUSE:Factory/.vala-panel-extras.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vala-panel-extras" Changes: -------- --- /work/SRC/openSUSE:Factory/vala-panel-extras/vala-panel-extras.changes 2015-08-23 17:53:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.vala-panel-extras.new/vala-panel-extras.changes 2016-05-17 17:15:45.000000000 +0200 @@ -1,0 +2,7 @@ +Sat May 7 07:12:54 UTC 2016 - sor.ale...@meowr.ru + +- Add vala-panel-extras-fix-gquarks.patch: fix build by using int + instead of GQuark. +- Fix build by using upstream glib-2.0.vapi. + +------------------------------------------------------------------- New: ---- vala-panel-extras-fix-gquarks.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vala-panel-extras.spec ++++++ --- /var/tmp/diff_new_pack.U5qXsY/_old 2016-05-17 17:15:46.000000000 +0200 +++ /var/tmp/diff_new_pack.U5qXsY/_new 2016-05-17 17:15:46.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package vala-panel-extras # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -26,8 +26,11 @@ Source: https://github.com/rilian-la-te/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE vala-panel-extras-fix-xkb-build.patch sor.ale...@meowr.ru -- Fix XKB module build in some conditions. Patch0: %{name}-fix-xkb-build.patch +# PATCH-FIX-OPENSUSE vala-panel-extras-fix-gquarks.patch sor.ale...@meowr.ru -- Fix build by using int instead of GQuark. +Patch1: %{name}-fix-gquarks.patch BuildRequires: cmake >= 2.8 BuildRequires: gettext +BuildRequires: pkg-config BuildRequires: vala >= 0.24 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(gdk-x11-3.0) @@ -119,6 +122,11 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 +%if 0%{?suse_version} != 1320 +# Use upstream glib-2.0.vapi. +rm vapi/glib-2.0.vapi +%endif %build %cmake \ ++++++ vala-panel-extras-fix-gquarks.patch ++++++ --- a/lib/notifications.vala +++ b/lib/notifications.vala @@ -18,17 +18,17 @@ namespace Notifier public abstract string[] get_capabilites() throws Error; public abstract void get_server_information(out string name, out string vendor, out string version, out string specv) throws Error; - public abstract Quark notify(string app_name, - Quark id, - string app_icon, - string title, - string body, - string[] actions, - HashTable<string, Variant?> hints, - int expire_timeout) throws Error; - public abstract Quark close_notification(Quark id) throws Error; - public abstract signal void action_invoked(Quark id, string action_name); - public abstract signal void notification_closed(Quark id, CloseReason reason); + public abstract uint32 notify(string app_name, + uint32 id, + string app_icon, + string title, + string body, + string[] actions, + HashTable<string, Variant?> hints, + int expire_timeout) throws Error; + public abstract uint32 close_notification(uint32 id) throws Error; + public abstract signal void action_invoked(uint32 id, string action_name); + public abstract signal void notification_closed(uint32 id, CloseReason reason); } public Daemon? get_daemon() {