GNOME Bugzilla – Bug 572697
Clean up .pc dependency
Last modified: 2011-08-09 05:52:46 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.
Created attachment 135522 [details] [review] Removes gail and atk. This worked for me when compiling heraia which uses gtkhex library.
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'.