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 572697 - Clean up .pc dependency
Clean up .pc dependency
Status: RESOLVED FIXED
Product: ghex
Classification: Applications
Component: general
2.24.x
Other Mac OS
: Normal normal
: ---
Assigned To: GHex maintainers
GHex maintainers
Depends on:
Blocks:
 
 
Reported: 2009-02-21 23:18 UTC by Daniel Macks
Modified: 2011-08-09 05:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Removes gail and atk. (364 bytes, patch)
2009-05-28 21:18 UTC, Olivier Delhomme (IRC : dup)
none Details | Review

Description Daniel Macks 2009-02-21 23:18:56 UTC
ghex-2.24.0/gtkhex.pc has:

>Requires: gail atk gtk+-2.0

It appears that gail and atk are internal implementation details of libgtkhex: there does not appear to be any use of gail or atk in the libgtkhex public interface, no #include for them in public headers, etc. Therefore, no need to force "everyone linking against libgtkhex" to link against libgail and libatk. The only external headers used in the public headers of ghex are from gtk and gdk, so:

>Requires: gtk+-2.0

would suffice.
Comment 1 Olivier Delhomme (IRC : dup) 2009-05-28 21:18:43 UTC
Created attachment 135522 [details] [review]
Removes gail and atk.

This worked for me when compiling heraia which uses gtkhex library.
Comment 2 Kalev Lember 2011-08-09 05:52:46 UTC
Thanks. I moved the internal deps to Requires.private in http://git.gnome.org/browse/ghex/commit/?id=e42dd91b

That way, only 'pkg-config --libs --static gtkhex-3' will have -lgailutil-3, but it will be gone from 'pkg-config --libs gtkhex-3'.