On 31 mei 2013, at 02:18, Jonathan Rice <jrmaili...@gmail.com> wrote:
> Hi, I'm Jonathan. I previously created a Meanwhile patch to fix a Sametime > issue in Adium 1.5.4 (https://trac.adium.im/ticket/16114) Now, I'm working on > https://trac.adium.im/ticket/16345, where Sametime chat support is completely > broken in Adium 1.5.6. > > I've narrowed the issue to when Adium upgraded to libpurple 2.7.10. Sphynx > noted a libpurple commit that could be related, and I'd like to revert the > change and test again. However, I'm having trouble building libpurple for > Adium. > > What's the proper way to build libpurple for Adium? > > Following https://trac.adium.im/wiki/GettingLibpurpleSource, I'm running > ./build.sh from /Dependencies. > I've tried: > ./build.sh > ./build.sh --configure > ./build.sh --download-libpurple > ./build.sh --libpurple-only > > Is this the way to do it? It keeps erroring out at some place or another. I'm > running inside `brew sh`, installed many brew dependencies as they've come > up, but I'd like to know I'm on the right track before muddling through any > more errors. > > Thanks for your help, > Jonathan Hi Jonathan, The last couple of Adium builds haven't used the scripts in /Dependencies. The work necessary to ensure updated dependencies still worked correctly in 32 and 64 bits, on 10.6 to 10.8 was getting too much. Why waste effort on that when there are some package manages that specialize in that. So I've switched to using Homebrew to build the dependencies, with an extra script to copy them into Frameworks and prepare them for Adium. I haven't yet documented this elsewhere, which I really should've done a while ago. The steps to do this are now: cd Dependencies # it needs to be built here in the Adium tree, it needs to be able to find Dependencies/patches git clone https://github.com/adium/homebrew.git Brew cd Brew git checkout adium-1.5.5 # Didn't branch for 1.5.6... ./bin/brew frameworks --universal ./copy_frameworks.sh Changing the version of libpurple that's built can be done by editing Library/Formula/libpurple.rb. It currently grabs the tarball for the revision http://hg.adium.im/libpurple/rev/590f15aee045. I hope this helps, and let me know if you run into more problems, Thijs Alkemade
signature.asc
Description: Message signed with OpenPGP using GPGMail