Hello community, here is the log from the commit of package scratch for openSUSE:Factory checked in at 2017-04-11 09:39:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scratch (Old) and /work/SRC/openSUSE:Factory/.scratch.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scratch" Tue Apr 11 09:39:28 2017 rev:5 rq:484323 version:2.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/scratch/scratch.changes 2017-02-22 13:56:44.584926416 +0100 +++ /work/SRC/openSUSE:Factory/.scratch.new/scratch.changes 2017-04-11 09:39:29.565142419 +0200 @@ -1,0 +2,5 @@ +Sat Apr 1 00:05:50 UTC 2017 - [email protected] + +- Fix build with vala >= 0.36 (scratch-2.4.1-vala-0.36.patch) + +------------------------------------------------------------------- New: ---- scratch-2.4.1-vala-0.36.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scratch.spec ++++++ --- /var/tmp/diff_new_pack.xHdhd2/_old 2017-04-11 09:39:30.177055979 +0200 +++ /var/tmp/diff_new_pack.xHdhd2/_new 2017-04-11 09:39:30.177055979 +0200 @@ -26,6 +26,8 @@ Group: Productivity/Text/Editors Url: https://launchpad.net/scratch Source: https://launchpad.net/scratch/2.x/%{version}/+download/%{_name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM vala-0.36.patch [email protected] -- Fix build with vala >= 0.36 +Patch0: scratch-2.4.1-vala-0.36.patch BuildRequires: cmake >= 2.8 BuildRequires: ctags BuildRequires: fdupes @@ -92,6 +94,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 # fails to compile https://bugs.launchpad.net/scratch/+bug/1456572 sed -e '/add_subdirectory (filemanager)/d;/filemanager/q1' \ ++++++ scratch-2.4.1-vala-0.36.patch ++++++ diff -ruN scratch-text-editor-2.4.1.orig/plugins/clipboard-history/ClipboardHistory.vala scratch-text-editor-2.4.1/plugins/clipboard-history/ClipboardHistory.vala --- scratch-text-editor-2.4.1.orig/plugins/clipboard-history/ClipboardHistory.vala 2017-02-20 14:37:19.000000000 +0300 +++ scratch-text-editor-2.4.1/plugins/clipboard-history/ClipboardHistory.vala 2017-04-01 04:10:46.360267441 +0300 @@ -90,7 +90,7 @@ // Delete last item, if the size of the list store > MAX_SIZE if (list_store.get_iter_from_string (out iter, (MAX_SIZE - 1).to_string ())) - list_store.remove (iter); + list_store.remove (ref iter); // Delete dupplicates from list store, if exists delete_dupplicates (clipboard_content); @@ -143,7 +143,7 @@ }); if (to_delete != null) - list_store.remove (to_delete); + list_store.remove (ref to_delete); } void build_plugin_ui () { @@ -214,7 +214,7 @@ if (!selection.get_selected(out model, out iter)) { return; } - list_store.remove (iter); + list_store.remove (ref iter); // Hiding PlugIn, if no more items exist in the list store. if (!list_store.get_iter_first (out iter)) diff -ruN scratch-text-editor-2.4.1.orig/plugins/outline/OutlinePlugin.vala scratch-text-editor-2.4.1/plugins/outline/OutlinePlugin.vala --- scratch-text-editor-2.4.1.orig/plugins/outline/OutlinePlugin.vala 2017-02-20 14:37:19.000000000 +0300 +++ scratch-text-editor-2.4.1/plugins/outline/OutlinePlugin.vala 2017-04-01 04:08:56.268222463 +0300 @@ -139,7 +139,7 @@ var text = doc.source_view; Gtk.TextIter iter; text.buffer.get_iter_at_line (out iter, line - 1); - text.buffer.place_cursor (iter); + text.buffer.place_cursor (ref iter); text.scroll_to_iter (iter, 0.0, true, 0.5, 0.5); } }
