[gstreamer-plugins-base: 198/216] Remove obsolete ldconfig scriptlets
by Dominik Mierzejewski
commit 8715df0f86d141a8132baf1b21d5688eb1a8a883
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 22 18:39:12 2019 +0100
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
gstreamer-plugins-base.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 34cc2d6..585b2c1 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -118,8 +118,7 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/gst-visualise*
%find_lang gst-plugins-base-%{majorminor}
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
%files -f gst-plugins-base-%{majorminor}.lang
%doc AUTHORS COPYING README REQUIREMENTS
4 years, 3 months
[gstreamer-plugins-base: 197/216] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
by Dominik Mierzejewski
commit 2dc7b2fd58d0eef2997b4a09dc3d8d74f7debf85
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Jul 13 04:37:40 2018 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng(a)fedoraproject.org>
gstreamer-plugins-base.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 6c41fce..34cc2d6 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -4,7 +4,7 @@
Name: %{gstreamer}-plugins-base
Version: %{gstreamer_version}
-Release: 20%{?dist}
+Release: 21%{?dist}
Summary: GStreamer streaming media framework base plug-ins
Group: Applications/Multimedia
@@ -358,6 +358,9 @@ library.
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%changelog
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.10.36-21
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.10.36-20
- Escape macros in %%changelog
4 years, 3 months
[gstreamer-plugins-base: 196/216] Drop useless %%defattr
by Dominik Mierzejewski
commit a74a82967872923d815914ed7ccbf9027768cba4
Author: Adam Jackson <ajax(a)redhat.com>
Date: Thu Jul 5 14:21:05 2018 -0400
Drop useless %%defattr
gstreamer-plugins-base.spec | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 044f2bb..6c41fce 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -122,7 +122,6 @@ rm -f $RPM_BUILD_ROOT%{_mandir}/man1/gst-visualise*
%postun -p /sbin/ldconfig
%files -f gst-plugins-base-%{majorminor}.lang
-%defattr(-, root, root)
%doc AUTHORS COPYING README REQUIREMENTS
# libraries
@@ -206,7 +205,6 @@ These include:
* gst-discoverer
%files -n gstreamer-plugins-base-tools
-%defattr(-, root, root, -)
%{_bindir}/gst-discoverer-%{majorminor}
%package devel
@@ -220,7 +218,6 @@ GStreamer Base Plugins library development and header files. Documentation
is provided by the gstreamer-plugins-base-devel-docs package.
%files devel
-%defattr(-, root, root)
# plugin helper library headers
%dir %{_includedir}/gstreamer-%{majorminor}/gst/app
%{_includedir}/gstreamer-%{majorminor}/gst/app/gstappbuffer.h
@@ -355,7 +352,6 @@ This package contains developer documentation for the GStreamer Base Plugins
library.
%files devel-docs
-%defattr(-, root, root)
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-libs-%{majorminor}
4 years, 3 months
[gstreamer-plugins-base: 195/216] Escape macros in %changelog
by Dominik Mierzejewski
commit 3d2c643629c283d8cfcd8e4b054426d44c27ab67
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Fri Feb 9 09:04:39 2018 +0100
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.o...
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
gstreamer-plugins-base.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 99024dd..044f2bb 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -4,7 +4,7 @@
Name: %{gstreamer}-plugins-base
Version: %{gstreamer_version}
-Release: 19%{?dist}
+Release: 20%{?dist}
Summary: GStreamer streaming media framework base plug-ins
Group: Applications/Multimedia
@@ -362,6 +362,9 @@ library.
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%changelog
+* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 0.10.36-20
+- Escape macros in %%changelog
+
* Wed Feb 07 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.10.36-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@@ -765,7 +768,7 @@ library.
* Wed Jan 18 2006 John (J5) Palmieri <johnp(a)redhat.com> - 0.10.2-1
- Upgrade to 0.10.2
- Require gstreamer-0.10.2
-- Add libgstcdda and libcdparanoia to the %files section
+- Add libgstcdda and libcdparanoia to the %%files section
* Fri Jan 06 2006 John (J5) Palmieri <johnp(a)redhat.com> - 0.10.1-1
- New upstream version
4 years, 3 months
[gstreamer-plugins-base: 191/216] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
by Dominik Mierzejewski
commit 82d1dca219fa3c34814ed604a268cc1e4e01989c
Author: Fedora Release Engineering <releng(a)fedoraproject.org>
Date: Fri Feb 10 12:19:01 2017 +0000
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
gstreamer-plugins-base.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 6561a89..e1141d0 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -4,7 +4,7 @@
Name: %{gstreamer}-plugins-base
Version: %{gstreamer_version}
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: GStreamer streaming media framework base plug-ins
Group: Applications/Multimedia
@@ -362,6 +362,9 @@ library.
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%changelog
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.10.36-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
* Tue Dec 06 2016 Wim Taymans <wtaymans(a)redhat.com> - 0.10.36-15
- typefind: bounds check windows ico detection
(rhbz#1401949)
4 years, 3 months
[gstreamer-plugins-base: 190/216] typefind: bounds check windows ico detection
by Dominik Mierzejewski
commit 16e16b484f510e6fbabd20dcae49441f53dd44d0
Author: Wim Taymans <wtaymans(a)redhat.com>
Date: Tue Dec 6 18:03:01 2016 +0100
typefind: bounds check windows ico detection
(rhbz#1401949)
- fix build of docs and gir files
fix-docs.patch | 57 +++++++++++++++++++++
fix-gst-init.patch | 120 ++++++++++++++++++++++++++++++++++++++++++++
gstreamer-plugins-base.spec | 5 ++
3 files changed, 182 insertions(+)
---
diff --git a/fix-docs.patch b/fix-docs.patch
new file mode 100644
index 0000000..0fbc741
--- /dev/null
+++ b/fix-docs.patch
@@ -0,0 +1,57 @@
+diff -ru gst-plugins-base-0.10.36/docs/libs/Makefile.in gst-plugins-base-0.10.36.new/docs/libs/Makefile.in
+--- gst-plugins-base-0.10.36/docs/libs/Makefile.in 2012-02-21 00:33:11.000000000 +0100
++++ gst-plugins-base-0.10.36.new/docs/libs/Makefile.in 2016-12-06 17:58:11.897962358 +0100
+@@ -852,10 +852,7 @@
+ @ENABLE_GTK_DOC_TRUE@ if test "$(?)" = "0"; then \
+ @ENABLE_GTK_DOC_TRUE@ mkhtml_options=--path="$(abs_srcdir)"; \
+ @ENABLE_GTK_DOC_TRUE@ fi; \
+-@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
+-@ENABLE_GTK_DOC_TRUE@ @mv html/index.sgml html/index.sgml.bak
+-@ENABLE_GTK_DOC_TRUE@ @$(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
+-@ENABLE_GTK_DOC_TRUE@ @rm -f html/index.sgml.bak
++@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE)-@GST_MAJORMINOR@ ../$(DOC_MAIN_SGML_FILE)
+ @ENABLE_GTK_DOC_TRUE@ @rm -rf html/xml
+ @ENABLE_GTK_DOC_TRUE@ @rm -f version.entities
+ @ENABLE_GTK_DOC_TRUE@ @test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) $(abs_builddir)/html )
+@@ -909,9 +906,9 @@
+ echo '-- Installing '$$i ; \
+ $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
+ done; \
+- echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp2' ; \
+- if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
+- $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
++ echo '-- Installing $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2' ; \
++ if test -e $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \
++ $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2 \
+ $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
+ fi; \
+ (which gtkdoc-rebase >/dev/null && \
+diff -ru gst-plugins-base-0.10.36/docs/plugins/Makefile.in gst-plugins-base-0.10.36.new/docs/plugins/Makefile.in
+--- gst-plugins-base-0.10.36/docs/plugins/Makefile.in 2012-02-21 00:33:11.000000000 +0100
++++ gst-plugins-base-0.10.36.new/docs/plugins/Makefile.in 2016-12-06 17:58:46.370177477 +0100
+@@ -994,10 +994,7 @@
+ @ENABLE_GTK_DOC_TRUE@ mkhtml_options="$$mkhtml_options --verbose"; \
+ @ENABLE_GTK_DOC_TRUE@ fi; \
+ @ENABLE_GTK_DOC_TRUE@ fi; \
+-@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE) $(DOC_MAIN_SGML_FILE)
+-@ENABLE_GTK_DOC_TRUE@ @mv html/index.sgml html/index.sgml.bak
+-@ENABLE_GTK_DOC_TRUE@ @$(SED) "s/ href=\"$(DOC_MODULE)\// href=\"$(DOC_MODULE)-@GST_MAJORMINOR@\//g" html/index.sgml.bak >html/index.sgml
+-@ENABLE_GTK_DOC_TRUE@ @rm -f html/index.sgml.bak
++@ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(DOC_MODULE)-@GST_MAJORMINOR@ $(DOC_MAIN_SGML_FILE)
+ @ENABLE_GTK_DOC_TRUE@ @rm -f html/$(DOC_MAIN_SGML_FILE)
+ @ENABLE_GTK_DOC_TRUE@ @rm -rf html/xml
+ @ENABLE_GTK_DOC_TRUE@ @rm -f html/version.entities
+@@ -1057,9 +1054,9 @@
+ $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \
+ done; \
+ fi; \
+- echo '-- Installing $(builddir)/html/$(DOC_MODULE).devhelp2' ; \
+- if test -e $(builddir)/html/$(DOC_MODULE).devhelp2; then \
+- $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE).devhelp2 \
++ echo '-- Installing $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2' ; \
++ if test -e $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; then \
++ $(INSTALL_DATA) $(builddir)/html/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2 \
+ $(DESTDIR)$(TARGET_DIR)/$(DOC_MODULE)-@GST_MAJORMINOR@.devhelp2; \
+ fi; \
+ (which gtkdoc-rebase >/dev/null && \
+Only in gst-plugins-base-0.10.36.new/docs: version.entities
diff --git a/fix-gst-init.patch b/fix-gst-init.patch
new file mode 100644
index 0000000..e0a1621
--- /dev/null
+++ b/fix-gst-init.patch
@@ -0,0 +1,120 @@
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/app/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/app/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/app/Makefile.in 2012-02-21 00:33:14.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/app/Makefile.in 2016-12-06 17:50:34.225382882 +0100
+@@ -973,7 +973,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-base-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-app-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/audio/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/audio/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/audio/Makefile.in 2012-02-21 00:33:15.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/audio/Makefile.in 2016-12-06 17:50:39.471263440 +0100
+@@ -1134,7 +1134,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-base-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-audio-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/interfaces/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/interfaces/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/interfaces/Makefile.in 2012-02-21 00:33:16.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/interfaces/Makefile.in 2016-12-06 17:50:53.306948423 +0100
+@@ -1142,7 +1142,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --libtool="$(top_builddir)/libtool" \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-interfaces-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/netbuffer/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/netbuffer/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/netbuffer/Makefile.in 2012-02-21 00:33:16.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/netbuffer/Makefile.in 2016-12-06 17:50:57.476853480 +0100
+@@ -863,7 +863,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --libtool="$(top_builddir)/libtool" \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-netbuffer-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/pbutils/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/pbutils/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/pbutils/Makefile.in 2012-02-21 00:33:16.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/pbutils/Makefile.in 2016-12-06 17:51:02.673735155 +0100
+@@ -1116,7 +1116,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --libtool="$(top_builddir)/libtool" \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-pbutils-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/riff/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/riff/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/riff/Makefile.in 2012-02-21 00:33:16.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/riff/Makefile.in 2016-12-06 17:51:07.250630948 +0100
+@@ -906,7 +906,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-audio-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-interfaces-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-riff-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/rtp/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/rtp/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/rtp/Makefile.in 2012-02-21 00:33:17.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/rtp/Makefile.in 2016-12-06 17:51:11.867525826 +0100
+@@ -922,7 +922,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-base-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-rtp-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/rtsp/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/rtsp/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/rtsp/Makefile.in 2012-02-21 00:33:17.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/rtsp/Makefile.in 2016-12-06 17:51:15.858434959 +0100
+@@ -1068,7 +1068,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-sdp-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-rtsp-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/tag/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/tag/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/tag/Makefile.in 2012-02-21 00:33:18.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/tag/Makefile.in 2016-12-06 17:51:21.977295644 +0100
+@@ -1081,7 +1081,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-base-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-tag-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
+diff -ru gst-plugins-base-0.10.36/gst-libs/gst/video/Makefile.in gst-plugins-base-0.10.36.new/gst-libs/gst/video/Makefile.in
+--- gst-plugins-base-0.10.36/gst-libs/gst/video/Makefile.in 2012-02-21 00:33:18.000000000 +0100
++++ gst-plugins-base-0.10.36.new/gst-libs/gst/video/Makefile.in 2016-12-06 17:51:30.387104159 +0100
+@@ -1132,7 +1132,7 @@
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg gstreamer-base-@GST_MAJORMINOR@ \
+ @HAVE_INTROSPECTION_TRUE@ --pkg-export gstreamer-video-@GST_MAJORMINOR@ \
+-@HAVE_INTROSPECTION_TRUE@ --add-init-section="gst_init(NULL,NULL);" \
++@HAVE_INTROSPECTION_TRUE@ --add-init-section="void gst_init(void*,void*); gst_init(NULL,NULL);" \
+ @HAVE_INTROSPECTION_TRUE@ --output $@ \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_headers) \
+ @HAVE_INTROSPECTION_TRUE@ $(gir_sources)
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 8c0a815..6561a89 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -47,6 +47,8 @@ Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
Patch1: 0001-audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch
Patch2: 0002-audioresample-It-s-HAVE_EMMINTRIN_H-not-HAVE_XMMINTR.patch
Patch3: 0001-typefind-bounds-check-windows-ico-detection.patch
+Patch4: fix-gst-init.patch
+Patch5: fix-docs.patch
%description
GStreamer is a streaming media framework, based on graphs of filters which
@@ -64,6 +66,8 @@ This package contains a set of well-maintained base plug-ins.
%patch1 -p1 -b .0001
%patch2 -p1 -b .0002
%patch3 -p1 -b .0003
+%patch4 -p1 -b .0004
+%patch5 -p1 -b .0005
%build
%configure \
@@ -361,6 +365,7 @@ library.
* Tue Dec 06 2016 Wim Taymans <wtaymans(a)redhat.com> - 0.10.36-15
- typefind: bounds check windows ico detection
(rhbz#1401949)
+- fix build of docs and gir files
* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.10.36-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4 years, 3 months
[gstreamer-plugins-base: 189/216] typefind: bounds check windows ico detection
by Dominik Mierzejewski
commit da198fbaddc5c68d2c557e010b31a5f315f03811
Author: Wim Taymans <wtaymans(a)redhat.com>
Date: Tue Dec 6 17:05:50 2016 +0100
typefind: bounds check windows ico detection
(rhbz#1401949)
...pefind-bounds-check-windows-ico-detection.patch | 28 ++++++++++++++++++++++
gstreamer-plugins-base.spec | 8 ++++++-
2 files changed, 35 insertions(+), 1 deletion(-)
---
diff --git a/0001-typefind-bounds-check-windows-ico-detection.patch b/0001-typefind-bounds-check-windows-ico-detection.patch
new file mode 100644
index 0000000..917e0e4
--- /dev/null
+++ b/0001-typefind-bounds-check-windows-ico-detection.patch
@@ -0,0 +1,28 @@
+From 566e3e60698be7ea414ae5a495f111c0e7008702 Mon Sep 17 00:00:00 2001
+From: Wim Taymans <wtaymans(a)redhat.com>
+Date: Tue, 6 Dec 2016 16:59:42 +0100
+Subject: [PATCH] typefind: bounds check windows ico detection
+
+Fixes out of bounds read
+
+https://bugzilla.gnome.org/show_bug.cgi?id=774902
+---
+ gst/typefind/gsttypefindfunctions.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c
+index 27823b6..c8629b7 100644
+--- a/gst/typefind/gsttypefindfunctions.c
++++ b/gst/typefind/gsttypefindfunctions.c
+@@ -4149,6 +4149,8 @@ windows_icon_typefind (GstTypeFind * find, gpointer user_data)
+ gint32 size, offset;
+
+ datalen = gst_type_find_get_length (find);
++ if (datalen < 18)
++ return;
+ if ((data = gst_type_find_peek (find, 0, 6)) == NULL)
+ return;
+
+--
+2.9.3
+
diff --git a/gstreamer-plugins-base.spec b/gstreamer-plugins-base.spec
index 701f11b..8c0a815 100644
--- a/gstreamer-plugins-base.spec
+++ b/gstreamer-plugins-base.spec
@@ -4,7 +4,7 @@
Name: %{gstreamer}-plugins-base
Version: %{gstreamer_version}
-Release: 14%{?dist}
+Release: 15%{?dist}
Summary: GStreamer streaming media framework base plug-ins
Group: Applications/Multimedia
@@ -46,6 +46,7 @@ BuildRequires: gtk-doc >= 1.3
Patch0: 0001-missing-plugins-Remove-the-mpegaudioversion-field.patch
Patch1: 0001-audioresample-Fix-build-on-x86-if-emmintrin.h-is-ava.patch
Patch2: 0002-audioresample-It-s-HAVE_EMMINTRIN_H-not-HAVE_XMMINTR.patch
+Patch3: 0001-typefind-bounds-check-windows-ico-detection.patch
%description
GStreamer is a streaming media framework, based on graphs of filters which
@@ -62,6 +63,7 @@ This package contains a set of well-maintained base plug-ins.
%patch0 -p1 -b .mpegaudioversion
%patch1 -p1 -b .0001
%patch2 -p1 -b .0002
+%patch3 -p1 -b .0003
%build
%configure \
@@ -356,6 +358,10 @@ library.
%doc %{_datadir}/gtk-doc/html/gst-plugins-base-plugins-%{majorminor}
%changelog
+* Tue Dec 06 2016 Wim Taymans <wtaymans(a)redhat.com> - 0.10.36-15
+- typefind: bounds check windows ico detection
+ (rhbz#1401949)
+
* Wed Feb 03 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.10.36-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4 years, 3 months