Hello community, here is the log from the commit of package audience for openSUSE:Factory checked in at 2017-04-11 09:39:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/audience (Old) and /work/SRC/openSUSE:Factory/.audience.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "audience" Tue Apr 11 09:39:22 2017 rev:3 rq:484321 version:0.2.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/audience/audience.changes 2017-01-23 11:41:03.502659684 +0100 +++ /work/SRC/openSUSE:Factory/.audience.new/audience.changes 2017-04-11 09:39:24.065919256 +0200 @@ -1,0 +2,5 @@ +Fri Mar 31 23:56:28 UTC 2017 - avvi...@yandex.by + +- Fix build with vala >= 0.36 (audience-0.2.1.2-vala-0.36.patch) + +------------------------------------------------------------------- New: ---- audience-0.2.1.2-vala-0.36.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ audience.spec ++++++ --- /var/tmp/diff_new_pack.3GxhLf/_old 2017-04-11 09:39:24.689831121 +0200 +++ /var/tmp/diff_new_pack.3GxhLf/_new 2017-04-11 09:39:24.693830556 +0200 @@ -1,7 +1,7 @@ # # spec file for package audience # -# 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 @@ -24,15 +24,19 @@ Group: Productivity/Multimedia/Video/Players Url: https://launchpad.net/audience Source: https://launchpad.net/audience/0.4-loki/%{version}/+download/%{name}-%{version}.tar.xz -BuildRequires: cmake intltool +# PATCH-FIX-UPSTREAM vala-0.36.patch avvi...@yandex.by -- Fix build with vala >= 0.36 +Patch0: audience-0.2.1.2-vala-0.36.patch +BuildRequires: cmake BuildRequires: desktop-file-utils +BuildRequires: elementary-icon-theme BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme +BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: vala >= 0.28.0 -BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(clutter-gst-3.0) +BuildRequires: pkgconfig(clutter-gtk-1.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(granite) BuildRequires: pkgconfig(gstreamer-1.0) @@ -40,7 +44,6 @@ BuildRequires: pkgconfig(gstreamer-tag-1.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libnotify) -BuildRequires: elementary-icon-theme Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires @@ -53,6 +56,7 @@ %prep %setup -q +%patch0 -p1 %build %cmake \ ++++++ audience-0.2.1.2-vala-0.36.patch ++++++ diff -ruN audience-0.2.1.2.orig/src/Widgets/Player/Playlist.vala audience-0.2.1.2/src/Widgets/Player/Playlist.vala --- audience-0.2.1.2.orig/src/Widgets/Player/Playlist.vala 2017-01-20 01:21:24.000000000 +0300 +++ audience-0.2.1.2/src/Widgets/Player/Playlist.vala 2017-04-01 02:51:45.585954141 +0300 @@ -140,7 +140,11 @@ playlist.get_value (iter, Columns.FILENAME, out filename); string name = filename.get_string (); if (name == file_name) +#if VALA_0_36 + playlist.remove (ref iter); +#else playlist.remove (iter); +#endif return false; }); }