Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 110381

Summary: x11-libs/libXfixes RDEPEND
Product: Gentoo Linux Reporter: Spider (RETIRED) <spider>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Spider (RETIRED) gentoo-dev 2005-10-24 15:11:07 UTC
well, the include files depend hard on x11-proto/fixesproto and xproto-7.0.1 due
to the headers :
#include <X11/extensions/xfixeswire.h>
#include <X11/Xfuncproto.h>
Comment 1 Joshua Baergen (RETIRED) gentoo-dev 2005-10-24 16:10:21 UTC
Header files (.h) are only required at compile time.

However, good catch on xproto, as this isn't even in their configure.ac.  Please
file a bug at https://bugs.freedesktop.org regarding the missing xproto check
and post the link here.  Thanks :)
Comment 2 Spider (RETIRED) gentoo-dev 2005-10-24 16:59:58 UTC
Well, header files that -refer- directly and unconditionally to other headers,
and where theese in turn include breakages -should- have an RDEPEND.

This is to make sure that builds that depend on this header ( fex. I explicitly
depend on libXfixes for a package) should actually work, without needing to
specify every include file that libXfixes refer to as well.

 

right now -all- things that depend on libXfixes need to also depend on xproto
-and- the wire protocol if they are even to compile.   This would be
unobtainable if our whole tree was to be built like that.



So, yes, even header dependencies are to be considered RDEPEND,  same way as
libraries are.
Comment 3 Joshua Baergen (RETIRED) gentoo-dev 2005-10-24 18:42:47 UTC
Ya, I see what you mean now.

Donnie, was proto intended to be this way upstream or should those lib header
files be fixed/pushed into proto?
Comment 4 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 21:46:15 UTC
This issue has been fixed.  I think the missing xproto issue was fixed upstream
as well, but I might be mistaken.
Comment 5 Joshua Baergen (RETIRED) gentoo-dev 2005-11-20 21:46:29 UTC
Marking fixed.