Bug 405632

Summary: pidgin in 11.0 does not connect to icq
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User eDPGYP6_cn <forgotten_eDPGYP6_cn>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P1 - Urgent CC: alberto.passalacqua, ast, bugreports, lnussel, sbrabec, toobles
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 416456, 430188    
Attachments: Screenshot
fix

Description Forgotten User eDPGYP6_cn 2008-07-02 08:08:45 UTC
Pidgin in 11.0 does not connect to icq. The server responds with a "Version of pidgin is too old error".

I checked the pidgin version and it seems to be just one release behind.
Comment 1 Forgotten User eDPGYP6_cn 2008-07-02 08:09:48 UTC
Created attachment 225490 [details]
Screenshot
Comment 2 Timo Hoenig 2008-07-02 08:12:56 UTC
Created attachment 225491 [details]
fix

This is a patch I found somewhere on the web.  I've tested it and can confirm that it helps.
Comment 4 Ludwig Nussel 2008-07-02 08:18:44 UTC
the patch is simple, ok to create an online update?
Comment 5 Timo Hoenig 2008-07-02 08:47:24 UTC
Upstream ticket tracking this issue:

* http://developer.pidgin.im/ticket/6220

There are other patches (which are even less intrusive), couldn't find the SVN/GIT (whatever they're working on) to see what upstream decided to use for the already released bug fix version 2.4.3.
Comment 6 Timo Hoenig 2008-07-02 09:05:51 UTC
After diffing the fixed upstream version of oscar.h with the (bad) version pidgin-2.4.1 (OS11.0) it looks that they took the patch I already attached in this bug.
Comment 7 Jaromir Hamala 2008-07-02 10:45:32 UTC
*** Bug 405588 has been marked as a duplicate of this bug. ***
Comment 8 Stanislav Brabec 2008-07-02 11:02:52 UTC
Just started to work on backporting.
Comment 9 Timo Hoenig 2008-07-02 11:08:20 UTC
Stanislav, if I didn't miss anything the patch applied cleanly (probably some fuzz, but that's it) on top of our version which ships with OS11.0?
Comment 10 Stanislav Brabec 2008-07-02 11:19:56 UTC
Yes, it applies cleanly on top of 11.0 and it is exactly equal to the 2.4.2->2.4.3 diff. In 10.3 and older, it will be more complicated, as the change may potentially break AIM. Is there anybody with AIM account?

Internal server is down, so I cannot test your build just now.
Comment 11 Stanislav Brabec 2008-07-02 13:05:32 UTC
Actually, CLIENTINFO_ICQ6_6_0_6059 is not used anywhere in the code. Removing it from the patch.

I am starting to put packages into http://pack.suse.cz/sbrabec/bug405632/pidgin/

Please test and report. Update of libpurple is sufficient.

11.0: Tested with ICQ, AIM should not be affected but test would be welcome

Note: When I logged to ICQ first time after installation of patched libpurple, I got the error message once again. But after pression Relogin, everything works OK.
Comment 12 Marcus Meissner 2008-07-02 13:15:25 UTC
Anja stand-in speaking: yes. SWAMPID: 18438, 
please submit fixed pavkages and patchinfo(s)
Comment 13 Timo Hoenig 2008-07-02 13:38:17 UTC
(In reply to comment #11 from Stanislav Brabec)

> Actually, CLIENTINFO_ICQ6_6_0_6059 is not used anywhere in the code. Removing
> it from the patch.

Right, but this applies for the other CLIENTINFO_* defines, too.  Only CLIENTINFO_PURPLE_AIM and CLIENTINFO_PURPLE_ICQ are being used, the rest ($ grep -r CLIENTINFO_ * |wc -l results in 22) are defined but not used.
Comment 15 Stanislav Brabec 2008-07-02 14:33:37 UTC
I have just created AIM account.

11.0 ICQ: login works
11.0 AIM: login works

10.3-shortpatch ICQ: login works
10.3-shortpatch AIM: login works

Note: 10.3-shortpatch changes string sent to AIM. Older versions (gaim) and newer pidgin versions differentiate client itentification string AIM and ICQ. Should I backport this code to keep AIM behavior exactly same as before?
Comment 16 Stanislav Brabec 2008-07-02 17:10:55 UTC
pidgin submitted to:
11.0
10.3 (two alternatives)
SLE10-SP2
(Factory will follow with a version update.)

gaim submitted to:
10.2
SLE10-SP2
SLES10
SLES9-SLD
(SLES8-SLED was not done)

pidgin:

I have created another patch for 10.3 - it sends exactly the same string to AIM as before and changes only ICQ string.

10.3 ICQ: login works
10.3 AIM: login works

SLE10-SP2: Uses the same patch as 11.0.


GAIM:

http://pack.suse.cz/sbrabec/bug405632/gaim/

10.2 ICQ: login works
10.2 AIM: login works

All older versions: code and patch are the same. Unless the protocol is really incompatible with NLD9, it should work.
Comment 18 Alberto Passalacqua 2008-07-08 16:30:26 UTC
When does the patch is supposed to appear in the update repository?

Regards,
Alberto
Comment 20 Stefan Tittel 2008-08-14 17:49:15 UTC
After over a month of testing the patch, it still has not been committed to the update repo, hence rendering Pidgin on openSUSE useless for ICQ. Maybe somebody just forgot about it?
Comment 21 Oliver Pabst 2008-09-09 18:14:08 UTC
Ping! What´s the status? Any reasons why the updates aren´t in the update repository yet?