Commit 5d772b7e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: Update dvdnav and dvdread to 4.2.0

They're alive!
parent 4c22ef2e
f9b9c52af870bc088bc8bbc7a64285dc55906dcfd11d6849d8a7b4046b083472c3e898609ec399a45059e10cffce0ef67ec2dec2ec4f0a1c904b9b6d2a85185f libdvdnav-4.2.0.tar.bz2
diff -ruN dvdnav-svn/Makefile.am dvdnav/Makefile.am diff -ruN libdvdnav/Makefile.am libdvdnav.new/Makefile.am
--- dvdnav-svn/Makefile.am 2008-06-18 17:06:33.000000000 +0200 --- libdvdnav/Makefile.am 2008-06-18 17:06:33.000000000 +0200
+++ dvdnav/Makefile.am 2011-08-06 18:38:10.243875945 +0200 +++ libdvdnav.new/Makefile.am 2011-10-11 01:02:18.768524699 +0200
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
include $(top_srcdir)/misc/Makefile.common include $(top_srcdir)/misc/Makefile.common
...@@ -10,9 +10,9 @@ diff -ruN dvdnav-svn/Makefile.am dvdnav/Makefile.am ...@@ -10,9 +10,9 @@ diff -ruN dvdnav-svn/Makefile.am dvdnav/Makefile.am
EXTRA_DIST = autogen.sh \ EXTRA_DIST = autogen.sh \
AUTHORS \ AUTHORS \
diff -ruN dvdnav-svn/src/vm/vm.c dvdnav/src/vm/vm.c diff -ruN libdvdnav/src/vm/vm.c libdvdnav.new/src/vm/vm.c
--- dvdnav-svn/src/vm/vm.c 2010-11-22 00:59:43.000000000 +0100 --- libdvdnav/src/vm/vm.c 2010-11-22 00:59:43.000000000 +0100
+++ dvdnav/src/vm/vm.c 2011-08-06 18:38:03.263841341 +0200 +++ libdvdnav.new/src/vm/vm.c 2011-10-11 01:02:07.852470536 +0200
@@ -174,12 +174,11 @@ @@ -174,12 +174,11 @@
fd = open(device, O_RDONLY); fd = open(device, O_RDONLY);
if (fd > 0) { if (fd > 0) {
......
# DVDNAV # DVDNAV
LIBDVDNAV_VERSION := 4.2.0
LIBDVDNAV_URL := http://dvdnav.mplayerhq.hu/releases/libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
ifdef BUILD_DISCS ifdef BUILD_DISCS
PKGS += dvdnav PKGS += dvdnav
endif endif
...@@ -7,16 +10,12 @@ ifeq ($(call need_pkg,"dvdnav"),) ...@@ -7,16 +10,12 @@ ifeq ($(call need_pkg,"dvdnav"),)
PKGS_FOUND += dvdnav PKGS_FOUND += dvdnav
endif endif
$(TARBALLS)/dvdnav-svn.tar.xz: $(TARBALLS)/libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2:
rm -Rf dvdnav-svn $(call download,$(LIBDVDNAV_URL))
$(SVN) export svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav dvdnav-svn
tar cvJ dvdnav-svn > $@
.sum-dvdnav: dvdnav-svn.tar.xz .sum-dvdnav: libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
$(warning Integrity check skipped.)
touch $@
dvdnav: dvdnav-svn.tar.xz .sum-dvdnav dvdnav: libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2 .sum-dvdnav
$(UNPACK) $(UNPACK)
$(APPLY) $(SRC)/dvdnav/dvdnav.patch $(APPLY) $(SRC)/dvdnav/dvdnav.patch
$(MOVE) $(MOVE)
......
192802a05f4b6561bd3d85ea54a29861d98ec947a5eeaa45a8d53389744c31570ee5dbdf3fbd0645ea8e6b254795e39d0948d54849dad99252155db00501b21f libdvdread-4.2.0.tar.bz2
# DVDREAD # DVDREAD
LIBDVDREAD_VERSION := 4.2.0
LIBDVDREAD_URL := http://dvdnav.mplayerhq.hu/releases/libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
ifdef BUILD_DISCS ifdef BUILD_DISCS
PKGS += dvdread PKGS += dvdread
endif endif
...@@ -7,16 +10,12 @@ ifeq ($(call need_pkg,"dvdread"),) ...@@ -7,16 +10,12 @@ ifeq ($(call need_pkg,"dvdread"),)
PKGS_FOUND += dvdread PKGS_FOUND += dvdread
endif endif
$(TARBALLS)/dvdread-svn.tar.xz: $(TARBALLS)/libdvdread-$(LIBDVDREAD_VERSION).tar.bz2:
rm -Rf dvdread-svn $(call download,$(LIBDVDREAD_URL))
$(SVN) export svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread dvdread-svn
tar cvJ dvdread-svn > $@
.sum-dvdread: dvdread-svn.tar.xz .sum-dvdread: libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
$(warning Integrity check skipped.)
touch $@
dvdread: dvdread-svn.tar.xz .sum-dvdread dvdread: libdvdread-$(LIBDVDREAD_VERSION).tar.bz2 .sum-dvdread
$(UNPACK) $(UNPACK)
$(APPLY) $(SRC)/dvdread/dvdread-css-static.patch $(APPLY) $(SRC)/dvdread/dvdread-css-static.patch
ifdef HAVE_WIN32 ifdef HAVE_WIN32
......
Index: src/vm/vm.c diff -ruN libdvdnav/Makefile.am libdvdnav.new/Makefile.am
=================================================================== --- libdvdnav/Makefile.am 2008-06-18 17:06:33.000000000 +0200
--- src/vm/vm.c (revision 1199) +++ libdvdnav.new/Makefile.am 2011-10-11 01:02:18.768524699 +0200
+++ src/vm/vm.c (working copy) @@ -1,7 +1,7 @@
@@ -172,12 +172,11 @@ include $(top_srcdir)/misc/Makefile.common
-SUBDIRS = src examples doc misc m4
+SUBDIRS = src misc m4
EXTRA_DIST = autogen.sh \
AUTHORS \
diff -ruN libdvdnav/src/vm/vm.c libdvdnav.new/src/vm/vm.c
--- libdvdnav/src/vm/vm.c 2010-11-22 00:59:43.000000000 +0100
+++ libdvdnav.new/src/vm/vm.c 2011-10-11 01:02:07.852470536 +0200
@@ -174,12 +174,11 @@
fd = open(device, O_RDONLY); fd = open(device, O_RDONLY);
if (fd > 0) { if (fd > 0) {
off = lseek( fd, 32 * (off_t) DVD_VIDEO_LB_LEN, SEEK_SET ); off = lseek( fd, 32 * (off_t) DVD_VIDEO_LB_LEN, SEEK_SET );
...@@ -17,7 +28,7 @@ Index: src/vm/vm.c ...@@ -17,7 +28,7 @@ Index: src/vm/vm.c
if((data[i] == 0)) break; if((data[i] == 0)) break;
if((data[i] > 32) && (data[i] < 127)) { if((data[i] > 32) && (data[i] < 127)) {
fprintf(MSG_OUT, "%c", data[i]); fprintf(MSG_OUT, "%c", data[i]);
@@ -185,10 +184,12 @@ @@ -187,10 +186,12 @@
fprintf(MSG_OUT, " "); fprintf(MSG_OUT, " ");
} }
} }
...@@ -33,16 +44,3 @@ Index: src/vm/vm.c ...@@ -33,16 +44,3 @@ Index: src/vm/vm.c
if((data[i] == 0)) break; if((data[i] == 0)) break;
if((data[i] > 32) && (data[i] < 127)) { if((data[i] > 32) && (data[i] < 127)) {
fprintf(MSG_OUT, "%c", data[i]); fprintf(MSG_OUT, "%c", data[i]);
Index: Makefile.am
===================================================================
--- Makefile.am (revision 1199)
+++ Makefile.am (working copy)
@@ -1,7 +1,7 @@
include $(top_srcdir)/misc/Makefile.common
-SUBDIRS = src examples doc misc m4
+SUBDIRS = src misc m4
EXTRA_DIST = autogen.sh \
AUTHORS \
...@@ -1169,8 +1169,11 @@ DISTCLEAN_PKG += libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2 ...@@ -1169,8 +1169,11 @@ DISTCLEAN_PKG += libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2
# *************************************************************************** # ***************************************************************************
# libdvdread: We use dvdnav's dvdread # libdvdread: We use dvdnav's dvdread
# *************************************************************************** # ***************************************************************************
libdvdread: libdvdread-$(LIBDVDREAD_VERSION).tar.bz2:
$(SVN) co -r $(LIBDVDREAD_SVN_REV) $(LIBDVDREAD_SVN) libdvdread $(WGET) $(LIBDVDREAD_URL)
libdvdread: libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
$(EXTRACT_BZ2)
(cd $@; patch -p 0 < ../Patches/libdvdread-dvdcss-static.patch) (cd $@; patch -p 0 < ../Patches/libdvdread-dvdcss-static.patch)
ifdef HAVE_WIN32 ifdef HAVE_WIN32
(cd $@; patch -p 0 < ../Patches/libdvdread-win32.patch) (cd $@; patch -p 0 < ../Patches/libdvdread-win32.patch)
...@@ -1184,29 +1187,19 @@ endif ...@@ -1184,29 +1187,19 @@ endif
CLEAN_FILE += .libdvdread CLEAN_FILE += .libdvdread
CLEAN_PKG += libdvdread CLEAN_PKG += libdvdread
#DISTCLEAN_PKG += libdvdread-$(LIBDVDREAD_VERSION).tar.gz DISTCLEAN_PKG += libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
# *************************************************************************** # ***************************************************************************
# libdvdnav # libdvdnav
# *************************************************************************** # ***************************************************************************
ifdef SVN libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2:
libdvdnav:
$(SVN) co -r $(LIBDVDNAV_SVN_REV) $(LIBDVDNAV_SVN) libdvdnav
patch -d libdvdnav -p0 < Patches/libdvdnav.patch
(cd $@; ./autogen.sh noconfig)
else
libdvdnav-$(LIBDVDNAV_VERSION).tar.gz:
$(WGET) $(LIBDVDNAV_URL) $(WGET) $(LIBDVDNAV_URL)
libdvdnav: libdvdnav-$(LIBDVDNAV_VERSION).tar.gz libdvdnav: libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
$(EXTRACT_GZ) $(EXTRACT_BZ2)
patch -p0 < Patches/libdvdnav.patch patch -p0 < Patches/libdvdnav.patch
ifdef HAVE_WIN32
patch -p0 < Patches/libdvdnav-win32.patch
endif
(cd $@; ./autogen.sh noconfig) (cd $@; ./autogen.sh noconfig)
endif
.dvdnav: libdvdnav .libdvdread .dvdnav: libdvdnav .libdvdread
ifdef HAVE_WIN32 ifdef HAVE_WIN32
......
...@@ -96,14 +96,10 @@ FFMPEG_GIT=git://git.videolan.org/ffmpeg.git ...@@ -96,14 +96,10 @@ FFMPEG_GIT=git://git.videolan.org/ffmpeg.git
#FFMPEG_GIT=git://git.libav.org/libav.git #FFMPEG_GIT=git://git.libav.org/libav.git
LIBDVDCSS_VERSION=1.2.10 LIBDVDCSS_VERSION=1.2.10
LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2 LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2
LIBDVDNAV_VERSION=4.1.1 LIBDVDNAV_VERSION=4.2.0
LIBDVDNAV_URL=http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-$(LIBDVDNAV_VERSION).tar.gz LIBDVDNAV_URL=http://dvdnav.mplayerhq.hu/releases/libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
LIBDVDNAV_SVN=svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav LIBDVDREAD_VERSION=4.2.0
LIBDVDNAV_SVN_REV=1211 LIBDVDREAD_URL=http://dvdnav.mplayerhq.hu/releases/libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
LIBDVDREAD_SVN=svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread
LIBDVDREAD_SVN_REV=1218
LIBDVDREAD_VERSION=0.9.7
LIBDVDREAD_URL=http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-$(LIBDVDREAD_VERSION).tar.gz
#LIBDVDREAD_URL=$(VIDEOLAN)/libdvdread/$(LIBDVDREAD_VERSION)/libdvdread-$(LIBDVDREAD_VERSION).tar.gz #LIBDVDREAD_URL=$(VIDEOLAN)/libdvdread/$(LIBDVDREAD_VERSION)/libdvdread-$(LIBDVDREAD_VERSION).tar.gz
LIBDVBPSI_VERSION=0.2.1 LIBDVBPSI_VERSION=0.2.1
LIBDVBPSI_URL=$(VIDEOLAN)/libdvbpsi/$(LIBDVBPSI_VERSION)/libdvbpsi-$(LIBDVBPSI_VERSION).tar.gz LIBDVBPSI_URL=$(VIDEOLAN)/libdvbpsi/$(LIBDVBPSI_VERSION)/libdvbpsi-$(LIBDVBPSI_VERSION).tar.gz
......
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