package/libdvdread: bump version to 5.0.3
PATCH 1/7 package/libdvdread: bump version to 5.0.3
Removed 0001-fix-os2-support.patch, applied upstream:
https://code.videolan.org/videolan/libdvdread/commit/75f8601ee3b19d8914528860f7e1d2906df4a411
Removed autoreconf, a configure script is now part of the upstream tarball.
The script dvdread-config was removed:
https://code.videolan.org/videolan/libdvdread/commit/9991d1720b824902628573abce89916700933c38
Changed LIBDVDREAD_SITE according to the news post dating 13 Feb 2014 from http://dvdnav.mplayerhq.hu/
Enabled static build, tested using this defconfig:
http://autobuild.buildroot.net/toolchains/configs/br-arm-full-static.config
--- package/libdvdread/0001-fix-os2-support.patch | 31 --------------------------- package/libdvdread/Config.in | 4 ---- package/libdvdread/libdvdread.hash | 4 ++-- package/libdvdread/libdvdread.mk | 9 +++----- 4 files changed, 5 insertions(+), 43 deletions(-) delete mode 100644 package/libdvdread/0001-fix-os2-support.patch
package/libdvdread/0001-fix-os2-support.patch deleted +0 -31
@@ -1,31 +0,0 @@ -configure: fix build on NIOS II platform - -NIOS II is a CPU architecture from Altera, which uses 'nios2' as the -architecture part of the tuple. Unfortunately, 'nios2' matches the -current '*os2*' test done by libdvdread's configure script to detect -the OS/2 operating system. This leads to build issues as the build -process of libdvdread then tries to use OS/2 specific compiler -options, that do not exist in the gcc used for Linux/NIOS2. - -To fix this, this patch makes the test for OS/2 a little bit more -specific: in the case of the OS/2 operating system, the OS part of the -tuple contains just 'os2' (confirmed by looking at config.guess and -config.sub in the gnuconfig project). So using '*-os2-*' will properly -match the OS/2 operating system but not the NIOS II architecture. - -Upstream-status: submitted -Signed-off-by: Thomas Petazzoni <[email protected]> - -Index: b/configure.ac -=================================================================== ---- a/configure.ac -+++ b/configure.ac -@@ -146,7 +146,7 @@ - *cygwin*) - LDFLAGS="-no-undefined $LDFLAGS" - ;; -- *os2*) -+ *-os2-*) - LDFLAGS="-no-undefined -Zbin-files $LDFLAGS" - ;; - *)
package/libdvdread/Config.in +0 -4
@@ -1,11 +1,7 @@ config BR2_PACKAGE_LIBDVDREAD bool "libdvdread" - depends on !BR2_STATIC_LIBS help libdvdread provides a simple foundation for reading DVD-Video images. http://www.mplayerhq.hu/MPlayer/releases/dvdnav/ - -comment "libdvdread needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS
package/libdvdread/libdvdread.hash +2 -2
@@ -1,2 +1,2 @@ -# Locally calculated -sha256 af9b98f049580a6521d56c978b736d3d609562dd12955e11d50e26d97542dcd4 libdvdread-4.2.1.tar.xz +# From http://download.videolan.org/pub/videolan/libdvdread/5.0.0/libdvdread-5.0.3.tar.bz2.sha256 +sha256 321cdf2dbdc83c96572bc583cd27d8c660ddb540ff16672ecb28607d018ed82b libdvdread-5.0.3.tar.bz2
package/libdvdread/libdvdread.mk +3 -6
@@ -4,13 +4,10 @@ # ################################################################################ -LIBDVDREAD_VERSION = 4.2.1 -LIBDVDREAD_SOURCE = libdvdread-$(LIBDVDREAD_VERSION).tar.xz -LIBDVDREAD_SITE = http://dvdnav.mplayerhq.hu/releases -# configure not shipped -LIBDVDREAD_AUTORECONF = YES +LIBDVDREAD_VERSION = 5.0.3 +LIBDVDREAD_SOURCE = libdvdread-$(LIBDVDREAD_VERSION).tar.bz2 +LIBDVDREAD_SITE = http://www.videolan.org/pub/videolan/libdvdread/$(LIBDVDREAD_VERSION) LIBDVDREAD_INSTALL_STAGING = YES -LIBDVDREAD_CONFIG_SCRIPTS = dvdread-config LIBDVDREAD_LICENSE = GPLv2+ LIBDVDREAD_LICENSE_FILES = COPYING
Signature · 1 line
2.8.1
PATCH 2/7 package/libdvdnav: bump version to 5.0.3
Removed 0001-fix-os2-support.patch, not needed anymore after the version bump according to Thomas' note in the patch file.
Removed autoreconf, a configure script is now part of the upstream tarball.
The script dvdnav-config was removed:
https://code.videolan.org/videolan/libdvdnav/commit/1de99510f507e4d84a658411605dd6424466d7b5
libdvdnav uses pkg-config to find libdvdread, therefore remove --with-dvdread-config:
https://code.videolan.org/videolan/libdvdnav/commit/5254b5d7ad9c10b48c97ce72a1b8bf7aef54b12c
Changed LIBDVDNAV_SITE according to the news post dating 13 Feb 2014 from http://dvdnav.mplayerhq.hu/
Enabled static build, tested using this defconfig:
http://autobuild.buildroot.net/toolchains/configs/br-arm-full-static.config
--- package/libdvdnav/0001-fix-os2-support.patch | 32 ---------------------------- package/libdvdnav/Config.in | 5 ++--- package/libdvdnav/libdvdnav.hash | 4 ++-- package/libdvdnav/libdvdnav.mk | 13 +++-------- 4 files changed, 7 insertions(+), 47 deletions(-) delete mode 100644 package/libdvdnav/0001-fix-os2-support.patch
package/libdvdnav/0001-fix-os2-support.patch deleted +0 -32
@@ -1,32 +0,0 @@ -configure: fix build on NIOS II platform - -NIOS II is a CPU architecture from Altera, which uses 'nios2' as the -architecture part of the tuple. Unfortunately, 'nios2' matches the -current '*os2*' test done by libdvdnav's configure script to detect -the OS/2 operating system. This leads to build issues as the build -process of libdvdnav then tries to use OS/2 specific compiler -options, that do not exist in the gcc used for Linux/NIOS2. - -To fix this, this patch makes the test for OS/2 a little bit more -specific: in the case of the OS/2 operating system, the OS part of the -tuple contains just 'os2' (confirmed by looking at config.guess and -config.sub in the gnuconfig project). So using '*-os2-*' will properly -match the OS/2 operating system but not the NIOS II architecture. - -Upstream-status: not needed, newer upstream versions no longer have - this test -Signed-off-by: Thomas Petazzoni <[email protected]> - -Index: b/configure.ac -=================================================================== ---- a/configure.ac -+++ b/configure.ac -@@ -166,7 +166,7 @@ - *cygwin*) - LDFLAGS="-no-undefined $LDFLAGS" - ;; -- *os2*) -+ *-os2-*) - LDFLAGS="-no-undefined -Zbin-files $LDFLAGS" - ;; - *)
package/libdvdnav/Config.in +2 -3
@@ -1,7 +1,6 @@ config BR2_PACKAGE_LIBDVDNAV bool "libdvdnav" depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS # libdvdread select BR2_PACKAGE_LIBDVDREAD help libdvdnav is a library that allows easy use of sophisticated
@@ -10,5 +9,5 @@ config BR2_PACKAGE_LIBDVDNAV http://www.mplayerhq.hu -comment "libdvdnav needs a toolchain w/ dynamic library, threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS +comment "libdvdnav needs a toolchain w/ threads" + depends on !BR2_TOOLCHAIN_HAS_THREADS
package/libdvdnav/libdvdnav.hash +2 -2
@@ -1,2 +1,2 @@ -# Locally calculated -sha256 7fca272ecc3241b6de41bbbf7ac9a303ba25cb9e0c82aa23901d3104887f2372 libdvdnav-4.2.1.tar.xz +# From http://download.videolan.org/pub/videolan/libdvdnav/5.0.3/libdvdnav-5.0.3.tar.bz2.sha256 +sha256 5097023e3d2b36944c763f1df707ee06b19dc639b2b68fb30113a5f2cbf60b6d libdvdnav-5.0.3.tar.bz2
package/libdvdnav/libdvdnav.mk +3 -10
@@ -4,19 +4,12 @@ # ################################################################################ -LIBDVDNAV_VERSION = 4.2.1 -LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.xz -LIBDVDNAV_SITE = http://dvdnav.mplayerhq.hu/releases -# configure not shipped -LIBDVDNAV_AUTORECONF = YES +LIBDVDNAV_VERSION = 5.0.3 +LIBDVDNAV_SOURCE = libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2 +LIBDVDNAV_SITE = http://www.videolan.org/pub/videolan/libdvdnav/$(LIBDVDNAV_VERSION) LIBDVDNAV_INSTALL_STAGING = YES -LIBDVDNAV_CONFIG_SCRIPTS = dvdnav-config LIBDVDNAV_DEPENDENCIES = libdvdread host-pkgconf LIBDVDNAV_LICENSE = GPLv2+ LIBDVDNAV_LICENSE_FILES = COPYING -# By default libdvdnav tries to find dvdread-config in $PATH. Because -# of cross compilation, we prefer using pkg-config. -LIBDVDNAV_CONF_OPTS = --with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread" - $(eval $(autotools-package))
Signature · 1 line
2.8.1
PATCH 3/7 package/libdvdcss: new package
In reply to Bernd Kuhls--- package/Config.in | 1 + package/libdvdcss/Config.in | 7 +++++++ package/libdvdcss/libdvdcss.hash | 2 ++ package/libdvdcss/libdvdcss.mk | 14 ++++++++++++++ 4 files changed, 24 insertions(+) create mode 100644 package/libdvdcss/Config.in create mode 100644 package/libdvdcss/libdvdcss.hash create mode 100644 package/libdvdcss/libdvdcss.mk
package/Config.in +1 -0
@@ -1100,6 +1100,7 @@ menu "Multimedia" source "package/libdvbcsa/Config.in" source "package/libdvbpsi/Config.in" source "package/libdvbsi/Config.in" + source "package/libdvdcss/Config.in" source "package/libdvdnav/Config.in" source "package/libdvdread/Config.in" source "package/libebml/Config.in"
package/libdvdcss/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_LIBDVDCSS + bool "libdvdcss" + help + libdvdcss is a simple library designed for accessing DVDs like + a block device without having to bother about the decryption. + + http://www.videolan.org/developers/libdvdcss.html
package/libdvdcss/libdvdcss.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From http://download.videolan.org/pub/videolan/libdvdcss/1.4.0/libdvdcss-1.4.0.tar.bz2.sha256 +sha256 2089375984800df29a4817b37f3123c1706723342d6dab4d0a8b75c25c2c845a libdvdcss-1.4.0.tar.bz2
package/libdvdcss/libdvdcss.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# libdvdcss +# +################################################################################ + +LIBDVDCSS_VERSION = 1.4.0 +LIBDVDCSS_SOURCE = libdvdcss-$(LIBDVDCSS_VERSION).tar.bz2 +LIBDVDCSS_SITE = http://www.videolan.org/pub/videolan/libdvdcss/$(LIBDVDCSS_VERSION) +LIBDVDCSS_INSTALL_STAGING = YES +LIBDVDCSS_LICENSE = GPLv2+ +LIBDVDCSS_LICENSE_FILES = COPYING + +$(eval $(autotools-package))
Signature · 1 line
2.8.1
PATCH 4/7 package/libdvdread: add optional support for libdvdcss
In reply to Bernd Kuhls--- package/libdvdread/libdvdread.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/libdvdread/libdvdread.mk +7 -0
@@ -11,4 +11,11 @@ LIBDVDREAD_INSTALL_STAGING = YES LIBDVDREAD_LICENSE = GPLv2+ LIBDVDREAD_LICENSE_FILES = COPYING +ifeq ($(BR2_PACKAGE_LIBDVDCSS),y) +LIBDVDREAD_CONF_OPTS += --with-libdvdcss +LIBDVDREAD_DEPENDENCIES += libdvdcss +else +LIBDVDREAD_CONF_OPTS += --without-libdvdcss +endif + $(eval $(autotools-package))
Signature · 1 line
2.8.1
PATCH 5/7 package/mplayer: adjust configure options to updated libdvdread/libdvdnav
In reply to Bernd Kuhls--- package/mplayer/mplayer.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/mplayer/mplayer.mk +2 -2
@@ -123,7 +123,7 @@ MPLAYER_CONF_OPTS += --disable-libcdio # autodetection find which library to link with. ifeq ($(BR2_PACKAGE_LIBDVDREAD),y) MPLAYER_CONF_OPTS += \ - --with-dvdread-config=$(STAGING_DIR)/usr/bin/dvdread-config + --with-dvdread-config="$(PKG_CONFIG_HOST_BINARY) dvdread" MPLAYER_DEPENDENCIES += libdvdread endif
@@ -131,7 +131,7 @@ endif # find which library to link with. ifeq ($(BR2_PACKAGE_LIBDVDNAV),y) MPLAYER_CONF_OPTS += \ - --with-dvdnav-config=$(STAGING_DIR)/usr/bin/dvdnav-config + --with-dvdnav-config="$(PKG_CONFIG_HOST_BINARY) dvdnav" MPLAYER_DEPENDENCIES += libdvdnav endif
Signature · 1 line
2.8.1
PATCH 5/7 package/mplayer: adjust configure options to updated libdvdread/libdvdnav
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Signed-off-by Bernd Kuhls <[email protected]>
This should go before the patches removing those -config scripts to not break the build.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 6/7 package/dvdauthor: libdvdread can now be linked statically
In reply to Bernd KuhlsAfter libdvdread bump to version 5.0.3 static linking works, tested using this defconfig:
http://autobuild.buildroot.net/toolchains/configs/br-arm-full-static.config
--- package/dvdauthor/Config.in | 5 ----- package/dvdauthor/dvdauthor.mk | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-)
package/dvdauthor/Config.in +0 -5
@@ -17,13 +17,8 @@ if BR2_PACKAGE_DVDAUTHOR config BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR bool "dvdunauthor" select BR2_PACKAGE_LIBDVDREAD - depends on !BR2_STATIC_LIBS # libdvdread help This option enables the dvdunauthor program, which requires libdvdread. -comment "dvdunauthor needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - endif -
package/dvdauthor/dvdauthor.mk +4 -0
@@ -40,6 +40,10 @@ endif ifeq ($(BR2_PACKAGE_DVDAUTHOR_DVDUNAUTHOR),y) DVDAUTHOR_DEPENDENCIES += libdvdread +# dvdauthor configure does not use pkg-config to detect libdvdread +ifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy) +DVDAUTHOR_CONF_ENV += LIBS="-ldvdcss" +endif DVDAUTHOR_CONF_OPTS += --enable-dvdunauthor else DVDAUTHOR_CONF_OPTS += --disable-dvdunauthor
Signature · 1 line
2.8.1
PATCH 7/7 package/gstreamer1/gst1-plugins-ugly: libdvdread can now be linked statically
In reply to Bernd KuhlsAfter libdvdread bump to version 5.0.3 static linking works, tested using this defconfig:
http://autobuild.buildroot.net/toolchains/configs/br-arm-full-static.config
--- package/gstreamer1/gst1-plugins-ugly/Config.in | 4 ---- package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-)
package/gstreamer1/gst1-plugins-ugly/Config.in +0 -4
@@ -40,14 +40,10 @@ comment "plugins with external dependencies (there may be more available)" config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD bool "dvdread" - depends on !BR2_STATIC_LIBS # libdvdread select BR2_PACKAGE_LIBDVDREAD help Access a DVD with dvdread -comment "dvdread needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - config BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_LAME bool "lame (*.mp3 audio encoder)" select BR2_PACKAGE_LAME
package/gstreamer1/gst1-plugins-ugly/gst1-plugins-ugly.mk +4 -0
@@ -59,6 +59,10 @@ GST1_PLUGINS_UGLY_CONF_OPTS += --disable-realmedia endif ifeq ($(BR2_PACKAGE_GST1_PLUGINS_UGLY_PLUGIN_DVDREAD),y) +# configure does not use pkg-config to detect libdvdread +ifeq ($(BR2_PACKAGE_LIBDVDCSS)$(BR2_STATIC_LIBS),yy) +GST1_PLUGINS_UGLY_CONF_ENV += LIBS="-ldvdcss" +endif GST1_PLUGINS_UGLY_CONF_OPTS += --enable-dvdread GST1_PLUGINS_UGLY_DEPENDENCIES += libdvdread GST1_PLUGINS_UGLY_HAS_GPL_LICENSE = y
Signature · 1 line
2.8.1
PATCH 1/7 package/libdvdread: bump version to 5.0.3
In reply to Bernd KuhlsQuoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernd" == Bernd Kuhls <[email protected]> writes:
Removed 0001-fix-os2-support.patch, applied upstream:
https://code.videolan.org/videolan/libdvdread/commit/75f8601ee3b19d8914528860f7e1d2906df4a411Removed autoreconf, a configure script is now part of the upstream tarball.
Quoted 8 lines
The script dvdread-config was removed:
https://code.videolan.org/videolan/libdvdread/commit/9991d1720b824902628573abce89916700933c38Changed
LIBDVDREAD_SITEaccording to the news post dating 13 Feb 2014 from http://dvdnav.mplayerhq.hu/Enabled static build, tested using this defconfig:
http://autobuild.buildroot.net/toolchains/configs/br-arm-full-static.config
Committed all 7 after moving the mplayer one to the front, thanks.
Signature · 1 line
Bye, Peter Korsgaard