← Back to team overview

openjdk team mailing list archive

Bug#661465: openjdk-7-jre: dependency on gconf2

 

Hi Michele,

Sorry for the delay of taking care of #661465 (I was working on other FOSS 
projects...).

Le mardi 17 avril 2012 18:08:28, Michele Renda a écrit :
> The main problem is that the package openjdk-7-jre depends by some Gnome
> related stuff, like gconf, libgnome2-0, libgnomevfs2-0, etc.

JFTR, those depends are actually used by real code from openjdk :
- libgconf-2.so is used by OpenJDK to detect current proxy configuration from 
gnome (see jdk/src/solaris/native/sun/net/spi/DefaultProxySelector.c)
- libgnomevfs-2.so is used by AWT (?) / NIO (to detect mime-type from a 
filename)
(see jdk/src/solaris/native/sun/nio/fs/GnomeFileTypeDetector.c)
- libgnome-2.so is used by AWT (to open a URL in default browser)
(see jdk/src/solaris/native/sun/xawt/awt_Desktop.c)

> This can be a problem for all the persons (like me) having a Gnome free
> system (l currently use LXDE, but the same problem exists for KDE user
> too).
> Someone suggested us we can use openjdk-7-jre-headless, but this is a
> non-solution, because openjdk-7-jdk depends by openjdk-7-jre (and the
> same is for eclipse and other tools).

I understand your issue.
 
> My suggestion is to move the gnome related deps as Suggested/Reccomend,
> so for who want a Gnome free system can leave such dependences unsatisfied.

I'll give it a try to downgrade this to Recommends level. I have to check that 
openjdk code fail gracefully when those libs are not installed.

Cheers,
-- 
Damien - Debian Developper
http://wiki.debian.org/DamienRaudeMorvan

Attachment: signature.asc
Description: This is a digitally signed message part.


Follow ups