Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374409 - media-gfx/shotwell doesn't compile with newer libraw versions
Summary: media-gfx/shotwell doesn't compile with newer libraw versions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christoph Mende (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-08 06:46 UTC by Benedikt Reinartz
Modified: 2011-07-09 21:40 UTC (History)
1 user (show)

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


Attachments
Patches libraw_config to look for libraw.so instead of libraw.a (libraw_config.patch,522 bytes, text/plain)
2011-07-08 06:47 UTC, Benedikt Reinartz
Details
libraw-config patch (shotwell-0.10.1-libraw.patch,612 bytes, patch)
2011-07-09 20:41 UTC, Tim Harder
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benedikt Reinartz 2011-07-08 06:46:10 UTC
When trying to emerge shotwell I get

"Package libraw not found"

although it's installed. After poking through shotwells (bad) build system I found out, that they're using some kind of pkg-config-replacement for libraw, which only looks for "libraw.a". This one does not exist at least for libraw-0.13.6.

Reproducible: Always
Comment 1 Benedikt Reinartz 2011-07-08 06:47:43 UTC
Created attachment 279405 [details]
Patches libraw_config to look for libraw.so instead of libraw.a

With this patch I can emerge shotwell again \o/
Comment 2 Tim Harder gentoo-dev 2011-07-09 04:54:38 UTC
Yep, I added the static-libs use flag to libraw-0.13.6 so the static library isn't installed by default anymore.
Comment 3 Tim Harder gentoo-dev 2011-07-09 05:05:06 UTC
However, your patch shouldn't be necessary since libraw should still install the pkgconfig files which are checked by libraw-config before trying the static archives. At least it appears to work that way for me.
Comment 4 Tim Harder gentoo-dev 2011-07-09 05:34:43 UTC
Nevermind, I see what's happening; however, it would probably be better to patch the makefile to directly use the libraw pkgconfig files.
Comment 5 Christoph Mende (RETIRED) gentoo-dev 2011-07-09 08:49:01 UTC
(In reply to comment #4)
> Nevermind, I see what's happening; however, it would probably be better to
> patch the makefile to directly use the libraw pkgconfig files.

I don't see what's happening, afaict the patched part should never be used, because the first two checks are already true. So why does it even try to check libraw_r.a?
Comment 6 Tim Harder gentoo-dev 2011-07-09 20:41:55 UTC
Created attachment 279537 [details, diff]
libraw-config patch

This patch should help clear things up. :)
Comment 7 Christoph Mende (RETIRED) gentoo-dev 2011-07-09 21:40:10 UTC
Indeed, thanks for the patch, applied it.