After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 328141 - Use Requires.private in pkg-config files when appropriate
Use Requires.private in pkg-config files when appropriate
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
unspecified
Other All
: Normal minor
: Small fix
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2006-01-22 09:37 UTC by Behdad Esfahbod
Modified: 2015-04-30 16:32 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Behdad Esfahbod 2006-01-22 09:37:34 UTC
Pango has a heck a lot of pkg-config files.  They should use Requires.private when it makes sense, like for gmodule...

The infrastructure can be copied from cairo.  It needs some hacks to configure.in to ensure that the pkg-config version supports Requires.private...

For bonus move all these pkg-config files into a subdir.
Comment 1 Owen Taylor 2006-01-22 17:49:26 UTC
Note that Pango already goes to quite a bit of length to get the 
*effect* of Requires.private (and better, because of it hacks the
generated libtool files as well), without the requirement on
a newish package so this mainly is a cleanup issue, and also, less
importantly, would help when building static libraries. (But who
does that?)
Comment 2 Behdad Esfahbod 2006-01-22 18:10:16 UTC
Isn't that only true about .la files that Fedora doesn't install anyway?  All dependencies are there in pango.pc.  What am I missing?
Comment 3 Owen Taylor 2006-01-22 19:04:04 UTC
Well, pango.pc doesn't have interesting dependencies. Look at, say:

$ pkg-config --libs pangoxft
-lpangoxft-1.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0

Note that Xft, Xrender, FreeType, etc, aren't there.

Yes ... .la files aren't installed in Fedora, but Fedora is only part
of the world :-)
Comment 4 Braden 2010-02-19 22:40:55 UTC
Well, I think that's interesting. Why does that need to emit anything other than "-lpangoxft-1.0"?
Comment 5 Behdad Esfahbod 2015-04-30 16:32:54 UTC
Fixed in master.