[Adium-devl] Libpurple Build Dependencies
Augie Fackler
lists at durin42.com
Fri Sep 28 18:19:39 UTC 2007
On Sep 28, 2007, at 2:12 PM, Evan Schoenberg wrote:
> 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.
We should be able to do this all using the native build system for
each target and some clever linker options. Should I make my goal a
universal gstreamer binary and just do deps for that first? Or do you
have libs that Libpurple.framework uses I should do first?
>
> 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.
aaand a kitten dies because of how nasty that is. Static config.h's
for the lose. Ideally, upstream rearrangements of code shouldn't
require project changes on our end.
Augie
>
> -Evan
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
More information about the devel
mailing list