Hello community, here is the log from the commit of package go-for-it for openSUSE:Factory checked in at 2017-04-11 09:39:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/go-for-it (Old) and /work/SRC/openSUSE:Factory/.go-for-it.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "go-for-it" Tue Apr 11 09:39:36 2017 rev:5 rq:484328 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/go-for-it/go-for-it.changes 2016-05-17 17:15:35.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.go-for-it.new/go-for-it.changes 2017-04-11 09:39:39.467743548 +0200 @@ -1,0 +2,7 @@ +Sat Apr 1 11:12:35 UTC 2017 - [email protected] + +- Update to version 1.5: + * No changelog available. +- Add go-for-it-vala-0.36.patch -- Fix build with vala >= 0.36. + +------------------------------------------------------------------- Old: ---- go-for-it-1.4.6.tar.gz New: ---- go-for-it-1.5.tar.gz go-for-it-vala-0.36.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ go-for-it.spec ++++++ --- /var/tmp/diff_new_pack.pD6H8W/_old 2017-04-11 09:39:40.791556542 +0200 +++ /var/tmp/diff_new_pack.pD6H8W/_new 2017-04-11 09:39:40.795555976 +0200 @@ -1,7 +1,7 @@ # # spec file for package go-for-it # -# 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 @@ -18,22 +18,26 @@ %define _name Go-For-It Name: go-for-it -Version: 1.4.6 +Version: 1.5 Release: 0 Summary: A stylish to-do list with built-in productivity timer License: GPL-3.0 Group: Productivity/Office/Organizers Url: https://github.com/mank319/Go-For-It -Source: https://github.com/mank319/%{_name}/archive/release_%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source: https://github.com/mank319/%{_name}/archive/release_v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM go-for-it-vala-0.36.patch -- Fix build with vala >= 0.36. +Patch0: go-for-it-vala-0.36.patch BuildRequires: cmake >= 2.8 +BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: vala >= 0.24 BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.4 BuildRequires: pkgconfig(libnotify) +Recommends: %{name}-lang %description Go For It! keeps track of your tasks and assists you in processing @@ -41,16 +45,21 @@ focus on the recent task, while reminding you to take short breaks on a regular base. +%lang_package + %prep -%setup -q -n %{_name}-release_%{version} +%setup -q -n %{_name}-release_v%{version} +%patch0 -p1 %build %cmake -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install %cmake_install %suse_update_desktop_file -r %{name} Utility DesktopUtility +%find_lang %{name} +%fdupes %{buildroot}%{_datadir}/ %post %desktop_database_post @@ -68,4 +77,7 @@ %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/*/%{name}* +%files lang -f %{name}.lang +%defattr(-,root,root) + %changelog ++++++ go-for-it-1.4.6.tar.gz -> go-for-it-1.5.tar.gz ++++++ ++++ 3580 lines of diff (skipped) ++++++ go-for-it-vala-0.36.patch ++++++ --- a/src/TaskStore.vala +++ b/src/TaskStore.vala @@ -86,7 +86,11 @@ class TaskStore : Gtk.ListStore { public void remove_task (Gtk.TreeIter iter) { bool is_active_task = compare_tasks (iter); var _active_task = active_task; +#if VALA_0_36 + this.remove (ref iter); +#else this.remove (iter); +#endif if (is_active_task && _active_task == active_task) { active_task = null; refresh_active_task ();
