Hello community, here is the log from the commit of package deja-dup for openSUSE:Factory checked in at 2013-12-26 17:36:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/deja-dup (Old) and /work/SRC/openSUSE:Factory/.deja-dup.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "deja-dup" Changes: -------- --- /work/SRC/openSUSE:Factory/deja-dup/deja-dup.changes 2013-10-06 19:32:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.deja-dup.new/deja-dup.changes 2013-12-26 17:36:42.000000000 +0100 @@ -1,0 +2,6 @@ +Tue Dec 24 21:06:08 UTC 2013 - [email protected] + +- Add deja-dup-vala-0.22.patch: Support building against vala + 0.22; taken from deja-dup 30 branch. + +------------------------------------------------------------------- New: ---- deja-dup-vala-0.22.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ deja-dup.spec ++++++ --- /var/tmp/diff_new_pack.OovJ2c/_old 2013-12-26 17:36:42.000000000 +0100 +++ /var/tmp/diff_new_pack.OovJ2c/_new 2013-12-26 17:36:42.000000000 +0100 @@ -25,6 +25,8 @@ Group: Productivity/Archiving/Backup Url: https://launchpad.net/deja-dup Source0: https://launchpad.net/deja-dup/28/%{version}/+download/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM deja-dup-vala-0.22.patch [email protected] -- Fix build with Vala 0.22, taken from launchpad. +Patch0: deja-dup-vala-0.22.patch # For make check to work, we need dbus-launch BuildRequires: dbus-1-x11 BuildRequires: fdupes @@ -80,6 +82,7 @@ %lang_package %prep %setup -q +%patch0 -p0 %build %configure --disable-static ++++++ deja-dup-vala-0.22.patch ++++++ === modified file 'CMakeLists.txt' Index: deja-dup/widgets/WidgetUtils.vala =================================================================== --- deja-dup/widgets/WidgetUtils.vala.orig +++ deja-dup/widgets/WidgetUtils.vala @@ -19,6 +19,10 @@ using GLib; +// vala 0.22.1 changed the prototype for Notify.get_server_caps. +// Rather than require that specific version, use 0.22.1's definition directly. +extern GLib.List notify_get_server_caps(); + namespace DejaDup { public void show_uri(Gtk.Window parent, string link) @@ -60,7 +64,7 @@ public ShellEnv get_shell() // Use Legacy unless we detect a different shell. shell = ShellEnv.LEGACY; // Next check for Shell by notification capabilities - unowned List<string> caps = Notify.get_server_caps(); + List<string> caps = notify_get_server_caps(); bool persistence = false, actions = false; foreach (string cap in caps) { if (cap == "persistence") -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
