Project:
Tulip
Code Location:
https://auber.svn.sourceforge.net/svnroot/auber/tulipLabs/tulipLabs
Outline
- > C Package
tulip-07072011.py
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#see this guide for how to set up the basic emerge environemnt # then paste this script in emerge/portage/contributed/tulip # emerge tulip should then work #http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge import os import sys import info # deprecated class class subinfo(info.infoclass): def setTargets( self ): print "setTargets" self.svnTargets['svnHEAD'] = 'https://auber.svn.sourceforge.net/svnroot/auber/tulip' self.svnTargets['svnMAINT'] = 'https://auber.svn.sourceforge.net/svnroot/auber/branches/tulip_3_6_maint' #self.targets['archiveHEAD'] = 'http://www.winkde.org/pub/kde/ports/win32/repository-4.3/kdesupport/kdewin-vc90-svnHEAD-src.tar.bz2' #self.targetInstSrc['archiveHEAD'] = 'src/kdewin-vc90-svnHEAD' self.defaultTarget = 'svnMAINT' #self.targetConfigurePath['svnHEAD'] = 'cmake' def setDependencies( self ): self.hardDependencies['libs/qt'] = 'default' self.hardDependencies['testing/glew-src'] = 'default' self.hardDependencies['testing/pthreads-win32'] = 'default' self.hardDependencies['win32libs-bin/dbus'] = 'default' self.hardDependencies['win32libs-bin/freetype'] = 'default' self.hardDependencies['win32libs-bin/jpeg'] = 'default' self.hardDependencies['win32libs-bin/libpng'] = 'default' self.hardDependencies['win32libs-bin/libxml2'] = 'default' #self.hardDependencies['testing/qdbus'] = 'default' from Package.CMakePackageBase import * class Package(CMakePackageBase): def __init__( self ): self.subinfo = subinfo() CMakePackageBase.__init__(self) ## for nonstandard fetch operation # the files will be fetched info self.sourceDir() # #def fetch(self): # #do something before fetching # if not CMakePackageBase.fetch(self): # return False # #do something after fetching # return True ## for nonstandard unpack operation # the files will be read from self.downloadDir() # and unpacked into self.sourceDir() # #def unpack(self): # #do something before unpack # if not CMakePackageBase.unpack(self): # return False # #do something after unpack # return True ## for nonstandard configure operation # self.sourceDir() will be used for accessing source files # and self.buildDir() for storing build files # #def configure(self): # #do something before configure # if not CMakePackageBase.configure(self): # return False # #do something after configure # return True ## for nonstandard make operation # uses self.buildDir() to access build files # #def make(self): # #do something before make # if not CMakePackageBase.make(self): # return False # #do something after make # return True ## for nonstandard install operation # the installed files will be installed # into self.installDir() # #def install(self): # #do something before install # if not CMakePackageBase.install(self): # return False # #do something after install # return True ## for nonstandard merge operation # the files are taken from self.installDir() # and merged into self.mergeDestinationDir() # #def qmerge(self): # #do something before merging # if not CMakePackageBase.qmerge(self): # return False # #do something after merging # return True ## for nonstandard unmerge operation # the related files are removed from # self.mergeDestinationDir() # #def unmerge(self): # #do something before unmerging # if not CMakePackageBase.unmerge(self): # return False # #do something after unmerging # return True ## for nonstandard directions operations # #def sourceDir(self): # # get standard source path # directory = CMakePackageBase.sourceDir(self): # #do something with path # return directory # the same belongs to the following methods #def downloadDir(self): #def packageDir(self): #def buildRoot(self): #def workDir(self): #def buildDir(self): #def imageDir(self): #def installDir(self): #def mergeSourceDir(self): #def mergeDestinationDir(self): if __name__ == '__main__': Package().execute()
