Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281634 - x11-base/xorg-server-1.6.3 installs D-Bus xorg-server.conf file in the wrong location
Summary: x11-base/xorg-server-1.6.3 installs D-Bus xorg-server.conf file in the wrong ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 282290
  Show dependency tree
 
Reported: 2009-08-16 05:41 UTC by Mart Raudsepp
Modified: 2009-08-26 13:05 UTC (History)
1 user (show)

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


Attachments
changes the location for dbus-related file (xorg-server-1.6.3.ebuild.patch,577 bytes, patch)
2009-08-16 06:15 UTC, Sebastian Lüttich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2009-08-16 05:41:33 UTC
When I upgraded to xorg-server-1.6.3, I saw /etc/dbus-1/system.d/xorg-server.conf getting unmerged. After a quick look, it seems the file got installed to /etc/X11/dbus-1/system.d now instead. That location is (probably) quite ineffective and useless for that file.
Please investigate.
/me wonders what that file enables
Comment 1 Sebastian Lüttich 2009-08-16 06:15:17 UTC
Created attachment 201390 [details, diff]
changes the location for dbus-related file

cd /usr/portage/x11-base/xorg-server
patch -p1 < xorg-server-1.6.3.ebuild.patch
ebuild xorg-server-1.6.3.ebuild manifest
emerge -va1 xorg-server

Strange, this piece of code was still included in xorg-server-1.6.2.901.ebuild...
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-08-16 12:40:07 UTC
That file is used for the xorg-server dbus API (to add/remove devices) back when X folks thought devices should be managed outside the server.

Since we no longer enable the dbus API (which is unused by all other distros), I removed the code block from the ebuild, but it apparently still installs the damn dbus file :)

Patch welcome and I'll commit it upstream, or I'll get to this really soon (shouldn't be too hard).

Thanks
Comment 3 Sebastian Lüttich 2009-08-16 14:20:05 UTC
(In reply to comment #2)

> Since we no longer enable the dbus API (which is unused by all other distros),
> I removed the code block from the ebuild, but it apparently still installs the
> damn dbus file :)

The we should at least don't use "--enable-config-dbus" as a configure variable for compiling 1.6.3.

As long as xorg-server is configured an compiled with "--enable-config-dbus" we _need_ this file in the right place.

As I understand, gentoo discountinues the use of dbus for input device config.  Back to xorg.conf then?

S¹
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2009-08-16 15:56:48 UTC
(In reply to comment #3)
> The we should at least don't use "--enable-config-dbus" as a configure variable
> for compiling 1.6.3.
> 
> As long as xorg-server is configured an compiled with "--enable-config-dbus" we
> _need_ this file in the right place.

I could swear I removed this a few weeks ago... Fuck cvs, I don't want to spend time to track this down, I'll remove it again.

> As I understand, gentoo discountinues the use of dbus for input device config. 
> Back to xorg.conf then?

The dbus API is to configure Xorg from _outside_, ie with a stand-alone configuration tool. Xorg can and will still be able to use HAL to pick up input drivers. Ergo, Xorg will still use dbus _client_ APIs, not the _service_ ones.

The fact that this option was folded under USE="hal" makes things quite confusing while the features has absolutely nothing to do with HAL

Confusing, eh :)
Comment 5 Sebastian Lüttich 2009-08-16 17:23:44 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > The we should at least don't use "--enable-config-dbus" as a configure 
> I could swear I removed this a few weeks ago... Fuck cvs, I don't want to spend
> time to track this down, I'll remove it again.
> 
> > As I understand, gentoo discountinues the use of dbus for input device config. 
> > Back to xorg.conf then?
> 
> The dbus API is to configure Xorg from _outside_, ie with a stand-alone
> configuration tool. Xorg can and will still be able to use HAL to pick up input
> drivers. Ergo, Xorg will still use dbus _client_ APIs, not the _service_ ones.

Ah!  I was a little bit irritated, cuz dbus seems to be the latest craze @kde.

Sebastian
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2009-08-26 13:05:56 UTC
I've added xorg-server 1.6.3.901 which contains patches and fixes for this issue. Please don't hesitate to reopen this bug if you can reproduce the issue with the new version.

Thanks