Divide BD-J from libbluray0

Bug #725892 reported by YunQiang Su
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
libbluray (Ubuntu)
Fix Released
High
Rico Tzschichholz

Bug Description

libbluray0 contains BD-J, makes mplayer depends on java, :(

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: libbluray0 (not installed)
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Sun Feb 27 14:34:15 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Alpha amd64 (20100812)
ProcEnviron:
 LANGUAGE=zh_CN:zh:en_GB:en
 PATH=(custom, user)
 LANG=zh_CN.utf8
 SHELL=/usr/bin/zsh
SourcePackage: libbluray

Related branches

Revision history for this message
Reinhard Tartler (siretart) wrote :

I've had a chat with rico on irc:

19:33 <ricotz> siretart, libbluray has an hard-depend on java to support bd-j, is an extension for some
               interactive features of blurays

Changed in libbluray (Ubuntu):
assignee: nobody → Rico Tzschichholz (ricotz)
importance: Undecided → High
status: New → Triaged
Revision history for this message
FR. Loïc (hackurx) wrote :

Hi,

BD-J is necessary for supporting bluray disc menu.
But we must certainly make a package specifically for Java as does the Fedora team with the package "libbluray-java":
http://pkgs.org/fedora-rawhide/fedora-i386/libbluray-java-0.2-0.3.20110126gitbbf11e43bd82e.fc15.i686.rpm.html

Best regards,

HacKurx

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 725892] Re: Divide BD-J from libbluray0

On Di, M��r 01, 2011 at 18:37:46 (CET), HacKurx wrote:

> Hi,
>
> BD-J is necessary for supporting bluray disc menu.
> But we must certainly make a package specifically for Java as does the Fedora team with the package "libbluray-java":
> http://pkgs.org/fedora-rawhide/fedora-i386/libbluray-java-0.2-0.3.20110126gitbbf11e43bd82e.fc15.i686.rpm.html

the ubuntu libbluray0 package currently ships these files:

/usr/lib/libbluray.so.0
/usr/lib/libbluray.so.0.0.0
/usr/share/doc/libbluray0/changelog.Debian.gz
/usr/share/doc/libbluray0/copyright
/usr/share/java/libbluray-0.2~git20110213.20739ed.jar
/usr/share/java/libbluray.jar

Does /usr/lib/libbluray.so.0 works at least somewhat without
/usr/share/java/libbluray.jar?

And moreover, should libbluray0 drag in libbluray-java by default or
not, read should that relationship be a Suggests or Recommends?

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
FR. Loïc (hackurx) wrote :

Libbluray works perfectly without BDJ, he will read directly the movie.
At first I say "Suggests" because the player (vlc etc...) yet does not support the menu with BDJ.

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

Simply moving the BD-J files into a separate package and only suggest it would break the compiled-in BD-J support. A better solution is to modify the packaging to build two version of libbluray one with BD-J support and one without. Applications which use libbluray will depend on libbluray0 by default which doesn't include the BD-J support. If the user insists on that feature he can replace libbluray0 with libbluray0-bdj which would provide libbluray0 and replace it.

Revision history for this message
FR. Loïc (hackurx) wrote :

"break the compiled-in BD-J support" Are you sure?

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

I mean if the jar file isn't available there will be no useful error messages about why it isn't working. If it is compiled without BD-J support it will output this. So doing separate builds/packages seems a cleaner solution.

Revision history for this message
FR. Loïc (hackurx) wrote :

But imagine that mplayer requires libbluray0 and vlc requires libbluray0-BDJ, is there a conflict?

Revision history for this message
Rico Tzschichholz (ricotz) wrote :

As I said the package libbluray0-bdj would also provide the package libbluray0 (as in "Provides: libbluray0") to solve this. But this requires that dependencies on libbluray0 or libbluray0-bdj aren't version specific.

Revision history for this message
Reinhard Tartler (siretart) wrote :

On Wed, Mar 02, 2011 at 11:59:33 (CET), Rico Tzschichholz wrote:

> I mean if the jar file isn't available there will be no useful error
> messages about why it isn't working. If it is compiled without BD-J
> support it will output this. So doing separate builds/packages seems a
> cleaner solution.

The cleanest (and IMO preferable) solution is to fix libbluray0 to
handle this situation gracefully, i.e., print sensible error messages
that informes and gives useful advice so that an informed decision to
install (or not) the libbluray-java package.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libbluray - 0.2~git20110213.20739ed-0ubuntu3

---------------
libbluray (0.2~git20110213.20739ed-0ubuntu3) natty; urgency=low

  [ Rico Tzschichholz ]
  * debian/rules,debian/control:
    + Add libbluray-bdj package includes the Java library for BD-J support,
      so just using libbluray0 won't pull in a Java runtime (LP: #725892)
    + Disable build of examples because we don't install them

  [ Reinhard Tartler ]
  * make libbluray-bdj arch:all
  * improve the description of the package of libbluray0
 -- Reinhard Tartler <email address hidden> Wed, 02 Mar 2011 22:38:27 +0100

Changed in libbluray (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.