Due to API changes in recently released media-gfx/exiv2-0.21 (see http://dev.exiv2.org/issues/show/0000721), gthumb-2.12.1 with USE=exif (as well as upstream gthumb git head) fails to build: # USE=exif emerge gthumb [...] make[4]: Entering directory `/var/tmp/portage/media-gfx/gthumb-2.12.1/work/gthumb-2.12.1/extensions/exiv2_tools' CXX libexiv2_tools_la-exiv2-utils.lo exiv2-utils.cpp: In function ‘const char* get_exif_default_category(const Exiv2::Exifdatum&)’: exiv2-utils.cpp:500:6: error: ‘isMakerIfd’ is not a member of ‘Exiv2::ExifTags’ exiv2-utils.cpp:504:7: error: ‘ifd1Id’ is not a member of ‘Exiv2’ exiv2-utils.cpp:506:7: error: ‘gpsIfdId’ is not a member of ‘Exiv2’ exiv2-utils.cpp:508:7: error: ‘iopIfdId’ is not a member of ‘Exiv2’ exiv2-utils.cpp: In function ‘void exiv2_read_metadata(Exiv2::Image::AutoPtr, GFileInfo*)’: exiv2-utils.cpp:534:28: error: ‘ifd1Id’ is not a member of ‘Exiv2’ make[4]: *** [libexiv2_tools_la-exiv2-utils.lo] Error 1
Created attachment 257596 [details, diff] gthumb-2.12.1-exiv2-0.21.patch Patch for exiv-0.21 compatibility; should allow compilation with exiv-0.20 as well as 0.21. Tested with exiv-0.21 on many photos, works fine. I am also submitting this patch upstream at https://bugzilla.gnome.org/show_bug.cgi?id=636227
I suppose exiv2 upstream didn't consider slotting their lib right ?
The patch has been accepted by gthumb upstream: http://git.gnome.org/browse/gthumb/commit/?id=1834cea61050e476e97e3831538169a40af8a72f
+ 21 Dec 2010; Samuli Suominen <ssuominen@gentoo.org> gthumb-2.12.1.ebuild, + +files/gthumb-2.12.1-new-exiv2.patch: + Fix compability with exiv2 >= 0.21 API wrt #349160 by Alexandre Rostovtsev.