GNOME Bugzilla – Bug 706849
Add a dependency check
Last modified: 2013-08-26 23:13:49 UTC
gnome-maps does not check for dependencies a build time. There are rumors that you are planning a release, so that should not harm:-)
Created attachment 253200 [details] [review] patch proposal
Review of attachment 253200 [details] [review]: We don't have any buildtime deps on these and configure checks are for buildtime only (think cross-compilation).
Instead we should ensure we list all direct runtime deps in README.
(In reply to comment #2) > Review of attachment 253200 [details] [review]: > > We don't have any buildtime deps on these and configure checks are for > buildtime only (think cross-compilation). sure, there is not buildtime deps, but with this patch autotools will warn you if any library is missing and will not let you to proceed. because as it is, it builds fine and then cause a segmentation fault due to missing deps. it's up to you, but gnome-weather and other do apply this technique.
(In reply to comment #4) > (In reply to comment #2) > > Review of attachment 253200 [details] [review] [details]: > > > > We don't have any buildtime deps on these and configure checks are for > > buildtime only (think cross-compilation). > > sure, there is not buildtime deps, but with this patch autotools will warn you > if any library is missing and will not let you to proceed. I understand but its wrong to require something at a stage where you don't actually need it. > because as it is, it builds fine and then cause a segmentation fault due to > missing deps. I'll be more than happy to add a runtime deps check in maps. > it's up to you, but gnome-weather and other do apply this technique. They are wrong and this "solution" comes at the cost of annoying packagers. I'd welcome a proper solution. Besides this issue wont matter to most people who'll get it from their distro along with all the runtime deps.