From 22c99739310c878d5f6aba1c555fd582ea54f2af09ead43e58392c98dc895141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Wed, 17 Aug 2011 21:41:16 +0000 Subject: [PATCH] Accepting request 78457 from home:dimstar:branches:multimedia:libs Gstreamer 0.11 develepmont branch. Parallel installable to 0.10; Package renamed from gstreamer-0_10 to gstreamer; the version should just not be part of the name OBS-URL: https://build.opensuse.org/request/show/78457 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/gstreamer?expand=0&rev=1 --- .gitattributes | 23 + .gitignore | 1 + baselibs.conf | 2 + gstreamer-0.11.0.tar.bz2 | 3 + gstreamer-doc.changes | 230 +++++ gstreamer-doc.spec | 260 ++++++ gstreamer-no-gtk-doc-for-reals.patch | 48 + gstreamer-rpm-prov.patch | 373 ++++++++ gstreamer.changes | 1291 ++++++++++++++++++++++++++ gstreamer.macros | 4 + gstreamer.prov | 49 + gstreamer.spec | 260 ++++++ pre_checkin.sh | 18 + 13 files changed, 2562 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 baselibs.conf create mode 100644 gstreamer-0.11.0.tar.bz2 create mode 100644 gstreamer-doc.changes create mode 100644 gstreamer-doc.spec create mode 100644 gstreamer-no-gtk-doc-for-reals.patch create mode 100644 gstreamer-rpm-prov.patch create mode 100644 gstreamer.changes create mode 100644 gstreamer.macros create mode 100644 gstreamer.prov create mode 100644 gstreamer.spec create mode 100644 pre_checkin.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..3525fe8 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,2 @@ +gstreamer +libgstreamer-0_11-1 diff --git a/gstreamer-0.11.0.tar.bz2 b/gstreamer-0.11.0.tar.bz2 new file mode 100644 index 0000000..85e6e81 --- /dev/null +++ b/gstreamer-0.11.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e59859fd27ae635af880d9dca6aa74991b11a5fda5f9060e05186d079ec09f9 +size 3516801 diff --git a/gstreamer-doc.changes b/gstreamer-doc.changes new file mode 100644 index 0000000..a6fe79c --- /dev/null +++ b/gstreamer-doc.changes @@ -0,0 +1,230 @@ +------------------------------------------------------------------- +Sun Jan 16 14:21:19 UTC 2011 - aj@suse.de + +- Remove buildrequire on pyxml and add python instead for doc + package only, changelog of package with date 2008-03-21 contains: + "Don't depend on PyXML and use only XML modules that are shipped + with python." + +------------------------------------------------------------------- +Sat Sep 11 18:18:02 UTC 2010 - dimstar@opensuse.org + +- Add gstreamer-0_10-make382.patch: Fix build with make 3.82. + Generally, the -doc package is affected. + +------------------------------------------------------------------- +Tue Sep 7 23:16:34 CEST 2010 - vuntz@opensuse.org + +- Fix build: remove the macros.gstreamer and gstreamer-provides + from the doc package. + +------------------------------------------------------------------- +Sat Mar 13 19:20:30 UTC 2010 - dimstar@opensuse.org + +- Fix build: remove gst-plugin-scanner from the doc-package. + +------------------------------------------------------------------- +Sun Dec 6 13:37:39 CET 2009 - vuntz@opensuse.org + +- Fix build: the introspection files need to be removed for the doc + package. + +------------------------------------------------------------------- +Mon Oct 26 16:59:30 CET 2009 - sbrabec@suse.cz + +- Added support for translation-update-upstream (FATE#301344). + +------------------------------------------------------------------- +Wed Aug 5 13:22:08 CEST 2009 - vuntz@novell.com + +- Update to version 0.10.24: + + Changes: + - Fully support nested structures in caps + - Support frame-by-frame stepping in sinks + - Add support for buffer-lists to pass around groups of buffers + - Use TaskPools for managing worker threads + - New stream-status API for finer thread control + - Code optimisations + - Many other bug-fixes and enhancements + + Bugs fixed: bgo#580579, bgo#527488, bgo#570233, bgo#584389, + bgo#534208, bgo#545787, bgo#554460, bgo#559643, bgo#560345, + bgo#560442, bgo#572285, bgo#577926, bgo#578908, bgo#580177, + bgo#580716, bgo#581198, bgo#581281, bgo#582010, bgo#582564, + bgo#582588, bgo#582878, bgo#583187, bgo#583419, bgo#583456, + bgo#583554, bgo#584835, bgo#584838, bgo#585039, bgo#585075, + bgo#585137, bgo#585592, bgo#585733, bgo#585748, bgo#586566, + bgo#586568, bgo#587973, bgo#587976, bgo#588744, bgo#588745, + bgo#589127, bgo#590056, bgo#590622, bgo#579177, bgo#581321, + bgo#584118, bgo#585433, bgo#585569, bgo#585834, bgo#585960, + bgo#587052 + + API additions. + +------------------------------------------------------------------- +Mon May 18 00:54:01 CEST 2009 - vuntz@novell.com + +- Update to version 0.10.23: + + Support files > 4GB on Windows + + Controller interpolation fixes + + Add timer support to GstPoll and use it for clocking + + Attempt to typefind contents from the file extension if all + else fails + + GStreamer revision control switched to Git + + Many other bug fixes and improvements + + Bugs fixed: bgo#579177, bgo#163577, bgo#574160, bgo#575598, + bgo#575922, bgo#576842, bgo#555978, bgo#565607, bgo#566936, + bgo#567692, bgo#567725, bgo#568289, bgo#568438, bgo#568481, + bgo#568632, bgo#568678, bgo#570910, bgo#571227, bgo#571559, + bgo#572480, bgo#573623, bgo#574024, bgo#574211, bgo#574213, + bgo#574241, bgo#574484, bgo#574623, bgo#574805, bgo#575695, + bgo#575814, bgo#576381, bgo#576563, bgo#576582, bgo#577887, + bgo#577891, bgo#578114, bgo#578201, bgo#579127, bgo#580121, + bgo#361155, bgo#517231, bgo#572591, bgo#573823, bgo#574163, + bgo#575682, bgo#575988 + + API additions: + - New FIXME and MEMDUMP debug levels + - gst_tag_list_get_buffer() and gst_tag_list_get_buffer_index() + - New tags: GST_TAG_SUBTITLE_CODEC, GST_TAG_HOMEPAGE + - gst_util_array_binary_search() + - gst_message_new_request_state(), + gst_message_parse_request_state(), GST_MESSAGE_REQUEST_STATE + - GstPoll::gst_poll_new_timer() + - GstPoll::gst_poll_write_control() + - GstPoll::gst_poll_read_control() + +------------------------------------------------------------------- +Thu Apr 23 17:18:34 CEST 2009 - sbrabec@suse.cz + +- Don't call autogen in older products. + +------------------------------------------------------------------- +Tue Oct 21 17:42:51 CDT 2008 - maw@suse.de + +- Update to version 0.10.21: + + Basetransform rework + + Basesink synchronisation extensions + + New documentation + + Bugs fixed: bgo#481169, bgo#520694, bgo#538201, bgo#544855, + bgo#339795, bgo#348114, bgo#361718, bgo#533856, bgo#536978, + bgo#537804, bgo#537812, bgo#538568, bgo#539772, bgo#542175, + bgo#543444, bgo#543853, bgo#544174, bgo#544776, bgo#545352, + bgo#545603, bgo#545605, bgo#545607, bgo#545853, bgo#546328, + bgo#546822, bgo#547277, bgo#547728, bgo#548394, bgo#548652, + bgo#549504, bgo#551952, bgo#551978, bgo#547835, bgo#538628, + bgo#546883, and bgo#551509 + + API added: + * Add GST_TAG_ATTACHMENT for generic file attachments to streams. + * Add gst_base_sink_set_render_delay() + * Add gst_base_sink_get_render_delay() + * Add gst_check_setup_src_pad_by_name + * Add gst_check_setup_sink_pad_by_name + * Add gst_check_teardown_pad_by_name + * Add GstBaseTransform::gst_base_transform_suggest() + * GstBaseTransform::gst_base_transform_reconfigure() + * GstPad::gst_pad_set_iterate_internal_links_function() + * GstPad::GstPadIterIntLinkFunction + * GstPad::gst_pad_iterate_internal_links() + * GstPad::gst_pad_iterate_internal_links_default() + + API deprecated: + * gst_pad_get_internal_links() + * gst_pad_set_internal_link_function() + * gst_pad_get_internal_links_default() +- Add gstreamer-0_10-no-gtk-doc-for-reals.patch. + +------------------------------------------------------------------- +Thu Sep 04 15:49:43 CEST 2008 - mboman@novell.com + +- Update to version 0.10.20: + + Add the Presets interface + + Use the binary registry by default + + Deprecate gst_element_get_pad and don't use it anywhere any more. + + Reverse playback fixes + + API to get missing element messages from parse_launch parsing. + + Fixes in latency calculations + + BaseTransform negotiation fixes + + New Buffering query and messages + + Fix multiqueue deadlocks when changing limits + + Remove pre-generated parser hacks and require newer flex/bison + + Use GSlice in more places + + Use static strings in property declarations everywhere to save memory + allocations + + Fix unaligned memory accesses with the binary registry and add CRC + checks + + Lots of other bug fixes + +------------------------------------------------------------------- +Mon Apr 14 14:14:41 CEST 2008 - sbrabec@suse.cz + +- Updated to version 0.10.19: + * Fix a regression in raw fd handling + * Fixed: bgo#524041 +- Fixed Obsoletes (bnc#357153). + +------------------------------------------------------------------- +Wed Apr 2 17:17:19 CEST 2008 - maw@suse.de + +- Update to version 0.10.18: + + New GstPoll abstraction simplifies operations on multiple + file descriptors + + Bugs fixed: bgo#516187, bgo#516395, bgo#520756, bgo#498222, + bgo#499127, bgo#505417, bgo#509559, bgo#510194, bgo#511783, + bgo#513964, bgo#515469, bgo#519584, bgo#519698, bgo#520152, + bgo#520671, bgo#520808, bgo#520877, bgo#521740, and bgo#522741. + +------------------------------------------------------------------- +Tue Jan 22 15:20:12 CET 2008 - sbrabec@suse.cz + +- Updated to version 0.10.15: + * Changes for asynchronous sink management + * New ts-offset property on basesink for adjusting clock synchronisation + * New GstController LFO feature + * Fixes and improvements in latency measurement for live pipelines + * Additional documentation and docs fixes + * Faster typefinding + * More tag types added + * Improvements in various core elements and parent classes + * New unit tests + * Allow dumping pipelines as dot graphs + * GstStructures now support nesting + * URIHandler interface can now be implemented in bindings + * Many other bug-fixes and improvements + * API additions +- Split package according to shared library packaging policy + (#223286). + +------------------------------------------------------------------- +Mon Sep 17 15:04:01 CEST 2007 - sbrabec@suse.cz + +- Updated to version 0.10.14: + * State change handling improvements + * New improved GstController API + * Multi-queue fixes and enhancements + * Fewer dynamic library relocations + * Various other fixes and improvements + * Parallel installability with 0.8.x series + * Threadsafe design and API + * Add GstParamSpecFraction, so elements can have fraction + properties without lots of painful string parsing. + * Add fail_unless_equals_float() and assert_equals_float() + * Add gst_type_register_static_full + * Add gst_element_class_set_details_simple + * Refactor GstController into the core controller which can take + a GstControlSource for providing actual values for timestamps. + * add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI + * gst_element_factory_has_interface() + * Many bugs fixed. + +------------------------------------------------------------------- +Wed Aug 15 09:27:52 CEST 2007 - coolo@suse.de + +- fix requires + +------------------------------------------------------------------- +Sat Jul 21 22:10:15 CEST 2007 - aj@suse.de + +- Fix duplicate subpackage. + +------------------------------------------------------------------- +Sat Jul 21 07:56:22 CEST 2007 - aj@suse.de + +- Separate spec file for just doc package. + diff --git a/gstreamer-doc.spec b/gstreamer-doc.spec new file mode 100644 index 0000000..fc88598 --- /dev/null +++ b/gstreamer-doc.spec @@ -0,0 +1,260 @@ +# +# spec file for package gstreamer-0_11 +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: gstreamer-doc +%define build_doc 1 +Version: 0.11.0 +Release: 1 +%define gst_branch 0.11 +License: LGPLv2.1+ +Summary: Streaming-Media Framework Runtime +Url: http://gstreamer.freedesktop.org/ +Group: Productivity/Multimedia/Other +Source0: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.bz2 +Source1: gstreamer.macros +Source2: gstreamer.prov +Source99: baselibs.conf +# PATCH-FIX-OPENSUSE gstreamer-no-gtk-doc-for-reals.patch maw@novell.com -- to build without gtk-doc, like totally for reals +Patch0: gstreamer-no-gtk-doc-for-reals.patch +# PATCH-FEATURE-UPSTREAM gstreamer-rpm-prov.patch bgo#588783 dimstar@opensuse.org -- Add --rpm parameter to allow creation of rpm provides, patch from fedora +Patch1: gstreamer-rpm-prov.patch +BuildRequires: bison +BuildRequires: check-devel +BuildRequires: fdupes +BuildRequires: flex +BuildRequires: glib2-devel >= 2.26 +BuildRequires: libxml2-devel +BuildRequires: translation-update-upstream +%ifarch %ix86 ppc x86_64 +BuildRequires: valgrind-devel +%endif +%if %suse_version >= 1120 +BuildRequires: gobject-introspection-devel >= 0.6.8 +%endif +%if %build_doc +BuildRequires: docbook-toys +BuildRequires: docbook-utils +BuildRequires: gtk-doc +BuildRequires: python +BuildRequires: transfig +BuildRequires: texlive-latex +BuildRequires: texlive-latex-doc +# Ensure that the documentation corresponds with the installed version: +Requires: libgstreamer-0_11-0 = %{version} +# Generic name, never used in SuSE: +Provides: gstreamer-doc = %{version} +%else +# Core modules may depend on new enough libraries: +Requires: libgstreamer-0_11-0 >= %{version} +Recommends: %{name}-lang = %{version} +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%if !%build_doc + +%package -n libgstreamer-0_11-0 +License: LGPLv2.1+ +Summary: Streaming-Media Framework Runtime +Group: System/Libraries +# We want to have core modules installed: +Requires: %{name} + +%description -n libgstreamer-0_11-0 +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%package utils +License: LGPLv2.1+ +Summary: Streaming-Media Framework Runtime +Group: Productivity/Multimedia/Other +# Generic name, never used in SuSE: +Provides: gstreamer:%{_bindir}/gst-launch-%{gst_branch} = %{version} +# Symbol for unversioned wrappers: +Provides: gstreamer-utils_versioned = %{version} + +%description utils +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%package devel +License: LGPLv2.1+ +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: check-devel +Requires: glib2-devel +Requires: libxml2-devel +Requires: popt-devel + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%endif +%lang_package + +%prep +%setup -q -n gstreamer-%{version} +#translation-update-upstream po gstreamer-0.10 +%if ! %build_doc +%patch0 -p1 +%endif +%patch1 -p1 + +%build +# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS: +# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS. +export V=1 +%if %suse_version >= 1110 +NOCONFIGURE=1 ./autogen.sh +%endif +export CFLAGS="%{optflags} -fno-strict-aliasing" +%configure\ +%if %build_doc + --enable-gtk-doc\ + --enable-docbook\ +%endif +%if %suse_version >= 1120 + --enable-introspection\ +%endif + --disable-static +make %{?_smp_mflags} + +%install +%makeinstall +mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets +mkdir -p %{buildroot}%{_docdir}/%{name} +%if %build_doc +mv %{buildroot}%{_datadir}/doc/gstreamer-*/* %{buildroot}%{_docdir}/%{name} +rmdir %{buildroot}%{_datadir}/doc/gstreamer-* +%else +# TODO is empty +cp AUTHORS COPYING ChangeLog NEWS README RELEASE %{buildroot}%{_docdir}/%{name} +%find_lang %{name}-%{gst_branch} +rm %{buildroot}%{_libdir}/gstreamer-*/*.*a +%endif +%if %build_doc +rm -rf %{buildroot}%{_bindir}/* +rm -rf %{buildroot}%{_libdir} +rm -rf %{buildroot}%{_datadir}/aclocal +rm -rf %{buildroot}%{_includedir}/* +rm -rf %{buildroot}%{_datadir}/locale +rm -rf %{buildroot}%{_mandir} +rm -rf %{buildroot}%{_datadir}/gir-1.0/ +rm -rf %{buildroot}%{_datadir}/gstreamer-%{gst_branch} +rm -rf %{buildroot}%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner +%else +rm -rf %{buildroot}%{_datadir}/gtk-doc +rm -rf %{buildroot}%{_docdir}/%{name}/manual +rm -rf %{buildroot}%{_docdir}/%{name}/pwg +mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets +# Install the rpm macros +%if 0%?suse_version >= 1210 +%__install -m644 -D %{S:1} %{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr +%else +%__install -m644 -D %{S:1} %{buildroot}%{_sysconfdir}/rpm/macros.gstreamer +%endif +%__install -m755 -D %{S:2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides +%endif +%fdupes %{buildroot} + +%clean +rm -rf %{buildroot} +%if ! %build_doc + +%post -n libgstreamer-0_11-0 -p /sbin/ldconfig + +%postun -n libgstreamer-0_11-0 -p /sbin/ldconfig +%endif +%if %build_doc + +%files +%defattr(-,root,root) +%doc %dir %{_docdir}/%{name} +%{_datadir}/gtk-doc/html/* +%doc %{_docdir}/%{name}/manual +%doc %{_docdir}/%{name}/pwg +%doc %{_docdir}/%{name}/faq +%else + +%files +%defattr(-, root, root) +%dir %{_datadir}/gstreamer-%{gst_branch} +%dir %{_datadir}/gstreamer-%{gst_branch}/presets +%doc %dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/AUTHORS +%doc %{_docdir}/%{name}/COPYING +%doc %{_docdir}/%{name}/ChangeLog +%doc %{_docdir}/%{name}/NEWS +%doc %{_docdir}/%{name}/README +%doc %{_docdir}/%{name}/RELEASE +%dir %{_libdir}/gstreamer-%{gst_branch} +%{_libdir}/gstreamer-%{gst_branch}/*.so +%dir %{_libexecdir}/gstreamer-%{gst_branch} +%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner + +%files lang -f %{name}-%{gst_branch}.lang + +%files -n libgstreamer-0_11-0 +%defattr(-, root, root) +%{_libdir}/*.so.* +%if %suse_version >= 1120 +%{_libdir}/girepository-1.0/*.typelib +%endif + +%files utils +%defattr(-, root, root) +%{_bindir}/*-%{gst_branch} +%doc %{_mandir}/man?/*-%{gst_branch}.* + +%files devel +%defattr(-, root, root) +%{_datadir}/aclocal/*.m4 +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/*.*a +%{_libdir}/pkgconfig/*.pc +%{_libexecdir}/rpm/gstreamer-provides +%if 0%?suse_version >= 1210 +%{_libexecdir}/rpm/fileattrs/gstreamer.attr +%else +%{_sysconfdir}/rpm/macros.gstreamer +%endif +%if %suse_version >= 1120 +%{_datadir}/gir-1.0/*.gir +%endif +%endif + +%changelog diff --git a/gstreamer-no-gtk-doc-for-reals.patch b/gstreamer-no-gtk-doc-for-reals.patch new file mode 100644 index 0000000..03df7a0 --- /dev/null +++ b/gstreamer-no-gtk-doc-for-reals.patch @@ -0,0 +1,48 @@ +Index: gstreamer-0.10.29/docs/gst/Makefile.am +=================================================================== +--- gstreamer-0.10.29.orig/docs/gst/Makefile.am ++++ gstreamer-0.10.29/docs/gst/Makefile.am +@@ -1,5 +1,5 @@ + ## Process this file with automake to produce Makefile.in +- ++if ENABLE_GTK_DOC + # The name of the module, e.g. 'glib'. + # DOC_MODULE=gstreamer-@GST_MAJORMINOR@ + DOC_MODULE=gstreamer +@@ -106,4 +106,5 @@ include $(top_srcdir)/common/gtk-doc.mak + + # gtk-doc.mak defines CLEANFILES + CLEANFILES += gst-universe.svg ++endif + +Index: gstreamer-0.10.29/docs/libs/Makefile.am +=================================================================== +--- gstreamer-0.10.29.orig/docs/libs/Makefile.am ++++ gstreamer-0.10.29/docs/libs/Makefile.am +@@ -1,3 +1,4 @@ ++if ENABLE_GTK_DOC + ## Process this file with automake to produce Makefile.in + + # The name of the module, e.g. 'glib'. +@@ -103,3 +104,5 @@ GTKDOC_EXTRA_ENVIRONMENT= \ + DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt + + include $(top_srcdir)/common/gtk-doc.mak ++ ++endif +\ No newline at end of file +Index: gstreamer-0.10.29/docs/plugins/Makefile.am +=================================================================== +--- gstreamer-0.10.29.orig/docs/plugins/Makefile.am ++++ gstreamer-0.10.29/docs/plugins/Makefile.am +@@ -1,3 +1,4 @@ ++if ENABLE_GTK_DOC + GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj + + ## Process this file with automake to produce Makefile.in +@@ -115,3 +116,4 @@ GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=lin + DOC_OVERRIDES = + + include $(top_srcdir)/common/gtk-doc-plugins.mak ++endif +\ No newline at end of file diff --git a/gstreamer-rpm-prov.patch b/gstreamer-rpm-prov.patch new file mode 100644 index 0000000..6c55459 --- /dev/null +++ b/gstreamer-rpm-prov.patch @@ -0,0 +1,373 @@ +Index: gstreamer-0.10.33/tools/gst-inspect.c +=================================================================== +--- gstreamer-0.10.33.orig/tools/gst-inspect.c ++++ gstreamer-0.10.33/tools/gst-inspect.c +@@ -1408,9 +1408,225 @@ print_element_info (GstElementFactory * + return 0; + } + ++static void ++print_gst_structure_append_field (GList * strings, const char *field) ++{ ++ GList *s; ++ ++ //g_message ("adding '%s' to the string", field); ++ ++ for (s = strings; s != NULL; s = s->next) { ++ g_string_append (s->data, field); ++ } ++} ++ ++static void ++print_gst_structure_append_field_index (GList * strings, const char *field, ++ guint num_items, guint offset) ++{ ++ GList *s; ++ guint i; ++ ++ //g_message ("adding '%s' to the string (num: %d offset: %d)", field, num_items, offset); ++ ++ for (s = strings, i = 0; s != NULL; s = s->next, i++) { ++ if (i == offset) { ++ //g_message ("adding '%s' at '%d'", field, i); ++ g_string_append (s->data, field); ++ } ++ if (i == num_items) ++ i = 0; ++ } ++ ++} ++ ++static GList * ++print_gst_structure_dup_fields (GList * strings, guint num_items) ++{ ++ guint new_items, i; ++ ++ if (num_items == 1) ++ return strings; ++ ++ //g_message ("creating %d new items", num_items); ++ ++ new_items = g_list_length (strings) * (num_items - 1); ++ for (i = 0; i < new_items; i++) { ++ GString *s, *first; ++ ++ first = strings->data; ++ s = g_string_new_len (first->str, first->len); ++ strings = g_list_prepend (strings, s); ++ } ++ ++ return strings; ++} ++ ++enum ++{ ++ FIELD_VERSION = 0, ++ FIELD_LAYER, ++ FIELD_VARIANT, ++ FIELD_SYSTEMSTREAM ++}; ++ ++static int ++field_get_type (const char *field_name) ++{ ++ if (strstr (field_name, "version") != NULL) ++ return FIELD_VERSION; ++ if (strcmp (field_name, "layer") == 0) ++ return FIELD_LAYER; ++ if (strcmp (field_name, "systemstream") == 0) ++ return FIELD_SYSTEMSTREAM; ++ if (strcmp (field_name, "variant") == 0) ++ return FIELD_VARIANT; ++ ++ return -1; ++} ++ ++static gint ++fields_type_compare (const char *a, const char *b) ++{ ++ gint a_type, b_type; ++ ++ a_type = field_get_type (a); ++ b_type = field_get_type (b); ++ if (a_type < b_type) ++ return -1; ++ if (b_type < a_type) ++ return 1; ++ return 0; ++} + + static void +-print_plugin_automatic_install_info_codecs (GstElementFactory * factory) ++print_gst_structure_for_rpm (const char *type_name, GstStructure * s) ++{ ++ guint i, num_fields; ++ const char *name; ++ GList *fields, *l, *strings; ++ GString *string; ++ ++ name = gst_structure_get_name (s); ++ strings = NULL; ++ num_fields = gst_structure_n_fields (s); ++ fields = NULL; ++ ++ for (i = 0; i < num_fields; i++) { ++ const char *field_name; ++ ++ field_name = gst_structure_nth_field_name (s, i); ++ if (field_get_type (field_name) < 0) { ++ //g_message ("ignoring field named %s", field_name); ++ continue; ++ } ++ ++ fields = ++ g_list_insert_sorted (fields, g_strdup (field_name), ++ (GCompareFunc) fields_type_compare); ++ } ++ ++ /* Example: ++ * gstreamer0.10(decoder-video/mpeg)(mpegversion=1)()(64bit) */ ++ string = g_string_new ("gstreamer0.10"); ++ g_string_append_c (string, '('); ++ g_string_append (string, type_name); ++ g_string_append_c (string, '-'); ++ g_string_append (string, name); ++ g_string_append_c (string, ')'); ++ ++ strings = g_list_append (strings, string); ++ ++ for (l = fields; l != NULL; l = l->next) { ++ char *field_name; ++ GType type; ++ ++ field_name = l->data; ++ ++ type = gst_structure_get_field_type (s, field_name); ++ //g_message ("field is: %s, type: %s", field_name, g_type_name (type)); ++ ++ if (type == G_TYPE_INT) { ++ char *field; ++ int value; ++ ++ gst_structure_get_int (s, field_name, &value); ++ field = g_strdup_printf ("(%s=%d)", field_name, value); ++ print_gst_structure_append_field (strings, field); ++ g_free (field); ++ } else if (type == G_TYPE_BOOLEAN) { ++ char *field; ++ int value; ++ ++ gst_structure_get_boolean (s, field_name, &value); ++ field = g_strdup_printf ("(%s=%s)", field_name, value ? "true" : "false"); ++ print_gst_structure_append_field (strings, field); ++ g_free (field); ++ } else if (type == GST_TYPE_INT_RANGE) { ++ const GValue *value; ++ int min, max; ++ ++ value = gst_structure_get_value (s, field_name); ++ min = gst_value_get_int_range_min (value); ++ max = gst_value_get_int_range_max (value); ++ ++ strings = print_gst_structure_dup_fields (strings, max - min + 1); ++ ++ for (i = min; i <= max; i++) { ++ char *field; ++ ++ field = g_strdup_printf ("(%s=%d)", field_name, i); ++ print_gst_structure_append_field_index (strings, field, max - min + 1, ++ i - min); ++ g_free (field); ++ } ++ } else if (type == GST_TYPE_LIST) { ++ const GValue *value; ++ int num_items; ++ ++ value = gst_structure_get_value (s, field_name); ++ num_items = gst_value_list_get_size (value); ++ ++ strings = print_gst_structure_dup_fields (strings, num_items); ++ ++ for (i = 0; i < num_items; i++) { ++ char *field; ++ const GValue *item_value; ++ ++ item_value = gst_value_list_get_value (value, i); ++ field = g_strdup_printf ("(%s=%d)", field_name, ++ g_value_get_int (item_value)); ++ print_gst_structure_append_field_index (strings, field, num_items, i); ++ g_free (field); ++ } ++ } else if (type == G_TYPE_STRING) { ++ char *field; ++ const char *value; ++ ++ value = gst_structure_get_string (s, field_name); ++ field = g_strdup_printf ("(%s=%s)", field_name, value); ++ print_gst_structure_append_field (strings, field); ++ g_free (field); ++ } else { ++ g_warning ("unhandled type! %s", g_type_name (type)); ++ } ++ ++ g_free (field_name); ++ } ++ ++ g_list_free (fields); ++ ++ for (l = strings; l != NULL; l = l->next) { ++ string = l->data; ++ g_print ("%s\n", string->str); ++ g_string_free (string, TRUE); ++ } ++ g_list_free (strings); ++} ++ ++static void ++print_plugin_automatic_install_info_codecs (GstElementFactory * factory, ++ gboolean rpm_format) + { + GstPadDirection direction; + const gchar *type_name; +@@ -1435,6 +1651,12 @@ print_plugin_automatic_install_info_code + return; + } + ++ if (rpm_format) { ++ /* Ignore NONE ranked plugins */ ++ if (GST_PLUGIN_FEATURE (factory)->rank == GST_RANK_NONE) ++ return; ++ } ++ + /* decoder/demuxer sink pads should always be static and there should only + * be one, the same applies to encoders/muxers and source pads */ + static_templates = gst_element_factory_get_static_pad_templates (factory); +@@ -1471,15 +1693,20 @@ print_plugin_automatic_install_info_code + gst_structure_remove_field (s, "rate"); + gst_structure_remove_field (s, "depth"); + gst_structure_remove_field (s, "clock-rate"); +- s_str = gst_structure_to_string (s); +- g_print ("%s-%s\n", type_name, s_str); +- g_free (s_str); ++ if (!rpm_format) { ++ s_str = gst_structure_to_string (s); ++ g_print ("%s-%s\n", type_name, s_str); ++ g_free (s_str); ++ } else { ++ print_gst_structure_for_rpm (type_name, s); ++ } + } + gst_caps_unref (caps); + } + + static void +-print_plugin_automatic_install_info_protocols (GstElementFactory * factory) ++print_plugin_automatic_install_info_protocols (GstElementFactory * factory, ++ gboolean rpm_format) + { + gchar **protocols, **p; + +@@ -1488,11 +1715,17 @@ print_plugin_automatic_install_info_prot + switch (gst_element_factory_get_uri_type (factory)) { + case GST_URI_SINK: + for (p = protocols; *p != NULL; ++p) +- g_print ("urisink-%s\n", *p); ++ if (!rpm_format) ++ g_print ("urisink-%s\n", *p); ++ else ++ g_print ("gstreamer0.10(urisink-%s)\n", *p); + break; + case GST_URI_SRC: + for (p = protocols; *p != NULL; ++p) +- g_print ("urisource-%s\n", *p); ++ if (!rpm_format) ++ g_print ("urisource-%s\n", *p); ++ else ++ g_print ("gstreamer0.10(urisource-%s)\n", *p); + break; + default: + break; +@@ -1502,7 +1735,7 @@ print_plugin_automatic_install_info_prot + } + + static void +-print_plugin_automatic_install_info (GstPlugin * plugin) ++print_plugin_automatic_install_info (GstPlugin * plugin, gboolean rpm_format) + { + const gchar *plugin_name; + GList *features, *l; +@@ -1522,11 +1755,15 @@ print_plugin_automatic_install_info (Gst + if (g_str_equal (plugin_name, feature->plugin_name)) { + GstElementFactory *factory; + +- g_print ("element-%s\n", gst_plugin_feature_get_name (feature)); ++ if (!rpm_format) ++ g_print ("element-%s\n", gst_plugin_feature_get_name (feature)); ++ else ++ g_print ("gstreamer0.10(element-%s)\n", ++ gst_plugin_feature_get_name (feature)); + + factory = GST_ELEMENT_FACTORY (feature); +- print_plugin_automatic_install_info_protocols (factory); +- print_plugin_automatic_install_info_codecs (factory); ++ print_plugin_automatic_install_info_protocols (factory, rpm_format); ++ print_plugin_automatic_install_info_codecs (factory, rpm_format); + } + } + +@@ -1546,7 +1783,7 @@ print_all_plugin_automatic_install_info + plugin = (GstPlugin *) (plugins->data); + plugins = g_list_next (plugins); + +- print_plugin_automatic_install_info (plugin); ++ print_plugin_automatic_install_info (plugin, FALSE); + } + gst_plugin_list_free (orig_plugins); + } +@@ -1558,6 +1795,7 @@ main (int argc, char *argv[]) + gboolean do_print_blacklist = FALSE; + gboolean plugin_name = FALSE; + gboolean print_aii = FALSE; ++ gboolean print_aii_rpm = FALSE; + gboolean uri_handlers = FALSE; + #ifndef GST_DISABLE_OPTION_PARSING + GOptionEntry options[] = { +@@ -1570,6 +1808,9 @@ main (int argc, char *argv[]) + "or all plugins provide.\n " + "Useful in connection with external automatic plugin " + "installation mechanisms"), NULL}, ++ {"rpm", '\0', 0, G_OPTION_ARG_NONE, &print_aii_rpm, ++ N_("Print the machine-parsable list of features of a plugin in RPM " ++ "Provides compatible-format"), NULL}, + {"plugin", '\0', 0, G_OPTION_ARG_NONE, &plugin_name, + N_("List the plugin contents"), NULL}, + {"uri-handlers", 'u', 0, G_OPTION_ARG_NONE, &uri_handlers, +@@ -1658,7 +1899,7 @@ main (int argc, char *argv[]) + /* if there is such a plugin, print out info */ + if (plugin) { + if (print_aii) { +- print_plugin_automatic_install_info (plugin); ++ print_plugin_automatic_install_info (plugin, print_aii_rpm); + } else { + print_plugin_info (plugin); + print_plugin_features (plugin); +@@ -1671,13 +1912,17 @@ main (int argc, char *argv[]) + + if (plugin) { + if (print_aii) { +- print_plugin_automatic_install_info (plugin); ++ print_plugin_automatic_install_info (plugin, print_aii_rpm); + } else { + print_plugin_info (plugin); + print_plugin_features (plugin); + } + } else { +- g_print (_("Could not load plugin file: %s\n"), error->message); ++ if (!print_aii_rpm) ++ g_print (_("Could not load plugin file: %s\n"), error->message); ++ else ++ g_printerr (_("Could not load plugin file: %s\n"), ++ error->message); + g_error_free (error); + return -1; + } diff --git a/gstreamer.changes b/gstreamer.changes new file mode 100644 index 0000000..fdfc552 --- /dev/null +++ b/gstreamer.changes @@ -0,0 +1,1291 @@ +------------------------------------------------------------------- +Wed Aug 3 16:43:08 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.11.0: + + Reworked buffer memory management + + Arbitrary buffer metadata + + Integrated bufferpool management + + Improved dynamic pipeline changes + + Reworked video caps system + + Reworked pad probes +- Clean spec-file using spec-cleaner. +- Rename package to gstramer-0_11: + + Remove the old gstreamer010 provides and obsoletes. They are + no longer true. + + Rename all subpackage accordingly + + Adjust baselibs.conf + +------------------------------------------------------------------- +Fri Jun 17 10:49:10 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.35: + + Work around GLib atomic ops API change + + Some minor win32/mingw fixes + + Don't use G_CONST_RETURN in public headers (bgo#652211) + +------------------------------------------------------------------- +Thu May 19 14:12:11 CEST 2011 - mls@suse.de + +- move gstreamer deps generator definition from rpm into + the gstreamer-0.10-devel package + +------------------------------------------------------------------- +Wed May 18 19:20:18 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.34: + + Fix multiqueue thread-safety regression + + Don't set artificial 0-timestamp on first packet for TIME-based + live sources + + Bugs fixed: bgo#649369, bgo#649878. + +------------------------------------------------------------------- +Wed May 11 14:23:40 CEST 2011 - dimstar@opensuse.org + +- Update to version 0.10.33: + + atomicqueue: add an atomic/lock-free queue structure based + + bufferlist: improve _add*() performance + + bus: in _add_watch() honour any per-thread default main context + set via g_main_thread_push_thread_default() + + caps: new gst_caps_intersect_full() to intersect in different + modes + + clock: add functions to re-init existing periodic GstClockIDs + + event: add QoS type (overflow, underflow, throttle) for QoS + events + + ghostpad: The internally linked pad of the proxypad is the + ghostpad + + gstpoll: retry reading the control socket to release properly + all wakeups + + message: new progress message API for asynchronous operations + + pad: + - unlock before freeing the pad cache to avoid deadlock + - better handling for when parent goes away during + data/query/event flow + + parse-launch: allow element names to begin with digits + + pluginloader: call gst-plugin-scanner with the right arch on + OSX, fixing hangs with firefox + + registry: fixes elements (features) disappearing if a plugin or + plugin file is renamed + + structure: + - Add "(date)" as a type abbreviation of GDate + - Don't allow invalid GDates in all structures and don't allow + NULL GDates in taglists + + taglist: add a new "encoded-by" tag + + uri: add gst_filename_to_uri() that takes relative filenames + + utils: add gst_element_factory_can_{src|sink}_{any|all}_caps() + to replace can_{sink,src}_caps() + + baseparse: new GstBaseParse class for parsers + + basesink: + - improve rate, duration, and average duration calculation + - use new QoS types and add add "throttle-time" property + + basesrc: + - Handle tag and custom downstream events the same + - keep downstream caps order when fixating, to honour + downstream preferences when negotiating + - Return FALSE if we don't handle an event + - Send synchronized custom downstream/both events downstream + from the streaming thread + + basetransform: + - Be smarter with pad allocs + - Check for pad alloc caps when suggestion is not fixed + - Retain caps order when getting caps, to honour downstream + preferences when negotiating + + funnel: new N-to-1 pipe fitting element imported from farsight + + fakesink: + - print buffer flags + - Fix escaping of URIs + + file{sink,src}: + - Check if non-URI characters are escaped, but only for the URI + not the location property + - fix URI creation regression for non-absolute locations + + filesrc: Fix escaping of file uris + + inputselector: + - Hold the selector lock while reading properties of the active + pad + - Make sure that EOS is always sent downstream for the active + pad + - Return GST_FLOW_OK until the selected pad pushed something + downstream + - Stop waiting for a pad switch when the pad is flushing + + multiqueue: + - fix some potential corner-case deadlocks and some leaks + - handle arbitrary sink + source pad naming + + queue2: don't read beyond the end of file upstream in pull + mode; leak fixes + + plugins: make query and event functions more thread-safe, + protect against parent-pad disappearing + + gst-launch: add GstIndex support + + Bugs fixed: bgo#642356, bgo#402141, bgo#518857, bgo#604094, + bgo#615357, bgo#617045, bgo#639674, bgo#639962, bgo#640071, + bgo#640437, bgo#640502, bgo#640622, bgo#640675, bgo#640850, + bgo#641212, bgo#641928, bgo#642071, bgo#642130, bgo#642271, + bgo#642373, bgo#642393, bgo#642504, bgo#642522, bgo#642869, + bgo#643301, bgo#643455, bgo#644935, bgo#645022, bgo#645267, + bgo#645595, bgo#645746, bgo#645877, bgo#645931, bgo#646118, + bgo#646341, bgo#646531, bgo#646566, bgo#646569, bgo#646624, + bgo#646811, bgo#646971, bgo#647005, bgo#647131, bgo#647293, + bgo#647763, bgo#647844, bgo#647922, bgo#648199, bgo#648215, + bgo#648220, bgo#648297, bgo#649195, bgo#635718, bgo#625396, + bgo#640771, bgo#646972, bgo#640665. +- Rebase gstreamer-0_10-rpm-prov.patch. + +------------------------------------------------------------------- +Tue May 3 13:53:23 UTC 2011 - dimstar@opensuse.org + +- Extend gstreamer-0_10-rpm-prov.patch: Also provide elements. + +------------------------------------------------------------------- +Tue Jan 25 17:01:00 UTC 2011 - wstephenson@novell.com + +- Update to version 0.10.32 + + GLib requirement is now >= 2.22 + + New core elements: + - valve (moved from -bad) + - input-selector (N.B. without "select-all" property, use fsfunnel + instead) (moved from -bad) + - output-selector (with different negotiation behaviour by + default, set pad-negotiation-mode=active for previous behaviour) + (moved from -bad) + + Performance improvements for many heavily-used code paths: + GstPad, GstPoll, GstClock, GstTask, basesink, basesrc, queue2, + multiqueue + + gobject-introspection: add annotations for most core API + + clock: make sync clock wait lockfree + + fdsrc/fdsink: reenable on MSVC + + registry: fix GStatBuf definition for win32 when building against + older glib (fixes unnecessary rescanning of plugins at start-up) + + element: add a more flexible way to get request pads from elements + + multiqueue: return upon input when already eos + + object: fix creation of default name + (when creating more than 100000 elements) + + pluginloader: fix hangs on OSX + + poll: + - fixes for (p)select backend (used e.g. on OSX) + - refactor and make more lockfree; fixes for win32 and OSX + (pselect backend) + + registry: don't replace valid existing plugins by blacklisted ones + + tags: don't produce duplicated entries when merging same value twice + + basesink: + - preroll fixes for async=false case + -rework position reporting code + + basetransform: handle downstream giving a buffer with new caps + but invalid size + +------------------------------------------------------------------- +Sun Jan 16 14:21:19 UTC 2011 - aj@suse.de + +- Remove buildrequire on pyxml and add python instead for doc + package only, changelog of package with date 2008-03-21 contains: + "Don't depend on PyXML and use only XML modules that are shipped + with python." + +------------------------------------------------------------------- +Tue Dec 7 11:43:06 CET 2010 - vuntz@opensuse.org + +- Update to version 0.10.31: + + bin: + - add "message-forward" property to force forwarding of + messages that would usually be filtered such as ASYNC_DONE or + EOS + - improve tracking of source elements for more efficient event + dispatch + + bufferlist: add function to add a list of buffers + + clock: fix racy shutdown clock id leak + + element: + - add support for arbitrary element class / factory details + - link_many should activate pads if needed + + gst: add math-compat.h header + + datetime: add GstDateTime API + + elementfactory: add utility functions to filter features by + type + + plugin: load the gst-python plugin loader with + G_MODULE_BIND_LAZY + + query: add buffering ranges API to retrieve informations about + the areas of the stream currently buffered + + value: add int64 range type + + info: write debugging output to file if GST_DEBUG_FILE + environment variable is set + + pad: use more efficient g_object_notify_by_pspec() for caps + notifies if compiling against new-enough GLib + + pipeline: If the currently used clock gets lost update it the + next time when going from PAUSED to playing + + plugin: add release datetime field to GstPluginDesc and set it + if GST_PACKAGE_RELEASE_DATETIME is defined + + utils: speed up pad linking utility functions by not trying + pads that will never work + + adapter: + - add function to get a list of buffers; support 0-sized + buffers + - optimize gst_adapter_take() and gst_adapter_peek() a little + + basesink: only answer the SEGMENT query in pull mode + + basesrc: return values in stream time for the POSITION query + + basetransform: + - allow the subclass to add new fields to caps when getting new + caps from downstream + - avoid useless memcpy + - upstream caps-renegotiation fixes + + bitreader: add inlined and unchecked versions of the most + important functions + + bytewriter: + - add inline and unchecked variants of all important functions + - fix possible infinite loop caused by an overflow + + queue: + - add "silent" property to suppress signal emission (for better + performance) + - avoid unnecessary g_cond_signal() (for better performance) + - push newsegment event when linking in PLAYING + + queue2: + - extend ring buffer to support RAM mode + - in download mode, prevent range corruption due to race + - don't send seeks beyond the end of the file upstream in pull + mode (fixes apple trailers and youtube/html5 playback in + webkit) + + multiqueue: flush the data queue if downstream return + WRONG_STATE too + + gst-inspect: print GST_PARAM_MUTABLE_* property flags + + See NEWS for API additions and deprecations. + + Bugs fixed: bgo#396774, bgo#482147, bgo#579127, bgo#594504, + bgo#600004, bgo#610366, bgo#611918, bgo#618919, bgo#619522, + bgo#621299, bgo#621332, bgo#622740, bgo#623040, bgo#623121, + bgo#623491, bgo#623541, bgo#623622, bgo#623806, bgo#623875, + bgo#624203, bgo#625239, bgo#625295, bgo#625368, bgo#625862, + bgo#626027, bgo#626181, bgo#626651, bgo#626784, bgo#627438, + bgo#627826, bgo#627910, bgo#627959, bgo#628014, bgo#628174, + bgo#628176, bgo#628408, bgo#629241, bgo#629410, bgo#629494, + bgo#629553, bgo#629831, bgo#629946, bgo#630257, bgo#630436, + bgo#630437, bgo#630439, bgo#631755, bgo#631853, bgo#632236, + bgo#632433, bgo#632977, bgo#633147, bgo#633886, bgo#635031, + bgo#635389, bgo#635869, bgo#633176. +- Drop gstreamer-0_10-make382.patch: fixed upstream. + +------------------------------------------------------------------- +Sun Sep 19 01:02:07 CEST 2010 - vuntz@opensuse.org + +- Move gir files to devel subpackage. + +------------------------------------------------------------------- +Wed Sep 15 20:27:19 UTC 2010 - dimstar@opensuse.org + +- Extend gstreamer-0_10.prov: we need a possibility to simply skip + the automatic provides function. In this case, defining + SKIP_GSTPROVIDES to non-zero will be recognized as an ignore flag + for the package. All other requires/provides will not be + affected. + +------------------------------------------------------------------- +Sat Sep 11 18:18:02 UTC 2010 - dimstar@opensuse.org + +- Add gstreamer-0_10-make382.patch: Fix build with make 3.82. + Generally, the -doc package is affected. + +------------------------------------------------------------------- +Thu Sep 2 12:07:07 UTC 2010 - dimstar@opensuse.org + +- Add gstreamer-0_10-rpm-prov.patch: adds --rpm to gst-inspect, + allowing rpm to create a list of provides, thanks to the + gstreamer-0_10.prov script we install. Those provides can then be + picked up by PackageKit. Patch taken from Fedora's gstreamer + package. +- Add gstreamer-0_10.macros that contains a rpm macro, in case + external provides scripts are used. +- Add gstreamer-utils Requires to the -devel package: this is used + in gstreamer-0_10.prov for the rpm magic to work. + +------------------------------------------------------------------- +Tue Aug 31 12:57:07 UTC 2010 - aj@suse.de + +- Recommend instead of require lang package since it's not mandatory. + +------------------------------------------------------------------- +Tue Aug 31 09:42:17 UTC 2010 - aj@suse.de + +- Recommend instead of require lang package since it's not mandatory. + +------------------------------------------------------------------- +Thu Jul 29 12:21:35 UTC 2010 - dimstar@opensuse.org + +- Update to version 0.10.30: + + bgo#623586: gst/tagsetter check fails + + bgo#463435: Skip #include < libxml/parser.h > in gstconfig.h.in + when not needed + + bgo#505770: gst_element_get_state() should unblock if element + posts an error + + bgo#615820: implement percentage position and duration queries + + bgo#615941: [tags] Add GST_TAG_DEVICE_MANUFACTURER and + GST_TAG_DEVICE_MODEL + + bgo#616586: Use GObject's boxed type for GError + + bgo#617223: [tags] Add tags for direction of capture and + movement + + bgo#617625: Commandline utility wrappers (gst-run) don't work + on Windows + + bgo#618644: gst_pad_get_caps() Return pad template if parent + element is in GST_STATE_NULL + + bgo#619508: [tag] Add image orientation tag + + bgo#619815: GST_PLUGIN_LOADING_WHITELIST env var for unit tests + + bgo#619828: [API] adapter: add masked_scan_uint32_peek + + bgo#620460: info: add new TRACE log level and move refcounting + there from LOG level + + bgo#620490: [basesink] segment query unconditionally returns + FALSE + + bgo#621006: Deprecate unused gst_object_{get|set}_name_prefix() + + bgo#621282: Display of short fourccs is in hex instead of text + + bgo#621332: BaseTransform should disable proxy alloc if + downstream changes caps + + bgo#621334: GstBaseTransform should not require a + transform_size function + + bgo#621505: Disable memory poisoning by default for releases + + bgo#621527: gstcaps: New gst_caps_steal_structure() method + + bgo#621530: filesink ignores sync=true + + bgo#621595: --quiet doesnt make gst-launch be completely quiet, + also messages should not go to stdout + + bgo#621773: Add introspection annotations + + bgo#621867: gst-launch: rename new --no-play command line + option + + bgo#621896: [API][taglist] Add gst_tag_list_peek_string_index + + bgo#622504: [GstPad] Provide more fine-grained linking methods + + bgo#622546: distcheck fails in docs/plugins/ + + bgo#622685: [GstXml] Deprecate GstXml + + bgo#622967: [queue2] Problems with progressive downloading + + bgo#623301: gst_caps_normalize: doesn't normalize completely + + bgo#623589: Fix races/refcounting bugs with slave clocks + + bgo#624113: [tags] wrong behaviour in merge function for + strings + + bgo#622025: Can't build gstreamer due to Gst-0.10.gir: error: + Can't resolve type 'PadIntLinkFunction' for field + Gst.Pad.intlinkfunc + +------------------------------------------------------------------- +Tue May 4 09:52:13 UTC 2010 - dimstar@opensuse.org + +- Update to version 0.10.29: + + improve plugin loading robustness: do not ever unload a plugin + after calling into it: should fix mystery crashers during + registry loading when a plugin init function returns FALSE + (e.g. when some supporting library fails to initialise or a + wrapper plugin found no features to wrap and wrongly returned + FALSE) + + configurable memory alignment for GstBuffers + + add QoS message to inform apps of lost data, dropped frames etc + + basesink, basetransform: add support for new QoS message + + basetransform: accept non-fixed caps suggestions + + basesrc: fix gst_base_src_new_seamless_segment() + + GstController fixes and optimisations + + set thread name for pad tasks on Linux + + pipeline, bin: fix refcount issue when removing elements during + a state change + + queue2: implement seeking in download mode + + queue2: implement flushing in download buffering + + queue2: improve buffer level measurement in download mode + + fdsrc: allow specifying the size in bytes on the uri + + build fixes: better checks for uint128_t, inline assembly on + OSX, compilation if HAVE_REGISTER_PRINTF_SPECIFIER is + undefined, gobject-introspection + + two symbols were removed that had been exported but never been + used or been declared in any header file: + gst_element_default_error & gst_element_request_compatible_pad. +- Drop gstreamer-0_10-fix-introspection-build.patch: upstreamed. +- Rebase gstreamer-0_10-no-gtk-doc-for-reals.patch. + +------------------------------------------------------------------- +Sat Mar 13 15:57:30 UTC 2010 - dimstar@opensuse.org + +- Update to version 0.10.28: + + No material changes compared to 0.10.27, this release is mostly + to keep the version in sync with gst-plugins-base + + Parse "1/MAX" fraction strings . + +------------------------------------------------------------------- +Mon Mar 8 15:17:09 UTC 2010 - dimstar@opensuse.org + +- Update to version 0.10.27: + + bgo#610366: [gstcollectpads][doc] Add a reminder for 'data' doc + + bgo#605189: gst_element_get_state has wrong introspection + + bgo#607771: [API] Add gst_byte_writer_fill + + bgo#608036: [typefind] deadlock when upstream puts caps on + buffers on pull mode + + bgo#608877: [typefind] Access to internal fields not threadsafe + + bgo#609941: GStreamer-WARNING **: External plugin loader failed + + bgo#610210: [PATCH] Fix compilation of fdsink and fdsrc with + MSVC + + bgo#610246: [optimization] Speed up _get_range() + + bgo#610367: [memindex] might busy loop upon EXACT lookup + + bgo#610444: [controller] Interpolation control source passes + NULL pointers to GSequence API + + bgo#611087: [basesink] emergency rendering of late buffers + fails after resuming from PAUSE + + bgo#611719: GST_DEBUG_OBJECT macros not fed with GObject* in + gstpoll.c + + API additions: + - gst_byte_writer_fill() + +------------------------------------------------------------------- +Fri Feb 12 14:44:00 CET 2010 - dimstar@opensuse.org + +- Update to version 0.10.26: + + Changes: + - registry: do plugin scanning (on *nix) using an external + helper binary + - lots of performance improvements all over the place + - add GstByteWriter, a simple generic byte writer + - filesink: Use _wfopen on win32 to open files with non-ascii + filenames correctly. + - queue2: add option to remove the temp-file (enabled by + default) + - it is now allowed to use gst_caps_set_simple() on non-simple + caps + - queue2: move from gst-plugins-base into the coreelements + plugin in core + - multiqueue: add support for buffering mode where we post + BUFFERING messages based on the level of the queues + - typefind: speed up typefinding a lot by first trying the + typefinder for the file's extension + - buffer: remove private/internal subbuffer subclass and keep + track of the parent buffer directly in the GstBuffer + structure + - collectpads: add ability to install clipping functions + - new tags for TV/Radio shows/episodes, lyrics, composer + sortname and grouping + - miniobject: avoid race when recycling buffers + - basesrc: fix race in PLAYING->PAUSED->PLAYING + + Bugs fixed: bgo#476514, bgo#590941, bgo#595602, bgo#535069, + bgo#560442, bgo#595511, bgo#595886, bgo#595964, bgo#596366, + bgo#597407, bgo#597550, bgo#597690, bgo#598297, bgo#598526, + bgo#598700, bgo#598895, bgo#598896, bgo#599147, bgo#599759, + bgo#600313, bgo#600922, bgo#601587, bgo#601668, bgo#601669, + bgo#602093, bgo#602275, bgo#602419, bgo#603059, bgo#603787, + bgo#604091, bgo#604093, bgo#605251, bgo#605930, bgo#606435, + bgo#607283, bgo#607317, bgo#607431, bgo#607481, bgo#607739, + bgo#607842, bgo#608136, bgo#608398, bgo#608442, bgo#608726, + bgo#609166, bgo#590669, bgo#601698, bgo#604565, bgo#596877 + + API additions, see NEWS. + +------------------------------------------------------------------- +Wed Jan 6 04:43:53 UTC 2010 - jengelh@medozas.de + +- Package baselibs.conf + +------------------------------------------------------------------- +Thu Dec 3 17:49:20 CET 2009 - vuntz@opensuse.org + +- Compile introspection support: + + Add gobject-introspection-devel BuildRequires. + + Pass --enable-introspection to configure. + + Add gstreamer-0_10-fix-introspection-build.patch to fix the + build. +- Small cleanups. + +------------------------------------------------------------------- +Mon Nov 16 22:37:58 CET 2009 - lmedinas@opensuse.org + +- Update to version 0.10.25: + + Changes: + - Improve the byte-reader API + - GObject introspection support + - Improve clock accuracy on win32 + - Optimisations in capabilities checking + - Optimisations and fixes in the basetransform base class + - New 64-bit scaling utility function variants + - Various bug-fixes and improvements + + Bugs fixed: bgo#583999, bgo#566881, bgo#588472, bgo#589173, + bgo#589314, bgo#589524, bgo#589849, bgo#589991, bgo#590045, + bgo#590430, bgo#590841, bgo#590919, bgo#591045, bgo#591318, + bgo#591441, bgo#592209, bgo#592314, bgo#593460, bgo#593719, + bgo#594107, bgo#594225, bgo#594990, bgo#595130, bgo#595133, + bgo#595209, bgo#368536 + +------------------------------------------------------------------- +Mon Oct 26 16:59:30 CET 2009 - sbrabec@suse.cz + +- Added support for translation-update-upstream (FATE#301344). + +------------------------------------------------------------------- +Wed Aug 12 12:02:48 CEST 2009 - sbrabec@suse.cz + +- Create empty /usr/share/gstreamer-0.10/presets for presets. + +------------------------------------------------------------------- +Wed Aug 5 13:22:08 CEST 2009 - vuntz@novell.com + +- Update to version 0.10.24: + + Changes: + - Fully support nested structures in caps + - Support frame-by-frame stepping in sinks + - Add support for buffer-lists to pass around groups of buffers + - Use TaskPools for managing worker threads + - New stream-status API for finer thread control + - Code optimisations + - Many other bug-fixes and enhancements + + Bugs fixed: bgo#580579, bgo#527488, bgo#570233, bgo#584389, + bgo#534208, bgo#545787, bgo#554460, bgo#559643, bgo#560345, + bgo#560442, bgo#572285, bgo#577926, bgo#578908, bgo#580177, + bgo#580716, bgo#581198, bgo#581281, bgo#582010, bgo#582564, + bgo#582588, bgo#582878, bgo#583187, bgo#583419, bgo#583456, + bgo#583554, bgo#584835, bgo#584838, bgo#585039, bgo#585075, + bgo#585137, bgo#585592, bgo#585733, bgo#585748, bgo#586566, + bgo#586568, bgo#587973, bgo#587976, bgo#588744, bgo#588745, + bgo#589127, bgo#590056, bgo#590622, bgo#579177, bgo#581321, + bgo#584118, bgo#585433, bgo#585569, bgo#585834, bgo#585960, + bgo#587052 + + API additions. + +------------------------------------------------------------------- +Mon May 18 00:54:01 CEST 2009 - vuntz@novell.com + +- Update to version 0.10.23: + + Support files > 4GB on Windows + + Controller interpolation fixes + + Add timer support to GstPoll and use it for clocking + + Attempt to typefind contents from the file extension if all + else fails + + GStreamer revision control switched to Git + + Many other bug fixes and improvements + + Bugs fixed: bgo#579177, bgo#163577, bgo#574160, bgo#575598, + bgo#575922, bgo#576842, bgo#555978, bgo#565607, bgo#566936, + bgo#567692, bgo#567725, bgo#568289, bgo#568438, bgo#568481, + bgo#568632, bgo#568678, bgo#570910, bgo#571227, bgo#571559, + bgo#572480, bgo#573623, bgo#574024, bgo#574211, bgo#574213, + bgo#574241, bgo#574484, bgo#574623, bgo#574805, bgo#575695, + bgo#575814, bgo#576381, bgo#576563, bgo#576582, bgo#577887, + bgo#577891, bgo#578114, bgo#578201, bgo#579127, bgo#580121, + bgo#361155, bgo#517231, bgo#572591, bgo#573823, bgo#574163, + bgo#575682, bgo#575988 + + API additions: + - New FIXME and MEMDUMP debug levels + - gst_tag_list_get_buffer() and gst_tag_list_get_buffer_index() + - New tags: GST_TAG_SUBTITLE_CODEC, GST_TAG_HOMEPAGE + - gst_util_array_binary_search() + - gst_message_new_request_state(), + gst_message_parse_request_state(), GST_MESSAGE_REQUEST_STATE + - GstPoll::gst_poll_new_timer() + - GstPoll::gst_poll_write_control() + - GstPoll::gst_poll_read_control() + +------------------------------------------------------------------- +Thu Apr 23 17:18:34 CEST 2009 - sbrabec@suse.cz + +- Don't call autogen in older products. + +------------------------------------------------------------------- +Thu Feb 5 12:50:16 CET 2009 - vuntz@novell.com + +- Update to version 0.10.22: + + GstController improvements + + Extensions to the latency setting behaviours + + Ability for plugins to register dependencies to trigger + re-scanning + + Optimisations in some common operations on caps and values and + elsewhere + + Add sequence numbers to events so dependent events can be + associated with + + the event that caused them + + New macros for reading and writing float values + + Many improvements in the basesink base class + + Support non-default main contexts for GstBus watches + + Improvements in pull-mode scheduling of sinks + + Fixes for alignment issues on sparc + + Ghost pad fixes + + New bit-reader assistance API + + Many other bug fixes and improvements + + Bugs fixed: bgo#567002, bgo#350477, bgo#510354, bgo#526044, + bgo#539108, bgo#544003, bgo#544293, bgo#545714, bgo#548786, + bgo#551676, bgo#552778, bgo#553554, bgo#553874, bgo#555196, + bgo#555307, bgo#555631, bgo#556091, bgo#556900, bgo#557154, + bgo#557300, bgo#557438, bgo#557649, bgo#559250, bgo#560301, + bgo#560360, bgo#560399, bgo#560442, bgo#561501, bgo#562170, + bgo#562949, bgo#564863, bgo#567225, bgo#566393 + + API added: + - Add bit reader and byte reader classes. + - gst_message_new_structure_change() + - gst_message_parse_structure_change() + - GST_BUFFER_FREE_FUNC() + - Add GST_READ_UINT24_(LE|BE) and GST_WRITE_UINT24_(LE|BE). + - GstBaseSrc::gst_base_src_set_blocksize() + - GstBaseSrc::gst_base_src_get_blocksize() + - GstBaseSink::gst_base_sink_set_blocksize() + - GstBaseSink::gst_base_sink_get_blocksize() + - GstBaseSink::blocksize + - GstBaseSink::gst_base_sink_do_preroll() + - Add gst_byte_reader_get_data and gst_byte_reader_peek_data + - Move float endianness conversion macros from libgstfloatcast to core + - gst_util_seqnum_next, gst_util_seqnum_compare + - gst_event_get_seqnum, gst_event_set_seqnum + - gst_message_get_seqnum, gst_message_set_seqnum + - GstSeekFlags::GST_SEEK_FLAG_SKIP + - gst_bin_recalculate_latency() + - GstBin::do-latency + - gst_tag_setter_reset_tags() + - gst_query_new_uri, gst_query_set_uri, gst_query_parse_uri + - add gst_plugin_add_dependency() + - add gst_plugin_add_dependency_simple() +- Drop gstreamer-0_10-protect-caps-bnc439323.patch: fixed upstream. + +------------------------------------------------------------------- +Thu Nov 6 15:54:20 CET 2008 - sbrabec@suse.cz + +- Fixed valgrid BuildRequires. + +------------------------------------------------------------------- +Fri Oct 31 15:27:21 CDT 2008 - gburt@suse.de + +- Add patch from upstream to fix bad GST_CAPS bug in 0.10.21 + + Fixes bnc#439323 and bgo#555631 + +------------------------------------------------------------------- +Tue Oct 21 17:42:51 CDT 2008 - maw@suse.de + +- Update to version 0.10.21: + + Basetransform rework + + Basesink synchronisation extensions + + New documentation + + Bugs fixed: bgo#481169, bgo#520694, bgo#538201, bgo#544855, + bgo#339795, bgo#348114, bgo#361718, bgo#533856, bgo#536978, + bgo#537804, bgo#537812, bgo#538568, bgo#539772, bgo#542175, + bgo#543444, bgo#543853, bgo#544174, bgo#544776, bgo#545352, + bgo#545603, bgo#545605, bgo#545607, bgo#545853, bgo#546328, + bgo#546822, bgo#547277, bgo#547728, bgo#548394, bgo#548652, + bgo#549504, bgo#551952, bgo#551978, bgo#547835, bgo#538628, + bgo#546883, and bgo#551509 + + API added: + * Add GST_TAG_ATTACHMENT for generic file attachments to streams. + * Add gst_base_sink_set_render_delay() + * Add gst_base_sink_get_render_delay() + * Add gst_check_setup_src_pad_by_name + * Add gst_check_setup_sink_pad_by_name + * Add gst_check_teardown_pad_by_name + * Add GstBaseTransform::gst_base_transform_suggest() + * GstBaseTransform::gst_base_transform_reconfigure() + * GstPad::gst_pad_set_iterate_internal_links_function() + * GstPad::GstPadIterIntLinkFunction + * GstPad::gst_pad_iterate_internal_links() + * GstPad::gst_pad_iterate_internal_links_default() + + API deprecated: + * gst_pad_get_internal_links() + * gst_pad_set_internal_link_function() + * gst_pad_get_internal_links_default() +- Add gstreamer-0_10-no-gtk-doc-for-reals.patch. + +------------------------------------------------------------------- +Thu Sep 04 15:49:43 CEST 2008 - mboman@novell.com + +- Update to version 0.10.20: + + Add the Presets interface + + Use the binary registry by default + + Deprecate gst_element_get_pad and don't use it anywhere any more. + + Reverse playback fixes + + API to get missing element messages from parse_launch parsing. + + Fixes in latency calculations + + BaseTransform negotiation fixes + + New Buffering query and messages + + Fix multiqueue deadlocks when changing limits + + Remove pre-generated parser hacks and require newer flex/bison + + Use GSlice in more places + + Use static strings in property declarations everywhere to save memory + allocations + + Fix unaligned memory accesses with the binary registry and add CRC + checks + + Lots of other bug fixes + +------------------------------------------------------------------- +Wed May 14 15:49:43 CEST 2008 - cthiel@suse.de + +- fix baselibs.conf + +------------------------------------------------------------------- +Tue Apr 29 17:44:58 CEST 2008 - cthiel@suse.de + +- obsolete gstreamer010- via baselibs.conf + +------------------------------------------------------------------- +Tue Apr 15 15:22:07 CEST 2008 - sbrabec@suse.cz + +- fix build + +------------------------------------------------------------------- +Mon Apr 14 14:14:41 CEST 2008 - sbrabec@suse.cz + +- Updated to version 0.10.19: + * Fix a regression in raw fd handling + * Fixed: bgo#524041 +- Fixed Obsoletes (bnc#357153). + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Wed Apr 2 17:17:19 CEST 2008 - maw@suse.de + +- Update to version 0.10.18: + + New GstPoll abstraction simplifies operations on multiple + file descriptors + + Bugs fixed: bgo#516187, bgo#516395, bgo#520756, bgo#498222, + bgo#499127, bgo#505417, bgo#509559, bgo#510194, bgo#511783, + bgo#513964, bgo#515469, bgo#519584, bgo#519698, bgo#520152, + bgo#520671, bgo#520808, bgo#520877, bgo#521740, and bgo#522741. + +------------------------------------------------------------------- +Wed Mar 19 20:52:40 CET 2008 - maw@suse.de + +- Require texlive-latex and texlive-latex-doc to build. + +------------------------------------------------------------------- +Tue Feb 5 23:20:21 CET 2008 - maw@suse.de + +- Update to version 0.10.17: + + Fix compilation problems + + Bugs fixed: bgo#512715. + +------------------------------------------------------------------- +Tue Feb 5 20:44:30 CET 2008 - maw@suse.de + +- Update to version 0.10.16: + + Monotonic/Posix clock support + + Dumping of dot-file graph descriptions for debugging + + Cleanup of exported symbols + + Many bug fixes and enhancements +- Build with -fno-strict-aliasing. + +------------------------------------------------------------------- +Tue Jan 22 15:20:12 CET 2008 - sbrabec@suse.cz + +- Updated to version 0.10.15: + * Changes for asynchronous sink management + * New ts-offset property on basesink for adjusting clock synchronisation + * New GstController LFO feature + * Fixes and improvements in latency measurement for live pipelines + * Additional documentation and docs fixes + * Faster typefinding + * More tag types added + * Improvements in various core elements and parent classes + * New unit tests + * Allow dumping pipelines as dot graphs + * GstStructures now support nesting + * URIHandler interface can now be implemented in bindings + * Many other bug-fixes and improvements + * API additions +- Split package according to shared library packaging policy + (#223286). + +------------------------------------------------------------------- +Mon Sep 17 15:04:01 CEST 2007 - sbrabec@suse.cz + +- Updated to version 0.10.14: + * State change handling improvements + * New improved GstController API + * Multi-queue fixes and enhancements + * Fewer dynamic library relocations + * Various other fixes and improvements + * Parallel installability with 0.8.x series + * Threadsafe design and API + * Add GstParamSpecFraction, so elements can have fraction + properties without lots of painful string parsing. + * Add fail_unless_equals_float() and assert_equals_float() + * Add gst_type_register_static_full + * Add gst_element_class_set_details_simple + * Refactor GstController into the core controller which can take + a GstControlSource for providing actual values for timestamps. + * add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI + * gst_element_factory_has_interface() + * Many bugs fixed. + +------------------------------------------------------------------- +Wed Aug 15 09:18:37 CEST 2007 - coolo@suse.de + +- do not require lang package in doc + +------------------------------------------------------------------- +Tue Aug 7 23:03:51 CEST 2007 - maw@suse.de + +- Split off a -lang subpackage +- s#%run_ldconfig#/sbin/ldconfig/ in %post and %postun. + +------------------------------------------------------------------- +Fri Jul 20 21:55:21 CEST 2007 - aj@suse.de + +- Create separate spec file for doc package. + +------------------------------------------------------------------- +Thu Jul 12 13:27:58 CEST 2007 - dmueller@suse.de + +- fix installed headers to be compileable with -pedantic + +------------------------------------------------------------------- +Wed Jun 20 16:32:52 CEST 2007 - sbrabec@suse.cz + +- Updated to version 0.10.13: + * Latency handling infrastructure for live playback scenarios + * State change handling changes + * GstController property handling improved + * Various bug fixes and improvements + * Parallel installability with 0.8.x series + * Threadsafe design and API + * Many bugs fixed + * Many API additions + +------------------------------------------------------------------- +Wed May 16 18:04:40 CEST 2007 - sbrabec@suse.cz + +- Build correctly in older products. + +------------------------------------------------------------------- +Sun Apr 22 17:02:45 CEST 2007 - aj@suse.de + +- Cleanup BuildRequires. + +------------------------------------------------------------------- +Thu Apr 19 11:42:25 CEST 2007 - schwab@suse.de + +- Fix quoting in autoconf macros. + +------------------------------------------------------------------- +Fri Mar 30 10:15:17 CEST 2007 - aj@suse.de + +- Add bison to build requires. + +------------------------------------------------------------------- +Tue Mar 27 16:39:42 CEST 2007 - sbrabec@suse.cz + +- Updated to version 0.10.12: + * API additions + * Add a warning for improper GLib threading + * Add support for binary registry serialisation + * Preliminary support for pull-mode scheduling of entire chains + * Add support for HPPA + * Collectpads fixes + * Lots of bug fixes +- Require check-devel. + +------------------------------------------------------------------- +Tue Feb 13 11:50:51 CET 2007 - sbrabec@suse.cz + +- Do not build unusable static libraries (#238552#c17). + +------------------------------------------------------------------- +Mon Dec 18 14:48:00 CET 2006 - sbrabec@suse.cz + +- Prefix changed to /usr. +- Spec file cleanup. + +------------------------------------------------------------------- +Tue Nov 28 18:30:01 CET 2006 - sbrabec@suse.cz + +- Build correctly in older products. + +------------------------------------------------------------------- +Tue Nov 7 21:45:20 CET 2006 - abockover@suse.de + +- Updated to version 0.10.10: + * Scores of bug fixes + * Better non-linear editing + * Removed GLib 2.6 compatibility + * Performance improvements on CPUs that support branch hints + * __gst_debug_min symbol is properly externed + * Can compile against GStreamer headers in pedantic mode + +------------------------------------------------------------------- +Mon Jul 17 21:12:41 CEST 2006 - danw@suse.de + +- Rewrite XXXes to tmp file name before calling mkstemp a second + time. Fixes the "gst-inspect doesn't work the first time" build bug. + +------------------------------------------------------------------- +Fri Jun 16 12:36:54 CEST 2006 - sbrabec@suse.cz + +- Updated to version 0.10.8: + * Many bug fixes + * More API additions + * Fixes for the collectpads helper + * Support for proper time recording on server-trickmode streams + via the applied_rate parameter of the NewSegment event + * QoS in BaseTransform + * BaseTransform reworked + * Bus reworked; signal API added + * Registry cache updating is now done in a fork, so no plugins + are left opened + * New version of data protocol now serializes events + +------------------------------------------------------------------- +Thu May 25 18:17:46 CEST 2006 - sbrabec@suse.cz + +- Fixed uninitialized variable (#176290). + +------------------------------------------------------------------- +Fri Mar 10 21:35:15 CET 2006 - jpr@suse.de + +-update to version 0.10.4 +-Changes since 0.10.3: + + * Parallel installability with 0.8.x series + * Threadsafe design and API + * 33% of library size removed by parse change + * (Experimental) QoS features (use max-lateness on BaseSink subclasses to enable) + +Bugs fixed since 0.10.3: + + * 323542 : GStreamer 0.10 hangs at EOS for all songs + * 320340 : triggering a gst_task_join from the streaming task can de... + * 322628 : document thread-unsafety of gst_value_foo() + gst_value_r... + * 324186 : Smarter (deterministic!) typefind decisions + * 324398 : varargs/valist functions aren't bindable + * 328873 : only one gst_bin_recalc_state allowed at a time + * 330899 : CVS directory in make dist tarball + * 330906 : API: add GST_QUERY_TYPE_NAME and GST_MESSAGE_TYPE_NAME + * 330996 : basesrc emits EOS unconditionally when going to READY + * 331255 : Shrinking gst_parse_launch bloat + * 331898 : Basetranform is not reusable + * 332045 : API: GstPipeline needs API to disable flushing of its bu... + * 332277 : [filesrc] seek does not correct read position in non-mmap... + * 332611 : [basesrc] needs way to prevent expensive start/stop in ch... + * 332723 : New API: gst_type_find_helper_for_buffer + * 333042 : New API: gst_type_find_helper_get_range + * 333266 : Registry file writing rewrite + * 333272 : tests should set G_SLICE=always-malloc now + * 333417 : GST_BOILERPLATE_WITH_INTERFACE can't be used in C++ code + * 333669 : Add pad accessor defines for GstBaseTransform + * 333779 : New API: add gst_uri_has_protocol + * 324818 : gst_registry_get_default doesn't sink newly created registry + * 330125 : _pad_send_event does not check flushing correctly + * 330684 : Add ability to emit sync-message without messing with the... + +------------------------------------------------------------------- +Thu Feb 23 22:54:01 CET 2006 - jpr@suse.de + +- update version to 0.10.3 +- Changes since 0.10.2: + * Documentation updates + * Bug fixes + * Base class improvements + * Extra utility API + * More elements ported from 0.8 + * Fixes for win32 build. + +------------------------------------------------------------------- +Tue Feb 14 17:21:17 CET 2006 - sbrabec@suse.cz + +- Do not package never generated registry.xml in /var (#149984). + +------------------------------------------------------------------- +Wed Jan 25 21:32:03 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jan 18 14:35:21 CET 2006 - sbrabec@suse.cz + +- Updated to version 0.10.2. + +------------------------------------------------------------------- +Tue Jan 3 18:14:17 CET 2006 - sbrabec@suse.cz + +- Removed unneeded build requirements. + +------------------------------------------------------------------- +Tue Jan 3 16:41:51 CET 2006 - sbrabec@suse.cz + +- Updated to version 0.10.1. + +------------------------------------------------------------------- +Tue Dec 13 16:06:36 CET 2005 - sbrabec@suse.cz + +- Branched gstreamer010 and updated to version 0.10.0. + +------------------------------------------------------------------- +Mon Nov 14 17:50:51 CET 2005 - sbrabec@suse.cz + +- Fixed %postun error on uninstallation. + +------------------------------------------------------------------- +Fri Nov 4 12:39:12 CET 2005 - sbrabec@suse.cz + +- Call branch-dependent gst-register (#132197). + +------------------------------------------------------------------- +Mon Sep 5 17:16:28 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.8.11. + +------------------------------------------------------------------- +Wed Jun 1 16:35:38 CEST 2005 - sbrabec@suse.cz + +- Fixed devel requirements (#72282). + +------------------------------------------------------------------- +Thu May 26 15:51:51 CEST 2005 - sbrabec@suse.cz + +- Updated to version 0.8.10. +- Build all documentation. +- Split doc subpackage. + +------------------------------------------------------------------- +Wed Mar 16 12:44:01 CET 2005 - sbrabec@suse.cz + +- Build as user, copying xml.dcl is no more needed. + +------------------------------------------------------------------- +Fri Feb 11 05:14:10 CET 2005 - gekker@suse.de + +- Update to version 0.8.9 + +------------------------------------------------------------------- +Sat Jan 22 17:57:18 CET 2005 - ro@suse.de + +- make docu build + +------------------------------------------------------------------- +Mon Jan 3 21:41:12 CET 2005 - gekker@suse.de + +- Update to version 0.8.8 + +------------------------------------------------------------------- +Tue Dec 21 18:52:07 CET 2004 - gekker@suse.de + +- Update to version 0.8.7 + +------------------------------------------------------------------- +Mon Oct 11 17:02:03 CEST 2004 - sbrabec@suse.cz + +- Call gst-register properly (#46870). + +------------------------------------------------------------------- +Tue Jun 22 18:15:43 CEST 2004 - clahey@suse.de + +- Fixed gst-register call to be in the right prefix. + +------------------------------------------------------------------- +Fri Jun 11 23:14:19 CEST 2004 - clahey@suse.de + +- Don't use --gst-mask argument to gst-register. + +------------------------------------------------------------------- +Wed Apr 28 14:42:56 CEST 2004 - sbrabec@suse.cz + +- Updated to version 0.8.1 (GNOME 2.6). + +------------------------------------------------------------------- +Sun Mar 28 01:58:45 CET 2004 - ro@suse.de + +- remove ghostscript-fonts-std from neededforbuild + use plain ghostscript-mini to build + +------------------------------------------------------------------- +Mon Mar 15 14:38:25 CET 2004 - sbrabec@suse.cz + +- FHS 2.3 fix (mandir, infodir, #35821). + +------------------------------------------------------------------- +Fri Feb 13 16:43:32 CET 2004 - sbrabec@suse.cz + +- Updated to version 0.6.5. +- Build and install docs. + +------------------------------------------------------------------- +Sat Jan 10 10:23:54 CET 2004 - adrian@suse.de + +- use %run_ldconfig + +------------------------------------------------------------------- +Wed Nov 5 00:01:07 CET 2003 - ro@suse.de + +- build with "-D_GNU_SOURCE" (for posix_memalign) + +------------------------------------------------------------------- +Wed Oct 22 16:41:11 CEST 2003 - sbrabec@suse.cz + +- Updated to version 0.6.4. + +------------------------------------------------------------------- +Thu Oct 16 18:09:02 CEST 2003 - schwab@suse.de + +- Add atomic ops for ia64. +- Fix warning. + +------------------------------------------------------------------- +Wed Oct 08 10:45:48 CEST 2003 - sbrabec@suse.cz + +- Updated to version 0.6.3. + +------------------------------------------------------------------- +Thu Sep 18 15:04:17 CEST 2003 - sbrabec@suse.cz + +- Call ldconfig before gst-register in %post (bug #30675). + +------------------------------------------------------------------- +Tue Sep 16 16:34:00 CEST 2003 - sbrabec@suse.cz + +- Call gst-register after installation. +- Added /var items to filelist. + +------------------------------------------------------------------- +Mon Jul 14 14:35:02 CEST 2003 - sbrabec@suse.cz + +- GNOME prefix change to /opt/gnome. + +------------------------------------------------------------------- +Fri Jun 27 15:41:45 CEST 2003 - sbrabec@suse.cz + +- Updated to version 0.6.2. +- Fixed %files. +- Fixed directory packaging. + +------------------------------------------------------------------- +Wed May 28 01:42:10 CEST 2003 - ro@suse.de + +- remove unpackaged files from buildroot + +------------------------------------------------------------------- +Wed Feb 5 15:36:34 CET 2003 - meissner@suse.de + +- ppc64 is basically ppc, the assembler stub needed is the same. + +------------------------------------------------------------------- +Tue Feb 04 17:09:37 CET 2003 - sbrabec@suse.cz + +- Updated to version 0.6.0. + +------------------------------------------------------------------- +Thu Jan 23 11:20:02 CET 2003 - sbrabec@suse.cz + +- Updated to version 0.5.2. +- FHS fix (localstatedir). + +------------------------------------------------------------------- +Fri Jan 17 16:43:27 CET 2003 - sbrabec@suse.cz + +- Updated to version 0.5.1 (Gnome2). + +------------------------------------------------------------------- +Thu Nov 21 00:39:30 CET 2002 - ro@suse.de + +- fix duplicates in configure.in + +------------------------------------------------------------------- +Mon Nov 11 11:26:13 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Sat Sep 7 00:33:32 CEST 2002 - olh@suse.de + +- fix build without atomic.h + +------------------------------------------------------------------- +Thu Aug 22 15:10:41 CEST 2002 - hhetter@suse.de + +- added a README file and removed the SuSEconfig-script + ( Bug Id#17620) + +------------------------------------------------------------------- +Tue Aug 20 11:08:37 CEST 2002 - hhetter@suse.de + +- use Requires: %{name} = %{version} in devel package +- added PreReq: filesystem + +------------------------------------------------------------------- +Thu Aug 15 12:02:41 CEST 2002 - ro@suse.de + +- removed gnome-utils from neededforbuild + +------------------------------------------------------------------- +Sat Jul 27 16:58:23 CEST 2002 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Fri Jul 26 23:12:48 CEST 2002 - adrian@suse.de + +- fix neededforbuld + +------------------------------------------------------------------- +Thu Jul 4 12:26:18 CEST 2002 - ro@suse.de + +- neededforbuild quicktime4linux -> libquicktime + +------------------------------------------------------------------- +Tue May 21 16:40:37 CEST 2002 - meissner@suse.de + +- %_lib fixes, various libtool/autoconf/etc. patches. +- started port to x86_64 + +------------------------------------------------------------------- +Fri Feb 1 00:26:10 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Tue Jan 22 18:23:53 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Fri Nov 30 15:08:32 CET 2001 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Wed Nov 28 11:50:47 CET 2001 - ro@suse.de + +- removed libmpeg2 from neededforbuild + +------------------------------------------------------------------- +Tue Nov 20 00:24:27 CET 2001 - ro@suse.de + +- added new gnome-vfs include path to CFLAGS +- added popt, gconf and oaf to neededforbuild + +------------------------------------------------------------------- +Sat Sep 8 21:16:49 MEST 2001 - egger@suse.de + +- Removed LAME due to legal reasons. + +------------------------------------------------------------------- +Mon Aug 20 13:00:58 CEST 2001 - ro@suse.de + +- added diffs from cvs to build with current lame and current alsa + +------------------------------------------------------------------- +Mon Aug 20 12:18:01 CEST 2001 - ro@suse.de + +- up to 0.2.1 to try to fix compilation +- added kdelibs-artsd to neededforbuild + +------------------------------------------------------------------- +Wed Aug 8 16:55:46 CEST 2001 - ro@suse.de + +- changed neededforbuild to +- changed neededforbuild to + +------------------------------------------------------------------- +Fri Jul 20 12:06:42 CEST 2001 - kukuk@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Wed Jun 27 11:18:33 CEST 2001 - hhetter@suse.de + +- improved documentation support, enabled gtkdoc & docbkutils + +------------------------------------------------------------------- +Tue Jun 26 12:50:33 CEST 2001 - hhetter@suse.de + +- added SuSEconfig.gstreamer script +- enabled sdl, libvorbis, ogg, gnome, alsa, + cdparanoia, aalib and mpeg2 modules +- functionality test in chrooted environment + +------------------------------------------------------------------- +Mon Jun 18 08:51:03 CEST 2001 - hhetter@suse.de + +- fixed typo in specfile + +------------------------------------------------------------------- +Fri Jun 15 12:39:00 CEST 2001 - hhetter@suse.de + +- update to 0.2.0 +- specfile & filelist rework + +------------------------------------------------------------------- +Thu Mar 15 13:18:44 CET 2001 - hhetter@suse.de + +- initial SuSE Package + diff --git a/gstreamer.macros b/gstreamer.macros new file mode 100644 index 0000000..2f8a2ea --- /dev/null +++ b/gstreamer.macros @@ -0,0 +1,4 @@ +%__gstreamer_provides %{_rpmconfigdir}/gstreamer-provides +%__gstreamer_path libgst +%__gstreamer_magic ELF.*shared object +%__gstreamer_flags magic_and_path diff --git a/gstreamer.prov b/gstreamer.prov new file mode 100644 index 0000000..bbeaeaf --- /dev/null +++ b/gstreamer.prov @@ -0,0 +1,49 @@ +#!/bin/sh +# +# Script to install in: +# /usr/lib/rpm/redhat/find-provides.d +# +# Transform GStreamer auto install info into RPM provides +# +# Author: Bastien Nocera +# Based on other provides scripts from RPM +# + +# We need a way to disable automatic gst provides. +# Simply "%define SKIP_GSTPROVIDES 1" anywhere in the spec file +grep -q -E '^[^#]?%define\s+SKIP_GSTPROVIDES\s.*[^0\s].*' "$RPMBUILD_SPECFILE" && exit 0 + +filelist=`grep -e '.so$' | sed "s/['\"]/\\\&/g"` + +# --- Alpha does not mark 64bit dependencies• +case `uname -m` in + alpha*) mark64="" ;; + *) mark64="()(64bit)" ;; +esac + +solist=$(echo $filelist | grep "libgst" | \ + xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1 ) + +function getmark() +{ + lib64=`if file -L $1 2>/dev/null | \ + grep "ELF 64-bit" >/dev/null; then echo -n "$mark64"; fi` +} + +function libdir() +{ + buildlibdir=`dirname $1` + buildlibdir=`dirname $buildlibdir` +} + +for so in $solist ; do + getmark $so + libdir $so + LD_LIBRARY_PATH=$buildlibdir gst-inspect-0.11 --print-plugin-auto-install-info --rpm $so 2> /dev/null | while read line ; do + echo -n "$line"; + echo -n "$lib64" + echo + done +done + + diff --git a/gstreamer.spec b/gstreamer.spec new file mode 100644 index 0000000..09486a6 --- /dev/null +++ b/gstreamer.spec @@ -0,0 +1,260 @@ +# +# spec file for package gstreamer-0_11 +# +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + + +Name: gstreamer +%define build_doc 0 +Version: 0.11.0 +Release: 1 +%define gst_branch 0.11 +License: LGPLv2.1+ +Summary: Streaming-Media Framework Runtime +Url: http://gstreamer.freedesktop.org/ +Group: Productivity/Multimedia/Other +Source0: http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-%{version}.tar.bz2 +Source1: gstreamer.macros +Source2: gstreamer.prov +Source99: baselibs.conf +# PATCH-FIX-OPENSUSE gstreamer-no-gtk-doc-for-reals.patch maw@novell.com -- to build without gtk-doc, like totally for reals +Patch0: gstreamer-no-gtk-doc-for-reals.patch +# PATCH-FEATURE-UPSTREAM gstreamer-rpm-prov.patch bgo#588783 dimstar@opensuse.org -- Add --rpm parameter to allow creation of rpm provides, patch from fedora +Patch1: gstreamer-rpm-prov.patch +BuildRequires: bison +BuildRequires: check-devel +BuildRequires: fdupes +BuildRequires: flex +BuildRequires: glib2-devel >= 2.26 +BuildRequires: libxml2-devel +BuildRequires: translation-update-upstream +%ifarch %ix86 ppc x86_64 +BuildRequires: valgrind-devel +%endif +%if %suse_version >= 1120 +BuildRequires: gobject-introspection-devel >= 0.6.8 +%endif +%if %build_doc +BuildRequires: docbook-toys +BuildRequires: docbook-utils +BuildRequires: gtk-doc +BuildRequires: python +BuildRequires: transfig +BuildRequires: texlive-latex +BuildRequires: texlive-latex-doc +# Ensure that the documentation corresponds with the installed version: +Requires: libgstreamer-0_11-0 = %{version} +# Generic name, never used in SuSE: +Provides: gstreamer-doc = %{version} +%else +# Core modules may depend on new enough libraries: +Requires: libgstreamer-0_11-0 >= %{version} +Recommends: %{name}-lang = %{version} +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%if !%build_doc + +%package -n libgstreamer-0_11-0 +License: LGPLv2.1+ +Summary: Streaming-Media Framework Runtime +Group: System/Libraries +# We want to have core modules installed: +Requires: %{name} + +%description -n libgstreamer-0_11-0 +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%package utils +License: LGPLv2.1+ +Summary: Streaming-Media Framework Runtime +Group: Productivity/Multimedia/Other +# Generic name, never used in SuSE: +Provides: gstreamer:%{_bindir}/gst-launch-%{gst_branch} = %{version} +# Symbol for unversioned wrappers: +Provides: gstreamer-utils_versioned = %{version} + +%description utils +GStreamer is a streaming-media framework, based on graphs of filters +which operate on media data. Applications using this library can do +anything from real-time sound processing to playing videos, and just +about anything else media-related. Its plug-in-based architecture +means that new data types or processing capabilities can be added by +installing new plug-ins. + +%package devel +License: LGPLv2.1+ +Summary: Include Files and Libraries mandatory for Development +Group: Development/Libraries/C and C++ +Requires: %{name} = %{version} +Requires: check-devel +Requires: glib2-devel +Requires: libxml2-devel +Requires: popt-devel + +%description devel +This package contains all necessary include files and libraries needed +to develop applications that require these. + +%endif +%lang_package + +%prep +%setup -q -n gstreamer-%{version} +#translation-update-upstream po gstreamer-0.10 +%if ! %build_doc +%patch0 -p1 +%endif +%patch1 -p1 + +%build +# FIXME: GTKDOC_CFLAGS, GST_OBJ_CFLAGS: +# Silently ignored compilation of uninstalled gtk-doc scanners without RPM_OPT_FLAGS. +export V=1 +%if %suse_version >= 1110 +NOCONFIGURE=1 ./autogen.sh +%endif +export CFLAGS="%{optflags} -fno-strict-aliasing" +%configure\ +%if %build_doc + --enable-gtk-doc\ + --enable-docbook\ +%endif +%if %suse_version >= 1120 + --enable-introspection\ +%endif + --disable-static +make %{?_smp_mflags} + +%install +%makeinstall +mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets +mkdir -p %{buildroot}%{_docdir}/%{name} +%if %build_doc +mv %{buildroot}%{_datadir}/doc/gstreamer-*/* %{buildroot}%{_docdir}/%{name} +rmdir %{buildroot}%{_datadir}/doc/gstreamer-* +%else +# TODO is empty +cp AUTHORS COPYING ChangeLog NEWS README RELEASE %{buildroot}%{_docdir}/%{name} +%find_lang %{name}-%{gst_branch} +rm %{buildroot}%{_libdir}/gstreamer-*/*.*a +%endif +%if %build_doc +rm -rf %{buildroot}%{_bindir}/* +rm -rf %{buildroot}%{_libdir} +rm -rf %{buildroot}%{_datadir}/aclocal +rm -rf %{buildroot}%{_includedir}/* +rm -rf %{buildroot}%{_datadir}/locale +rm -rf %{buildroot}%{_mandir} +rm -rf %{buildroot}%{_datadir}/gir-1.0/ +rm -rf %{buildroot}%{_datadir}/gstreamer-%{gst_branch} +rm -rf %{buildroot}%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner +%else +rm -rf %{buildroot}%{_datadir}/gtk-doc +rm -rf %{buildroot}%{_docdir}/%{name}/manual +rm -rf %{buildroot}%{_docdir}/%{name}/pwg +mkdir -p %{buildroot}%{_datadir}/gstreamer-%{gst_branch}/presets +# Install the rpm macros +%if 0%?suse_version >= 1210 +%__install -m644 -D %{S:1} %{buildroot}%{_libexecdir}/rpm/fileattrs/gstreamer.attr +%else +%__install -m644 -D %{S:1} %{buildroot}%{_sysconfdir}/rpm/macros.gstreamer +%endif +%__install -m755 -D %{S:2} %{buildroot}%{_libexecdir}/rpm/gstreamer-provides +%endif +%fdupes %{buildroot} + +%clean +rm -rf %{buildroot} +%if ! %build_doc + +%post -n libgstreamer-0_11-0 -p /sbin/ldconfig + +%postun -n libgstreamer-0_11-0 -p /sbin/ldconfig +%endif +%if %build_doc + +%files +%defattr(-,root,root) +%doc %dir %{_docdir}/%{name} +%{_datadir}/gtk-doc/html/* +%doc %{_docdir}/%{name}/manual +%doc %{_docdir}/%{name}/pwg +%doc %{_docdir}/%{name}/faq +%else + +%files +%defattr(-, root, root) +%dir %{_datadir}/gstreamer-%{gst_branch} +%dir %{_datadir}/gstreamer-%{gst_branch}/presets +%doc %dir %{_docdir}/%{name} +%doc %{_docdir}/%{name}/AUTHORS +%doc %{_docdir}/%{name}/COPYING +%doc %{_docdir}/%{name}/ChangeLog +%doc %{_docdir}/%{name}/NEWS +%doc %{_docdir}/%{name}/README +%doc %{_docdir}/%{name}/RELEASE +%dir %{_libdir}/gstreamer-%{gst_branch} +%{_libdir}/gstreamer-%{gst_branch}/*.so +%dir %{_libexecdir}/gstreamer-%{gst_branch} +%{_libexecdir}/gstreamer-%{gst_branch}/gst-plugin-scanner + +%files lang -f %{name}-%{gst_branch}.lang + +%files -n libgstreamer-0_11-0 +%defattr(-, root, root) +%{_libdir}/*.so.* +%if %suse_version >= 1120 +%{_libdir}/girepository-1.0/*.typelib +%endif + +%files utils +%defattr(-, root, root) +%{_bindir}/*-%{gst_branch} +%doc %{_mandir}/man?/*-%{gst_branch}.* + +%files devel +%defattr(-, root, root) +%{_datadir}/aclocal/*.m4 +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/*.*a +%{_libdir}/pkgconfig/*.pc +%{_libexecdir}/rpm/gstreamer-provides +%if 0%?suse_version >= 1210 +%{_libexecdir}/rpm/fileattrs/gstreamer.attr +%else +%{_sysconfdir}/rpm/macros.gstreamer +%endif +%if %suse_version >= 1120 +%{_datadir}/gir-1.0/*.gir +%endif +%endif + +%changelog diff --git a/pre_checkin.sh b/pre_checkin.sh new file mode 100644 index 0000000..757a75a --- /dev/null +++ b/pre_checkin.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +function fail { + echo Something failed. Too bad. + exit 1 +} + +rm -f gstreamer-doc.spec.tmp + +cat gstreamer.spec \ + | sed 's/^Name: *gstreamer*/Name: gstreamer-doc/g' \ + | sed 's/^%define *build_doc 0/%define build_doc 1/g' \ + > gstreamer-doc.spec.tmp || fail + +mv gstreamer-doc.spec.tmp gstreamer-doc.spec || fail + +echo Fixed up gstreamer-doc.spec. +