1
1
Author: Dererk <dererk@debian.org>
3
Description: Use system socksipy library and fix release versions
3
Description: Use system socksipy library
5
--- torchat-0.9.9.530.orig/tc_client.py
6
+++ torchat-0.9.9.530/tc_client.py
5
Index: torchat-0.9.9.550/tc_client.py
6
===================================================================
7
--- torchat-0.9.9.550.orig/tc_client.py 2011-11-10 21:14:18.000000000 -0300
8
+++ torchat-0.9.9.550/tc_client.py 2011-11-18 11:19:31.000000000 -0300
8
10
# This is the TorChat client library. Import this module, make an instance
9
11
# of BuddyList, give it your call-back function and your client is running.
16
@@ -29,7 +29,6 @@ import subprocess
22
TORCHAT_PORT = 11009 #do NOT change this.
23
TOR_CONFIG = "tor" #the name of the active section in the .ini file
24
@@ -191,7 +190,7 @@ class Buddy(object):
26
self.status = STATUS_OFFLINE
29
+ self.version = "0.9.9.530"
31
self.last_status_time = 0
32
self.count_failed_connects = 0
33
@@ -505,9 +504,9 @@ class Buddy(object):
35
def sendVersion(self):
36
if self.isAlreadyPonged():
37
- msg = ProtocolMsg_client(self, version.NAME)
38
+ msg = ProtocolMsg_client(self, self.name)
40
- msg = ProtocolMsg_version(self, version.VERSION)
41
+ msg = ProtocolMsg_version(self, self.version)
44
print "(2) not connected, not sending version to %s" % self.address
46
--- torchat-0.9.9.530.orig/tc_gui.py
47
+++ torchat-0.9.9.530/tc_gui.py
48
@@ -25,7 +25,6 @@ import shutil
55
import tc_notification
56
@@ -379,8 +378,8 @@ class PopupMenu(wx.Menu):
59
def onAbout(self, evt):
60
- wx.MessageBox(lang.ABOUT_TEXT % {"version":version.VERSION,
61
- "svn":version.VERSION_SVN,
62
+ wx.MessageBox(lang.ABOUT_TEXT % {"version":"0.9.9.530",
64
"copyright":config.COPYRIGHT,
65
"python":".".join(str(x) for x in sys.version_info),