Bug#659165: libbluray-dev: please review need for -dev package to depend on libbluray-bdj

Neil Williams codehelp at debian.org
Wed Feb 8 21:41:50 UTC 2012


On Wed, 8 Feb 2012 22:16:36 +0100
Alessio Treglia <alessio at debian.org> wrote:

> On Wed, Feb 8, 2012 at 9:59 PM, Neil Williams <codehelp at debian.org> wrote:
> > Trying to build xine-lib-1.2 in a clean chroot wiht Recommends turned off results
> > in a lot of java packages being included as build-dependencies. This doesn't make
> > a lot of sense.
> >
> > The problem comes down to libbluray-dev which depends on libbluray-bdj.

I've just built a local libbluray in a clean chroot with the dependency
on libbluray-bdj removed from the -dev package, installed that version
in another clean chroot and successfully built xine-lib-1.2 without any
apparent shlib changes in the libxine2-misc-plugins package.

> That's my proposal:
> 
> diff --git a/debian/control b/debian/control
> index 87acaf6..e57ffdd 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -23,11 +23,26 @@ Homepage: http://www.videolan.org/developers/libbluray.html
>  Vcs-Git: git://git.debian.org/git/pkg-multimedia/libbluray.git
>  Vcs-Browser: http://git.debian.org/?p=pkg-multimedia/libbluray.git;a=summary
>  
> +Package: bluray-dev
> +Architecture: all
> +Section: libdevel
> +Depends: libbluray-dev (>= ${source:Version}),
> +         libbluray-dev (<< ${source:Version}+1~),
> +         libbluray-bdj (>= ${source:Version}),
> +         libbluray-bdj (<< ${source:Version}+1~),
> +Description: Blu-ray disc playback support (development files)
> + libbluray is an open-source library designed for Blu-Ray Discs playback for
> + media players, like VLC or MPlayer. This research project is developed by an
> + international team of developers from Doom9. libbluray integrates navigation,
> + playlist parsing, menus, and BD-J.
> + .
> + This package provides all the necessary files needed for development,
> + also including the BD-J library.

It might be better to explain this a bit more. Is libbluray-bdj a media
format library *and* a java player or just the player/menus support?

What kind of packages would need to *build-depend* on the new -dev
package?

Also add something which explicitly says that using the new -dev
package is for those packages which expect to use/need Java.

Those kinds of questions probably need to be answered in the package
descriptions of the new -dev and of libbluray-bdj itself.

bdj is a hint, but IMHO it should be clearer how the bdj library
should be used and that using it involves adding Java to your
development environment. In most cases, unless someone is extending the
Java player classes, that shouldn't be necessary.

> - This package provides the necessary files needed for development.
> + This package provides the necessary files needed for compiling program against
> + libbluray.

That's fine. It's just what xine-lib-1.2 needs.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120208/af56c77a/attachment-0001.pgp>


More information about the pkg-multimedia-maintainers mailing list