Hello community,
here is the log from the commit of package gstreamer-plugins-good for
openSUSE:Factory checked in at 2018-01-01 22:06:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gstreamer-plugins-good (Old)
and /work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gstreamer-plugins-good"
Mon Jan 1 22:06:49 2018 rev:51 rq:560097 version:1.12.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/gstreamer-plugins-good/gstreamer-plugins-good.changes
2017-12-14 10:52:47.929182995 +0100
+++
/work/SRC/openSUSE:Factory/.gstreamer-plugins-good.new/gstreamer-plugins-good.changes
2018-01-01 22:06:57.706275923 +0100
@@ -1,0 +2,9 @@
+Sat Dec 23 01:30:08 UTC 2017 - [email protected]
+
+- Add
+ gst-good-equalizer-fix-Wincompatible-pointer-types-warning.patch:
+ equalizer: Fix -Wincompatible-pointer-types warning (bgo#791494).
+- Clean up spec with spec-cleaner.
+- Toggle ENABLE_AALIB, no longer build aasink support.
+
+-------------------------------------------------------------------
New:
----
gst-good-equalizer-fix-Wincompatible-pointer-types-warning.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gstreamer-plugins-good.spec ++++++
--- /var/tmp/diff_new_pack.7blVGB/_old 2018-01-01 22:06:58.881883070 +0100
+++ /var/tmp/diff_new_pack.7blVGB/_new 2018-01-01 22:06:58.881883070 +0100
@@ -17,14 +17,14 @@
# aasink is just a toy. Once in future, we may want to disable aalib
-# support completely:
-%define ENABLE_AALIB 1
+# support completely: Disabled 25/12/17
+%define ENABLE_AALIB 0
+%define _name gst-plugins-good
+%define gst_branch 1.0
Name: gstreamer-plugins-good
-%define _name gst-plugins-good
Version: 1.12.4
Release: 0
-%define gst_branch 1.0
Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.1+
Group: Productivity/Multimedia/Other
@@ -32,9 +32,10 @@
Source0:
https://gstreamer.freedesktop.org/src/gst-plugins-good/%{_name}-%{version}.tar.xz
Source1: gstreamer-plugins-good.appdata.xml
Source99: baselibs.conf
-%if 0%{?ENABLE_AALIB}
-BuildRequires: aalib-devel
-%endif
+
+# PATCH-FIX-UPSTREAM
gst-good-equalizer-fix-Wincompatible-pointer-types-warning.patch bgo#791494
[email protected] -- equalizer: Fix -Wincompatible-pointer-types warning
+Patch0:
gst-good-equalizer-fix-Wincompatible-pointer-types-warning.patch
+
BuildRequires: gcc-c++
BuildRequires: gtk-doc >= 1.12
BuildRequires: libICE-devel
@@ -45,11 +46,9 @@
BuildRequires: libbz2-devel
BuildRequires: libjpeg-devel
BuildRequires: orc >= 0.4.16
+BuildRequires: pkgconfig
BuildRequires: python3-base
BuildRequires: python3-xml
-%if !0%{?is_opensuse}
-BuildRequires: translation-update-upstream
-%endif
BuildRequires: zlib-devel
BuildRequires: pkgconfig(caca)
BuildRequires: pkgconfig(cairo) >= 1.10.0
@@ -89,7 +88,12 @@
Enhances: gstreamer
# Generic name, never used in SuSE: I wish it had been used I would have used
it then I wouldn't have to keep copy pasting and actually type it.
Provides: gst-plugins-good = %{version}
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%if 0%{?ENABLE_AALIB}
+BuildRequires: aalib-devel
+%endif
+%if !0%{?is_opensuse}
+BuildRequires: translation-update-upstream
+%endif
%description
GStreamer is a streaming media framework based on graphs of filters
@@ -117,14 +121,15 @@
gstreamer-plugins-good.
%lang_package
+
%prep
-%setup -q -n %{_name}-%{version}
+%autosetup -n %{_name}-%{version} -p1
%if !0%{?is_opensuse}
translation-update-upstream po gst-plugins-good-%{gst_branch}
%endif
%build
-export PYTHON=/usr/bin/python3
+export PYTHON=%{_bindir}/python3
%configure\
--with-package-name='openSUSE GStreamer-plugins-good package'\
--with-package-origin='http://download.opensuse.org'\
@@ -134,22 +139,21 @@
--enable-gtk-doc\
--enable-v4l2-probe\
--enable-experimental
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
%install
-%makeinstall
+%make_install
%find_lang %{_name}-%{gst_branch}
if [ -f %{buildroot}%{_datadir}/appdata/gstreamer-plugins-good.appdata.xml ];
then
echo "Please remove the added gstreamer-plugins-good.appdata.xml file from
the sources - the tarball installs it"
false
else
mkdir -p %{buildroot}%{_datadir}/appdata
- cp %{S:1} %{buildroot}%{_datadir}/appdata/
+ cp %{SOURCE1} %{buildroot}%{_datadir}/appdata/
fi
-rm $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{gst_branch}/*.*a
+rm %{buildroot}%{_libdir}/gstreamer-%{gst_branch}/*.*a
%files
-%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README RELEASE REQUIREMENTS
%dir %{_datadir}/appdata
%{_datadir}/appdata/gstreamer-plugins-good.appdata.xml
@@ -221,11 +225,9 @@
%files lang -f %{_name}-%{gst_branch}.lang
%files doc
-%defattr(-, root, root)
%{_datadir}/gtk-doc/html/gst-plugins-good-plugins-%{gst_branch}
%files extra
-%defattr(-, root, root)
%{_libdir}/gstreamer-%{gst_branch}/libgst1394.so
%if 0%{?ENABLE_AALIB}
%{_libdir}/gstreamer-%{gst_branch}/libgstaasink.so
++++++ gst-good-equalizer-fix-Wincompatible-pointer-types-warning.patch ++++++
>From 2cc3d98d5cb0f6068f36b429ebf575e188112345 Mon Sep 17 00:00:00 2001
From: Michael Catanzaro <[email protected]>
Date: Mon, 11 Dec 2017 15:27:08 -0600
Subject: equalizer: Fix -Wincompatible-pointer-types warning
This is caused by the new type propagation for g_object_ref.
https://bugzilla.gnome.org/show_bug.cgi?id=791494
---
gst/equalizer/gstiirequalizer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gst/equalizer/gstiirequalizer.c b/gst/equalizer/gstiirequalizer.c
index eb23d21..210296b 100644
--- a/gst/equalizer/gstiirequalizer.c
+++ b/gst/equalizer/gstiirequalizer.c
@@ -323,7 +323,7 @@ gst_iir_equalizer_child_proxy_get_child_by_index
(GstChildProxy * child_proxy,
g_return_val_if_fail (index < equ->freq_band_count, NULL);
}
- ret = g_object_ref (equ->bands[index]);
+ ret = g_object_ref (G_OBJECT (equ->bands[index]));
BANDS_UNLOCK (equ);
GST_LOG_OBJECT (equ, "return child[%d] %" GST_PTR_FORMAT, index, ret);
--
cgit v1.1