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 352196 - libgnomecanvas' interface doesn't seem to depend on pango or pangoft2
libgnomecanvas' interface doesn't seem to depend on pango or pangoft2
Status: RESOLVED FIXED
Product: libgnomecanvas
Classification: Deprecated
Component: core
2.14.x
Other All
: Normal normal
: ---
Assigned To: Sven Herzberg
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2006-08-20 21:14 UTC by Samuel Thibault
Modified: 2006-11-14 15:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Samuel Thibault 2006-08-20 21:14:49 UTC
Hi,

In libgnomecanvas-2.0.pc.in, one can read

Requires: libart-2.0 pango pangoft2 gtk+-2.0

But when reading libgnomecanvas headers, one can't find a single mention of pango. Libgnomecanvas itself uses them, but it shouldn't expose them externally (since that imposes spurious dependencies). The dependencies should hence be split into

Requires: libart-2.0 gtk+-2.0
Requires.private: pango pangoft2
Comment 1 Sven Herzberg 2006-11-12 22:31:09 UTC
Can you provide some documentation about »Requires.private«
Comment 2 Samuel Thibault 2006-11-12 22:47:23 UTC
Grmbl, they forgot to document it in man pkgconfig... Requires.private is the same as Libs.private, but for Requires. Some debian person proposed the following:

Requires.private:
This line should list any private packages in use. Private packages are packages
which are not exposed through your library, but are needed in the case of static
linking.

In the libgnomecanvas case, the interface doesn't expose pango objects, so pango packages are not exposed through your library, so you can put them in Requires.private instead of Requires, making the dynamic dependencies lighter.
Comment 3 Sven Herzberg 2006-11-12 23:26:08 UTC
So, can you please add a link to the pkgconfig checkin that introduces this feature plus the version number of the first release that contains it?

Please understand that I'm just trying to be careful about not breaking gnome-canvas (and requiring the correct pkgconfig version also belongs to that as well).

Thank you, Samuel.
Comment 4 Samuel Thibault 2006-11-12 23:33:58 UTC
From pkg-config's ChangeLog: 

2005-06-27  Tollef Fog Heen  <tfheen@err.no>

	...

	* configure.in: Release 0.18

	...

	* pkg.h (struct _Package): Add requires_private
Comment 5 Sven Herzberg 2006-11-14 15:07:11 UTC
2006-11-14  Sven Herzberg  <herzi@gnome-de.org>

        * configure.in: depend on pkg-config 0.18
        * libgnomecanvas/libgnomecanvas-2.0.pc.in: move pango dependencies to
        Requires.private. Closes bug #352196 (Bug reported by Samuel Thibault)