Bug 176159 - -devel: missing (modular) X dependancies
Summary: -devel: missing (modular) X dependancies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-12-19 19:09 UTC by Rex Dieter
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-12-21 15:17:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2005-12-19 19:09:37 UTC
-devel: should add
Requires: xorg-x11-proto-devel
Requires: libX11-devel 
for usage of X11/X.h and X11/Xlib.h, repectively, in it's own installed headers.

These are the first ones I've found by casual inspection, there may be more.

You may want to add whatever(??) owns libICE.so, since kdelibs' .la files
include references to it, and libXt-devel (since many/most kde apps' default
./configure test for the presence ot X libs looks for libXt.so)

Comment 1 Rex Dieter 2005-12-19 19:16:47 UTC
I see that libICE/libX11 is picked up by qt-devel, though arguably, libX11
should be here in kdelibs too, since it contains direct references to X11/Xlib.h

Comment 2 Ville Skyttä 2005-12-19 22:48:24 UTC
(In reply to comment #0)
> and libXt-devel (since many/most kde apps' default
> ./configure test for the presence ot X libs looks for libXt.so)

FWIW, I think this alone is not a reason to make kdelibs-devel pull libXt-devel
in.  If the apps use it directly (for configure tests or whatever), they should
have a build dependency on it.

Comment 3 Rex Dieter 2005-12-21 14:12:39 UTC
Re: comment #2:  No, the apps don't use libXt directly, but kde's *generic*
configure test for X includes and X libraries look for X11/Intrinsic.h and libXt
respectively.  If libXt-devel isn't added to kdelibs-devel's Req's, then
(almost?) *every* kde application will need:
BuildRequires: libXt-devel
just to build, even though they don't use it.  

OTOH, it's arguable that kde's generic test for the presence of X headers/libs
is wrong/unnecesssary.

Comment 4 Than Ngo 2005-12-21 15:17:27 UTC
it seems qt needs libXt-devel for building, those requires should be added in
qt-devel. Many thanks for your reports.

Comment 5 Rex Dieter 2005-12-21 15:30:00 UTC
Don't forget kdelibs-devel should have 
Requires: xorg-x11-proto-devel libX11-devel
regardless of qt-devel's situation.


Note You need to log in before you can comment on or make changes to this bug.