Hello community, here is the log from the commit of package vala-panel-plugin-sntray for openSUSE:Factory checked in at 2017-04-11 09:39:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vala-panel-plugin-sntray (Old) and /work/SRC/openSUSE:Factory/.vala-panel-plugin-sntray.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "vala-panel-plugin-sntray" Tue Apr 11 09:39:50 2017 rev:5 rq:484336 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/vala-panel-plugin-sntray/vala-panel-plugin-sntray.changes 2017-01-25 23:32:59.247479053 +0100 +++ /work/SRC/openSUSE:Factory/.vala-panel-plugin-sntray.new/vala-panel-plugin-sntray.changes 2017-04-11 09:39:53.261794958 +0200 @@ -1,0 +2,6 @@ +Sat Apr 1 11:12:25 UTC 2017 - sor.alexei@meowr.ru + +- Add vala-panel-plugin-sntray-0.4.1-vala-0.36.patch: Fix build + with Vala 0.36 and newer. + +------------------------------------------------------------------- New: ---- vala-panel-plugin-sntray-0.4.1-vala-0.36.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vala-panel-plugin-sntray.spec ++++++ --- /var/tmp/diff_new_pack.V4il8R/_old 2017-04-11 09:39:53.913702867 +0200 +++ /var/tmp/diff_new_pack.V4il8R/_new 2017-04-11 09:39:53.917702302 +0200 @@ -25,6 +25,8 @@ Group: System/GUI/Other Url: https://github.com/rilian-la-te/xfce4-sntray-plugin Source: https://github.com/rilian-la-te/%{_name}/releases/download/%{version}/%{_name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM vala-panel-plugin-sntray-0.4.1-vala-0.36.patch -- Fix build with Vala 0.36 and newer. +Patch0: vala-panel-plugin-sntray-0.4.1-vala-0.36.patch BuildRequires: cmake >= 2.8 BuildRequires: fdupes BuildRequires: gettext @@ -75,6 +77,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build %cmake \ ++++++ vala-panel-plugin-sntray-0.4.1-vala-0.36.patch ++++++ --- a/src/snconfig.vala +++ b/src/snconfig.vala @@ -61,7 +61,11 @@ namespace StatusNotifier string inner_id; store.get(iter, COLUMN_ID, out inner_id); if (id == inner_id) +#if VALA_0_36 + store.remove(ref iter); +#else store.remove(iter); +#endif } }); build_stores();