Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163464 - xfce-base/xfdesktop-4.4.0 dbus dependency
Summary: xfce-base/xfdesktop-4.4.0 dbus dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: xfce44
  Show dependency tree
 
Reported: 2007-01-23 18:00 UTC by Marcin Jurkowski
Modified: 2007-01-30 07:30 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xfdesktop-4.4.0.ebuild.diff (xfdesktop-4.4.0.ebuild.diff,1.59 KB, patch)
2007-01-23 23:50 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Jurkowski 2007-01-23 18:00:10 UTC
Dbus is no longer needed to compile xfdesktop. This dependecy should be conditional (a "dbus" USE flag).

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 20:21:45 UTC
Because it's not optional, read the code. 
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 23:49:34 UTC
An attempt on making this not automagic attached...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 23:50:01 UTC
Created attachment 107956 [details, diff]
xfdesktop-4.4.0.ebuild.diff
Comment 4 Marcin Jurkowski 2007-01-27 17:57:11 UTC
(In reply to comment #3)
> Created an attachment (id=107956) [edit]
> xfdesktop-4.4.0.ebuild.diff
Works, but I realized that both thunar and dbus are needed to enable desktop file icons, otherwise thunar is not used. So it seems to me that there should be only one flag (eg. thunar-vfs) instead of dbus and thunar-vfs.
BTW --disable-thunar-vfs option is ignored by configure (that must have changed in the latest release).

Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-27 19:00:50 UTC
(In reply to comment #4)
> Works, but I realized that both thunar and dbus are needed to enable desktop
> file icons, otherwise thunar is not used. So it seems to me that there should
> be only one flag (eg. thunar-vfs) instead of dbus and thunar-vfs.
> BTW --disable-thunar-vfs option is ignored by configure (that must have changed
> in the latest release).

Erm, no; those are two completely separate features...


Comment 6 Erlend Davidson 2007-01-28 17:27:44 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=107956) [edit]
> > xfdesktop-4.4.0.ebuild.diff
> Works, but I realized that both thunar and dbus are needed to enable desktop
> file icons, otherwise thunar is not used. So it seems to me that there should
> be only one flag (eg. thunar-vfs) instead of dbus and thunar-vfs.
> BTW --disable-thunar-vfs option is ignored by configure (that must have changed
> in the latest release).
> 
The trouble with this is on a system where the administrator explicitly doesn't want dbus support (for whatever reason) setting the thunar-vfs useflag would make xfdesktop depend on dbus - even though "-dbus" is in make.conf.  It's a pity portage can't set other useflags from one flag... i.e. have a "desktop-icons" flag and if this is on also turn the "dbus" and "thunar-vfs" on, otherwise allow them to be set individually.  
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-28 19:35:55 UTC
(In reply to comment #6)
> The trouble with this is on a system where the administrator explicitly doesn't
> want dbus support (for whatever reason) setting the thunar-vfs useflag would
> make xfdesktop depend on dbus 

How would it make it depend on dbus? That's exactly what the patch aims to fix. 
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2007-01-28 22:01:01 UTC
There is no --enable-dbus/--disable-dbus in xfdesktop, but some of the other USE flags need it. 

Are you saying you can have minimized applications on xfdesktop without dbus? If so, it can be fixed.
Comment 9 Erlend Davidson 2007-01-28 23:48:32 UTC
(In reply to comment #8)
> There is no --enable-dbus/--disable-dbus in xfdesktop, but some of the other
> USE flags need it. 
> 
> Are you saying you can have minimized applications on xfdesktop without dbus?
> If so, it can be fixed.
> 
No, I was just answering comment #4.  The patch fixes it.

Does using thunar-vfs actually do anything in xfdesktop if dbus isn't on the system?
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2007-01-29 17:53:20 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > There is no --enable-dbus/--disable-dbus in xfdesktop, but some of the other
> > USE flags need it. 
> > 
> > Are you saying you can have minimized applications on xfdesktop without dbus?
> > If so, it can be fixed.
> > 
> No, I was just answering comment #4.  The patch fixes it.
> 
> Does using thunar-vfs actually do anything in xfdesktop if dbus isn't on the
> system?
> 

Not that I'm aware of, far as I know --enable-file-icons needs --enable-thunarx, and depends on dbus-glib. Then there is --enable-exo which adds effects to icons. So I'd say these 3 flags, including dbus-glib dep should be under one single USE flag since they don't do anything by themselfs at least yet..
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-01-29 19:00:42 UTC
I'm really not going to dig into this over and over again; current dbus dependency is completely wrong, someone fix it one way or the other using the above patch or something else. (Plus leaving it non-optional will plain piss off lots of people.)
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2007-01-30 07:30:39 UTC
You get dbus if USE="thunar-vfs" is enabled now, because it's needed. Period. If you want Xfce4 without dbus.. USE="-dbus", of course. USE="-thunar-vfs" for xfdesktop and beware of bad plugins directly depending on dbus..