packages: crossmingw32-libvorbis/crossmingw32-libvorbis.spec, crossmingw32-...

qboosh qboosh at pld-linux.org
Wed Sep 8 07:51:03 CEST 2010


Author: qboosh                       Date: Wed Sep  8 05:51:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.3.1
- removed obsolete libtool patch

---- Files affected:
packages/crossmingw32-libvorbis:
   crossmingw32-libvorbis.spec (1.6 -> 1.7) , libvorbis-ac_fixes.patch (1.3 -> 1.4) , crossmingw32-libvorbis-libtool.patch (1.1 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: packages/crossmingw32-libvorbis/crossmingw32-libvorbis.spec
diff -u packages/crossmingw32-libvorbis/crossmingw32-libvorbis.spec:1.6 packages/crossmingw32-libvorbis/crossmingw32-libvorbis.spec:1.7
--- packages/crossmingw32-libvorbis/crossmingw32-libvorbis.spec:1.6	Mon Jan 14 20:28:19 2008
+++ packages/crossmingw32-libvorbis/crossmingw32-libvorbis.spec	Wed Sep  8 07:50:58 2010
@@ -3,21 +3,20 @@
 Summary:	The Vorbis General Audio Compression Codec - Mingw32 cross version
 Summary(pl.UTF-8):	Kodek kompresji audio - Vorbis - wersja skrośna dla Mingw32
 Name:		crossmingw32-%{realname}
-Version:	1.2.0
+Version:	1.3.1
 Release:	1
 License:	BSD
 Group:		Libraries
 Source0:	http://downloads.xiph.org/releases/vorbis/%{realname}-%{version}.tar.bz2
-# Source0-md5:	7c6e409d7aa1fa8a5481dea571d5bde0
+# Source0-md5:	90b1eb86e6d57694ffdfc2e4d8c7a64e
 Patch0:		%{realname}-ac_fixes.patch
 Patch1:		%{realname}-make.patch
-Patch2:		%{name}-libtool.patch
 URL:		http://www.vorbis.com/
-BuildRequires:	crossmingw32-gcc
-BuildRequires:	crossmingw32-libogg
+BuildRequires:	crossmingw32-gcc >= 3.0
+BuildRequires:	crossmingw32-libogg >= 1.0
 BuildRequires:	crossmingw32-w32api
 BuildRequires:	pkgconfig >= 1:0.15
-Requires:	crossmingw32-libogg
+Requires:	crossmingw32-libogg >= 1.0
 Requires:	crossmingw32-runtime
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -34,9 +33,12 @@
 %define		__cc			%{target}-gcc
 %define		__cxx			%{target}-g++
 
-%ifarch alpha sparc sparc64 sparcv9
+%ifnarch %{ix86}
+# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
 %define		optflags	-O2
 %endif
+# -z options are invalid for mingw linker
+%define		filterout_ld	-Wl,-z,.*
 
 %description
 Ogg Vorbis is a fully open, non-proprietary, patent-and-royalty-free,
@@ -68,7 +70,7 @@
 Summary:	DLL libvorbis library for Windows
 Summary(pl.UTF-8):	Biblioteka DLL libvorbis dla Windows
 Group:		Applications/Emulators
-Requires:	crossmingw32-libogg-dll
+Requires:	crossmingw32-libogg-dll >= 1.0
 Requires:	wine
 
 %description dll
@@ -81,12 +83,11 @@
 %setup -q -n %{realname}-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -111,7 +112,7 @@
 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
 %endif
 
-rm -rf $RPM_BUILD_ROOT%{_datadir}/{aclocal,doc}
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/{aclocal,doc}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -148,6 +149,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/09/08 05:50:58  qboosh
+- updated to 1.3.1
+- removed obsolete libtool patch
+
 Revision 1.6  2008/01/14 19:28:19  qboosh
 - force %{_lib}-independent libdir
 

================================================================
Index: packages/crossmingw32-libvorbis/libvorbis-ac_fixes.patch
diff -u packages/crossmingw32-libvorbis/libvorbis-ac_fixes.patch:1.3 packages/crossmingw32-libvorbis/libvorbis-ac_fixes.patch:1.4
--- packages/crossmingw32-libvorbis/libvorbis-ac_fixes.patch:1.3	Thu Jan  3 10:45:39 2002
+++ packages/crossmingw32-libvorbis/libvorbis-ac_fixes.patch	Wed Sep  8 07:50:58 2010
@@ -1,26 +1,34 @@
-diff -urN libvorbis-1.0rc1.org/configure.in libvorbis-1.0rc1/configure.in
---- libvorbis-1.0rc1.org/configure.in	Wed Jun 27 12:15:22 2001
-+++ libvorbis-1.0rc1/configure.in	Wed Jun 27 12:16:11 2001
-@@ -76,9 +76,9 @@
+diff -urN libvorbis-1.2.2/configure.ac libvorbis-1.2.2.new/configure.ac
+--- libvorbis-1.2.2/configure.ac	2009-06-24 17:23:47.000000000 +0200
++++ libvorbis-1.2.2.new/configure.ac	2009-07-01 22:02:18.620749535 +0200
+@@ -109,9 +109,9 @@
  	case $host in 
  	*86-*-linux*)
- 		DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+ 		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
 -		CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
 +		CFLAGS="$CFLAGS -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
- #              	PROFILE="-Wall -W -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
--		PROFILE="-Wall -W -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
-+		PROFILE="-Wall -W -pg -g $CFLAGS -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
+ #              	PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
+-		PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
++		PROFILE="-Wall -Wextra -pg -g $CFLAGS -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
  
  		# glibc < 2.1.3 has a serious FP bug in the math inline header
  		# that will cripple Vorbis.  Look to see if the magic FP stack
-@@ -121,8 +121,8 @@
+@@ -153,13 +153,13 @@
+   		PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
    		fi;;
+ 	powerpc-*-linux*)
+-		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
+-		CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
+-		PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT";;
++		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
++		CFLAGS="$CFLAGS -Wall -Wextra -mfused-madd -D_REENTRANT -fsigned-char"
++		PROFILE="-pg -g $CFLAGS -mfused-madd -D_REENTRANT -fsigned-char";;
  	*-*-linux*)
- 		DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
--		CFLAGS="-O20 -ffast-math -D_REENTRANT -fsigned-char"
+ 		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
+-		CFLAGS="-O20 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"
 -		PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
-+		CFLAGS="$CFLAGS -ffast-math -D_REENTRANT -fsigned-char"
++		CFLAGS="$CFLAGS -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"
 +		PROFILE="-pg -g $CFLAGS -ffast-math -D_REENTRANT -fsigned-char";;
  	sparc-sun-*)
- 		DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char -mv8"
- 		CFLAGS="-O20 -ffast-math -D__NO_MATH_INLINES -fsigned-char -mv8"
+ 		sparc_cpu=""
+ 		AC_MSG_CHECKING([if gcc supports -mv8])
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crossmingw32-libvorbis/crossmingw32-libvorbis.spec?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crossmingw32-libvorbis/libvorbis-ac_fixes.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list