Page 1 of 1

How to install a patch

Posted: Sat Jan 31, 2009 5:16 am
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

Re: How to install a patch

Posted: Sat Jan 31, 2009 2:20 pm
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.

Re: How to install a patch

Posted: Sat Jan 31, 2009 3:58 pm
by Sikaffy
This can't officially implemented in Adium or in a plugin?

Re: How to install a patch

Posted: Sat Jan 31, 2009 4:05 pm
by Robby
You can find that information in the ticket.

Re: How to install a patch

Posted: Sat Jan 31, 2009 5:03 pm
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.)

Re: How to install a patch

Posted: Sat Feb 07, 2009 7:08 pm
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: