gitso

gitso Commit Details


Date:2008-07-27 17:46:29 (16 years 4 months ago)
Author:gerberad
Branch:master
Commit:d221b4098728114f3d75852f3513b506ef47efe1
Parents: 7c208c280de616131da047841b9467ec2d6c656e
Message:Fixed icons(Linux), Hosts File(Linux), .desktop(Linux), makegitso(Linux), resized icon.ico

Changes:

File differences

gitso/trunk/Gitso.py
4141
4242
4343
44
45
46
44
45
46
47
48
49
4750
4851
4952
......
7477
7578
7679
77
80
81
82
83
84
85
86
87
88
7889
7990
8091
......
163174
164175
165176
166
177
167178
168
179
169180
170181
171182
......
215226
216227
217228
218
229
230
231
232
233
234
235
236
237
219238
220239
221240
......
376395
377396
378397
398
379399
380400
381401
wx.Frame.__init__(self, parent, wx.ID_ANY, title, size=(height,width), style=wx.DEFAULT_FRAME_STYLE & ~ (wx.RESIZE_BORDER | wx.RESIZE_BOX | wx.MAXIMIZE_BOX))
self.Bind(wx.EVT_CLOSE, self.OnCloseWindow)
if sys.platform != 'darwin':
print 'set icon'
#icon = wx.Icon("icon.ico", wx.BITMAP_TYPE_ICO)
if sys.platform.find('linux') != -1:
icon = wx.Icon(os.path.join(sys.path[0], '..', 'share', 'gitso', 'icon.ico'), wx.BITMAP_TYPE_ICO)
self.SetIcon(icon)
elif sys.platform == 'win32':
print "set icon"
#icon = wx.Icon(os.path.join(sys.path[0], '..', 'share', 'gitso', 'icon.ico'), wx.BITMAP_TYPE_ICO)
#self.SetIcon(icon)
if sys.platform.find('linux') != -1:
# the combobox Control
self.sampleList = []
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], 'hosts.txt'))
if sys.platform == "darwin":
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], 'hosts.txt'))
elif sys.platform == "win32":
print "set Hosts"
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], 'hosts.txt'))
else:
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], '..', 'share', 'gitso', 'hosts.txt'))
self.sampleList = self.getHosts(self.sampleList, prefFile)
self.displayHostBox(self.sampleList, "Enter/Select Support Address")
self.displayHostBox(self.sampleList, host)
if sys.platform == 'darwin':
self.returnPID = os.spawnl(os.P_NOWAIT, '%sOSXvnc/OSXvnc-server' % devPath, 'OSXvnc-server', '-connectHost', '%s' % host)
self.returnPID = os.spawnl(os.P_NOWAIT, '%sOSXvnc/OSXvnc-server' % devPath, 'OSXvnc-server', '-nopw -connectHost', '%s' % host)
elif sys.platform.find('linux') != -1:
self.returnPID = os.spawnlp(os.P_NOWAIT, 'x11vnc', 'x11vnc', '-connect' , '%s' % host)
self.returnPID = os.spawnlp(os.P_NOWAIT, 'x11vnc', 'x11vnc', '-ncache 20 -solid black -connect' , '%s' % host)
elif sys.platform == 'win32':
self.returnPID = os.spawnl(os.P_NOWAIT, 'c:\\windows\\WinVNC.exe', 'c:\\windows\\WinVNC.exe', '-connect', '%s' % host)
else:
text = self.hostField.GetValue()
self.hostField.Destroy()
self.sampleList = []
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], 'hosts.txt'))
if sys.platform == "darwin":
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], 'hosts.txt'))
elif sys.platform == "win32":
print "set Hosts"
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], 'hosts.txt'))
else:
self.sampleList = self.getHosts(self.sampleList, os.path.join(sys.path[0], '..', 'share', 'gitso', 'hosts.txt'))
self.sampleList = self.getHosts(self.sampleList, prefFile)
self.displayHostBox(self.sampleList, text)
os.makedirs(prefFile, 0700)
prefFile = os.path.join(prefFile, "hosts")
elif sys.platform == "win32":
print "set Hosts"
# I don't know where the best place is for this.
prefFile = os.path.join(os.path.expanduser("~"), ".gitso-hosts")
else:
gitso/trunk/arch/linux/changelog
1111
1212
1313
14
14
1515
1616
1717
18
18
1919
20
20
2121
2222
2323
2424
2525
26
26
* OS X uses TightVNC 1.3.9
* OS X uses OSXVNC 3.0
-- Aaron D. Gerber Sun, 15 June 2008 16:17:43 -0600
-- Aaron D. Gerber <gerberad@gmail.com> Sat, 26 Jul 2008 16:32:40 -0600
PACKAGE (0.4) hardy; urgency=low
* updated with icons and much more
* Made Deb, updated with icons and much more.
-- Aaron D. Gerber Sat, 10 May 2008 16:17:43 -0600
-- Aaron D. Gerber <gerberad@gmail.com> Sat, 10 May 2008 16:17:43 -0600
PACKAGE (0.3) UNRELEASED; urgency=low
* Initial release. (Closes: #XXXXXX)
-- Derek <derek@buranen.info> Thu, 08 May 2008 22:35:52 -0600
-- Aaron D. Gerber <gerberad@gmail.com> Thu, 08 May 2008 22:35:52 -0600
gitso/trunk/arch/linux/control
44
55
66
7
7
88
99
1010
1111
1212
1313
14
Section: utils
Architecture: all
Depends: x11vnc, vncviewer, python-wxtools
Installed-Size: 17830
Installed-Size: 108
Maintainer: Derek Buranen <derek@buranen.info>
Description: gitso is to support others (using wxPython and reverse vnc)
gitso is a Python and wxWidgets frontend to x11vnc server
and vncviewer. It runs x11vnc -connect and
vncviewer -listen depending on if you are giving
or receiving help.
gitso/trunk/arch/linux/gitso.desktop
11
2
2
33
44
55
66
77
88
9
9
1010
1111
1212
[Desktop Entry]
Version=0.4
Version=0.5
Encoding=UTF-8
Name=Gitso
Name[en_GB]=Gitso
Name[en_US]=Gitso
Comment=Connect to others using VNC protocol
Exec=gitso
Icon=/usr/share/gitso/gitso.svg
Icon=/usr/share/gitso/gitso.ico
Terminal=false
MimeType=application/x-remote-connection;
Type=Application
gitso/trunk/hosts.txt
1
192.168.1.30
gitso/trunk/makegitso
4646
4747
4848
49
49
50
5051
5152
5253
......
5960
6061
6162
62
63
63
64
6465
65
66
67
68
66
67
68
69
70
6971
7072
7173
72
73
74
74
75
76
7577
7678
77
79
7880
7981
8082
}
} elsif (`uname -a` =~ m/Linux/) {
my $path = "gitso_0.5_all";
my $deb = "gitso_0.5_all.deb";
my $path = "gitso";
print "Creating $path.deb";
`rm -rf $path`;
`mkdir $path`;
`mkdir $path/usr/share`;
`mkdir $path/usr/share/applications`;
`mkdir $path/usr/share/doc`;
`mkdir $path/usr/share/doc/gitso`;
`mkdir $path/usr/share/gitso`;
`mkdir $path/usr/share/doc/$path`;
`mkdir $path/usr/share/$path`;
`cp arch/linux/gitso $path/usr/bin/`;
`chmod u+x $path/usr/bin`;
`cp Gitso.py $path/usr/share/gitso/`;
`cp __init__.py $path/usr/share/gitso/`;
`cp hosts.txt $path/usr/share/gitso/`;
`chmod 755 $path/usr/bin/gitso`;
`cp Gitso.py $path/usr/share/$path/`;
`cp __init__.py $path/usr/share/$path/`;
`cp hosts.txt $path/usr/share/$path/`;
`cp icon.ico $path/usr/share/$path/`;
print "..";
`cp arch/linux/gitso.desktop $path/usr/share/applications/`;
`cp arch/linux/README.txt $path/usr/share/doc/gitso/README`;
`cp copyright $path/usr/share/doc/gitso/`;
`gzip -cf arch/linux/changelog > $path/usr/share/doc/gitso/changelog.gz`;
`cp arch/linux/README.txt $path/usr/share/doc/$path/README`;
`cp copyright $path/usr/share/doc/$path/`;
`gzip -cf arch/linux/changelog > $path/usr/share/doc/$path/changelog.gz`;
print "..";
`dpkg -b $path $path.deb`;
`dpkg -b $path/ $deb`;
`rm -rf $path`;

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.09140s using 13 queries.