Yes -- now I see what is going on. I noticed that the libraw libraries were .a files, but I thought they contained .so and that this was some Linux-ism to compress shared libraries. Now I see they're .o files, so in fact Shotwell *is* statically linking them in.
<sigh> This changes the game quite a bit. This means libraw is purely a build dependency. Users can't merely upgrade libraw, but need to rebuild Shotwell as well. I thought the bug fix was due to a header change, hence the need to recompile. It's more fundamental than that. I've posted a message with the libraw folks to get them start thinking about this issue: http://www.libraw.org/node/544 -- Jim On Wed, Jan 12, 2011 at 3:48 PM, Bruno Girin <[email protected]> wrote: > Jim, > > Yes I tried merely dropping in 0.12 with an existing build of Shotwell > and running ldconfig to force ld to refresh its cache. It didn't work. I > believe that's because libraw is a static library rather than a dynamic > one: you'll notice that it installs libraw.a and libraw_r.a but no .so > file. Maybe there is a compilation flag to get it to install a .so but I > didn't investigate. > > There is also a possibility that I didn't do the test properly so a > confirmation by someone else would be good :-) > > If you want to try with a file that exhibits the behaviour, here's one > posted to the ubuntu-uk mailing list: > http://marsters.co.uk/shotwell/eos60d-samples.tar.gz > > With libraw 0.9.1 it shows the purple stripe, with 0.12.2 it displays > the photograph properly. > > Bruno > > On Tue, 2011-01-11 at 12:55 -0800, Jim Nelson wrote: > > Bruno, > > > > Did you verify that you needed to recompile Shotwell with libraw 0.12 > > in order to fix the bug? Did you try merely dropping in 0.12 with an > > existing build of Shotwell? > > > > -- Jim > > > > On Tue, Jan 11, 2011 at 12:30 PM, Bruno Girin <[email protected]> > > wrote: > > On Tue, 2011-01-11 at 09:23 -0800, Adam Dingle wrote: > > > Bruce, > > > > > > To be clear, Shotwell itself does not include libraw: it > > just uses > > > whichever version of libraw happens to be available on your > > machine. We > > > do have plans to add libraw 0.12 to the Yorba PPA (see > > > http://trac.yorba.org/ticket/2583), but that's not done > > yet. We might > > > do that soon, or wait for the 0.9 release - that's still > > undecided. If > > > you're in a hurry, though, it shouldn't be too hard to build > > and install > > > libraw 0.12.2 on your Maverick box, and then Shotwell will > > use it. > > > > > > If you want to do that, you will have to compile libraw 0.12.2 > > and then > > re-compile Shotwell, as libraw is a static (rather than > > dynamic) > > library. Based on my tests, it does resolve the purple stripe > > problem > > seen on EOS 60D and 550D cameras (only tested with a 60D image > > though). > > > > Bruno > > > > > > > > _______________________________________________ > > Shotwell mailing list > > [email protected] > > http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell > > > > > > > _______________________________________________ > Shotwell mailing list > [email protected] > http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell > _______________________________________________ Shotwell mailing list [email protected] http://lists.yorba.org/cgi-bin/mailman/listinfo/shotwell
