[Buildroot] [PATCH 5/6] package: Added libdvdnav package (dependency of gst-plugins-bad)

Lionel Landwerlin llandwerlin at gmail.com
Sat Dec 12 02:22:30 UTC 2009


Le vendredi 11 décembre 2009 à 23:07 +0100, Peter Korsgaard a écrit :
> >>>>> "Lionel" == llandwerlin  <llandwerlin at gmail.com> writes:
> 
>  Lionel> From: Lionel Landwerlin <llandwerlin at gmail.com>
>  Lionel> Signed-off-by: Lionel Landwerlin <llandwerlin at gmail.com>
> 
> Hmm, this seems pretty broken - Does it really build for you?
> First of all, there's no configure script in the tarball. There is a
> configure2 script, and adding a symlink gets us to the build step where
> it dies trying to find the libdvdread headers:
> 
> make[1]: Entering directory `/tmp/br/build/libdvdnav-4.1.3'
> sh "/tmp/br/build/libdvdnav-4.1.3"/version.sh "/tmp/br/build/libdvdnav-4.1.3" "4.1.3"
> cd obj && gcc -fPIC -DPIC -MD -O3  -g -Wall -funsigned-char -I/tmp/br/build/libdvdnav-4.1.3 -I"/tmp/br/build/libdvdnav-4.1.3"/src -I"/tmp/br/build/libdvdnav-4.1.3"/src/vm -DDVDNAV_COMPILE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -DHAVE_DLFCN_H  -c -o dvdnav.so /tmp/br/build/libdvdnav-4.1.3/src/dvdnav.c
> /tmp/br/build/libdvdnav-4.1.3/src/dvdnav.c:40:32: error: dvdread/dvd_reader.h: No such file or directory
> 
> Also notice that it uses the host compiler.

Arg...

I'm sorry, I removed the AUTORECONF option...
I used to set autoreconf & libtool patching by default on almost every
package I compiled otherwise it broke compilation with my cross sh4
toolchain.

When rebasing my patchs I removed them all, forgetting this was usefull
for libdvdread & libdvdnav packages...

Please find a corrected patch as attachment.

> 
>  Lionel> +config BR2_PACKAGE_LIBDVDNAV
>  Lionel> +	bool "libdvdnav"
>  Lionel> +        select BR2_PACKAGE_LIBDVDREAD
>  Lionel> +	help
>  Lionel> +	  libdvdnav is a library that allows easy use of sophisticated
>  Lionel> +	  DVD navigation features such as DVD menus, multiangle
>  Lionel> +	  playback and even interactive DVD games.
>  Lionel> +
>  Lionel> +          http://www.mplayerhq.hu
> 
> Indentation is off here.
> 
>  Lionel> +++ b/package/multimedia/libdvdnav/libdvdnav.mk
>  Lionel> @@ -0,0 +1,19 @@
>  Lionel> +#############################################################
>  Lionel> +#
>  Lionel> +# libdvdnav
>  Lionel> +#
>  Lionel> +#############################################################
>  Lionel> +
>  Lionel> +LIBDVDNAV_VERSION = 4.1.3
>  Lionel> +LIBDVDNAV_SOURCE = libdvdnav_$(LIBDVDNAV_VERSION).orig.tar.gz
>  Lionel> +LIBDVDNAV_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/libd/libdvdnav/
> 
> The official upstream location is afaik
> http://www.mplayerhq.hu/MPlayer/releases/dvdnav/
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-package-Added-libdvdnav-package-dependency-of-gst-pl.patch
Type: text/x-patch
Size: 2690 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091212/498f4815/attachment.bin>


More information about the buildroot mailing list