Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
16bf23cb
Commit
16bf23cb
authored
Jun 12, 2008
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix libdvdnav in a reliable and quite clean way.
Unsure about my sanity now though.
parent
a02297fe
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
277 additions
and
81 deletions
+277
-81
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+27
-7
extras/contrib/src/Patches/libdvdnav.patch
extras/contrib/src/Patches/libdvdnav.patch
+247
-72
extras/contrib/src/packages.mak
extras/contrib/src/packages.mak
+3
-2
No files found.
extras/contrib/src/Makefile
View file @
16bf23cb
...
@@ -1067,7 +1067,8 @@ DISTCLEAN_PKG += amrwb-$(LIBAMR_WB_VERSION).tar.bz2
...
@@ -1067,7 +1067,8 @@ DISTCLEAN_PKG += amrwb-$(LIBAMR_WB_VERSION).tar.bz2
ifdef
SVN
ifdef
SVN
ffmpeg
:
ffmpeg
:
$(SVN)
co
$(FFMPEG_SVN)
ffmpeg
$(SVN)
co
$(FFMPEG_SVN)
ffmpeg
-r
12920
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-pkg-config.patch
)
ifeq
($(HOST),i586-pc-beos)
ifeq
($(HOST),i586-pc-beos)
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-svn-beos.patch
)
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-svn-beos.patch
)
endif
endif
...
@@ -1089,6 +1090,7 @@ ifdef HAVE_UCLIBC
...
@@ -1089,6 +1090,7 @@ ifdef HAVE_UCLIBC
patch
-p0
< Patches/ffmpeg-svn-internal-define.patch
patch
-p0
< Patches/ffmpeg-svn-internal-define.patch
patch
-p0
< Patches/ffmpeg-svn-libavformat.patch
patch
-p0
< Patches/ffmpeg-svn-libavformat.patch
endif
endif
(
cd
$@
;
patch
-p0
< ../Patches/ffmpeg-svn-configure.patch
)
else
else
ffmpeg-$(FFMPEG_VERSION).tar.gz
:
ffmpeg-$(FFMPEG_VERSION).tar.gz
:
echo
"ffmpeg snapshot is too old, you MUST use subversion !"
echo
"ffmpeg snapshot is too old, you MUST use subversion !"
...
@@ -1158,11 +1160,31 @@ DISTCLEAN_PKG += libdvdcss-$(LIBDVDCSS_VERSION).tar.gz
...
@@ -1158,11 +1160,31 @@ DISTCLEAN_PKG += libdvdcss-$(LIBDVDCSS_VERSION).tar.gz
# ***************************************************************************
# ***************************************************************************
# dummy dvdread to trigger the INSTALL_NAME script
# dummy dvdread to trigger the INSTALL_NAME script
# ***************************************************************************
# ***************************************************************************
.dvdread
:
.dvdnav
# .dvdread: .dvdnav
# $(INSTALL_NAME)
# touch $@
#
# CLEAN_FILE += .dvdread
# ***************************************************************************
# libdvdread: We use dvdnav's dvdread
# ***************************************************************************
libdvdread-$(LIBDVDREAD_VERSION).tar.gz
:
$(WGET)
$(LIBDVDREAD_URL)
libdvdread
:
libdvdread-$(LIBDVDREAD_VERSION).tar.gz
$(EXTRACT_GZ)
# patch -p 0 < Patches/libdvdread.patch
.libdvdread
:
libdvdread .dvdcss
(
cd
libdvdread
;
$(HOSTCC)
./configure
$(HOSTCONF)
--prefix
=
$(PREFIX)
--with-libdvdcss
=
$(PREFIX)
&&
make
&&
make
install
)
$(INSTALL_NAME)
$(INSTALL_NAME)
touch
$@
touch
$@
CLEAN_FILE
+=
.dvdread
CLEAN_FILE
+=
.libdvdread
CLEAN_PKG
+=
libdvdread
DISTCLEAN_PKG
+=
libdvdread-
$(LIBDVDREAD_VERSION)
.tar.gz
# ***************************************************************************
# ***************************************************************************
# libdvdnav
# libdvdnav
...
@@ -1171,9 +1193,7 @@ CLEAN_FILE += .dvdread
...
@@ -1171,9 +1193,7 @@ CLEAN_FILE += .dvdread
ifdef
SVN
ifdef
SVN
libdvdnav
:
libdvdnav
:
$(SVN)
co
$(LIBDVDNAV_SVN)
libdvdnav
$(SVN)
co
$(LIBDVDNAV_SVN)
libdvdnav
patch
-d
libdvdnav
-p1
< Patches/libdvdnav.patch
patch
-d
libdvdnav
-p0
< Patches/libdvdnav.patch
$(WGET)
$(LIBDVDREAD_URL)
(
cd
$@
/src
;
tar
xf ../../libdvdread-
$(LIBDVDREAD_VERSION)
.tar.gz
;
mv
libdvdread-
$(LIBDVDREAD_VERSION)
/dvdread libdvdread
)
(
cd
$@
;
./autogen.sh noconfig
)
(
cd
$@
;
./autogen.sh noconfig
)
else
else
libdvdnav-$(LIBDVDNAV_VERSION).tar.gz
:
libdvdnav-$(LIBDVDNAV_VERSION).tar.gz
:
...
@@ -1188,7 +1208,7 @@ endif
...
@@ -1188,7 +1208,7 @@ endif
(
cd
$@
;
./autogen.sh noconfig
)
(
cd
$@
;
./autogen.sh noconfig
)
endif
endif
.dvdnav
:
libdvdnav .dvdcss
.dvdnav
:
libdvdnav .
libdvdread .
dvdcss
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--enable-static
--prefix
=
$(PREFIX)
--with-libdvdcss
=
$(PREFIX)
&&
make
&&
make
install
)
(
cd
$<
;
$(HOSTCC)
./configure
$(HOSTCONF)
--enable-static
--prefix
=
$(PREFIX)
--with-libdvdcss
=
$(PREFIX)
&&
make
&&
make
install
)
else
else
...
...
extras/contrib/src/Patches/libdvdnav.patch
View file @
16bf23cb
This diff is collapsed.
Click to expand it.
extras/contrib/src/packages.mak
View file @
16bf23cb
...
@@ -109,8 +109,9 @@ LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_V
...
@@ -109,8 +109,9 @@ LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_V
LIBDVDNAV_VERSION
=
4.1.1
LIBDVDNAV_VERSION
=
4.1.1
LIBDVDNAV_URL
=
http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-
$(LIBDVDNAV_VERSION)
.tar.gz
LIBDVDNAV_URL
=
http://www1.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-
$(LIBDVDNAV_VERSION)
.tar.gz
LIBDVDNAV_SVN
=
svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
LIBDVDNAV_SVN
=
svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav
LIBDVDREAD_VERSION
=
0.9.4
LIBDVDREAD_VERSION
=
0.9.7
LIBDVDREAD_URL
=
$(VIDEOLAN)
/libdvdread/
$(LIBDVDREAD_VERSION)
/libdvdread-
$(LIBDVDREAD_VERSION)
.tar.gz
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
LIBDVBPSI_VERSION
=
0.1.6
LIBDVBPSI_VERSION
=
0.1.6
LIBDVBPSI_URL
=
$(VIDEOLAN)
/libdvbpsi/
$(LIBDVBPSI_VERSION)
/libdvbpsi5-
$(LIBDVBPSI_VERSION)
.tar.gz
LIBDVBPSI_URL
=
$(VIDEOLAN)
/libdvbpsi/
$(LIBDVBPSI_VERSION)
/libdvbpsi5-
$(LIBDVBPSI_VERSION)
.tar.gz
LIVEDOTCOM_VERSION
=
latest
LIVEDOTCOM_VERSION
=
latest
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment