rpms/xine-lib/devel xine-lib-1.1.5-multilib-devel.patch, NONE, 1.1 xine-lib-1.1.5-pthread-check.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 xine-lib-cleanup-sources.sh, 1.3, 1.4 xine-lib-mk-autotools-patch.sh, 1.1, 1.2 xine-lib.spec, 1.13, 1.14 xine-lib-1.1.1-multilib-devel.patch, 1.1, NONE xine-lib-1.1.3-legacy-flac-init.patch, 1.1, NONE xine-lib-1.1.4-CVE-2007-1246.patch, 1.1, NONE xine-lib-1.1.4-ftfree.patch, 1.1, NONE
Ville Skytta (scop)
fedora-extras-commits at redhat.com
Wed Apr 11 21:37:08 UTC 2007
Author: scop
Update of /cvs/extras/rpms/xine-lib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11569
Modified Files:
.cvsignore sources xine-lib-cleanup-sources.sh
xine-lib-mk-autotools-patch.sh xine-lib.spec
Added Files:
xine-lib-1.1.5-multilib-devel.patch
xine-lib-1.1.5-pthread-check.patch
Removed Files:
xine-lib-1.1.1-multilib-devel.patch
xine-lib-1.1.3-legacy-flac-init.patch
xine-lib-1.1.4-CVE-2007-1246.patch xine-lib-1.1.4-ftfree.patch
Log Message:
* Wed Apr 11 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1.5-1
- 1.1.5.
- Include GSM 06.10 decoder (#228186).
- Re-enable CACA support.
xine-lib-1.1.5-multilib-devel.patch:
--- NEW FILE xine-lib-1.1.5-multilib-devel.patch ---
--- misc/xine-config.in~ 2007-04-05 01:18:00.000000000 +0300
+++ misc/xine-config.in 2007-04-11 01:32:44.000000000 +0300
@@ -2,8 +2,8 @@
#
#
-prefix=@XINE_CONFIG_PREFIX@
-exec_prefix=@exec_prefix@
+prefix=$(pkg-config libxine --variable=prefix)
+exec_prefix=$(pkg-config libxine --variable=exec_prefix)
exec_prefix_set=no
usage()
@@ -54,7 +54,7 @@
echo_exec_prefix=yes
;;
--version)
- echo @XINE_MAJOR at .@XINE_MINOR at .@XINE_SUB@
+ pkg-config libxine --modversion
;;
--acflags)
echo_acflags=yes
@@ -100,14 +100,14 @@
fi
if test "$echo_cflags" = "yes"; then
- echo -I at includedir@ @PTHREAD_CFLAGS@
+ pkg-config libxine --cflags
fi
if test "$echo_libs" = "yes"; then
- echo -L at libdir@ -lxine @ZLIB_LIBS@ @NET_LIBS@ @PTHREAD_LIBS@ @LIBICONV@ @RT_LIBS@
+ pkg-config libxine --libs
fi
if test "$echo_plugindir" = "yes"; then
- echo "@XINE_PLUGINPATH@"
+ echo "$(pkg-config libxine --variable=libdir)/xine/plugins/$(pkg-config libxine --modversion)"
fi
if test "$echo_datadir" = "yes"; then
echo "@XINE_DATADIR@"
xine-lib-1.1.5-pthread-check.patch:
--- NEW FILE xine-lib-1.1.5-pthread-check.patch ---
Upstream changeset 8743:defc4f072bde + additional fix in fakethread().
diff -r d1512848e87b -r defc4f072bde m4/pthreads.m4
--- a/m4/pthreads.m4 Tue Apr 10 17:08:22 2007 +0100
+++ b/m4/pthreads.m4 Wed Apr 11 17:32:13 2007 +0200
@@ -36,11 +36,15 @@ AC_DEFUN([CC_PTHREAD_FLAGS], [
[ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"
CFLAGS="$CFLAGS $cc_cv_werror $PTHREAD_CFLAGS"
+
LIBS="$LIBS $PTHREAD_LIBS"
- AC_COMPILE_IFELSE(
+ AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
- [[#include <pthread.h>]],
- [[pthread_create(NULL, NULL, NULL, NULL);]]
+ [[#include <pthread.h>
+ void *fakethread(void *arg) { return NULL; }
+ pthread_t fakevariable;
+ ]],
+ [[pthread_create(&fakevariable, NULL, &fakethread, NULL);]]
)],
[cc_cv_pthreads=yes],
[cc_cv_pthreads=no])
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xine-lib/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 31 Jan 2007 19:58:30 -0000 1.5
+++ .cvsignore 11 Apr 2007 21:36:29 -0000 1.6
@@ -1,2 +1,2 @@
-xine-lib-1.1.4-pruned.tar.bz2
-xine-lib-1.1.4-autotools.patch.bz2
+xine-lib-1.1.5-pruned.tar.bz2
+xine-lib-1.1.5-autotools.patch.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xine-lib/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 31 Jan 2007 19:58:30 -0000 1.5
+++ sources 11 Apr 2007 21:36:29 -0000 1.6
@@ -1,2 +1,2 @@
-81faabf1e38abed44639dbe4c76719f9 xine-lib-1.1.4-pruned.tar.bz2
-a916758545ed73a369f40648c7bc449c xine-lib-1.1.4-autotools.patch.bz2
+f903a0426a812ea70200b7a528f67b00 xine-lib-1.1.5-pruned.tar.bz2
+f955ece2fba4dfbbf22fbb2a8376ae60 xine-lib-1.1.5-autotools.patch.bz2
Index: xine-lib-cleanup-sources.sh
===================================================================
RCS file: /cvs/extras/rpms/xine-lib/devel/xine-lib-cleanup-sources.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xine-lib-cleanup-sources.sh 8 Apr 2007 14:13:18 -0000 1.3
+++ xine-lib-cleanup-sources.sh 11 Apr 2007 21:36:29 -0000 1.4
@@ -22,7 +22,7 @@
cd $dir
# Main libraries
-for remove in libfaad libffmpeg libmad libmpeg2 dxr3 libspudec libxineadec libspucmml libspucc liba52 libdts; do
+for remove in libfaad libffmpeg libmad libmpeg2 dxr3 libspudec libspucmml libspucc liba52 libdts; do
echo "removing src/$remove..."
rm -rf src/$remove
sed -i -e "/$remove/d" src/Makefile.am
@@ -53,8 +53,20 @@
[ -f src/demuxers/demux_$p.c ] && rm -f src/demuxers/demux_$p.c
sed -i -e "/xineplug_dmx_$p/d" src/demuxers/Makefile.am
done
+# Postprocessors
echo "removing planar and deinterlace postprocessors..."
-sed -i -e 's/planar//g;s/deinterlace//g' src/post/Makefile.am # fails to build
+sed -i -e 's/deinterlace //g' src/post/Makefile.am # see comments in speedy.c
+sed -i -e 's/planar //g' src/post/Makefile.am # requires libpostproc
+sed -i -e '/post\/\(deinterlace\|planar\)/d' configure.ac
+rm -rf src/post/{deinterlace,planar}
+# NSF decoder
+echo "removing NSF decoder..."
+rm -rf src/libxineadec/{nosefart,nsf.c}
+sed -i -e '/^xineplug_decode_nsf_la/,/^\s*$/d' \
+ -e /xineplug_decode_nsf/d \
+ -e 's/ nosefart//' \
+ src/libxineadec/Makefile.am
+sed -i -e /nosefart/d configure.ac
# All clean !
Index: xine-lib-mk-autotools-patch.sh
===================================================================
RCS file: /cvs/extras/rpms/xine-lib/devel/xine-lib-mk-autotools-patch.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xine-lib-mk-autotools-patch.sh 31 Jan 2007 19:58:30 -0000 1.1
+++ xine-lib-mk-autotools-patch.sh 11 Apr 2007 21:36:29 -0000 1.2
@@ -11,11 +11,19 @@
version=$1
+# missing dependency on autoconf >= (apparently) 2.61 in upstream autofoo files
+acversion="$(rpm -q --qf=%{VERSION} autoconf)"
+case $acversion in
+ 2.6*) ;;
+ *) echo "ERROR: autoconf >= 2.61 required" ; exit 1 ;;
+esac
+
rm -rf xine-lib-$version xine-lib-$version-pruned
tar jxf xine-lib-$version-pruned.tar.bz2
cp -a xine-lib-$version xine-lib-$version-pruned
cd xine-lib-$version
+patch -p1 < ../xine-lib-$version-pthread-check.patch # XXX hopefully temporary
./autogen.sh noconfig
rm -rf autom4te.cache *~
cd ..
Index: xine-lib.spec
===================================================================
RCS file: /cvs/extras/rpms/xine-lib/devel/xine-lib.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- xine-lib.spec 8 Apr 2007 18:09:47 -0000 1.13
+++ xine-lib.spec 11 Apr 2007 21:36:29 -0000 1.14
@@ -1,5 +1,6 @@
# TODO, sometime, maybe:
-# - libstk: http://www.libstk.net/
+# - libstk: http://www.libstk.net/ - probably not, see 1.1.5 ChangeLog
+# - xcb stuff when it's available
%define codecdir %{_libdir}/codecs
%ifarch %{ix86}
@@ -10,8 +11,8 @@
Summary: Xine library
Name: xine-lib
-Version: 1.1.4
-Release: 4%{?dist}
+Version: 1.1.5
+Release: 1%{?dist}
License: GPL
Group: System Environment/Libraries
URL: http://xinehq.de/
@@ -22,22 +23,19 @@
Source1: %{name}-cleanup-sources.sh
Source2: %{name}-mk-autotools-patch.sh
# autotools patch created with source2
-Patch0: %{name}-1.1.4-autotools.patch.bz2
+Patch0: %{name}-1.1.5-autotools.patch.bz2
Patch1: %{name}-1.1.4-optflags.patch
-Patch2: %{name}-1.1.4-CVE-2007-1246.patch
-Patch3: %{name}-1.1.3-legacy-flac-init.patch
-Patch4: %{name}-1.1.4-ftfree.patch
+# Patch2 applied while creating full autotools patch
+Patch2: %{name}-1.1.5-pthread-check.patch
Patch6: %{name}-1.1.1-deepbind-939.patch
-Patch7: %{name}-1.1.1-multilib-devel.patch
+Patch7: %{name}-1.1.5-multilib-devel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# X11
BuildRequires: libX11-devel libXv-devel libXinerama-devel libXvMC-devel libGLU-devel
# Video
BuildRequires: SDL-devel libtheora-devel libmng-devel
BuildRequires: aalib-devel >= 1.4
-%if 0%{?_with_caca:1}
BuildRequires: libcaca-devel >= 0.99
-%endif
%if 0%{!?_without_directfb:1}
BuildRequires: directfb-devel
%endif
@@ -79,7 +77,6 @@
of the most uncommon formats, too. Non-default rpmbuild options:
--without imagemagick: Disable ImageMagick support
--without directfb: Disable DirectFB support
---with caca: Enable CACA support
--with freetype: Enable FreeType/Fontconfig support
--with antialiasing: Enable font antialiasing (with FreeType/FontConfig)
@@ -97,9 +94,7 @@
- SMB
- SDL
- AA-lib
-%if 0%{?_with_caca:1}
- Libcaca
-%endif
%if 0%{!?_without_imagemagick:1}
- Image decoding
%endif
@@ -115,16 +110,11 @@
touch -r configure.ac aclocal.m4
touch -r m4/optimizations.m4 m4/optimizations.m4.stamp
%patch1 -p1 -b .optflags
-%patch2 -p1 -b .CVE-2007-1246
touch -r m4/optimizations.m4.stamp m4/optimizations.m4
-%patch3 -p0 -b .legacy-flac-init
-%patch4 -p0 -b .ftfree
# Patch6 needed at least when compiling with external ffmpeg, #939.
%patch6 -p1 -b .deepbind
%patch7 -p0 -b .multilib-devel
-find . -name "*.[hc]" | xargs chmod -c -x
-
# Avoid standard rpaths on lib64 archs:
sed -i -e 's|"/lib /usr/lib\b|"/%{_lib} %{_libdir}|' configure
@@ -147,9 +137,6 @@
%if 0%{?_without_imagemagick:1}
--without-imagemagick \
%endif
-%if 0%{!?_with_caca:1}
- --without-caca \
-%endif
%if 0%{?_with_freetype:1}
--with-freetype \
--with-fontconfig \
@@ -195,7 +182,7 @@
%files -f libxine1.lang
%defattr(-,root,root,-)
-%doc AUTHORS COPYING CREDITS ChangeLog* README TODO
+%doc AUTHORS COPYING COPYING.LIB CREDITS ChangeLog* README TODO
%doc __docs/README.* __docs/faq.*
%dir %{codecdir}
%{_datadir}/xine
@@ -204,6 +191,7 @@
%dir %{_libdir}/xine/
%dir %{_libdir}/xine/plugins/
%dir %{_libdir}/xine/plugins/%{version}/
+%{_libdir}/xine/plugins/%{version}/mime.types
# Listing every plugin separately for better control over binary packages
# containing exactly the plugins we want, nothing accidentally snuck in
# nor dropped.
@@ -233,13 +221,13 @@
%{_libdir}/xine/plugins/%{version}/xineplug_ao_out_none.so
%{_libdir}/xine/plugins/%{version}/xineplug_ao_out_oss.so
%{_libdir}/xine/plugins/%{version}/xineplug_decode_bitplane.so
+%{_libdir}/xine/plugins/%{version}/xineplug_decode_gsm610.so
%{_libdir}/xine/plugins/%{version}/xineplug_decode_lpcm.so
%{_libdir}/xine/plugins/%{version}/xineplug_decode_mpc.so
%ifarch %ix86
%{_libdir}/xine/plugins/%{version}/xineplug_decode_qt.so
%endif
%{_libdir}/xine/plugins/%{version}/xineplug_decode_real.so
-%{_libdir}/xine/plugins/%{version}/xineplug_decode_real_audio.so
%{_libdir}/xine/plugins/%{version}/xineplug_decode_rgb.so
%{_libdir}/xine/plugins/%{version}/xineplug_decode_speex.so
%{_libdir}/xine/plugins/%{version}/xineplug_decode_spudvb.so
@@ -307,9 +295,7 @@
%{_libdir}/xine/plugins/%{version}/xineplug_inp_gnome_vfs.so
%{_libdir}/xine/plugins/%{version}/xineplug_inp_smb.so
%{_libdir}/xine/plugins/%{version}/xineplug_vo_out_aa.so
-%if 0%{?_with_caca:1}
%{_libdir}/xine/plugins/%{version}/xineplug_vo_out_caca.so
-%endif
%if 0%{!?_without_directfb:1}
%{_libdir}/xine/plugins/%{version}/xineplug_vo_out_directfb.so
%endif
@@ -329,6 +315,11 @@
%changelog
+* Wed Apr 11 2007 Ville Skyttä <ville.skytta at iki.fi> - 1.1.5-1
+- 1.1.5.
+- Include GSM 06.10 decoder (#228186).
+- Re-enable CACA support.
+
* Sun Apr 8 2007 Ville Skyttä <ville.skytta at iki.fi>
- Exclude vidix dir on systems that don't have vidix.
- Specfile cleanups.
--- xine-lib-1.1.1-multilib-devel.patch DELETED ---
--- xine-lib-1.1.3-legacy-flac-init.patch DELETED ---
--- xine-lib-1.1.4-CVE-2007-1246.patch DELETED ---
--- xine-lib-1.1.4-ftfree.patch DELETED ---
More information about the fedora-extras-commits
mailing list