Hello community, here is the log from the commit of package vala-panel-extras for openSUSE:Factory checked in at 2017-04-11 09:39:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vala-panel-extras (Old) and /work/SRC/openSUSE:Factory/.vala-panel-extras.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vala-panel-extras" Tue Apr 11 09:39:45 2017 rev:4 rq:484334 version:0.1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/vala-panel-extras/vala-panel-extras.changes 2016-05-17 17:15:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.vala-panel-extras.new/vala-panel-extras.changes 2017-04-11 09:39:48.914409083 +0200 @@ -1,0 +2,6 @@ +Sat Apr 1 11:12:25 UTC 2017 - sor.ale...@meowr.ru + +- Add vala-panel-extras-0.1.4-vala-0.36.patch: Fix build with + Vala 0.36 and newer. + +------------------------------------------------------------------- New: ---- vala-panel-extras-0.1.4-vala-0.36.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vala-panel-extras.spec ++++++ --- /var/tmp/diff_new_pack.q6xlj9/_old 2017-04-11 09:39:49.502326032 +0200 +++ /var/tmp/diff_new_pack.q6xlj9/_new 2017-04-11 09:39:49.506325467 +0200 @@ -1,7 +1,7 @@ # # spec file for package vala-panel-extras # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -28,9 +28,11 @@ 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 +# PATCH-FIX-UPSTREAM vala-panel-extras-0.1.4-vala-0.36.patch -- Fix build with Vala 0.36 and newer. +Patch2: vala-panel-extras-0.1.4-vala-0.36.patch BuildRequires: cmake >= 2.8 BuildRequires: gettext -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: vala >= 0.24 BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(gdk-x11-3.0) @@ -43,7 +45,7 @@ %description Vala Panel Extras is a set of small programs that can be used with -any StatusNotifierItem implementation (appindicator). +any StatusNotifierItem implementation (appindicators). It contains applets that were stripped from Vala Panel, and necessary to install, if you want them. @@ -109,7 +111,7 @@ StatusNotifierItem. %package battery -Summary: Vala Panel Extras - battery plugin +Summary: Vala Panel Extras -- Battery plugin Group: System/GUI/Other Requires: upower Recommends: %{name}-lang @@ -123,6 +125,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %if 0%{?suse_version} != 1320 # Use upstream glib-2.0.vapi. rm vapi/glib-2.0.vapi @@ -131,7 +134,7 @@ %build %cmake \ -DGSETTINGS_COMPILE=OFF -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install %cmake_install ++++++ vala-panel-extras-0.1.4-vala-0.36.patch ++++++ --- a/applets/weather/weather-config.vala +++ b/applets/weather/weather-config.vala @@ -66,7 +66,11 @@ namespace Weather TreeIter sel_iter; if(location_selection.get_selected(null, out sel_iter)) { +#if VALA_0_36 + location_list.remove(ref sel_iter); +#else location_list.remove(sel_iter); +#endif location_settings_updated(); } } --- a/applets/xkb/xkb-config.vala +++ b/applets/xkb/xkb-config.vala @@ -214,7 +214,11 @@ namespace XkbPlugin TreeIter tree_iter_sel; if(selection_current.get_selected(null,out tree_iter_sel)) { +#if VALA_0_36 + list_current.remove(ref tree_iter_sel); +#else list_current.remove(tree_iter_sel); +#endif update_layouts_from_widget(); } }