GNOME Bugzilla – Bug 681448
1.13.6 does not build with libgphoto2 < 2.5.0
Last modified: 2012-09-13 14:26:04 UTC
1.13.6 introduces support for libgphoto 2.5. Unfortunately, the way configure checks for it is not working, and results in ALWAYS flagging 2.5 support if libgphoto2 is found, due to the fact that PKG_CHECK_MODULES(GPHOTO2, libgphoto2 >= 2.5.0, => reuses GPHOTO2, which had been 'confirmed' earlier and is now defined already. so configure passes over it and 'agrees' to it. Changing that line to PKG_CHECK_MODULES(GPHOTO25, libgphoto2 >= 2.5.0, resolves the issue (but then actually fails, as libgphoto 2.5 becomes 'mandatory') I'll shortly attach a patch which corrects this.
Created attachment 220669 [details] [review] Support gphoto 2.5, but do not require it.
Just as a reminder: This patch is still needed on gvfs 1.13.7 to support gphoto < 2.5 due to the way configure caches results.
Pushed to master
*** Bug 683957 has been marked as a duplicate of this bug. ***