Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179958 - net-im/pidgin-2.0.1 purple-remote broken: SyntaxError
Summary: net-im/pidgin-2.0.1 purple-remote broken: SyntaxError
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-27 05:14 UTC by Dominique PRUNIER
Modified: 2007-05-27 19:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
The patch to apply on source (pidgin-2.0.1-purple-remote-syntax-fix.patch,403 bytes, patch)
2007-05-27 05:18 UTC, Dominique PRUNIER
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique PRUNIER 2007-05-27 05:14:44 UTC
The script purple-remote is broken with net-im/pidgin-2.0.1:

File "/usr/bin/purple-remote.orig", line 97
    if protocol == "xmpp"
                        ^
SyntaxError: invalid syntax

It's easy to fo fix with:

--- /usr/bin/purple-remote.orig 2007-05-27 01:11:35.000000000 -0400
+++ /usr/bin/purple-remote      2007-05-27 01:11:41.000000000 -0400
@@ -94,7 +94,7 @@
 def execute(uri):
     match = re.match(urlregexp, uri)
     protocol = match.group(2)
-    if protocol == "xmpp"
+    if protocol == "xmpp":
         protocol = "jabber"
     if protocol == "aim" or protocol == "icq":
         protocol = "oscar"
Comment 1 Dominique PRUNIER 2007-05-27 05:18:25 UTC
Created attachment 120411 [details, diff]
The patch to apply on source

Fix the purple-remote script
Comment 2 Olivier Crete (RETIRED) gentoo-dev 2007-05-27 10:12:26 UTC
I'll add this patch to the tree. Please submit it upstream at pidgin.im. (Allo dom, comment ca va... le monde est petit!)
Comment 3 Dominique PRUNIER 2007-05-27 17:39:18 UTC
The bug has already been fixed upstream (http://developer.pidgin.im/ticket/1300) and should be available for 2.0.2.

Tester, i know you were working on ICQ olddies but i didnt know for gaim ;) (et ca va super bien, merci ! tout le monde cense utilise gentoo non ? :P)
Comment 4 Olivier Crete (RETIRED) gentoo-dev 2007-05-27 19:49:05 UTC
Patch is in CVS (il faut qu'on se fasse un souper bientôt!)