From 353adb9c4378b2e7053ac9e79ff8499fd532d528 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 23:33:50 +0100 Subject: [PATCH] rebuilt [release 0.10.36-3mamba;Sat Jan 01 2022] --- gstreamer010-0.10.36-bison-3.patch | 31 +++++++++++++++++++++++++++ gstreamer010.spec | 34 +++++++++++++++--------------- 2 files changed, 48 insertions(+), 17 deletions(-) create mode 100644 gstreamer010-0.10.36-bison-3.patch diff --git a/gstreamer010-0.10.36-bison-3.patch b/gstreamer010-0.10.36-bison-3.patch new file mode 100644 index 0000000..4f4f521 --- /dev/null +++ b/gstreamer010-0.10.36-bison-3.patch @@ -0,0 +1,31 @@ +From bd2a01cfe222367493a71f3269f12250c8972db0 Mon Sep 17 00:00:00 2001 +From: Kerrick Staley +Date: Wed, 21 Aug 2013 06:59:29 +0000 +Subject: parse: make grammar.y work with Bison 3 + +YYLEX_PARAM is no longer supported in Bison 3. + +https://bugzilla.gnome.org/show_bug.cgi?id=706462 +--- +diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y +index 8a9019c..f533389 100644 +--- a/gst/parse/grammar.y ++++ b/gst/parse/grammar.y +@@ -26,7 +26,6 @@ + */ + + #define YYERROR_VERBOSE 1 +-#define YYLEX_PARAM scanner + + #define YYENABLE_NLS 0 + +@@ -659,6 +658,7 @@ static int yyerror (void *scanner, graph_t *graph, const char *s); + %right '.' + %left '!' '=' + ++%lex-param { void *scanner } + %parse-param { void *scanner } + %parse-param { graph_t *graph } + %pure-parser +-- +cgit v0.9.0.2-2-gbebe diff --git a/gstreamer010.spec b/gstreamer010.spec index 42cae8b..5842232 100644 --- a/gstreamer010.spec +++ b/gstreamer010.spec @@ -5,30 +5,27 @@ Name: gstreamer010 Version: 0.10.36 -Release: 2mamba +Release: 3mamba Epoch: 1 Summary: A framework for streaming media Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://gstreamer.freedesktop.org +URL: https://gstreamer.freedesktop.org/ Source: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.bz2 +Patch0: gstreamer010-0.10.36-bison-3.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: gtk-doc -BuildRequires: libffi-devel BuildRequires: libglib-devel BuildRequires: libxml2-devel -BuildRequires: pkg-config ## AUTOBUILDREQ-END BuildRequires: bash BuildRequires: ldconfig BuildRequires: bison BuildRequires: flex -BuildRoot: %{_tmppath}/%{name}-%{version}-root -Obsoletes: gstreamer0.10 +Obsoletes: gstreamer0.10 < 1:0.10.36-3mamba Provides: gstreamer0.10 # FIXME: @@ -41,7 +38,7 @@ GStreamer is a library that allows the construction of graphs of media-handling %package -n %{name}-tools Summary: A framework for streaming media Group: Applications/Multimedia -Obsoletes: gstreamer0.10-tools +Obsoletes: gstreamer0.10-tools < 1:0.10.36-3mamba Provides: gstreamer0.10-tools %description -n %{name}-tools @@ -51,7 +48,7 @@ GStreamer is a streaming-media framework, based on graphs of filters which opera Summary: Libraries for GStreamer streaming-media framework Group: System/Libraries #Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libgstreamer0.10 +Obsoletes: libgstreamer0.10 < 1:0.10.36-3mamba Provides: libgstreamer0.10 %description -n %{libname} @@ -63,36 +60,36 @@ This package contains the libraries. Summary: Devel package for GStreamer library Group: Development/Libraries Requires: %{libname} = %{?epoch:%epoch:}%{version}-%{release} -Obsoletes: libgstreamer0.10-devel +Obsoletes: libgstreamer0.10-devel < 1:0.10.36-3mamba Provides: libgstreamer0.10-devel %description -n %{libname}-devel GStreamer is a library that allows the construction of graphs of media-handling components, ranging from simple Ogg/Vorbis playback to complex audio (mixing) and video (non-linear editing) processing. Applications can take advantage of advances in codec and filter technology transparently. Developers can add new codecs and filters by writing a simple plugin with a clean, generic interface. -This package contains static libraries and header files need for development. +This package contains static libraries and header files needed for development. %package -n %{libname}-apidocs Summary: GStreamer library API documentation Group: Documentation Requires: gtk-doc -Obsoletes: libgstreamer0.10-apidocs +Obsoletes: libgstreamer0.10-apidocs < 1:0.10.36-3mamba Provides: libgstreamer0.10-apidocs %description -n %{libname}-apidocs GStreamer library API documentation. +%debug_package + %prep %setup -q -n gstreamer-%{version} +%patch0 -p1 -b .bison-3 +sed -e 's/static volatile gsize gonce_data/static gsize gonce_data/g' -i gst/gstutils.h %build export CHECK_LIBS=-lcheck %configure \ --with-cachedir=%{gscachedir} \ -%ifnarch arm - --enable-gtk-doc \ -%endif - --with-html-dir=%{_datadir}/gtk-doc/html -# --enable-docbook + --disable-gtk-doc %make @@ -156,6 +153,9 @@ rm -f %{buildroot}%{_bindir}/gst-xmllaunch %{_datadir}/gtk-doc/html/gstreamer-plugins-%{majversion}/ %changelog +* Sat Jan 01 2022 Silvan Calarco 0.10.36-3mamba +- rebuilt + * Wed Oct 03 2012 Silvan Calarco 0.10.36-2mamba - rebuilt as legacy package