Bug 108504 - x11-base/x11-drm and x11-libs/libdrm overlap?
Bug#: 108504 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: battousai@gentoo.org Reported By: alonbl@gentoo.org
Component: Ebuilds
URL: 
Summary: x11-base/x11-drm and x11-libs/libdrm overlap?
Keywords:  
Status Whiteboard: 
Opened: 2005-10-08 07:57 0000
Description:   Opened: 2005-10-08 07:57 0000
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 From Joshua Baergen (RETIRED) 2005-10-08 08:38:51 0000 -------
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 From Donnie Berkholz 2005-10-08 10:05:37 0000 -------
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 From Donnie Berkholz 2005-10-08 10:06:19 0000 -------
FWIW, you're also welcome to take over maintenance of libdrm if you'd like.
Just
let us know.

------- Comment #4 From Alon Bar-Lev (RETIRED) 2005-10-08 14:06:37 0000 -------
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 From Donnie Berkholz 2005-10-08 19:33:00 0000 -------
OK, I suppose the offer also applies to Bryan then. =)

------- Comment #6 From Alon Bar-Lev (RETIRED) 2005-10-29 09:34:38 0000 -------
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 From Bryan Stine 2005-10-29 11:49:14 0000 -------
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 From Donnie Berkholz 2005-10-29 12:21:43 0000 -------
x11-drm has no reason to install libdrm if you're using monolithic X, because
nothing uses it, as Bryan alluded.