Commit 7185fa90 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Backport to 0.8.5-1 of all contrib updates on trunk between [15211] and [16403]

parent 958b1c8b
......@@ -43,11 +43,6 @@ fi
rm -f config.mak
echo -e "# Automatically generated by bootstrap.\n# Make changes if you know what you're doing.\n" > config.mak
echo "BUILD = $BUILD" >> config.mak
echo "HOST = $HOST" >> config.mak
echo "PREFIX = `pwd`" >> config.mak
if test "$HOST" != "$BUILD"; then
CC="${HOST}-gcc"
CXX="${HOST}-g++"
......@@ -73,8 +68,8 @@ case $HOST in
echo "HAVE_DARWIN_OS = 1" >> config.mak
echo "ENVP = MACOSX_DEPLOYMENT_TARGET=${SDK_TARGET}" >> config.mak
echo "MACOSX_SDK = /Developer/SDKs/MacOSX10.3.9.sdk" >> config.mak
EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
#EXTRA_CFLAGS=" -D\${ENVP} -isysroot \${MACOSX_SDK}"
#EXTRA_LDFLAGS=" -isysroot \${MACOSX_SDK} -Wl,-syslibroot,\${MACOSX_SDK}"
echo "PATH = /bin:/usr/bin:/usr/local/bin" >> config.mak
;;
i686-apple-darwin8)
......@@ -117,10 +112,11 @@ case $HOST in
;;
i686-pc-cygwin)
echo "HAVE_WIN32 = 1" >> config.mak
CC="gcc -mno-cygwin"
CXX="g++ -mno-cygwin"
EXTRA_CFLAGS=" -mno-cygwin"
EXTRA_CPPFLAGS=" -mno-cygwin"
CC="gcc -mno-cygwin -isystem /usr/include/mingw"
CXX="g++ -mno-cygwin -isystem /usr/include/mingw"
HOST=`$CC -dumpmachine`
EXTRA_CFLAGS=" -mno-cygwin -isystem /usr/include/mingw"
EXTRA_CPPFLAGS=" -mno-cygwin -isystem /usr/include/mingw"
EXTRA_LDFLAGS=" -mno-cygwin"
echo "PKG_CONFIG_PATH = \$(PREFIX)/lib/pkgconfig" >> config.mak
;;
......@@ -133,6 +129,11 @@ case $HOST in
;;
esac
echo "BUILD = $BUILD" >> config.mak
echo "HOST = $HOST" >> config.mak
echo "PREFIX = `pwd`" >> config.mak
echo "CC = ${CC}" >> config.mak
echo "CXX = ${CXX}" >> config.mak
echo "LD = ${LD}" >> config.mak
......@@ -156,6 +157,8 @@ if test -f /sw/bin/svn; then
echo "SVN = /sw/bin/svn" >> config.mak
elif test -f /usr/local/bin/svn; then
echo "SVN = /usr/local/bin/svn" >> config.mak
elif test -f /opt/local/bin/svn; then
echo "SVN = /opt/local/bin/svn" >> config.mak
elif svn help >/dev/null 2>&1; then
echo "SVN = svn" >> config.mak
else
......
This diff is collapsed.
This diff is collapsed.
Index: libavutil/common.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavutil/common.h,v
retrieving revision 1.153
diff -u -r1.153 common.h
--- ffmpeg.orig/libavutil/common.h 19 Sep 2005 23:26:47 -0000 1.153
+++ ffmpeg/libavutil/common.h 1 Nov 2005 21:40:31 -0000
@@ -543,7 +543,7 @@
}\
}
-#ifndef HAVE_LRINTF
+#if !defined(HAVE_LRINTF) && !defined(__MINGW32__)
/* XXX: add ISOC specific test to avoid specific BSD testing. */
/* better than nothing implementation. */
/* btw, rintf() is existing on fbsd too -- alex */
--- gnutls.orig/lib/gnutls_buffers.c 2006-03-08 18:26:31.000000000 +0100
+++ gnutls/lib/gnutls_buffers.c 2006-03-08 18:25:58.000000000 +0100
@@ -244,7 +244,11 @@
_gnutls_read_log("READ: %d returned from %d, errno=%d\n", i,
fd, errno);
--- gnutls-1.4.0/lib/gnutls_buffers.c 2006-03-08 11:44:59.000000000 +0100
+++ gnutls/lib/gnutls_buffers.c 2006-07-12 14:29:06.000000000 +0200
@@ -275,9 +275,12 @@
{
_gnutls_read_log ("READ: %d returned from %d, errno=%d\n", i,
fd, errno);
-
+#ifdef _WIN32
+ if (WSAGetLastError() == WSAEWOULDBLOCK) {
+ if (WSAGetLastError() == WSAEWOULDBLOCK) {
+#else
if (errno == EAGAIN || errno == EINTR) {
if (errno == EAGAIN || errno == EINTR)
{
+#endif
if (sizeOfPtr - left > 0) {
if (sizeOfPtr - left > 0)
{
_gnutls_read_log("READ: returning %d bytes from %d\n",
@@ -635,7 +639,11 @@
left);
@@ -707,8 +710,12 @@
if (i == -1) {
if (i == -1)
{
+#ifdef _WIN32
+ if (WSAGetLastError() == WSAEWOULDBLOCK) {
+ if (WSAGetLastError() == WSAEWOULDBLOCK) {
+#else
if (errno == EAGAIN || errno == EINTR) {
if (errno == EAGAIN || errno == EINTR)
{
+#endif
session->internals.record_send_buffer_prev_size +=
n - left;
session->internals.record_send_buffer_prev_size += n - left;
retval =
--- configure.in.orig 2006-07-13 17:23:23.000000000 +0200
+++ configure.in 2006-07-13 17:23:37.000000000 +0200
@@ -58,7 +58,7 @@
dnl ARCH
case "$host" in
i*86-*-*)
- AC_DEFINE(HAVE_MMX)
+# AC_DEFINE(HAVE_MMX)
AC_DEFINE(CPU_X86)
HAVE_MMX="yes"
;;
--- libgpg-error/src/gpg-error.c 2005-12-18 15:24:34.000000000 +0000
+++ libgpg-error.patch/src/gpg-error.c 2006-07-27 23:10:46.000000000 +0100
@@ -78,10 +78,14 @@
locale_dir = get_locale_dir ();
if (locale_dir)
{
+#ifdef ENABLE_NLS
bindtextdomain (PACKAGE, locale_dir);
+#endif
drop_locale_dir (locale_dir);
}
+#ifdef ENABLE_NLS
textdomain (PACKAGE);
+#endif
}
......@@ -3,9 +3,9 @@ Index: include/ogg/os_types.h
RCS file: /usr/local/cvsroot/ogg/include/ogg/os_types.h,v
retrieving revision 1.12
diff -u -r1.12 os_types.h
--- include/ogg/os_types.h 18 Sep 2002 04:42:09 -0000 1.12
+++ include/ogg/os_types.h 18 Apr 2003 13:48:18 -0000
@@ -24,7 +24,7 @@
--- libogg/include/ogg/os_types.h 18 Sep 2002 04:42:09 -0000 1.12
+++ libogg/include/ogg/os_types.h 18 Apr 2003 13:48:18 -0000
@@ -27,7 +27,7 @@
#define _ogg_realloc realloc
#define _ogg_free free
......
--- ../libogg-1.1.3/configure.in 2005-11-28 05:26:07.000000000 +0100
+++ configure.in 2006-07-11 19:52:15.000000000 +0200
@@ -45,27 +45,27 @@
case $host in
*-*-linux*)
DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -ffast-math -fsigned-char"
+ EXTRA_CFLAGS="-O20 -ffast-math -fsigned-char"
PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
;;
sparc-sun-*)
DEBUG="-g -Wall -fsigned-char -mv8"
- CFLAGS="-O20 -ffast-math -fsigned-char -mv8"
+ EXTRA_CFLAGS="-O20 -ffast-math -fsigned-char -mv8"
PROFILE="-pg -g -O20 -fsigned-char -mv8"
;;
*-*-darwin*)
DEBUG="-fno-common -g -Wall -fsigned-char"
- CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
+ EXTRA_CFLAGS="-fno-common -O4 -Wall -fsigned-char -ffast-math"
PROFILE="-fno-common -O4 -Wall -pg -g -fsigned-char -ffast-math"
;;
*)
DEBUG="-g -Wall -fsigned-char"
- CFLAGS="-O20 -fsigned-char"
+ EXTRA_CFLAGS="-O20 -fsigned-char"
PROFILE="-O20 -g -pg -fsigned-char"
;;
esac
fi
-CFLAGS="$CFLAGS $cflags_save"
+CFLAGS="$EXTRA_CFLAGS $cflags_save"
DEBUG="$DEBUG $cflags_save"
PROFILE="$PROFILE $cflags_save"
diff -ruN libogg-1.1.2/configure.in libogg/configure.in
--- libogg-1.1.2/configure.in 2004-09-23 15:30:58.000000000 +0200
+++ libogg/configure.in 2005-11-14 22:16:04.000000000 +0100
@@ -28,17 +28,17 @@
case $host in
*-*-irix*)
DEBUG="-g -signed"
- CFLAGS="-O2 -w -signed"
+ EXTRA_CFLAGS="-O2 -w -signed"
PROFILE="-p -g3 -O2 -signed"
;;
sparc-sun-solaris*)
DEBUG="-v -g"
- CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
+ EXTRA_CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc"
;;
*)
DEBUG="-g"
- CFLAGS="-O"
+ EXTRA_CFLAGS="-O"
PROFILE="-g -p"
;;
esac
@@ -46,30 +46,30 @@
--- /libogg-1.1.3/configure.in 2005-11-28 05:26:07.000000000 +0100
+++ libogg/configure.in 2006-07-11 19:52:15.000000000 +0200
@@ -45,27 +45,27 @@
case $host in
*-*-linux*)
DEBUG="-g -Wall -fsigned-char"
......@@ -54,8 +32,4 @@ diff -ruN libogg-1.1.2/configure.in libogg/configure.in
+CFLAGS="$EXTRA_CFLAGS $cflags_save"
DEBUG="$DEBUG $cflags_save"
PROFILE="$PROFILE $cflags_save"
-LDFLAGS="$LDFLAGS $ldflags_save"
+LDFLAGS="$EXTRA_LDFLAGS $ldflags_save"
dnl Checks for programs.
--- libpng/scripts/makefile.darwin 2006-07-28 16:53:49.000000000 +0200
+++ libpng2/scripts/makefile.darwin 2006-07-28 16:45:50.000000000 +0200
@@ -65,7 +65,7 @@
pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
pngwtran.o pngmem.o pngerror.o pngpread.o
-OBJSDLL = $(OBJS:.o=.pic.o)
+OBJSDLL = $(OBJS:.o=.pic.o) pnggccrd.pic.o
.SUFFIXES: .c .o .pic.o
@@ -226,5 +226,6 @@
pngwtran.o pngwtran.pic.o: png.h pngconf.h
pngwutil.o pngwutil.pic.o: png.h pngconf.h
pngpread.o pngpread.pic.o: png.h pngconf.h
+pnggccrd.o pnggccrd.pic.o: png.h pngconf.h
pngtest.o: png.h pngconf.h
--- libpng-1.2.8/scripts/makefile.linux 2004-12-03 01:14:31.000000000 +0100
+++ libpng/scripts/makefile.linux 2006-07-14 10:12:00.000000000 +0200
@@ -13,7 +13,7 @@
# where "make install" puts libpng12.a, libpng12.so*,
# libpng12/png.h and libpng12/pngconf.h
# Prefix must be a full pathname.
-prefix=/usr/local
+prefix=$(PREFIX)
exec_prefix=$(prefix)
# Where the zlib library and include files are located.
@@ -53,7 +53,7 @@
# If you're going to install into a temporary location
# via DESTDIR, $(DESTDIR)$(prefix) must already exist before
# you execute make install.
-DESTDIR=
+#DESTDIR=
DB=$(DESTDIR)$(BINPATH)
DI=$(DESTDIR)$(INCPATH)
--- libpng/scripts/makefile.darwin.orig 2004-12-03 00:14:31.000000000 +0000
+++ libpng/scripts/makefile.darwin 2006-04-10 21:55:35.000000000 +0100
@@ -7,7 +7,7 @@
diff -ruN libpng-1.2.12/scripts/makefile.darwin libpng/scripts/makefile.darwin
--- libpng-1.2.12/scripts/makefile.darwin 2006-06-27 22:22:40.000000000 +0200
+++ libpng/scripts/makefile.darwin 2006-07-27 12:07:18.000000000 +0200
@@ -7,14 +7,14 @@
# For conditions of distribution and use, see copyright notice in png.h
# where "make install" puts libpng.a, libpng12.dylib, png.h and pngconf.h
-prefix=/usr/local
+prefix=??PREFIX??
exec_prefix=$(prefix)
# Where the zlib library and include files are located
#ZLIBLIB=/usr/local/lib
@@ -16,8 +16,8 @@
ZLIBINC=../zlib
-#ZLIBLIB=/usr/local/lib
-#ZLIBINC=/usr/local/include
-ZLIBLIB=../zlib
-ZLIBINC=../zlib
+ZLIBLIB=/usr/lib
+ZLIBINC=/usr/include
+#ZLIBLIB=../zlib
+#ZLIBINC=../zlib
# Library name:
LIBNAME = libpng12
@@ -38,8 +38,8 @@
RANLIB=ranlib
RM_F=/bin/rm -f
CC=cc
-CFLAGS=-I$(ZLIBINC) -Wall -O3 -funroll-loops
-LDFLAGS=-L. -L$(ZLIBLIB) -lpng12 -lz
+CFLAGS=??EXTRA_CFLAGS?? -I$(ZLIBINC) -Wall -O3 -funroll-loops
+LDFLAGS=??EXTRA_LDFLAGS?? -L. -L$(ZLIBLIB) -lpng12 -lz
#RANLIB=echo
RANLIB=ranlib
@@ -58,7 +58,7 @@
.c.pic.o:
$(CC) -c $(CFLAGS) -fno-common -o $@ $*.c
-all: libpng.a $(LIBNAME).dylib pngtest libpng.pc libpng-config
+all: libpng.a pngtest libpng.pc libpng-config
libpng.a: $(OBJS)
ar rc $@ $(OBJS)
@@ -164,7 +164,7 @@
INCPATH=$(prefix)/include
LIBPATH=$(exec_prefix)/lib
@@ -178,7 +178,7 @@
chmod 755 $(DB)/$(LIBNAME)-config
(cd $(DB); ln -sf $(LIBNAME)-config libpng-config)
(cd $(DB); $(LN_SF) $(LIBNAME)-config libpng-config)
-install: install-static install-shared install-man install-config
+install: install-static install-man install-config
......
--- scripts/makefile.cygwin 2004-12-03 00:14:31.000000000 +0000
+++ scripts/makefile.cygwin 2006-04-09 17:56:32.203125000 +0100
--- scripts/makefile.cygwin 2006-06-27 22:22:40.000000000 +0200
+++ scripts/makefile.cygwin 2006-07-12 13:18:15.000000000 +0200
@@ -35,7 +35,6 @@
# $CFLAGS, and include pnggccrd.o in $OBJS, below, and in the dependency
# list at the bottom of this makefile.
......@@ -8,7 +8,7 @@
ifdef MINGW
MINGW_CCFLAGS=-mno-cygwin -I/usr/include/mingw
MINGW_LDFLAGS=-mno-cygwin -L/usr/lib/mingw
@@ -43,13 +42,12 @@
@@ -43,14 +42,13 @@
# Where "make install" puts libpng*.a, *png*.dll, png.h, and pngconf.h
ifndef prefix
......@@ -16,6 +16,7 @@
-$(warning You haven't specified a 'prefix=' location. Defaulting to "/usr")
+prefix=??PREFIX??
endif
exec_prefix=$(prefix)
# Where the zlib library and include files are located
-ZLIBLIB= /usr/lib
......@@ -25,17 +26,17 @@
#ZLIBLIB=../zlib
#ZLIBINC=../zlib
@@ -94,7 +92,9 @@
@@ -95,7 +93,9 @@
LDEXTRA=-Wl,--out-implib=$(IMPLIB) $(addprefix -L,$(ZLIBLIB)) -lz
MKDIR=/bin/mkdir -pv
MKDIR_P=/bin/mkdir -pv
+ifndef RANLIB
RANLIB=ranlib
+endif
#RANLIB=echo
INCPATH=$(prefix)/include
@@ -173,10 +173,10 @@
@@ -174,7 +174,7 @@
$(CC) -c $(CFLAGS) -DPNG_BUILD_DLL -o $@ $<
$(STATLIB): $(OBJS)
......@@ -43,8 +44,4 @@
+ $(AR) rc $@ $(OBJS)
$(RANLIB) $@
-$(SHAREDDEF): scripts/png32ms.def
+$(SHAREDDEF): scripts/pngw32.def
cat $< | sed -e '1{G;s/^\(.*\)\(\n\)/EXPORTS/;};2,/^EXPORTS/d' | \
sed -e 's/\([^;]*\);/;/' > $@
$(SHAREDDEF): scripts/pngw32.def
......@@ -65,9 +65,7 @@ diff -ruN libvorbis-1.1.1/configure.in libvorbis/configure.in
esac
fi
-CFLAGS="$CFLAGS $cflags_save"
-LDFLAGS="$LDFLAGS $ldflags_save"
+CFLAGS="$EXTRA_CFLAGS $cflags_save"
+LDFLAGS="$EXTRA_LDFLAGS $ldflags_save"
dnl --------------------------------------------------
dnl Check for headers
......@@ -15,8 +15,8 @@ diff -ruN live.orig/config.macosx live/config.macosx
--- live.orig/config.macosx 2006-02-15 23:14:39.000000000 +0100
+++ live/config.macosx 2006-02-22 21:53:01.000000000 +0100
@@ -1,4 +1,4 @@
-COMPILE_OPTS = $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t
+COMPILE_OPTS = $(INCLUDES) -I. EXTRA_CFLAGS -DBSD=1 -O -DSOCKLEN_T=socklen_t -DUSE_LOCALE
-COMPILE_OPTS = $(INCLUDES) -I. -DBSD=1 -O -DSOCKLEN_T=socklen_t -DHAVE_SOCKADDR_LEN=1
+COMPILE_OPTS = $(INCLUDES) -I. EXTRA_CFLAGS -DBSD=1 -O -DSOCKLEN_T=socklen_t -DUSE_LOCALE -DHAVE_SOCKADDR_LEN=1
C = c
C_COMPILER = cc
C_FLAGS = $(COMPILE_OPTS)
......
diff -ruN speex/libspeex/testecho.c speex-2/libspeex/testecho.c
--- speex/libspeex/testecho.c 2006-02-11 22:39:51.000000000 +0000
+++ speex-2/libspeex/testecho.c 2006-08-01 12:00:22.000000000 +0000
@@ -22,6 +22,7 @@
short echo_buf[NN], ref_buf[NN], e_buf[NN];
SpeexEchoState *st;
SpeexPreprocessState *den;
+ int tmp = 8000;
if (argc != 4)
{
@@ -34,7 +35,6 @@
st = speex_echo_state_init(NN, TAIL);
den = speex_preprocess_state_init(NN, 8000);
- int tmp = 8000;
speex_echo_ctl(st, SPEEX_ECHO_SET_SAMPLING_RATE, &tmp);
while (read(ref_fd, ref_buf, NN*2))
diff -ru speex-1.1.10/libspeex/stack_alloc.h speex/libspeex/stack_alloc.h
--- speex-1.1.10/libspeex/stack_alloc.h 2005-04-25 07:58:00.000000000 +0000
+++ speex/libspeex/stack_alloc.h 2005-09-20 19:59:55.049666072 +0000
@@ -64,7 +64,7 @@
diff -ruN speex-1.1.12/libspeex/kiss_fft.h speex/libspeex/kiss_fft.h
--- speex-1.1.12/libspeex/kiss_fft.h 2005-12-22 12:14:33.000000000 +0100
+++ speex/libspeex/kiss_fft.h 2006-07-26 15:38:39.000000000 +0200
@@ -5,7 +5,7 @@
#include <stdio.h>
#include <math.h>
#include <memory.h>
-#include <malloc.h>
+//#include <malloc.h>
#ifdef __cplusplus
extern "C" {
diff -ruN speex-1.1.12/libspeex/stack_alloc.h speex/libspeex/stack_alloc.h
--- speex-1.1.12/libspeex/stack_alloc.h 2006-01-31 23:25:10.000000000 +0100
+++ speex/libspeex/stack_alloc.h 2006-07-26 15:38:04.000000000 +0200
@@ -109,7 +109,7 @@
#endif
-#if defined(VAR_ARRAYS)
+#if defined(VAR_ARRAYS) && !( defined(__GNUC__) && __GNUC__ < 3 )
+#if defined(VAR_ARRAYS) && !( defined(__GNUC__) && __GNUC__ < 3 )
#define VARDECL(var)
#define ALLOC(var, size, type) type var[size]
#elif defined(USE_ALLOCA)
diff -ruN speex-1.1.10/Makefile.am speex/Makefile.am
--- speex-1.1.10/Makefile.am Thu Jun 9 08:22:08 2005
+++ speex/Makefile.am Fri Aug 26 14:55:35 2005
diff -ruN speex-1.1.12/Makefile.am speex/Makefile.am
--- speex-1.1.12/Makefile.am 2005-11-23 12:42:56.000000000 +0100
+++ speex/Makefile.am 2006-07-26 15:38:04.000000000 +0200
@@ -13,9 +13,9 @@
EXTRA_DIST = Speex.spec Speex.spec.in Speex.kdevelop speex.m4 speex.pc.in
EXTRA_DIST = Speex.spec Speex.spec.in Speex.kdevelop speex.m4 speex.pc.in README.blackfin README.symbian README.TI-DSP
#Fools KDevelop into including all files
-SUBDIRS = libspeex include @src@ doc win32 symbian
+SUBDIRS = libspeex include doc win32 symbian
-SUBDIRS = libspeex include @src@ doc win32 symbian ti
+SUBDIRS = libspeex include doc win32 symbian ti
-DIST_SUBDIRS = libspeex include src doc win32 symbian
+DIST_SUBDIRS = libspeex include doc win32 symbian
-DIST_SUBDIRS = libspeex include src doc win32 symbian ti
+DIST_SUBDIRS = libspeex include doc win32 symbian ti
rpm: dist
rpmbuild -ta ${PACKAGE}-${VERSION}.tar.gz
diff -ruN speex-1.1.10/Makefile.in speex/Makefile.in
--- speex-1.1.10/Makefile.in Thu Jun 9 08:25:48 2005
+++ speex/Makefile.in Fri Aug 26 14:56:21 2005
diff -ruN speex-1.1.12/Makefile.in speex/Makefile.in
--- speex-1.1.12/Makefile.in 2006-02-10 11:13:16.000000000 +0100
+++ speex/Makefile.in 2006-07-26 15:38:04.000000000 +0200
@@ -194,8 +194,8 @@
EXTRA_DIST = Speex.spec Speex.spec.in Speex.kdevelop speex.m4 speex.pc.in
EXTRA_DIST = Speex.spec Speex.spec.in Speex.kdevelop speex.m4 speex.pc.in README.blackfin README.symbian README.TI-DSP
#Fools KDevelop into including all files
-SUBDIRS = libspeex include @src@ doc win32 symbian
-DIST_SUBDIRS = libspeex include src doc win32 symbian
+SUBDIRS = libspeex include doc win32 symbian
+DIST_SUBDIRS = libspeex include doc win32 symbian
-SUBDIRS = libspeex include @src@ doc win32 symbian ti
-DIST_SUBDIRS = libspeex include src doc win32 symbian ti
+SUBDIRS = libspeex include doc win32 symbian ti
+DIST_SUBDIRS = libspeex include doc win32 symbian ti
all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
Index: libtheora/lib/dsp.h
===================================================================
--- libtheora/lib/dsp.h (revision 11456)
+++ libtheora/lib/dsp.h (revision 11701)
@@ -20,5 +20,4 @@
#include <theora/theora.h>
-typedef unsigned long int ogg_uint64_t;
typedef struct
Index: libtheora/lib/x86_64/dsp_mmx.c
===================================================================
--- libtheora/lib/x86_64/dsp_mmx.c (revision 11441)
+++ libtheora/lib/x86_64/dsp_mmx.c (revision 11701)
@@ -20,4 +20,6 @@
#include "codec_internal.h"
#include "dsp.h"
+
+typedef unsigned long long ogg_uint64_t;
static const __attribute__ ((aligned(8),used)) ogg_int64_t V128 = 0x0080008000800080LL;
Index: libtheora/lib/x86_64/dsp_mmxext.c
===================================================================
--- libtheora/lib/x86_64/dsp_mmxext.c (revision 11441)
+++ libtheora/lib/x86_64/dsp_mmxext.c (revision 11701)
@@ -21,4 +21,6 @@
#include "dsp.h"
+typedef unsigned long long ogg_uint64_t;
+
static ogg_uint32_t sad8x8__mmxext (unsigned char *ptr1, ogg_uint32_t stride1,
unsigned char *ptr2, ogg_uint32_t stride2)
Index: libtheora/lib/x86_64/recon_mmx.c
===================================================================
--- libtheora/lib/x86_64/recon_mmx.c (revision 11441)
+++ libtheora/lib/x86_64/recon_mmx.c (revision 11701)
@@ -17,4 +17,6 @@
#include "codec_internal.h"
+
+typedef unsigned long long ogg_uint64_t;
static const __attribute__ ((aligned(8),used)) ogg_int64_t V128 = 0x8080808080808080LL;
diff -ruN libtheora-1.0alpha5/Makefile.am libtheora/Makefile.am
--- libtheora-1.0alpha5/Makefile.am Mon Aug 15 20:02:15 2005
+++ libtheora/Makefile.am Thu Aug 25 21:11:34 2005
@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
-SUBDIRS = lib include doc examples debian tests
+SUBDIRS = lib include doc debian tests
EXTRA_DIST = COPYING autogen.sh win32 libtheora.spec libtheora.spec.in \
theora-uninstalled.pc.in
diff -ruN libtheora-1.0alpha5/Makefile.in libtheora/Makefile.in
--- libtheora-1.0alpha5/Makefile.in Sat Aug 20 21:30:42 2005
+++ libtheora/Makefile.in Thu Aug 25 21:11:46 2005
@@ -224,7 +224,7 @@
target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
-SUBDIRS = lib include doc examples debian tests
+SUBDIRS = lib include doc debian tests
EXTRA_DIST = COPYING autogen.sh win32 libtheora.spec libtheora.spec.in \
theora-uninstalled.pc.in
diff -ruN libtheora-1.0alpha5/configure.ac libtheora/configure.ac
--- libtheora-1.0alpha5/configure.ac 2005-08-20 20:43:13.000000000 +0200
+++ libtheora/configure.ac 2005-11-14 22:49:14.000000000 +0100
@@ -89,7 +89,7 @@
diff -ruN libtheora-1.0alpha7/configure.ac libtheora/configure.ac
--- libtheora-1.0alpha7/configure.ac 2006-06-20 22:04:50.000000000 +0200
+++ libtheora/configure.ac 2006-07-11 20:08:04.000000000 +0200
@@ -88,7 +88,7 @@
case $host in
*)
DEBUG="-g"
DEBUG="-g -DDEBUG"
- CFLAGS="-O"
+ EXTRA_CFLAGS="-O"
PROFILE="-g -p" ;;
PROFILE="-g -p -DDEBUG" ;;
esac
else
@@ -97,12 +97,12 @@
@@ -96,11 +96,11 @@
case $host in
*)
DEBUG="-g -W -D__NO_MATH_INLINES"
- CFLAGS="-g -O2 -Wall"
+ EXTRA_CFLAGS="-g -O2 -Wall"
PROFILE="-W -pg -g -O2 -fno-inline-functions";;
DEBUG="-g -Wall -DDEBUG -D__NO_MATH_INLINES"
- CFLAGS="-Wall -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
+ EXTRA_CFLAGS="-Wall -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops"
PROFILE="-Wall -pg -g -O3 -fno-inline-functions -DDEBUG";;
esac
fi
-CFLAGS="$CFLAGS $cflags_save"
-LDFLAGS="$LDFLAGS $ldflags_save"
+CFLAGS="$EXTRA_CFLAGS $cflags_save"
+LDFLAGS="$EXTRA_LDFLAGS $ldflags_save"
dnl Set extra linker options
case "$target_os" in
cpu_x86_64=no
cpu_x86_32=no
diff -ruN libtheora-1.0alpha7/Makefile.am libtheora/Makefile.am
--- libtheora-1.0alpha7/Makefile.am 2006-06-13 00:57:36.000000000 +0200
+++ libtheora/Makefile.am 2006-07-11 20:04:43.000000000 +0200
@@ -2,7 +2,7 @@
AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
-SUBDIRS = lib include doc examples tests m4
+SUBDIRS = lib include doc tests m4
# we include the whole debian/ dir in EXTRA_DIST because there's a problem
# with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
diff -ruN libtheora-1.0alpha7/Makefile.in libtheora/Makefile.in
--- libtheora-1.0alpha7/Makefile.in 2006-06-20 22:06:56.000000000 +0200
+++ libtheora/Makefile.in 2006-07-11 20:05:06.000000000 +0200
@@ -231,7 +231,7 @@
target_os = @target_os@
target_vendor = @target_vendor@
AUTOMAKE_OPTIONS = foreign 1.6 dist-zip dist-bzip2
-SUBDIRS = lib include doc examples tests m4
+SUBDIRS = lib include doc tests m4
# we include the whole debian/ dir in EXTRA_DIST because there's a problem
# with autotools and HFS+ MacOSX file systems that caused debian/Makefile.am
diff -ruN twolame/configure twolame-2/configure
--- twolame/configure 2006-07-03 18:50:30.000000000 +0000
+++ twolame/configure 2006-08-01 11:47:41.000000000 +0000
@@ -21068,7 +21068,7 @@
-CFLAGS="$CFLAGS -std=c99 -Wunused -Wall"
+CFLAGS="$CFLAGS -Wunused -Wall"
LDFLAGS="$LDFLAGS"
# If debugging is enabled then make warnings errors
diff -ruN twolame/configure.ac twolame-2/configure.ac
--- twolame/configure.ac 2006-07-03 18:50:04.000000000 +0000
+++ twolame/configure.ac 2006-08-01 11:47:32.000000000 +0000
@@ -113,7 +113,7 @@
dnl ############## Compiler and Linker Flags
-CFLAGS="$CFLAGS -std=c99 -Wunused -Wall"
+CFLAGS="$CFLAGS -Wunused -Wall"
LDFLAGS="$LDFLAGS"
# If debugging is enabled then make warnings errors
Index: configure
===================================================================
--- configure (revision 473)
+++ configure (working copy)
@@ -7,6 +7,7 @@
echo "available options:"
echo ""
echo " --help print this message"
+echo " --crosscompile=ARCH crosscompile for ARCH"
echo " --enable-avis-input enables avisynth input (win32 only)"
echo " --enable-mp4-output enables mp4 output (using gpac)"
echo " --enable-vfw compiles the VfW frontend"
@@ -64,43 +65,143 @@
--- configure (rvision 547)
+++ configure (copie de travail)
@@ -66,48 +66,147 @@
EXE=""
......@@ -114,7 +106,6 @@ Index: configure
+ ;;
+ esac
+done
+
+
case "$UNAMES" in
- BeOS)
......@@ -138,6 +129,12 @@ Index: configure
SYS="NETBSD"
LDFLAGS="$LDFLAGS -lm"
;;
- OpenBSD)
+ openbsd)
SYS="OPENBSD"
CFLAGS="$CFLAGS -I/usr/X11R6/include"
LDFLAGS="$LDFLAGS -lm"
;;
- Linux)
+ linux)
SYS="LINUX"
......@@ -163,7 +160,7 @@ Index: configure
SYS="SunOS"
CFLAGS="$CFLAGS -DHAVE_MALLOC_H"
LDFLAGS="$LDFLAGS -lm"
@@ -112,9 +213,8 @@
@@ -119,9 +218,8 @@
;;
esac
......@@ -174,21 +171,20 @@ Index: configure
ARCH="X86"
CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
AS="nasm"
@@ -135,7 +235,7 @@
@@ -142,7 +240,7 @@
AS="yasm"
ASFLAGS="-f elf -m amd64"
;;
- "Power Macintosh"|ppc)
+ "power macintosh"|ppc)
- "Power Macintosh"|ppc|ppc64)
+ "power macintosh"|ppc|ppc64)
ARCH="PPC"
if [ $SYS = MACOSX ]
then
@@ -183,90 +283,7 @@
@@ -191,95 +289,6 @@
CFLAGS="$CFLAGS -DARCH_$ARCH -DSYS_$SYS"
-# parse options
# parse options
-
-for opt do
- optarg="${opt#*=}"
- case "$opt" in
......@@ -254,6 +250,12 @@ Index: configure
- --disable-vfw)
- vfw="no"
- ;;
- --enable-gtk)
- gtk="yes"
- ;;
- --disable-gtk)
- gtk="no"
- ;;
- --enable-shared)
- shared="yes"
- if [ $ARCH = "X86_64" -o $ARCH = "PPC" -o $ARCH = "ALPHA" ] ; then
......@@ -274,9 +276,9 @@ Index: configure
# autodetect options that weren't forced nor disabled
if test "$pthread" = "auto" ; then
@@ -351,6 +368,9 @@
ASFLAGS=$ASFLAGS
@@ -365,6 +374,9 @@
VFW=$vfw
GTK=$gtk
EXE=$EXE
+AR=$AR
+AROPTS=$AROPTS
......@@ -286,8 +288,8 @@ Index: configure
DEVNULL=$DEVNULL
Index: Makefile
===================================================================
--- Makefile (revision 473)
+++ Makefile (working copy)
--- Makefile (rvision 547)
+++ Makefile (copie de travail)
@@ -64,8 +64,8 @@
default: $(DEP) x264$(EXE)
......@@ -298,10 +300,10 @@ Index: Makefile
+ $(RANLIB) libx264.a
$(SONAME): .depend $(OBJS) $(OBJASM)
$(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME)
@@ -133,14 +133,14 @@
distclean: clean
$(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
@@ -138,14 +138,14 @@
rm -f config.mak config.h vfw/build/cygwin/config.mak x264.pc
$(MAKE) -C gtk distclean
-install: x264 $(SONAME)
+install: x264$(EXE)
......@@ -312,8 +314,8 @@ Index: Makefile
install -m 644 x264.pc $(DESTDIR)$(libdir)/pkgconfig
- install x264 $(DESTDIR)$(bindir)
- ranlib $(DESTDIR)$(libdir)/libx264.a
+ install x264$(EXE) $(DESTDIR)$(bindir)
+ install x264$(EXE) $(DESTDIR)$(bindir)
+ $(RANLIB) $(DESTDIR)$(libdir)/libx264.a
$(if $(SONAME), ln -sf $(DESTDIR)$(libdir)/$(SONAME) $(DESTDIR)$(libdir)/libx264.so)
$(if $(SONAME), ln -sf $(SONAME) $(DESTDIR)$(libdir)/libx264.so)
$(if $(SONAME), install -m 755 $(SONAME) $(DESTDIR)$(libdir))
......@@ -6,7 +6,7 @@
#
# Authors: Christophe Massiot <massiot@via.ecp.fr>
# Derk-Jan Hartman <hartman at videolan dot org>
# Felix Khne <fkuehne@users.sourceforge.net>
# Felix Kühne <fkuehne@users.sourceforge.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
......@@ -26,7 +26,7 @@
GNU=http://ftp.belnet.be/mirror/ftp.gnu.org/gnu
SF=http://switch.dl.sourceforge.net/sourceforge
VIDEOLAN=http://download.videolan.org/pub/videolan
PERL_VERSION=5.8.5
PERL_VERSION=5.8.8
PERL_URL=http://ftp.funet.fi/pub/CPAN/src/perl-$(PERL_VERSION).tar.gz
# Autoconf > 2.57 doesn't work ok on BeOS. Don't ask why.
# we have to use a newer though, because bootstrap won't work otherwise
......@@ -38,14 +38,14 @@ AUTOMAKE_VERSION=1.9.6
AUTOMAKE_URL=$(GNU)/automake/automake-$(AUTOMAKE_VERSION).tar.gz
PKGCFG_VERSION=0.15.0
PKGCFG_URL=http://pkgconfig.freedesktop.org/releases/pkgconfig-$(PKGCFG_VERSION).tar.gz
LIBICONV_VERSION=1.9.1
LIBICONV_VERSION=1.9.2
LIBICONV_URL=$(GNU)/libiconv/libiconv-$(LIBICONV_VERSION).tar.gz
GETTEXT_VERSION=0.14.5
GETTEXT_VERSION=0.14.6
GETTEXT_URL=$(GNU)/gettext/gettext-$(GETTEXT_VERSION).tar.gz
FREETYPE2_VERSION=2.1.9
FREETYPE2_URL=$(SF)/freetype/freetype-$(FREETYPE2_VERSION).tar.gz
FRIBIDI_VERSION=0.10.4
FRIBIDI_URL=$(SF)/fribidi/fribidi-$(FRIBIDI_VERSION).tar.gz
FRIBIDI_URL=http://fribidi.org/download/fribidi-$(FRIBIDI_VERSION).tar.gz
A52DEC_VERSION=0.7.4
A52DEC_URL=$(VIDEOLAN)/testing/contrib/a52dec-$(A52DEC_VERSION).tar.gz
MPEG2DEC_VERSION=0.4.1-cvs
......@@ -56,18 +56,18 @@ LIBID3TAG_VERSION=0.15.1b
LIBID3TAG_URL=$(VIDEOLAN)/testing/contrib/libid3tag-$(LIBID3TAG_VERSION).tar.gz
LIBMAD_VERSION=0.15.1b
LIBMAD_URL=$(VIDEOLAN)/testing/contrib/libmad-$(LIBMAD_VERSION).tar.gz
OGG_VERSION=1.1.2
OGG_VERSION=1.1.3
OGG_URL=http://downloads.xiph.org/releases/ogg/libogg-$(OGG_VERSION).tar.gz
OGG_CVSROOT=:pserver:anoncvs@xiph.org:/usr/local/cvsroot
VORBIS_VERSION=1.1.1
VORBIS_VERSION=1.1.2
VORBIS_URL=http://downloads.xiph.org/releases/vorbis/libvorbis-$(VORBIS_VERSION).tar.gz
THEORA_VERSION=1.0alpha5
THEORA_URL=$(VIDEOLAN)/testing/contrib/libtheora-$(THEORA_VERSION).tar.bz2
THEORA_VERSION=1.0alpha7
THEORA_URL=http://downloads.xiph.org/releases/theora/libtheora-$(THEORA_VERSION).tar.bz2
FLAC_VERSION=1.1.2
FLAC_URL=$(SF)/flac/flac-$(FLAC_VERSION).tar.gz
SPEEX_VERSION=1.1.10
SPEEX_VERSION=1.1.12
SPEEX_URL=http://downloads.us.xiph.org/releases/speex/speex-$(SPEEX_VERSION).tar.gz
SHOUT_VERSION=2.2
SHOUT_VERSION=2.2.2
SHOUT_URL=http://downloads.us.xiph.org/releases/libshout/libshout-$(SHOUT_VERSION).tar.gz
FAAD2_VERSION=20040923
FAAD2_URL=$(VIDEOLAN)/testing/contrib/faad2-$(FAAD2_VERSION).tar.bz2
......@@ -76,14 +76,14 @@ FAAC_VERSION=1.24
FAAC_URL=$(VIDEOLAN)/testing/contrib/faac-$(FAAC_VERSION).tar.bz2
LAME_VERSION=3.97b2
LAME_URL=$(SF)/lame/lame-$(LAME_VERSION).tar.gz
LIBEBML_VERSION=0.7.6
LIBEBML_VERSION=0.7.7
LIBEBML_URL=http://dl.matroska.org/downloads/libebml/libebml-$(LIBEBML_VERSION).tar.bz2
LIBMATROSKA_VERSION=0.8.0
LIBMATROSKA_URL=http://dl.matroska.org/downloads/libmatroska/libmatroska-$(LIBMATROSKA_VERSION).tar.bz2
FFMPEG_VERSION=0.4.8
FFMPEG_URL=$(SF)/ffmpeg/ffmpeg-$(FFMPEG_VERSION).tar.gz
FFMPEG_CVSROOT=:pserver:anonymous@mplayerhq.hu:/cvsroot/ffmpeg
LIBDVDCSS_VERSION=1.2.8
FFMPEG_SVN=svn://svn.mplayerhq.hu/ffmpeg/trunk
LIBDVDCSS_VERSION=1.2.9
LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.gz
LIBDVDREAD_VERSION=20041028
LIBDVDREAD_URL=$(VIDEOLAN)/contrib/libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
......@@ -101,8 +101,8 @@ LIBCACA_URL=http://sam.zoy.org/libcaca/libcaca-$(LIBCACA_VERSION).tar.gz
LIBDTS_VERSION=0.0.2
LIBDTS_URL=http://debian.unnet.nl/pub/videolan/libdts/$(LIBDTS_VERSION)/libdts-$(LIBDTS_VERSION).tar.gz
LIBDCA_SVN=svn://svn.videolan.org/libdca/trunk
MODPLUG_VERSION=0.7
MODPLUG_URL=$(VIDEOLAN)/testing/contrib/libmodplug-$(MODPLUG_VERSION).tar.gz
MODPLUG_VERSION=0.8
MODPLUG_URL=$(SF)/modplug-xmms/libmodplug-$(MODPLUG_VERSION).tar.gz
MASH_VERSION=5.2
MASH_URL=$(SF)/openmash/mash-src-$(MASH_VERSION).tar.gz
CDDB_VERSION=1.2.1
......@@ -111,15 +111,15 @@ VCDIMAGER_VERSION=0.7.21
VCDIMAGER_URL=$(GNU)/vcdimager/vcdimager-$(VCDIMAGER_VERSION).tar.gz
CDIO_VERSION=0.72
CDIO_URL=$(GNU)/libcdio/libcdio-$(CDIO_VERSION).tar.gz
PNG_VERSION=1.2.8
PNG_URL=$(VIDEOLAN)/testing/contrib/libpng-$(PNG_VERSION).tar.bz2
GPGERROR_VERSION=1.1
PNG_VERSION=1.2.12
PNG_URL=$(SF)/libpng/libpng-$(PNG_VERSION).tar.bz2
GPGERROR_VERSION=1.3
GPGERROR_URL=http://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-$(GPGERROR_VERSION).tar.gz
#GPGERROR_URL=$(VIDEOLAN)/testing/contrib/libgpg-error-$(GPGERROR_VERSION).tar.gz
GCRYPT_VERSION=1.2.2
GCRYPT_URL=http://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-$(GCRYPT_VERSION).tar.bz2
#GCRYPT_URL=$(VIDEOLAN)/testing/contrib/libgcrypt-$(GCRYPT_VERSION).tar.bz2
GNUTLS_VERSION=1.2.10
GNUTLS_VERSION=1.4.0
GNUTLS_URL=http://ftp.gnupg.org/gcrypt/gnutls/gnutls-$(GNUTLS_VERSION).tar.bz2
DAAP_VERSION=0.4.0
DAAP_URL=http://craz.net/programs/itunes/files/libopendaap-$(DAAP_VERSION).tar.bz2
......@@ -133,7 +133,7 @@ LIBIDL_WIN32_BIN_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win
GLIB_WIN32_BIN_URL=ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/historic/vc6/glib-19990228.zip
MOZILLA_VERSION=1.7.5
MOZILLA_URL=http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla$(MOZILLA_VERSION)/source/mozilla-source-$(MOZILLA_VERSION).tar.bz2
TWOLAME_VERSION=0.3.2
TWOLAME_VERSION=0.3.8
TWOLAME_URL=$(SF)/twolame/twolame-$(TWOLAME_VERSION).tar.gz
X264_VERSION=20050609
X264_URL=$(VIDEOLAN)/testing/contrib/x264-$(X264_VERSION).tar.gz
......@@ -145,15 +145,18 @@ SDL_VERSION=1.2.8
SDL_URL=http://www.libsdl.org/release/SDL-$(SDL_VERSION).tar.gz
SDL_IMAGE_VERSION=1.2.4
SDL_IMAGE_URL=http://www.libsdl.org/projects/SDL_image/release/SDL_image-$(SDL_IMAGE_VERSION).tar.gz
MUSE_VERSION=1.2.1
MUSE_URL=http://files.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
WXWIDGETS_VERSION=2.6.2
MUSE_VERSION=1.2.2
#MUSE_URL=http://files.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
MUSE_URL=http://files2.musepack.net/source/libmpcdec-$(MUSE_VERSION).tar.bz2
WXWIDGETS_VERSION=2.6.3
WXWIDGETS_URL=$(SF)/wxwindows/wxWidgets-$(WXWIDGETS_VERSION).tar.gz
QT4_VERSION=4.2.0-tp1
QT4_URL=$(VIDEOLAN)/testing/contrib/qt4-$(QT4_VERSION)-win32-bin.tar.gz
ZLIB_VERSION=1.2.3
ZLIB_URL=$(SF)/libpng/zlib-$(ZLIB_VERSION).tar.gz
XML_VERSION=2.6.20
XML_VERSION=2.6.26
XML_URL=ftp://xmlsoft.org/libxml2/libxml2-$(XML_VERSION).tar.gz
DIRAC_VERSION=0.5.3
DIRAC_VERSION=0.5.4
DIRAC_URL=$(SF)/dirac/dirac-$(DIRAC_VERSION).tar.gz
DX_HEADERS_URL=$(VIDEOLAN)/testing/contrib/win32-dx7headers.tgz
DSHOW_HEADERS_URL=$(VIDEOLAN)/contrib/dshow-headers.tgz
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment