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
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/
Yep, I added the static-libs use flag to libraw-0.13.6 so the static library isn't installed by default anymore.
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.
Nevermind, I see what's happening; however, it would probably be better to patch the makefile to directly use the libraw pkgconfig files.
(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?
Created attachment 279537 [details, diff] libraw-config patch This patch should help clear things up. :)
Indeed, thanks for the patch, applied it.