Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206041 - gnome-base/nautilus-2.20.0-r1 fails to build if it detects >=media-libs/exempi-1.99.5
Summary: gnome-base/nautilus-2.20.0-r1 fails to build if it detects >=media-libs/exemp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 185689
  Show dependency tree
 
Reported: 2008-01-16 00:17 UTC by Alexandre Rostovtsev (RETIRED)
Modified: 2008-10-11 15:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
nautilus-2.20.0-exempi-new-api.patch (nautilus-2.20.0-exempi-new-api.patch,1.61 KB, patch)
2008-01-16 00:19 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff
nautilus-2.20.0-exempi-enable.patch (nautilus-2.20.0-exempi-enable.patch,1.71 KB, patch)
2008-01-16 07:45 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-01-16 00:17:24 UTC
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
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-01-16 00:19:25 UTC
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).
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-01-16 07:11:10 UTC
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.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-01-16 07:45:48 UTC
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).
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-01-16 09:33:05 UTC
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
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-01-16 16:45:34 UTC
(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.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-01-16 17:47:20 UTC
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 ?
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2008-01-16 18:09:56 UTC
(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 :)
Comment 8 Mikel Olasagasti 2008-07-08 15:47:55 UTC
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?

Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-11 15:20:24 UTC
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.