Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209038 - x11-libs/ redundant RDEPEND on x11-proto stuff
Summary: x11-libs/ redundant RDEPEND on x11-proto stuff
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-05 22:14 UTC by Olivier Rolland
Modified: 2008-02-06 08:01 UTC (History)
2 users (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 Olivier Rolland 2008-02-05 22:14:52 UTC
If I understand the developper handbook correctly, RDEPEND should only contain runtime dependencies and DEPEND should only contain dependencies needed at compile time. Most of the time, RDEPEND is included in DEPEND, but this is not always the case. For instance, a package containing headers only should only be needed at build time. However, if I check the 'proto' packages of xorg, I see that:

- libXcomposite rdepends on compositeproto
- libXdamage rdepends on damageproto
- libXfixes rdepends on fixesproto
- libXfont rdepends on fontsproto
- libX11, libxkbfile, libxkbui and libXt rdepend on kbproto
- libXp rdepends on printproto
- libXrandr rdepends on randrproto
- libXtst rdepends on recordproto
- libXrender rdepends on renderproto
- libXv and libXvMC rdepend on videoproto
- libXext and libmpeg2 (!) rdepend on xextproto
- and many other packages rdepend on xproto

On the same subject, but not related to xorg, hal rdepends on linux-headers.

On the other hand, a lot of packages rdepend on pkgconfig and that's clearly an error (grisbi, libburn, libisofs, cairo, glib-perl, gtk2-perl, gst-plugins-ffmpeg, shrip and libgksu amongs others).

Finaly iso-codes doesn't have any RDEPEND clause. In that case, it seems that RDEPEND = DEPEND whereas RDEPEND should be empty.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-05 22:19:33 UTC
Please don't file monster bugs about totally unrelated packages. This one is for x11-libs/ *only*. Anything else not maintained by x11 -> a *new* bug.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-02-06 08:01:51 UTC
In a Gentoo system, where you compile things against libraries and headers, we consider any headers directly #include'd by the X libraries to be their runtime dependencies. We make this interpretation because of the sheer scale of trying to do anything else.

The alternative would be to make every single package that used X add a number of additional *proto packages to its DEPEND list. One Gentoo developer wanted to make this same change, but once he realized the scope of it, he decided it wasn't worth the effort.

If you're on an embedded system where this is critical, you could use a feature like INSTALL_MASK or run a script to clean out the usual places like /usr/include, /usr/share/man, etc.