Universal binary of libgaim

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
Arenzera
Crema
Posts: 271
Joined: Tue Dec 28, 2004 12:44 pm

Universal binary of libgaim

Post by Arenzera »

Hi there,

I downloaded the libgaim source from adiumx and I noticed that there's a target in Xcode for a Universal binary version.

I had to comment a few lines of code (an undeclared variable), change the path to the Info.plist file (coz evan has it as an absolute path on his hard disk) but when it starts to compile some 200 source files - there's one error:

Code: Select all

In file included from /Developer/SDKs/MacOSX10.4u.sdk/usr/include/netinet/in.h:78,
	/Developer/SDKs/MacOSX10.4u.sdk/usr/include/sys/socket.h:99: error: two or more data types in declaration specifiers

Bummer! Is this a problem with the universal binary SDK or just something funky in Demark happening?

Nonetheless, this is really cool - a universal binary of Adium this early means that Adium has bragging rights over Proteus, Mercury, aMSN and Fire :D Evan or any of the other devs - have you managed to compile a universal binary of Adium (or at least libgaim)?

Kiel :-)
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

Someone out there has compiled for x86 only -- but he hasn't sent me the patch to do it, and he did it using the command line.

The Universal Binary xcode proj in the libgaim repository doesn't work yet... I spent some time one day working on making it universal, and when it didn't work but I needed to build a new libgaim for a release, I copied it to a new file rather than losing the work so far. I've no idea what's causing the error you describe... but if you mess with it and get it to work, let us know ;-)
The duck still burns.
--
My company: Saltatory Software. Check it out :)
suleiman
Harmless
Posts: 1
Joined: Fri Oct 14, 2005 5:25 am

anything yet?

Post by suleiman »

Is there a good stable build of Adium for x86 platform? That'd be pretty hot.
User avatar
cbarrett
Adium Team
Posts: 389
Joined: Thu Dec 02, 2004 2:30 am
Location: Kailua, HI
Contact:

Post by cbarrett »

AFAIK, no, there isn't one.

But feel free to get it working. If you're using a DTK, I'd assume you know your way around compilers and Xcode a least a little. Any progress you can make on this would be sweet. Go for it! :)
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

http://lamer0.com/ has one, we need to get the diffs from him
User avatar
cbarrett
Adium Team
Posts: 389
Joined: Thu Dec 02, 2004 2:30 am
Location: Kailua, HI
Contact:

Post by cbarrett »

dead link.
User avatar
ajmas
Frappa
Posts: 116
Joined: Wed Oct 12, 2005 7:17 pm
Location: Olympus Mons Colony, Mars

Post by ajmas »

Arenzera
Crema
Posts: 271
Joined: Tue Dec 28, 2004 12:44 pm

Post by Arenzera »

That's cool...

How difficult will it be to maintain the x86 version of Adium (or libgaim, more correctly) once lamer0 writes a diff for the libgaim svn? Would the changes have to be included in gaim?

Kiel :-)
User avatar
cbarrett
Adium Team
Posts: 389
Joined: Thu Dec 02, 2004 2:30 am
Location: Kailua, HI
Contact:

Post by cbarrett »

No clue about the going into gaim proper, but they'll definitely go into our libgiam repo. I'm personally a little miffed that he didn't provide us with a diff right away and instead just posted a port. It sounds like there are a lot of bugs in it, I'd like to try and fix them, but we can't do anything without a knowing what he's changed... :\
User avatar
evands
Cocoaforge Admin
Posts: 3152
Joined: Thu Dec 02, 2004 10:55 pm
Location: Decatur, GA
Contact:

Post by evands »

cbarrett wrote:No clue about the going into gaim proper, but they'll definitely go into our libgiam repo. I'm personally a little miffed that he didn't provide us with a diff right away and instead just posted a port.
Indeed. Could you drop him a line and ask for his diff?
It sounds like there are a lot of bugs in it, I'd like to try and fix them, but we can't do anything without a knowing what he's changed... :\
I don't see many bugs mentioned in the thread that aren't actual libgaim bugs... people love to blaim bungs on random factors. "MSN Display Pics Refreshing and AIM Direct Connect Aren't Working Right in the x86 build!!!111"
The duck still burns.
--
My company: Saltatory Software. Check it out :)
User avatar
Catfish_Man
Cocoaforge Admin
Posts: 1203
Joined: Thu Dec 02, 2004 6:30 am
Location: Portland, Oregon
Contact:

Post by Catfish_Man »

evands wrote:
It sounds like there are a lot of bugs in it, I'd like to try and fix them, but we can't do anything without a knowing what he's changed... :\
I don't see many bugs mentioned in the thread that aren't actual libgaim bugs... people love to blaim bungs on random factors. "MSN Display Pics Refreshing and AIM Direct Connect Aren't Working Right in the x86 build!!!111"
Hey, I'm just thankful they're not coming to us about any *actual* x86 bugs in the unofficial port :D
User avatar
The_Tick
Cocoaforge Admin
Posts: 4642
Joined: Thu Dec 02, 2004 6:06 am
Contact:

Post by The_Tick »

So lamer0 got on irc, apparently he did an svn update, got a bunch of conflicts and just blew away his checkout. He said he's going to attempt the changes again on .86, but that they aren't that difficult.
User avatar
cbarrett
Adium Team
Posts: 389
Joined: Thu Dec 02, 2004 2:30 am
Location: Kailua, HI
Contact:

Post by cbarrett »

evands wrote:
cbarrett wrote:No clue about the going into gaim proper, but they'll definitely go into our libgiam repo. I'm personally a little miffed that he didn't provide us with a diff right away and instead just posted a port.
Indeed. Could you drop him a line and ask for his diff?
I have no idea how to contact him, but apparently Chris has it under control. :D
evands wrote:
It sounds like there are a lot of bugs in it, I'd like to try and fix them, but we can't do anything without a knowing what he's changed... :\
I don't see many bugs mentioned in the thread that aren't actual libgaim bugs... people love to blaim bungs on random factors. "MSN Display Pics Refreshing and AIM Direct Connect Aren't Working Right in the x86 build!!!111"
Oh sure, but that doesn't mean ignoring them is the right answer. And jeez man, Med School must be really taking a lot out of you..."blaim" is a pretty horrendous typo. Get some rest!
Post Reply