GNOME Bugzilla – Bug 630460
PackageKit integration is not working on all distros
Last modified: 2010-09-26 19:13:27 UTC
The code does this: g_list_foreach (missing_packages, (GFunc) strip_package_version_info, NULL); anjuta_util_glist_strings_prefix (missing_packages, "/usr/lib/pkgconfig/"); anjuta_util_glist_strings_sufix (missing_packages, ".pc"); missing_files = g_list_concat (missing_programs, missing_packages); However, at least in openSUSE, we don't have metadata with the complete list of files for all packages, so looking for /usr/lib/pkgconfig/gtkmm-2.4.pc won't work. On the other hand, most if not all rpm-based distro will be able to find the package that provides pkgconfig(gtkmm-2.4). So maybe we should use this instead?
What do you exactly propose? I am quite sure the current code doesn't even work with Fedora but didn't have time to fix it yet. Do you mean the list of missing files should should include "pkgconfig(gtkmm-2.4)"? Thanks
Trying to install pkgconfig(gtkmm-2.4) instead of /usr/lib/pkgconfig/gtkmm-2.4.pc will work, yes. At least on Fedora and openSUSE (and probably Mandriva/Mageia too). No idea about .deb-based distros.
Created attachment 171080 [details] [review] Patch to implement what Vincent suggested The problem is that while trying to install the file you propose it doesn't work for me on Fedora 13. Could you check if it works for openSuSE or give me another suggestion what could be wrong? Thanks!
The attached patch works like a charm on openSUSE. Still you removed the addition of /usr/bin for binaries and i think it should be kept. What gpk-install-provide-file "pkgconfig(gtkmm-2.4)" does on fedora 13 ? Maybe this feature have only been implmented on fedora 14.
Created attachment 171125 [details] [review] Updated attachment Thanks for catching the "/usr/bin" issue! This is the updated patch, it still doesn't work on f13 but if it works on OpenSuSE that's at least better than working nowhere. Would be nice if someone could try on f14. Will ask for a freeze break as this is rather trivial but pretty much user-visible.
This patch works on openSUSE. Thanks for the patch.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.