GNOME Bugzilla – Bug 366930
disable-api-atkmm causes pkg-config to break
Last modified: 2006-11-21 09:19:17 UTC
As reported here: http://bugs.gentoo.org/153294 the gtkmm-2.4.pc unconditionally includes atkmm-1.6. " pkg-config --libs gtkmm-2.4 Package atkmm-1.6 was not found in the pkg-config search path. Perhaps you should add the directory containing `atkmm-1.6.pc' to the PKG_CONFIG_PATH environment variable Package 'atkmm-1.6', required by 'gtkmm', not found " I am not sure if you want gtkmm to require atkmm if you enable it or just have people migrate to using the atkmm pc file instead. Attached is a patch to remove the unconditional atkmm-1.6 in the gtkmm pc file.
Created attachment 75617 [details] [review] gtkmm-2.10.2-remove_atk_from_gtk_pc.patch
This should use a variable so that atkmm is required when it is built.
Created attachment 76818 [details] [review] Patch to add/remove atkmm-1.6 from gtkmm-2.4.pc if api-atkmm is wanted at configure time If atk-spi is enabled then the gtkmm.pc file is identical to the original one. If it's disabled, there's a double space between pangomm-1.4 and gtkmm-2.0 which doesn't seem to bother pkg-config. Murray, is this what you had in mind?
Yes, that's great, thanks. Committed to the HEAD and gtkmm-2-8 branches. Please remember to patch the ChangeLog in future.