rebuilt [release 0.10.36-3mamba;Sat Jan 01 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:33:50 +01:00
parent 7209415db4
commit 353adb9c43
2 changed files with 48 additions and 17 deletions

View File

@ -0,0 +1,31 @@
From bd2a01cfe222367493a71f3269f12250c8972db0 Mon Sep 17 00:00:00 2001
From: Kerrick Staley <kerrick@kerrickstaley.com>
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

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 0.10.36-3mamba
- rebuilt
* Wed Oct 03 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10.36-2mamba
- rebuilt as legacy package