[vlc-devel] commit: Contribs update: (Jean-Baptiste Kempf )
git version control
git at videolan.org
Wed Jul 2 08:15:20 CEST 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at altair.videolan.org> | Wed Jul 2 08:12:46 2008 +0200| [d60188f5d3fd839757214cdbf8f4446d2f931ac8]
Contribs update:
- liboil bump
- libschroedinger bump (remove unneeded patches)
- libmp3lame (new patch added)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d60188f5d3fd839757214cdbf8f4446d2f931ac8
---
extras/contrib/src/Makefile | 3 +-
.../contrib/src/Patches/libmp3lame-mingw32.patch | 11 ++++
.../libschroedinger-fix-build-OSX-test.patch | 24 ---------
.../Patches/libschroedinger-fix-build-OSX.patch | 52 --------------------
extras/contrib/src/packages.mak | 6 +-
5 files changed, 15 insertions(+), 81 deletions(-)
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 39cd7b8..c2ee18f 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -933,6 +933,7 @@ lame-$(LAME_VERSION).tar.gz:
lame: lame-$(LAME_VERSION).tar.gz
$(EXTRACT_GZ)
+ patch -p0 < Patches/libmp3lame-mingw32.patch
.lame: lame
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-analyser-hooks --disable-decoder --disable-shared --disable-gtktest --disable-frontend && make && make install)
@@ -2441,8 +2442,6 @@ schroedinger-$(SCHROED_VERSION).tar.gz:
schroedinger: schroedinger-$(SCHROED_VERSION).tar.gz
$(EXTRACT_GZ)
- patch -d schroedinger -p1 < Patches/libschroedinger-fix-build-OSX.patch
- patch -d schroedinger -p1 < Patches/libschroedinger-fix-build-OSX-test.patch
.schroedinger: schroedinger .liboil
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) && make && make install)
diff --git a/extras/contrib/src/Patches/libmp3lame-mingw32.patch b/extras/contrib/src/Patches/libmp3lame-mingw32.patch
new file mode 100644
index 0000000..d2d916e
--- /dev/null
+++ b/extras/contrib/src/Patches/libmp3lame-mingw32.patch
@@ -0,0 +1,11 @@
+--- lame-3.98b8/mpglib/mpglib.h 2006-06-16 01:51:49.000000000 +0200
++++ lame/mpglib/mpglib.h 2008-07-02 07:56:40.000000000 +0200
+@@ -57,7 +57,7 @@
+ } MPSTR, *PMPSTR;
+
+
+-#if ( defined(_MSC_VER) || defined(__BORLANDC__) )
++#if ( defined(_MSC_VER) || defined(__BORLANDC__) || defined( WIN32 ) )
+ typedef int BOOL; /* windef.h contains the same definition */
+ #else
+ #define BOOL int
diff --git a/extras/contrib/src/Patches/libschroedinger-fix-build-OSX-test.patch b/extras/contrib/src/Patches/libschroedinger-fix-build-OSX-test.patch
deleted file mode 100644
index 336a28f..0000000
--- a/extras/contrib/src/Patches/libschroedinger-fix-build-OSX-test.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From: David Schleef <ds at hutch.local>
-Date: Mon, 23 Jun 2008 20:24:34 +0000 (-0700)
-Subject: [build] Remove i386-only test. not useful.
-X-Git-Url: http://diracvideo.org/git?p=schroedinger.git;a=commitdiff_plain;h=03a9d4cee3c42715a5b7370d7a62f3d788c77e2a
-
-[build] Remove i386-only test. not useful.
----
-
-diff --git a/testsuite/prototype/Makefile.am b/testsuite/prototype/Makefile.am
-index 0513faf..8b13789 100644
---- a/testsuite/prototype/Makefile.am
-+++ b/testsuite/prototype/Makefile.am
-@@ -1,11 +1 @@
-
--if HAVE_I386
--noinst_PROGRAMS = arith_speed
--endif
--
--AM_CFLAGS = $(SCHRO_CFLAGS) $(ERROR_CFLAGS) $(LIBOIL_CFLAGS) \
-- -DSCHRO_ENABLE_UNSTABLE_API
--LDADD = $(SCHRO_LIBS)
--
--arith_speed_SOURCES = arith_speed.c
--
diff --git a/extras/contrib/src/Patches/libschroedinger-fix-build-OSX.patch b/extras/contrib/src/Patches/libschroedinger-fix-build-OSX.patch
deleted file mode 100644
index 7a014bc..0000000
--- a/extras/contrib/src/Patches/libschroedinger-fix-build-OSX.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From: David Schleef <ds at ginger.bigkitten.com>
-Date: Tue, 10 Jun 2008 18:48:06 +0000 (-0700)
-Subject: [core] Check number of processors correctly on OS/X. Patch from
-X-Git-Url: http://diracvideo.org/git?p=schroedinger.git;a=commitdiff_plain;h=7e125aa636e520393ebf8e9315d3956e399f4175
-
-[core] Check number of processors correctly on OS/X. Patch from
-Karl Rasche <karlrasche at gmail.com>
----
-
-diff --git a/schroedinger/schroasync-pthread.c b/schroedinger/schroasync-pthread.c
-index 3a975e0..60bf1c1 100644
---- a/schroedinger/schroasync-pthread.c
-+++ b/schroedinger/schroasync-pthread.c
-@@ -13,6 +13,10 @@
- #include <sys/time.h>
- #include <time.h>
-
-+#ifdef __APPLE__
-+#include <sys/sysctl.h>
-+#endif
-+
- enum {
- STATE_IDLE,
- STATE_BUSY,
-@@ -79,14 +83,23 @@ schro_async_new(int n_threads,
- }
- }
- if (n_threads == 0) {
--#ifndef _WIN32
-- n_threads = sysconf(_SC_NPROCESSORS_CONF);
--#else
-+#ifdef _WIN32
- const char *s = getenv("NUMBER_OF_PROCESSORS");
- if (s) {
- n_threads = atoi(s);
- }
--#endif
-+#elif defined __APPLE__
-+ {
-+ int mib[] = {CTL_HW, HW_NCPU};
-+ size_t dataSize = sizeof(int);
-+
-+ if (sysctl(mib, 2, &n_threads, &dataSize, NULL, 0)) {
-+ n_threads = 0;
-+ }
-+ }
-+#else
-+ n_threads = sysconf(_SC_NPROCESSORS_CONF);
-+#endif
- }
- if (n_threads == 0) {
- n_threads = 1;
diff --git a/extras/contrib/src/packages.mak b/extras/contrib/src/packages.mak
index be4a348..e0b8018 100644
--- a/extras/contrib/src/packages.mak
+++ b/extras/contrib/src/packages.mak
@@ -93,7 +93,7 @@ FAAD2_URL=$(SF)/faac/faad2-$(FAAD2_VERSION).tar.gz
FAAD2_CVSROOT=:pserver:anonymous at cvs.audiocoding.com:/cvsroot/faac
FAAC_VERSION=1.26
FAAC_URL=$(SF)/faac/faac-$(FAAC_VERSION).tar.gz
-LAME_VERSION=3.97
+LAME_VERSION=3.98b8
LAME_URL=$(SF)/lame/lame-$(LAME_VERSION).tar.gz
LIBEBML_VERSION=0.7.8
LIBEBML_URL=http://dl.matroska.org/downloads/libebml/libebml-$(LIBEBML_VERSION).tar.bz2
@@ -225,7 +225,7 @@ FLUID_URL=http://download.savannah.gnu.org/releases/fluid/fluidsynth-$(FLUID_VER
YASM_VERSION=0.7.0
YASM_URL=$(VIDEOLAN)/testing/contrib/yasm-$(YASM_VERSION).tar.gz
#YASM_URL=http://www.tortall.net/projects/yasm/releases/yasm-$(YASM_VERSION).tar.gz
-OIL_VERSION=0.3.14
+OIL_VERSION=0.3.15
OIL_URL=http://liboil.freedesktop.org/download/liboil-$(OIL_VERSION).tar.gz
-SCHROED_VERSION=1.0.3
+SCHROED_VERSION=1.0.4
SCHROED_URL=http://www.diracvideo.org/download/schroedinger/schroedinger-$(SCHROED_VERSION).tar.gz
More information about the vlc-devel
mailing list