[Adium-devl] Libpurple Build Dependencies
Evan Schoenberg
evan.s at dreskin.net
Fri Sep 28 18:12:58 UTC 2007
Quoting Eric Richie <edr1084 at gmail.com>:
> On 9/28/07 6:57 AM, "Evan Schoenberg" <evan.s at dreskin.net> wrote:
>
>> The updated-build-dependencies at [492] builds without errors for
>> me on 10.5,
>> FYI.
>>
> O_o ... Ummm... Were you just using the libpurple target to test that? I¹m
> hoping so because if not it means that my version has somehow gone nutsy. I
> haven¹t yet copied the new targets into the libpurple build target. I
> wanted to get them building on their own before I did so. I probably should
> have mentioned that. As of my last commit you actually need to select the
> individual lib¹s target to test it. Sorry for the confusion.
Oh. Yeah, I just typed make, which builds the libpurple target in
Deployment. I didn't know a target switch was needed :)
Rather than struggling with hacking together compilation within XCode,
IMO it'd probably be better to get Augie to help make the process
Right as much as possible, the Perian way. For those who don't know:
Perian has an xcode target for each dependency which utilizes its own
configure/build process to produce a universal binary against which
the final product can link. This will likely be more complicated for
Libpurple.framework since there are multiple steps of dependency (e.g.
some of the libraries are dependencies for the dependencies
themselves, not for libpurple directly) but results in a much more
stable and robust build system. Some libraries will -need- this
because they have compilation steps xcode can't handle cleanly; none
of the current ones do, but a faint memory suggests that gstreamer
might.
The current process utilizes a static config.h for each dependency,
made using that library's configure script followed by manual changes
to allow for big/small endian appropriateness and other ppc vs. intel
#define differences. An XCode target then includes each file to be
built into the library. Static libraries are produced and linked
against as needed.
-Evan
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the devel
mailing list