[-]
[+]
|
Deleted |
xine-lib-12.spec
|
@@ -1,826 +0,0 @@
-#
-# spec file for package xine-lib (Version 1.2.^)
-#
-# Copyright (c) 2009 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/
-#
-
-# norootforbuild
-
-
-Name: xine-lib-12
-# %bcond_with = default off
-# %bcond_without = default on
-#
-# --with distributable -> don't build libxine1-codecs
-# --without distributable -> build libxine1-codecs
-#
-# default for buildservice is no patented codecs
-%bcond_with onlynondistributable
-%bcond_without pulseaudio
-%bcond_without sdl
-%bcond_without aalib
-%bcond_without esd
-%bcond_without jack
-%bcond_without gnome_vfs
-%bcond_without directfb
-%bcond_without modplug
-#
-BuildRequires: alsa-devel ImageMagick-devel flac-devel giflib-devel
-BuildRequires: glib2-devel gnutls-devel gtk2-devel imlib2-devel krb5-devel
-BuildRequires: libcdio-devel libdrm-devel libmng-devel libsmbclient
-BuildRequires: libsmbclient-devel libtheora-devel libvorbis-devel libmpcdec-devel
-BuildRequires: libv4l-devel libtool
-%if %suse_version >= 1030
-BuildRequires: lirc-devel
-%else
-BuildRequires: lirc
-%endif
-BuildRequires: readline-devel libspeex-devel update-desktop-files vcdimager-devel
-%if !%{with distributable}
-# those requiremens are optional but internal copies are likely old
-BuildRequires: libfaad-devel libffmpeg-devel
-%endif
-%if %{with pulseaudio}
-BuildRequires: libpulse-devel
-%endif
-%if %{with sdl}
-BuildRequires: SDL-devel
-%endif
-%if %{with aalib}
-BuildRequires: aalib-devel
-BuildRequires: libcaca-devel
-%endif
-%if %{with esd}
-BuildRequires: esound-devel
-%endif
-%if %{with gnome_vfs}
-BuildRequires: gnome-vfs2-devel
-%endif
-%if %{with jack}
-BuildRequires: libjack-devel
-%endif
-%if %{with directfb}
-%if %suse_version >= 1020
-BuildRequires: DirectFB-devel
-%else
-BuildRequires: DirectFB
-%endif
-%endif
-%if %{with modplug}
-BuildRequires: libmodplug-devel
-%endif
-Version: 1.2.1
-Release: 60.1
-%define abiversion 2.1
-Summary: Video Player with Plug-Ins
-Group: Productivity/Multimedia/Video/Players
-License: GPL v2 or later; Public Domain, Freeware
-Url: http://www.xine-project.org/home
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-
-Source0: xine-lib-%{version}.tar.bz2
-Source1: baselibs.conf
-
-Patch0: xine-lib-libdvdread_udf.diff
-Patch1: xine-lib-v4l-2.6.38.patch
-
-%description
-<p>Great video and multimediaplayer, supports DVD, MPEG, AVI, DivX, VCD, Quicktime ...</p><p>You need a frontend for xine-lib like <a href=http://packman.links2linux.de/package/xine-ui>xine-ui</a>, <a href=http://packman.links2linux.de/package/gxine>gxine</a>, <a href=http://packman.links2linux.de/package/kaffeine>kaffeine</a> or <a href=http://packman.links2linux.de/package/totem>totem</a>.</p><p>Since 1-rc6 the package number is reduced, all you may miss, is in the base package</p><p>If you want to play css encrypted Video-DVD's, you need to install <a href=http://packman.links2linux.de/package/libdvdcss2>libdvdcss</a>.</p>
-
-%description -l de
-<p>Großartiger Video- und Multimediaplayer mit Support für DVD, MPEG, AVI, DivX, VCD,Quicktime ...</p><p>Bitte beachten Sie, dass Sie neben der xine-lib auch eine Bedienoberfläche wie <a href=http://packman.links2linux.de/package/xine-ui>xine-ui</a>, <a href=http://packman.links2linux.de/package/gxine>gxine</a>, <a href=http://packman.links2linux.de/package/kaffeine>kaffeine</a> oder <a href=http://packman.links2linux.de/package/totem>totem</a> benötigen.</p><p>Seit 1-rc6 wurde die Zahl der Pakete reduziert, alles was sie eventuell vermissen, wurde in das Basispaket integriert.</p><p>Wenn Sie css verschlüsselte Video-DVDs abspielen wollen, müssen Sie zusätzlich die <a href=http://packman.links2linux.de/package/libdvdcss2>libdvdcss</a> installieren.</p>
-
-%package -n libxine2
-Summary: Video Player with Plug-Ins
-Group: Productivity/Multimedia/Video/Players
-License: GPL v2 or later
-Provides: libxine2-syncfb = %{version}-%{release}
-Obsoletes: libxine2-syncfb < %{version}-%{release}
-Provides: libxine2-xvmc = %{version}-%{release}
-Obsoletes: libxine2-xvmc < %{version}-%{release}
-Provides: libxine2-dvb = %{version}-%{release}
-Obsoletes: libxine2-dvb < %{version}-%{release}
-Recommends: libxine2-codecs = %{version}
-Recommends: opensuse-codecs-installer
-
-%description -n libxine2
-xine is a video player with a graphical front-end that supports a large
-number of file formats (VCD and MPEG2, for example) using plug-ins.
-Several plug-ins are included. Others can be installed after xine
-installation. xine supports stereo sound using OSS and AC5.1 using
-Alsa.
-
-%if %{with distributable}
-This version of xine may lack certain features because of legal
-requirements (potential patent violation). See also
-http://www.opensuse.org/XINE#Legal_Matters
-%endif
-
-More information about xine plug-ins can be found at
-http://www.xine-project.org/home
-
-
-
-Authors:
---------
- Guenter Bartsch <guenter@sourceforge.net>
-
-%description -n libxine2 -l de
-xine ist ein Videoplayer mit grafischem Frontend und unterstützt
-eine vielzahl an Dateiformaten (z.B. VCD und MPEG2) mit hilfe von
-Plugins. Einige Plugins sind enthalten, andere können nach der
-Installation von xine nachinstalliert werden. xine untersützt
-Stereosound via OSS und AC5.1 per Alsa.
-
-%if %{with distributable}
-Diese xine-Version lässt eventuell einige Funktione aus rechtlichen
-Gründen vermissen (mögliche Patentverletzungen). Siehe dazu
-http://www.opensuse.org/XINE#Legal_Matters
-%endif
-
-Weitere Informationen über xine Plugins finden Sie unter
-http://www.xine-project.org/home
-
-
-
-Autoren:
---------
- Guenter Bartsch <guenter@sourceforge.net>
-
-%package -n libxine2-devel
-License: GPL v2 or later ; Public Domain, Freeware
-Summary: Development environment for xine-based media players
-Group: Development/Libraries/C and C++
-Requires: glibc-devel freetype2-devel zlib-devel libxine2 = %{version}
-Requires: libv4l-devel
-Requires: libffmpeg-devel
-Obsoletes: libxine2-devel < %{version}-%{release}
-Provides: libxine2-devel = %{version}-%{release}
-Obsoletes: xine-lib-devel < %{version}-%{release}
-Provides: xine-lib-devel = %{version}-%{release}
-# bug437293
-%ifarch ppc64
-Obsoletes: xine-lib-devel-64bit
-%endif
-#
-
-%description -n libxine2-devel
-This package contains all necessary include files, libraries and
-configuration files needed to compile applications that use the xine
-media player.
-
-xine is a video player which supports a large number of file formats
-(i.e., VCD, MPEG2) using plug-ins. Several plug-ins are included.
-Others can be post-installed. Supports stereo sound using OSS and AC5.1
-using Alsa.
-
-%if %{with distributable}
-This version of xine may lack certain features because of legal
-requirements (potential patent violation). See also
-http://www.opensuse.org/XINE#Legal_Matters
-%endif
-
-More information about xine plug-ins can be found at
-http://www.xine-project.org/home
-
-
-
-Authors:
|
[-]
[+]
|
Added |
xine-lib.spec
^
|
|
[-]
[+]
|
Added |
fix-non-x86-build.diff
^
|
@@ -0,0 +1,8 @@
+--- src/post/Makefile.am.orig 2012-06-21 09:47:14.910671806 +0200
++++ src/post/Makefile.am 2012-06-21 09:47:21.119671933 +0200
+@@ -1,4 +1,4 @@
+ include $(top_srcdir)/misc/Makefile.quiet
+ include $(top_srcdir)/misc/Makefile.common
+
+-SUBDIRS = planar goom visualizations mosaico deinterlace audio
++SUBDIRS = planar goom visualizations mosaico audio
|
[-]
[+]
|
Added |
xine-lib-theora.patch
^
|
@@ -0,0 +1,13 @@
+Index: src/xine-engine/buffer_types.c
+===================================================================
+--- src/xine-engine/buffer_types.c.orig 2012-02-05 21:17:03.000000000 +0200
++++ src/xine-engine/buffer_types.c 2012-07-16 15:39:19.681795420 +0200
+@@ -585,6 +585,8 @@ static const video_db_t video_db[] = {
+ },
+ {
+ {
++ ME_FOURCC('t','h','e','o'),
++ ME_FOURCC('T','H','E','O'),
+ 0,
+ },
+ BUF_VIDEO_THEORA,
|
[-]
[+]
|
Added |
xine-lib-without-ffmpeg.patch
^
|
@@ -0,0 +1,32 @@
+diff -uNr xine-lib-1.2.1.orig/m4/decoders.m4 xine-lib-1.2.1/m4/decoders.m4
+--- xine-lib-1.2.1.orig/m4/decoders.m4 2012-02-04 01:41:43.000000000 +0100
++++ xine-lib-1.2.1/m4/decoders.m4 2012-05-21 22:46:39.470861703 +0200
+@@ -85,9 +85,7 @@
+ AM_CONDITIONAL([WITH_EXTERNAL_FAAD], [test x"$have_external_faad" = x"yes"])
+
+ dnl ffmpeg external version required
+- PKG_CHECK_MODULES([FFMPEG], [libavcodec >= 51.68.0])
+ PKG_CHECK_MODULES([AVUTIL], [libavutil >= 49.6.0])
+- PKG_CHECK_MODULES([FFMPEG_POSTPROC], [libpostproc])
+ AC_DEFINE([HAVE_FFMPEG], 1, [Define this if you have ffmpeg library])
+
+ dnl Check presence of ffmpeg/avutil.h to see if it's old or new
+diff -uNr xine-lib-1.2.1.orig/src/audio_dec/Makefile.am xine-lib-1.2.1/src/audio_dec/Makefile.am
+--- xine-lib-1.2.1.orig/src/audio_dec/Makefile.am 2012-02-04 01:41:43.000000000 +0100
++++ xine-lib-1.2.1/src/audio_dec/Makefile.am 2012-05-22 20:37:48.863941984 +0200
+@@ -49,7 +49,6 @@
+ xineplug_LTLIBRARIES = \
+ xineplug_decode_gsm610.la \
+ xineplug_decode_lpcm.la \
+- xineplug_decode_dvaudio.la \
+ $(musepack_module) \
+ $(dts_module) \
+ $(mad_module) \
+@@ -87,7 +86,3 @@
+ xineplug_decode_faad_la_DEPENDENCIES = $(FAAD_DEPS)
+ xineplug_decode_faad_la_LIBADD = $(XINE_LIB) $(LTLIBINTL) $(FAAD_LIBS) -lm
+ xineplug_decode_faad_la_CFLAGS = $(FAAD_CFLAGS)
+-
+-xineplug_decode_dvaudio_la_SOURCES = ff_dvaudio_decoder.c
+-xineplug_decode_dvaudio_la_LIBADD = $(XINE_LIB) $(LTLIBINTL)
+-xineplug_decode_dvaudio_la_CPPFLAGS = $(AM_CPPFLAGS) $(FFMPEG_CFLAGS)
|
[-]
[+]
|
Added |
precheckin_cripple_tarball.sh
^
|
@@ -0,0 +1,101 @@
+#!/bin/sh
+
+# The following source parts of xine-lib may not be distributed for legal
+# reasons.
+# Thus we have to cripple the source tree in a way that it still builds.
+
+#
+# Helpers
+#
+
+# $1: files $2: entries $3: prefix $4: postfix
+do_nukeentry() {
+for d in $1 ; do
+ perl -i -e 'undef $/; $_=<>; for $e (qw|'"$2"'|) { s|(?<=[^-a-zA-Z0-9_./])'"$3"'$e'"$4"'(?=[^-a-zA-Z0-9_./])||g }; print' $d
+done
+}
+
+# $1: files $2: entries $3: prefix $4: postfix
+do_nukeline() {
+for d in $1 ; do
+ perl -i -e 'undef $/; $_=<>; for $e (qw|'"$2"'|) { s|^.*(?<=[^-a-zA-Z0-9_./])'"$3"'$e'"$4"'(?=[^-a-zA-Z0-9_./]).*$||mg }; print' $d
+done
+}
+
+# $1: dir $2: files/dirs
+do_remove() {
+pushd "$1" >/dev/null || exit 1
+rm -rf $2
+popd >/dev/null
+}
+
+#
+# Main
+#
+
+# Find source tarball + unpack
+
+tmp="/`mktemp -d`"
+trap 'rm -rf $tmp; echo 1>&2 "$0 failed"' EXIT
+test -d "$tmp" -a -w "$tmp" || exit
+tarsource="`echo xine-lib-*[0-9].tar.bz2`"
+if [ ! -s "$tarsource" ] ; then
+ echo "Error: cannot find source tarball"
+ exit 1
+fi
+tarbase="${tarsource%.tar.bz2}"
+tardest="$tarbase-crippled.tar.bz2"
+
+rm -rf xine-lib-*-crippled.tar.bz2
+echo 1>&2 "Unpacking..."
+tar -C "$tmp" -xjf $tarsource || exit 1
+
+pushd $tmp/$tarbase >/dev/null || exit 1
+
+#
+# Cripple source
+#
+
+echo 1>&2 "Crippling..."
+
+c_subdirs="dxr3 liba52 libdts libfaad libffmpeg libmad libmpeg2 libspucc libspudec libspudvb libw32dll input/vcd combined/ffmpeg"
+c_demuxers="xineplug_dmx_asf.la asfheader.h asfheader.c demux_asf.c xineplug_dmx_mpeg.la demux_mpeg.c xineplug_dmx_mpeg_block.la demux_mpeg_block.c xineplug_dmx_mpeg_ts.la demux_ts.c xineplug_dmx_mpeg_elem.la demux_elem.c xineplug_dmx_mpeg_pes.la demux_mpeg_pes.c xineplug_dmx_yuv4mpeg2.la demux_yuv4mpeg2.c"
+c_input="xineplug_inp_mms.la input_mms.c mms.c mmsh.c ../demuxers/asfheader.c mms.h mmsh.h xineplug_inp_vcdo.la input_vcd.c vcd"
+c_libxineadec="xineplug_decode_gsm610.la xineplug_decode_nsf.la gsm610.c nsf.c gsm610 nosefart"
+c_audiodec="xineplug_decode_a52.la xineplug_decode_mad.la xine_a52_decoder.c xine_mad_decoder.c"
+
+do_nukeentry src/Makefile.am "$c_subdirs"
+do_nukeentry configure.ac "$c_subdirs" "src/" "/[a-zA-Z0-9_./]*Makefile"
+do_remove src "$c_subdirs"
+do_nukeentry src/demuxers/Makefile.am "$c_demuxers"
+do_remove src/demuxers "$c_demuxers"
+do_nukeentry src/input/Makefile.am "$c_input"
+do_remove src/input "$c_input"
+do_nukeentry src/audio_dec/Makefile.am "$c_audiodec"
+do_remove src/audio_dec "$c_audiodec"
+do_nukeentry src/combined/Makefile.am "ffmpeg"
+do_remove src/combined "ffmpeg"
+do_nukeentry src/post/planar/Makefile.am "pp\.c \S*/libpostproc/libpostprocess\.la"
+do_nukeline src/post/planar/planar.c "pp_init_plugin pp_special_info"
+do_remove src/post/planar "pp.c"
+
+echo 1>&2 "Autotools..."
+autoreconf -fi || exit 1
+
+#
+# Create new (crippled) source tarball
+#
+
+popd >/dev/null
+
+tar --owner=root --group=root -C $tmp -cjf $tardest $tarbase || exit 1
+rm -rf $tmp
+
+echo 1>&2 ""
+echo 1>&2 "Successfully crippled tarball. :-("
+echo 1>&2 ""
+
+rm -rf $tmp
+trap - EXIT
+exit 0
+#EOF
|
|
Changed |
xine-lib-1.2.2.tar.bz2
^
|