How to install a patch

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
NiñoScript
Harmless
Posts: 2
Joined: Sat Jan 31, 2009 4:44 am

How to install a patch

Post by NiñoScript »

Hi, I was searching if there was any way to hide that stuff that "MSN Plus!" users put on their nicks, here's an example:

Code: Select all

[b][c=2][u][i]...[/c=12][c=12]M a t [/c=#B7D2FD][c=#B7D2FD]i a s[/c=12][c=12]...[/c=2][/u][/i][/b]·$3
I just want to see: ... M a t i a s ... ·$3, no colors, no BBCode, Plus!ml nor whatever it is called...

So found this ticket:
Ticket #6578 (new enhancement) Colored names support

After downloading the patch, I noticed it is just a .diff file full of pretty Objective-C...
So I think that to "install" the patch, I will have to compile Adium on my own, right?
If that's the case, I guess I should download Adium's sourcecode here; but... how should I use the patch? what file should I replace?

I've never used a .diff file before, but I opened it with TextMate and I think I got the idea (it is showing which parts change, right?)
But I need some guidance to apply the patch...

For now I'll be downloading Xcode 2, I installed it once, but after realizing that I only compile things through terminal and my own bash scripts from inside TextMate, I removed it... but I guess I need it now :roll:

Thankyou for taking the time to read this :D

(this is another topic which, seemed to me, was asking something alike)

PS: My english may not be very good, I'm doing my best to make myself understood but your mileage may vary :P
User avatar
Robby
Cocoaforge Admin
Posts: 2610
Joined: Mon May 01, 2006 3:00 am

Re: How to install a patch

Post by Robby »

I'm not 100% sure – I don't code – but yes, you'd probably need to build Adium yourself to apply the patch. Building Adium 1.3.x requires XCode 2.5.

You found the right place to get the source.
User avatar
Sikaffy
Harmless
Posts: 22
Joined: Wed Jan 28, 2009 3:43 am

Re: How to install a patch

Post by Sikaffy »

This can't officially implemented in Adium or in a plugin?
User avatar
Robby
Cocoaforge Admin
Posts: 2610
Joined: Mon May 01, 2006 3:00 am

Re: How to install a patch

Post by Robby »

You can find that information in the ticket.
User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: How to install a patch

Post by zac »

This is a modification unlikely to be placed in Adium proper, though the _stripping_ of the stupid MSN plus codes I could see being accepted rather easily. It might be an easy plugin, it depends on how the display name things work (the plugin could, for example, wait for a display name change, parse for codes, then update the display name.)
NiñoScript
Harmless
Posts: 2
Joined: Sat Jan 31, 2009 4:44 am

Re: How to install a patch

Post by NiñoScript »

Thankyou :)
I guess I was right about many things then.

So, I'll venture myself into Adium's code, and see what can I do on my own, following the documentation and some Objective-C tutorials, this is going to be fun :mrgreen:
Post Reply