Bug#528070: eclipse: Zenity doesn't be imposed as a dependence

Cédric LEULLIER cedric.leullier at free.fr
Sun May 10 16:10:22 UTC 2009


Package: eclipse
Version: 3.2.2-6.1
Severity: minor




The eclipse package and the eclipse-platform package impose zenity (Gnome environment) as a dependence.
But eclipse uses Java and doesn't need zenity to work.

Zenity is only used in scripts like /usr/bin/eclipse :
[...]
if [ -x /usr/bin/zenity ]; then
    DIALOG=/usr/bin/zenity
    DIALOGW="$DIALOG --warning"
elif [ -x /usr/bin/kdialog ]; then
    DIALOG=/usr/bin/kdialog
    DIALOGW="$DIALOG --warningyesno"
elif [ -x /usr/bin/xdialog ]; then
    DIALOG=/usr/bin/xdialog
    DIALOGW="$DIALOG --warning"
else
    DIALOG=echo
    DIALOGW="$DIALOG"
fi
[...]

As we can see in this exemple, it isn't the only choice to display dialog boxes.

So if you don't use the Gnome environment, zenity forces you to install many gnome libraries. 
It's very unpleasant.

Please, is it possible to give the choice to install kdialog or xdialog instead of zenity ?

Thanks in advance.






-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages eclipse depends on:
ii  eclipse-jdt             3.2.2-6.1        Java Development Tools plug-ins fo
ii  eclipse-pde             3.2.2-6.1        Plug-in Development Environment to
ii  eclipse-source          3.2.2-6.1        Eclipse source code plug-ins
ii  libc6                   2.7-18           GNU C Library: Shared libraries
ii  libglib2.0-0            2.16.6-1+lenny1  The GLib library of C routines
ii  libgtk2.0-0             2.12.12-1~lenny1 The GTK+ graphical user interface 
ii  zenity                  2.22.1-2         Display graphical dialog boxes fro

Versions of packages eclipse recommends:
ii  eclipse-gcj                   3.2.2-6.1  Native Eclipse run with GCJ

eclipse suggests no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list