Hello community,

here is the log from the commit of package clutter-gst for openSUSE:Factory 
checked in at 2018-01-01 22:06:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/clutter-gst (Old)
 and      /work/SRC/openSUSE:Factory/.clutter-gst.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "clutter-gst"

Mon Jan  1 22:06:38 2018 rev:56 rq:560082 version:3.0.24

Changes:
--------
--- /work/SRC/openSUSE:Factory/clutter-gst/clutter-gst.changes  2017-04-29 
10:47:52.656090904 +0200
+++ /work/SRC/openSUSE:Factory/.clutter-gst.new/clutter-gst.changes     
2018-01-01 22:06:46.741939885 +0100
@@ -1,0 +2,7 @@
+Sat Dec 23 12:40:01 UTC 2017 - zai...@opensuse.org
+
+- Add clutter-gst-video-sink-fix-compilation-error.patch:
+  video-sink: Fix compilation error.
+- Clean up spec with spec-cleaner, use modern macros.
+
+-------------------------------------------------------------------

New:
----
  clutter-gst-video-sink-fix-compilation-error.patch

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

Other differences:
------------------
++++++ clutter-gst.spec ++++++
--- /var/tmp/diff_new_pack.8Z4pS6/_old  2018-01-01 22:06:48.329409399 +0100
+++ /var/tmp/diff_new_pack.8Z4pS6/_new  2018-01-01 22:06:48.333408062 +0100
@@ -25,6 +25,10 @@
 Group:          Development/Libraries/C and C++
 Source0:        
http://download.gnome.org/sources/clutter-gst/3.0/%{name}-%{version}.tar.xz
 Source99:       baselibs.conf
+# PATCH-FIX-UPSTREAM clutter-gst-video-sink-fix-compilation-error.patch 
zai...@opensuse.org -- video-sink: Fix compilation error
+Patch0:         clutter-gst-video-sink-fix-compilation-error.patch
+
+BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(clutter-1.0) >= 1.20.0
 BuildRequires:  pkgconfig(cogl-2.0-experimental) >= 2.0.0
 BuildRequires:  pkgconfig(gobject-introspection-1.0)
@@ -35,7 +39,6 @@
 BuildRequires:  pkgconfig(gstreamer-tag-1.0)
 BuildRequires:  pkgconfig(gstreamer-video-1.0)
 BuildRequires:  pkgconfig(gudev-1.0)
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %define debug_package_requires libclutter-gst-3_0-0 = %{version}-%{release}
 
 %description
@@ -95,38 +98,35 @@
 Clutter GStreamer enables the use of GStreamer with Clutter.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
-%configure  --disable-static
-make %{?_smp_mflags}
+%configure \
+       --disable-static \
+       %{nil}
+%make_build
 
 %install
-%makeinstall
-find  %{buildroot}%{_libdir} -name '*.la' -delete -print
+%make_install
+find  %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
 
 %check
 make %{?_smp_mflags} check
 
 %post -n libclutter-gst-3_0-0 -p /sbin/ldconfig
-
 %postun -n libclutter-gst-3_0-0 -p /sbin/ldconfig
 
 %files -n libclutter-gst-3_0-0
-%defattr(-,root,root)
 %doc README COPYING
 %{_libdir}/*.so.*
 
 %files -n typelib-1_0-ClutterGst-3_0
-%defattr(-,root,root)
 %{_libdir}/girepository-1.0/ClutterGst-3.0.typelib
 
 %files -n gstreamer-plugin-gstclutter-3_0
-%defattr(-,root,root)
 %{_libdir}/gstreamer-1.0/libgstclutter-3.0.so
 
 %files devel
-%defattr(-,root,root)
 %{_libdir}/*.so
 %{_includedir}/clutter-gst-3.0/
 %{_libdir}/pkgconfig/*.pc

++++++ clutter-gst-video-sink-fix-compilation-error.patch ++++++
>From 3b3c5d4927968f1bd823c4869425897dd2c57768 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <had...@hadess.net>
Date: Thu, 13 Apr 2017 10:40:17 +0200
Subject: video-sink: Fix compilation error
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

clutter-gst-video-sink.c: In function ‘clutter_gst_video_sink_setup_balance’:
clutter-gst-video-sink.c:831:44: error: format not a string literal, argument 
types not checked [-Werror=format-nonliteral]
    priv->custom_start + 2);
    ^~~~

https://bugzilla.gnome.org/show_bug.cgi?id=781264
---
 clutter-gst/clutter-gst-video-sink.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/clutter-gst/clutter-gst-video-sink.c 
b/clutter-gst/clutter-gst-video-sink.c
index f325a09..2cbabe6 100644
--- a/clutter-gst/clutter-gst-video-sink.c
+++ b/clutter-gst/clutter-gst-video-sink.c
@@ -796,6 +796,9 @@ static const gchar *color_balance_shader =
   "  return clutter_gst_yuv_to_rgb (corrected_yuv);\n"
   "}\n";
 
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-nonliteral"
+
 static void
 clutter_gst_video_sink_setup_balance (ClutterGstVideoSink *sink,
                                       CoglPipeline *pipeline)
@@ -890,6 +893,8 @@ clutter_gst_video_sink_setup_balance (ClutterGstVideoSink 
*sink,
     }
 }
 
+#pragma GCC diagnostic pop
+
 /* YUV <-> RGB conversions */
 
 static const gchar *no_color_conversions_shader =
-- 
cgit v0.12


Reply via email to