Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108504 - x11-base/x11-drm and x11-libs/libdrm overlap?
Summary: x11-base/x11-drm and x11-libs/libdrm overlap?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Bryan Stine (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-08 07:57 UTC by Alon Bar-Lev (RETIRED)
Modified: 2005-10-29 12:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alon Bar-Lev (RETIRED) gentoo-dev 2005-10-08 07:57:41 UTC
Both compiles the library.
x11-base/x11-drm compiles also the kernel modules.

It is not clear which one to use in a modular installation of X, it seems that
x11-libs/libdrm should be used but then the modules are not installed.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2005-10-08 08:38:51 UTC
x11-drm is currently meant for monolithic X.  I'm not sure the current snapshots
will support modular correctly.  I'm also not familiar enough with x11-drm's
development to know where they're headed or if they've fixed this already.

In any case, the modular version will be newer.  Commenting out line 140 (the
emake line) in x11-drm-20050807.ebuild will temporarily resolve this conflict.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-08 10:05:37 UTC
Bryan, can you please change x11-drm to only install the module and tools, and
_not_ the headers or libdrm? It would be more convenient to have them in a
separate package, so whenever the kernel's updated you don't need to recompile
the whole thing.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-08 10:06:19 UTC
FWIW, you're also welcome to take over maintenance of libdrm if you'd like. Just
let us know.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2005-10-08 14:06:37 UTC
Oh... Thanks!
But I am doing my first steps in Xorg... I really got into this since I want my
ATI card work with TVout and aceeleration... It is not easy though... :(
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-08 19:33:00 UTC
OK, I suppose the offer also applies to Bryan then. =)
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2005-10-29 09:34:38 UTC
Hi!

I've seen the fix, thanks!

I have one comment...
If I install x11-base/xorg-x11-6.8.99.15 I cannot install x11-libs/libdrm...

So maybe x11-drm should ask which {xorg-x11, xorg-server} is installed and
continue installing libdrm if none modular X is installed?
Comment 7 Bryan Stine (RETIRED) gentoo-dev 2005-10-29 11:49:14 UTC
Well, I can't think of anything in the tree that would need libdrm with 
monolithic xorg-x11 installed. If you have a particular package in mind, let me 
know and I can add logic to the x11-drm ebuild to install the library. 
 
As it is, x11-drm only needs object files for libdrm, not the actual library. 
Comment 8 Donnie Berkholz (RETIRED) gentoo-dev 2005-10-29 12:21:43 UTC
x11-drm has no reason to install libdrm if you're using monolithic X, because
nothing uses it, as Bryan alluded.