Currently, nautilus has an automagic dependency on exempi (not in portage; media-libs/exempi-1.99.7 is in the sunrise overlay). Nautilus will automatically link against exempi if it detects it during configure. Unfortunately, nautilus-2.20.0 was written for the old version of the exempi API, and fails with a link error during compile if exempi-1.99.5 or higher is found: nautilus-image-properties-page.o: In function `append_xmp_value_pair': nautilus-image-properties-page.c:(.text+0x278): undefined reference to `xmp_get_property_and_bits' collect2: ld returned 1 exit status make[2]: *** [nautilus] Error 1
Created attachment 141016 [details, diff] nautilus-2.20.0-exempi-new-api.patch The solution is to add the following patch. It has been incorporated upstream as part of the gio branch (which was merged into nautilus trunk with revision 13464).
I believe this patch is useless on its own. It won't fix the automagic dependency on exempi. I checked nautilus's configure.in and there's no AC_ARG_{WITH,ENABLE} for a lot of libraries, exempi included. I suggest we either patch configure or that we force the use of exempi.
Created attachment 141022 [details, diff] nautilus-2.20.0-exempi-enable.patch OK. Then here's a patch to make exempi disableable (apply it on top of the previous patch).
exempi is not in portage because it's not ready for general consumption. It's API changed way too much in past release since it gained support in say eog. I'd suggest you post a bug upstream first to get it included in 2.22
(In reply to comment #4) First, all versions of exempi API are already supported by eog-2.20.4 (in tree). Second, upstream >=nautilus-2.21.1 already supports new exempi API -- that's where I got the first patch from. I just wanted to backport support for >=exempi-1.99.5 to nautilus-2.20, so it builds on my system. Or at least have the ability to disable automagic dependency.
I'll just add a force-off patch. Beware though that overlays breaking the main tree is just not a priority for most of us. btw can someone tell my why it is in sunrise and not in gnome overlay ?
(In reply to comment #6) > btw can someone tell my why it is in sunrise and not in gnome overlay ? Because I like up to date exempi, I can commit to sunrise, and I cannot commit to gnome overlay. But if you want to keep it in gnome overlay, keep it up to date and patch weirdness in upstream's configure.ac with every new release, please do so, it will be one less headache for me :)
I created a bug report at gnome's bugzilla, https://bugzilla.gnome.org/show_bug.cgi?id=540992 and attached a patch to disable XMP support (Alex didn't found yours before). This one should be enough to close this one and bump exempi to main tree?
exempi disabled in nautilus 2.20.0-r2 and nautilus-2.22.5.1-r1 since only ~arch users are going to get exempi for a while.