[Shotwell] Trouble enabling plugins

Michel Alexandre Salim salimma at fedoraproject.org
Tue Mar 29 02:52:37 PDT 2011


On 03/29/2011 12:23 AM, Lucas Beeler wrote:
> Hi Michel,
>
> As Adam mentioned in the previous email, I'm the Fedora user in the
> office. This bug is not reproducible on the i686 build of FC15-alpha
> -- I just tried it. So I suspect this is a 64-bit issue, specifically
> a /usr/lib vs. /usr/lib64 problem. We're just setting up an FC15-alpha
> x64 test machine right now. Once we've reproduced the problem on that
> system, I'll get back to you.
>
> Regards,
> Lucas
Hi Lucas,

We have a fixed build in the pipeline; it is indeed a multilib problem 
(/usr/lib vs /usr/lib64). I've attached a patch that makes the Vala 
build process more multilib-friendly (allowing LIB to be overridden in 
configure.mk, and properly generating the plugins .pc file) but I have 
not fixed the AppDirs.vala's hardcoding of "lib" rather than taking the 
LIB value from the Makefile.

http://trac.yorba.org/ticket/3421

My m4-foo is not that solid, so we just ended up patching AppDirs.vala 
directly using sed as part of our build preparation. If you can find a 
way to use m4 (to be consistent with the rest of the build process) to 
automatically replace, say, _LIB_ with whatever LIB is set to, in 
AppDirs.vala, like my patch does for the plugins .m4 file, that'd be 
wonderful.

Thanks,

-- 
Michel Alexandre Salim
GPG key ID: 78884778

()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


More information about the Shotwell mailing list