Hello community,

here is the log from the commit of package vala-panel for openSUSE:Factory 
checked in at 2017-04-11 09:39:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vala-panel (Old)
 and      /work/SRC/openSUSE:Factory/.vala-panel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vala-panel"

Tue Apr 11 09:39:43 2017 rev:4 rq:484331 version:0.3.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/vala-panel/vala-panel.changes    2017-01-25 
23:32:52.640474706 +0100
+++ /work/SRC/openSUSE:Factory/.vala-panel.new/vala-panel.changes       
2017-04-11 09:39:44.814988180 +0200
@@ -1,0 +2,6 @@
+Sat Apr  1 11:12:25 UTC 2017 - [email protected]
+
+- Add vala-panel-0.3.6-vala-0.36.patch: Fix build with Vala 0.36
+  and newer (commits 01bb0cd, 466bc4b).
+
+-------------------------------------------------------------------

New:
----
  vala-panel-0.3.6-vala-0.36.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vala-panel.spec ++++++
--- /var/tmp/diff_new_pack.iMYTGl/_old  2017-04-11 09:39:45.718860496 +0200
+++ /var/tmp/diff_new_pack.iMYTGl/_new  2017-04-11 09:39:45.718860496 +0200
@@ -24,6 +24,8 @@
 Group:          System/GUI/Other
 Url:            https://github.com/rilian-la-te/vala-panel
 Source:         
https://github.com/rilian-la-te/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM vala-panel-0.3.6-vala-0.36.patch -- Fix build with Vala 
0.36 and newer (commits 01bb0cd, 466bc4b).
+Patch0:         vala-panel-0.3.6-vala-0.36.patch
 BuildRequires:  cmake >= 2.8
 BuildRequires:  fdupes
 BuildRequires:  gettext
@@ -81,6 +83,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake \

++++++ vala-panel-0.3.6-vala-0.36.patch ++++++
--- a/applets/core/launchbar/launchbar-config.vala
+++ b/applets/core/launchbar/launchbar-config.vala
@@ -184,7 +184,11 @@ namespace LaunchBar
             else if (rows_num > len)
             {
                 current_items.iter_nth_child(out iter, null, len);
+#if VALA_0_36
+                while(current_items.remove(ref iter));
+#else
                 while(current_items.remove(iter));
+#endif
             }
             for (int i = 0; i < len; i++)
             {
--- a/lib/configurator.vala
+++ b/lib/configurator.vala
@@ -422,7 +422,11 @@ namespace ValaPanel
                 model.get(it, Column.DATA, out pl, -1);
                 if( tree_path.get_indices()[0] >= model.iter_n_children(null))
                     tree_path.prev();
+#if VALA_0_36
+                (model as Gtk.ListStore).remove(ref it);
+#else
                 (model as Gtk.ListStore).remove(it);
+#endif
                 tree_sel.select_path(tree_path );
                 toplevel.remove_applet(pl);
             }
--- a/lib/plugin-settings.vala
+++ b/lib/plugin-settings.vala
@@ -77,7 +77,11 @@ namespace ValaPanel
 
         internal ToplevelSettings (string file)
         {
+#if VALA_0_36
+            this.full(file,PANEL_SCHEMA,PANEL_PATH,ROOT_NAME);
+#else
             ToplevelSettings.full(file,PANEL_SCHEMA,PANEL_PATH,ROOT_NAME);
+#endif
         }
 
         internal uint find_free_num()

Reply via email to