Ticket #19503 (closed defect: fixed)
xorg-libX11, xrender: some build dependencies should be lib dependencies
| Reported by: | ryandesign@… | Owned by: | jeremyhu@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Port: | xorg-libX11, xrender |
Description
php5-gtk failed to install, saying it couldn't find gtk2, though it was installed. I found that pkg-config was unable to tell me about gtk2 because parts it required had been uninstalled, by me, when I used port_cutleaves to remove ports it said were not depended on by anything.
$ pkg-config --modversion gtk+-2.0 Package xproto was not found in the pkg-config search path. Perhaps you should add the directory containing `xproto.pc' to the PKG_CONFIG_PATH environment variable Package 'xproto', required by 'Xrender', not found $ port install xorg-xproto $ pkg-config --modversion gtk+-2.0 Package renderproto was not found in the pkg-config search path. Perhaps you should add the directory containing `renderproto.pc' to the PKG_CONFIG_PATH environment variable Package 'renderproto', required by 'Xrender', not found $ port install xorg-renderproto $ pkg-config --modversion gtk+-2.0 Package kbproto was not found in the pkg-config search path. Perhaps you should add the directory containing `kbproto.pc' to the PKG_CONFIG_PATH environment variable Package 'kbproto', required by 'X11', not found $ port install xorg-kbproto $ pkg-config --modversion gtk+-2.0 2.16.1 $
It seems to me that xorg-xproto and xorg-renderproto should be declared as library dependencies, not build dependencies, of xrender, and that xorg-kbproto should be declared as a library dependency, not a build dependency, of xorg-libX11, and that perhaps the same change needs to be made for any other *proto ports that are currently being declared as build dependencies.
Change History
Note: See
TracTickets for help on using
tickets.

