gitso

gitso Commit Details


Date:2008-08-16 13:38:25 (16 years 4 months ago)
Author:gerberad
Branch:master
Commit:cc81ff81440ebae3cf8a6d6cf68a3c7e16672b69
Parents: af065a228294870aab7a6b972ccac1bc72b3e282
Message:renamed makegitso to makegitso.pl

Changes:

File differences

gitso/trunk/makegitso
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#! /usr/bin/perl -w
use warnings;
use strict;
if(`uname -a` =~ m/Darwin/) {
if(`which py2applet` ne "") {
print "Creating Gitso.app ";
`rm -f setup.py`;
`rm -rf dist`;
print "..";
`py2applet --make-setup Gitso.py`;
print "..";
`python setup.py py2app`;
print "..";
`cp arch/osx/Info.plist dist/Gitso.app/Contents/`;
`cp copyright dist/Gitso.app/Contents/Resources/`;
`cp PythonApplet.icns dist/Gitso.app/Contents/Resources/`;
`tar xvfz arch/osx/OSXvnc.tar.gz`;
`mv OSXvnc dist/Gitso.app/Contents/Resources/`;
`tar xvfz arch/osx/vncviewer.tar.gz`;
`mv vncviewer dist/Gitso.app/Contents/Resources/`;
print " [done]\n";
print "Creating Gitso.dmg ";
`rm -f Gitso.dmg`;
`mkdir dist/Gitso`;
`cp arch/osx/dmg_DS_Store dist/Gitso/.DS_Store`;
`ln -s /Applications/ dist/Gitso/Applications`;
`mv "dist/Gitso.app" "dist/Gitso/"`;
`cp -r arch/osx/Readme.rtfd dist/Gitso/Readme.rtfd`;
print "...";
`hdiutil create -srcfolder dist/Gitso/ Gitso.dmg`;
print "... [done]\n";
} else {
print "Error, you need py2applet to be installed.";
}
} elsif (`uname -a` =~ m/Linux/) {
my $deb = "gitso_0.5_all.deb";
my $path = "gitso";
print "Creating $path.deb";
`rm -rf $path`;
`mkdir $path`;
`mkdir $path/DEBIAN`;
`cp arch/linux/control $path/DEBIAN`;
print "..";
`mkdir $path/usr`;
`mkdir $path/usr/bin`;
`mkdir $path/usr/share`;
`mkdir $path/usr/share/applications`;
`mkdir $path/usr/share/doc`;
`mkdir $path/usr/share/doc/$path`;
`mkdir $path/usr/share/$path`;
`cp arch/linux/gitso $path/usr/bin/`;
`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/$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/ $deb`;
`rm -rf $path`;
print " [done]\n";
}
gitso/trunk/makegitso.pl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#! /usr/bin/perl -w
use warnings;
use strict;
if(`uname -a` =~ m/Darwin/) {
if(`which py2applet` ne "") {
print "Creating Gitso.app ";
`rm -f setup.py`;
`rm -rf dist`;
print "..";
`py2applet --make-setup Gitso.py`;
print "..";
`python setup.py py2app`;
print "..";
`cp arch/osx/Info.plist dist/Gitso.app/Contents/`;
`cp copyright dist/Gitso.app/Contents/Resources/`;
`cp PythonApplet.icns dist/Gitso.app/Contents/Resources/`;
`tar xvfz arch/osx/OSXvnc.tar.gz`;
`mv OSXvnc dist/Gitso.app/Contents/Resources/`;
`tar xvfz arch/osx/vncviewer.tar.gz`;
`mv vncviewer dist/Gitso.app/Contents/Resources/`;
print " [done]\n";
print "Creating Gitso.dmg ";
`rm -f Gitso.dmg`;
`mkdir dist/Gitso`;
`cp arch/osx/dmg_DS_Store dist/Gitso/.DS_Store`;
`ln -s /Applications/ dist/Gitso/Applications`;
`mv "dist/Gitso.app" "dist/Gitso/"`;
`cp -r arch/osx/Readme.rtfd dist/Gitso/Readme.rtfd`;
print "...";
`hdiutil create -srcfolder dist/Gitso/ Gitso.dmg`;
print "... [done]\n";
} else {
print "Error, you need py2applet to be installed.";
}
} elsif (`uname -a` =~ m/Linux/) {
my $deb = "gitso_0.5_all.deb";
my $path = "gitso";
print "Creating $path.deb";
`rm -rf $path`;
`mkdir $path`;
`mkdir $path/DEBIAN`;
`cp arch/linux/control $path/DEBIAN`;
print "..";
`mkdir $path/usr`;
`mkdir $path/usr/bin`;
`mkdir $path/usr/share`;
`mkdir $path/usr/share/applications`;
`mkdir $path/usr/share/doc`;
`mkdir $path/usr/share/doc/$path`;
`mkdir $path/usr/share/$path`;
`cp arch/linux/gitso $path/usr/bin/`;
`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/$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/ $deb`;
`rm -rf $path`;
print " [done]\n";
}

Archive Download the corresponding diff file

Branches

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