! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfce session depends on GNOME libs
Status:
CLOSED: FIXED
Severity:
blocker
Product:
Xfce4-session
Component:
General

Comments

Description Olivier Fourdan editbugs 2004-11-02 16:17:10 CET
ldd /usr/bin/xfce4-session gives:

libgnome-2.so.0 => /usr/lib/libgnome-2.so.0 (0x00ac4000)
libbonobo-2.so.0 => /usr/lib/libbonobo-2.so.0 (0x00158000)
libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0x00111000)
libgnomevfs-2.so.0 => /usr/lib/libgnomevfs-2.so.0 (0x0059a000)
libbonobo-activation.so.4 => /usr/lib/libbonobo-activation.so.4 (0x001d9000)
libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0x001ee000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x043dc000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x074ac000)
libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0 (0x00a22000)

etc.

Xfce core components should not depends on any GNOME lib...
Comment 1 Benedikt Meurer editbugs 2004-11-02 16:19:08 CET
GNOME support is optional. configure checks if libgnome is installed, and if
GNOME is found, the GNOME compat will be available, else GNOME compat is
disabled. To override this: ./configure --disable-gnome ...
Comment 2 Olivier Fourdan editbugs 2004-11-02 16:22:33 CET
GNOME support should be disabled unless explicitely requested IMO.
Comment 3 Benedikt Meurer editbugs 2004-11-02 16:28:18 CET
I can change it to disabled by default. But there was a reason why this is
enabled by default, because it offeres the following advantages:

1) You can use AST with Xfce (I need gconf to query the key here).
2) GNOME libs are loaded and GNOME services are started by xfce4-session, which
allows for faster startup of GNOME apps later on.

If the user has installed GNOME on his system, it doesn't hurt. And if he hasn't
installed GNOME, xfce4-session will simply disable the GNOME support at
configure time.
Comment 4 Olivier Fourdan editbugs 2004-11-02 16:32:17 CET
The problem is it add a dependency on GNOME by default, if a user unistall gnome
later on, it will break xfce-session...

Moreover, adding that dependency brings the whole GNOME libs, like audiofile,
BONOBO, GCONf, etc. 

ldd /usr/bin/xfce4-session | wc -l
56

That's really the opposite of a lightweight desktop that Xfce claims to be.
Comment 5 Benedikt Meurer editbugs 2004-11-02 16:35:31 CET
Hehe, ok, I see your point. Its disabled now.
Comment 6 Olivier Fourdan editbugs 2004-11-02 16:40:10 CET
Thank you ;)
Comment 7 Benedikt Meurer editbugs 2004-11-24 09:46:21 CET
Closing this one.

Bug #453

Reported by:
Olivier Fourdan
Reported on: 2004-11-02
Last modified on: 2009-07-14

People

Assignee:
Benedikt Meurer
CC List:
0 users

Version

Attachments

Additional information