build-tool 0.0.3 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.txt +28 -1
  3. data/Manifest.txt +91 -52
  4. data/README.txt +63 -0
  5. data/Rakefile +20 -23
  6. data/bin/build-tool +53 -0
  7. data/lib/build-tool.rb +7 -0
  8. data/lib/build-tool/GUI.rb +360 -0
  9. data/lib/build-tool/application.rb +84 -0
  10. data/lib/build-tool/build-system/autoconf.rb +60 -0
  11. data/lib/build-tool/build-system/base.rb +142 -0
  12. data/lib/build-tool/build-system/cmake.rb +119 -0
  13. data/lib/build-tool/build-system/custom.rb +115 -0
  14. data/lib/build-tool/build-system/qt.rb +113 -0
  15. data/lib/build-tool/cfg/lexer.rb +558 -0
  16. data/lib/build-tool/cfg/lexer.rex +248 -0
  17. data/lib/build-tool/cfg/lexer_base.rb +82 -0
  18. data/lib/build-tool/cfg/node.rb +94 -0
  19. data/lib/build-tool/cfg/parser.rb +871 -0
  20. data/lib/build-tool/cfg/parser.y +279 -0
  21. data/lib/build-tool/cfg/visitor.rb +471 -0
  22. data/lib/build-tool/commands.rb +639 -0
  23. data/lib/build-tool/commands/build.rb +120 -0
  24. data/lib/build-tool/commands/configure.rb +73 -0
  25. data/lib/build-tool/commands/ctags.rb +46 -0
  26. data/lib/build-tool/commands/environments.rb +29 -0
  27. data/lib/build-tool/commands/environments/list.rb +37 -0
  28. data/lib/build-tool/commands/environments/set.rb +33 -0
  29. data/lib/build-tool/commands/fetch.rb +50 -0
  30. data/lib/build-tool/commands/files.rb +73 -0
  31. data/lib/build-tool/commands/help.rb +22 -0
  32. data/lib/build-tool/commands/info.rb +48 -0
  33. data/lib/build-tool/commands/install.rb +56 -0
  34. data/lib/build-tool/commands/modules.rb +29 -0
  35. data/lib/build-tool/commands/modules/info.rb +75 -0
  36. data/lib/build-tool/commands/modules/list.rb +49 -0
  37. data/lib/build-tool/commands/modules/shell.rb +40 -0
  38. data/lib/build-tool/commands/rebase.rb +46 -0
  39. data/lib/build-tool/commands/recipes.rb +32 -0
  40. data/lib/build-tool/commands/recipes/info.rb +46 -0
  41. data/lib/build-tool/commands/recipes/install.rb +184 -0
  42. data/lib/build-tool/commands/recipes/list.rb +33 -0
  43. data/lib/build-tool/configuration.rb +115 -0
  44. data/lib/build-tool/environment.rb +119 -0
  45. data/lib/build-tool/errors.rb +9 -0
  46. data/lib/build-tool/module.rb +366 -0
  47. data/lib/build-tool/pluginbase.rb +43 -0
  48. data/lib/build-tool/recipe.rb +180 -0
  49. data/lib/build-tool/repository.rb +59 -0
  50. data/lib/build-tool/server.rb +43 -0
  51. data/lib/build-tool/singleton.rb +50 -0
  52. data/lib/build-tool/sshkey.rb +22 -0
  53. data/lib/build-tool/vcs/base.rb +105 -0
  54. data/lib/build-tool/vcs/git-svn.rb +154 -0
  55. data/lib/build-tool/vcs/git.rb +187 -0
  56. data/lib/build-tool/vcs/svn.rb +136 -0
  57. data/lib/mj/logging.rb +31 -0
  58. data/lib/mj/tools/ssh.rb +64 -0
  59. data/lib/{kde-build → mj/tools}/subprocess.rb +21 -16
  60. data/lib/mj/visitor.rb +21 -0
  61. data/recipes/kde/files/finish_installation.sh +16 -0
  62. data/recipes/kde/files/kde4.desktop +22 -0
  63. data/recipes/kde/files/xsession +89 -0
  64. data/recipes/kde/info.yaml +10 -0
  65. data/recipes/kde/recipe +585 -0
  66. data/recipes/kde/recipe-local +90 -0
  67. data/recipes/kde/settings.yaml +52 -0
  68. data/recipes/kde43/info.yaml +10 -0
  69. data/recipes/kde43/recipe +256 -0
  70. data/recipes/kde43/recipe-local +90 -0
  71. data/recipes/kde43/settings.yaml +32 -0
  72. data/recipes/kdeqt4.6/custom/qt/qtscriptgenerator/compile.sh +77 -0
  73. data/recipes/kdeqt4.6/custom/qt/qtscriptgenerator/configure.sh +70 -0
  74. data/recipes/kdeqt4.6/custom/qt/qtscriptgenerator/install.sh +39 -0
  75. data/recipes/kdeqt4.6/info.yaml +7 -0
  76. data/recipes/kdeqt4.6/recipe +155 -0
  77. data/recipes/kdeqt4.6/recipe-local +30 -0
  78. data/recipes/kdeqt4.6/settings.yaml +27 -0
  79. data/tags +745 -0
  80. data/tasks/genfiles.rake +28 -0
  81. data/tasks/rdoc.rake +34 -0
  82. data/tasks/rspec.rake +21 -0
  83. data/test.rb +28 -0
  84. data/test/commands/test_build.rb +29 -0
  85. data/test/test_build_system.rb +98 -0
  86. data/test/test_cli.rb +61 -0
  87. data/test/test_command.rb +175 -0
  88. data/test/test_configuration_parser.rb +542 -0
  89. data/test/test_environment.rb +82 -0
  90. data/test/test_helper.rb +39 -7
  91. data/test/test_module.rb +158 -0
  92. data/test/test_repository.rb +75 -0
  93. data/test/test_singleton.rb +51 -0
  94. data/test/test_ssh_key.rb +14 -0
  95. data/test/test_svn_parser.rb +28 -0
  96. data/test/test_vcs.rb +33 -0
  97. metadata +139 -90
  98. metadata.gz.sig +0 -0
  99. data/PostInstall.txt +0 -3
  100. data/TODO +0 -2
  101. data/bin/kde-build.rb +0 -21
  102. data/config/website.yml +0 -2
  103. data/config/website.yml.sample +0 -2
  104. data/lib/kde-build.rb +0 -18
  105. data/lib/kde-build/application.rb +0 -270
  106. data/lib/kde-build/build_system.rb +0 -28
  107. data/lib/kde-build/build_system/autoconf.rb +0 -108
  108. data/lib/kde-build/build_system/base.rb +0 -139
  109. data/lib/kde-build/build_system/cmake.rb +0 -94
  110. data/lib/kde-build/build_system/qtcopy.rb +0 -127
  111. data/lib/kde-build/command.rb +0 -42
  112. data/lib/kde-build/command/build.rb +0 -106
  113. data/lib/kde-build/command/compile.rb +0 -39
  114. data/lib/kde-build/command/configure.rb +0 -48
  115. data/lib/kde-build/command/ctags.rb +0 -41
  116. data/lib/kde-build/command/fetch.rb +0 -33
  117. data/lib/kde-build/command/help.rb +0 -71
  118. data/lib/kde-build/command/info.rb +0 -45
  119. data/lib/kde-build/command/install.rb +0 -39
  120. data/lib/kde-build/command/module_based.rb +0 -44
  121. data/lib/kde-build/command/rebase.rb +0 -50
  122. data/lib/kde-build/command/version.rb +0 -43
  123. data/lib/kde-build/configuration.rb +0 -209
  124. data/lib/kde-build/exception.rb +0 -6
  125. data/lib/kde-build/metaaid.rb +0 -18
  126. data/lib/kde-build/module.rb +0 -227
  127. data/lib/kde-build/module_configuration.rb +0 -107
  128. data/lib/kde-build/moduleregistry.rb +0 -85
  129. data/lib/kde-build/tools/ctags.rb +0 -59
  130. data/lib/kde-build/tools/logging.rb +0 -49
  131. data/lib/kde-build/tools/make.rb +0 -58
  132. data/lib/kde-build/tools/ssh.rb +0 -47
  133. data/lib/kde-build/vcs.rb +0 -28
  134. data/lib/kde-build/vcs/base.rb +0 -85
  135. data/lib/kde-build/vcs/git-svn.rb +0 -139
  136. data/lib/kde-build/vcs/git.rb +0 -121
  137. data/lib/kde-build/vcs/svn.rb +0 -102
  138. data/script/console +0 -10
  139. data/script/destroy +0 -14
  140. data/script/generate +0 -14
  141. data/script/txt2html +0 -71
  142. data/test.yaml.tmpl +0 -632
  143. data/test/test_kde-build.rb +0 -11
  144. data/test/test_vcs_svn.rb +0 -44
  145. data/website/index.html +0 -84
  146. data/website/index.txt +0 -59
  147. data/website/javascripts/rounded_corners_lite.inc.js +0 -285
  148. data/website/stylesheets/screen.css +0 -159
  149. data/website/template.html.erb +0 -50
@@ -0,0 +1,90 @@
1
+ # See http://techbase.kde.org/Contribute/Get_a_SVN_Account
2
+ #############################################################################
3
+ # SSH-KEYS
4
+ #############################################################################
5
+ # If you have a kde svn account. uncomment the following lines and point to
6
+ # your ssh key.
7
+ # ssh-key "user(at)example.com"
8
+ # file "~/.ssh/id_dsa"
9
+ # end
10
+
11
+ #############################################################################
12
+ # SERVERS
13
+ #############################################################################
14
+ # If you have a kde svn account. uncomment the following lines. This will
15
+ # override the anonsvn configuration from the global recipe.
16
+ # server "svn.kde.org"
17
+ # protocol "svn+ssh"
18
+ # host "svn.kde.org"
19
+ # path "home/kde/trunk"
20
+ # end
21
+
22
+ #############################################################################
23
+ # REPOSITORIES
24
+ #############################################################################
25
+ # If you have a kde svn account. uncomment the following lines. This will
26
+ # override the repository declaration from the global recipe.
27
+ # repository "kde"
28
+ # user user
29
+ # use ssh-key "user(at)example.com"
30
+ # end
31
+
32
+ # repository "kde-core"
33
+ # user user
34
+ # use ssh-key "user(at)example.com"
35
+ # end
36
+
37
+ # repository "kde-support"
38
+ # user user
39
+ # use ssh-key "user(at)example.com"
40
+ # end
41
+
42
+ # repository "kde-icons"
43
+ # user user
44
+ # use ssh-key "user(at)example.com"
45
+ # end
46
+
47
+ #############################################################################
48
+ # ENVIRONMENTS
49
+ #############################################################################
50
+ # Add some additional environment variables. The lines below are evaluated
51
+ # AFTER the recipe is loaded. To play nice only use 'set' if you know what you
52
+ # do.
53
+
54
+ # environment default
55
+ # # e.g. Add /usr/local to CMAKE_PREFIX_PATH
56
+ # var CMAKE_PREFIX_PATH prepend "/usr/local"
57
+ # end
58
+
59
+ #############################################################################
60
+ # CHANGE MODULES
61
+ #############################################################################
62
+ # Change some module values. The lines below are evaluated AFTER the recipe is
63
+ # loaded. build-systems of modules are merged as long as they are the same.
64
+
65
+ # The CMAKE_CXX_FLAGS option is added to the already existing configuration
66
+ # from the global recipe. As we can't add to it just set the complete value
67
+ # module "KDE/kdelibs"
68
+ # build-system cmake
69
+ # option CMAKE_CXXFLAGS "-Wall -pipe -O0 -pedantic -Wno-long-long"
70
+ # end
71
+ # end
72
+
73
+ # The following does not really work yet. I'm trying to come up with a working
74
+ # setup. Use at your own risk of wasted time.
75
+ # module "kdebindings"
76
+ # build-system cmake
77
+ # option "PYTHON_SITE_PACKAGES_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/python2.6/site_packages"
78
+ # option "CUSTOM_RUBY_SITE_ARCH_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/ruby/site_ruby/1.8/x86_64-linux"
79
+ # option "CUSTOM_RUBY_SITE_LIB_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/ruby/site_ruby/1.8"
80
+ # option BUILD_csharp "false"
81
+ # option BUILD_falcon "false"
82
+ # option BUILD_java "false"
83
+ # option BUILD_nepomuk "false"
84
+ # option BUILD_php "false"
85
+ # option BUILD_python "true"
86
+ # option BUILD_ruby "false"
87
+ # option BUILD_smoke "true"
88
+ # end
89
+ # end
90
+
@@ -0,0 +1,52 @@
1
+ RECIPE: "kde"
2
+
3
+ SETTINGS:
4
+
5
+ # The work directory
6
+ # BUILD_DIR/src -> sources
7
+ # BUILD_DIR/bld -> builds
8
+ # BUILD_DIR/log -> log files
9
+ BUILD_DIR: "~/kde4/trunk"
10
+
11
+ # Install prefix for kdesupport
12
+ KDESUPPORT_PREFIX: "/kde4/trunk/support"
13
+
14
+ # Install prefix for kde
15
+ KDE_PREFIX: "/kde4/trunk/kde"
16
+
17
+ # Install prefix for kdedevel
18
+ KDEDEVEL_PREFIX: "/kde4/trunk/devel"
19
+
20
+ # Install prefix for koffice
21
+ KOFFICE_PREFIX: "/kde4/trunk/office"
22
+
23
+
24
+ # LIB_SUFFIX (""|32|64)
25
+ # see `gcc -v`. Look for --libdir=/usr/lib....
26
+ LIB_SUFFIX: "64"
27
+ # See "man make".
28
+ MAKEFLAGS: "-j2"
29
+
30
+ # We set a default path to decouple the build from changes to the
31
+ # environment it is run in. See <command> shell how to set this
32
+ # environment to work in it.
33
+ PATH: "/usr/X11R6/bin:/usr/bin:/bin"
34
+
35
+ # Set a default library path.
36
+ LD_LIBRARY_PATH: ""
37
+
38
+ # Add directories here if you have some kde build dependencies installed
39
+ # into some unusual locations. Have a look at "cmake --system-information"
40
+ # to see where cmake looks by default (CMAKE_SYSTEM_PREFIX_PATH).
41
+ CMAKE_PREFIX_PATH: ""
42
+
43
+ # Add directories here if you have some kde build dependencies installed
44
+ # into some unusual locations.
45
+ PKG_CONFIG_PATH: ""
46
+
47
+ # These directories have to be set. If not you will probably experience
48
+ # problems like:
49
+ # > Can not find mime type "application/octet-stream"
50
+ # or others along that line.
51
+ XDG_DATA_DIRS: "/usr/local/share:/usr/share:/share"
52
+
@@ -0,0 +1,10 @@
1
+ SHORT: "Build the kde 4.3 development branch"
2
+ LONG: |
3
+ A recipe to build the kde 4.3 development branch. Only the modules that are
4
+ part of a kde release are provided.
5
+
6
+ WARNING: The kdesupport/ modules are readonly. Don't develop there
7
+ WEBSITE: http://www.kde.org
8
+ REPOSITORY: svn://anonsvn.kde.org/home/kde/branches/KDE/4.3
9
+ BROWSE_REPOSITORY: http://websvn.kde.org/branches/KDE/4.3
10
+
@@ -0,0 +1,256 @@
1
+ #############################################################################
2
+ # GLOBAL SETTINGS
3
+ #############################################################################
4
+ log-directory "<%= settings['BUILD_DIR'] %>/log"
5
+
6
+ build-system cmake
7
+ option CMAKE_BUILD_TYPE "Debug"
8
+ option CMAKE_CXXFLAGS "-Wall -pipe -O0"
9
+ option CMAKE_VERBOSE_MAKEFILE "1"
10
+ option LIB_SUFFIX "<%= settings['LIB_SUFFIX'] %>"
11
+ end
12
+
13
+ #############################################################################
14
+ # SERVER DEFINITIONS
15
+ #############################################################################
16
+ server "svn.kde.org"
17
+ protocol "svn"
18
+ host "anonsvn.kde.org"
19
+ path "home/kde"
20
+ end
21
+
22
+ server "gitorious.org"
23
+ protocol "git"
24
+ host "gitorious.org"
25
+ end
26
+
27
+ #############################################################################
28
+ # REPOSITORIES
29
+ #############################################################################
30
+ # The following complicated structure is needed to make the recipes for
31
+ # releases and trunk look similar.
32
+ repository "kde-core"
33
+ server "svn.kde.org"
34
+ path "branches/KDE/4.3"
35
+ end
36
+
37
+ repository "kde-support"
38
+ server "svn.kde.org"
39
+ path "tags/kdesupport-for-4.3"
40
+ end
41
+
42
+ repository "kde-icons"
43
+ server "svn.kde.org"
44
+ path "tags/KDE/4.3.2"
45
+ end
46
+
47
+ #############################################################################
48
+ # DEFAULTS
49
+ #############################################################################
50
+ environment default
51
+ var MAKEFLAGS set "<%= settings['MAKEFLAGS'] %>"
52
+ var PATH set "<%= settings['PATH'] %>"
53
+ var LD_LIBRARY_PATH set "<%= settings['LD_LIBRARY_PATH'] %>"
54
+ var CMAKE_PREFIX_PATH set "<%= settings['CMAKE_PREFIX_PATH'] %>"
55
+ var PKG_CONFIG_PATH set "<%= settings['PKG_CONFIG_PATH'] %>"
56
+ var KDEDIRS set "<%= settings['KDEDIRS'] %>"
57
+ var XDG_DATA_DIRS set "<%= settings['XDG_DATA_DIRS'] %>"
58
+ end
59
+
60
+
61
+ #############################################################################
62
+ # KDESUPPORT
63
+ #############################################################################
64
+ environment kdesupport < default
65
+ var CMAKE_PREFIX_PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>"
66
+ var KDEDIRS prepend "<%= settings['KDESUPPORT_PREFIX'] %>"
67
+ var LD_LIBRARY_PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>"
68
+ var PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>/bin"
69
+ var PKG_CONFIG_PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/pkgconfig"
70
+ # STRIGI_PLUGIN_PATH ?????
71
+ var XDG_DATA_DIRS prepend "<%= settings['KDESUPPORT_PREFIX'] %>"
72
+ end
73
+
74
+ module kdesupport TEMPLATE
75
+ build-prefix "<%= settings['BUILD_DIR'] %>"
76
+ install-prefix "<%= settings['KDESUPPORT_PREFIX'] %>"
77
+ use build-system cmake
78
+ use environment kdesupport
79
+ use repository kde-support
80
+ use vcs git-svn
81
+ end
82
+
83
+ module "kdesupport/automoc" < kdesupport end
84
+ module "kdesupport/polkit-qt" < kdesupport end
85
+ module "kdesupport/soprano" < kdesupport end
86
+ module "kdesupport/akonadi" < kdesupport end
87
+ # We use phonon from qt
88
+ # module "kdesupport/phonon" < kdesupport end
89
+ module "kdesupport/strigi" < kdesupport end
90
+ module "kdesupport/taglib" < kdesupport
91
+ build-system cmake
92
+ # These options are needed to compile amarok. See amaroks README file
93
+ # for more information.
94
+ option WITH_MP4 "1"
95
+ option WITH_ASF "1"
96
+ end
97
+ end
98
+ module "kdesupport/taglib-extras" < kdesupport end
99
+
100
+ #############################################################################
101
+ # KDE
102
+ #############################################################################
103
+ environment kde < kdesupport
104
+ var CMAKE_PREFIX_PATH prepend "<%= settings['KDE_PREFIX'] %>"
105
+ var KDEDIRS prepend "<%= settings['KDE_PREFIX'] %>"
106
+ var LD_LIBRARY_PATH prepend "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>"
107
+ var MANPATH prepend "<%= settings['KDE_PREFIX'] %>/share/man"
108
+ var PATH prepend "<%= settings['KDE_PREFIX'] %>/bin"
109
+ var PKG_CONFIG_PATH prepend "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/pkgconfig"
110
+ var XDG_DATA_DIRS prepend "<%= settings['KDE_PREFIX'] %>"
111
+ end
112
+
113
+ module kde TEMPLATE
114
+ build-prefix "<%= settings['BUILD_DIR'] %>"
115
+ install-prefix "<%= settings['KDE_PREFIX'] %>"
116
+ use build-system cmake
117
+ use environment kde
118
+ use repository kde-core
119
+ use vcs git-svn
120
+ end
121
+
122
+ #############################################################################
123
+ # KDELIBS
124
+ #############################################################################
125
+ module "kdesupport/oxygen-icons" < kdesupport
126
+ # It's part part of KDE and it's not. That's why i put it here for now.
127
+ # Don't use a KDE/ prefix before it is not necessary to update it very
128
+ # often.
129
+ remote-path "oxygen-icons"
130
+ use repository "kde-icons"
131
+ end
132
+
133
+
134
+ module "KDE/kdelibs" < kde
135
+ # We use the default environment here to make sure kdelibs is able to
136
+ # bootstrap
137
+ use environment kdesupport
138
+ remote-path "kdelibs"
139
+ end
140
+
141
+ module "KDE/kdepimlibs" < kde
142
+ remote-path "kdepimlibs"
143
+ end
144
+
145
+ #############################################################################
146
+ # KDEBASE/...
147
+ #############################################################################
148
+ module "KDE/kdebase/runtime" < kde
149
+ remote-path "kdebase/runtime"
150
+ end
151
+
152
+ module "KDE/kdebase/workspace" < kde
153
+ remote-path "kdebase/workspace"
154
+ vcs git-svn
155
+ external "kwin/clients/oxygen/lib#svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib"
156
+ external "kwin/clients/ozone/lib#svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib"
157
+ end
158
+ end
159
+
160
+ module "KDE/kdebase/apps" < kde
161
+ remote-path "kdebase/apps"
162
+ end
163
+
164
+ module "KDE/kdepim" < kde
165
+ remote-path "kdepim"
166
+ end
167
+
168
+ #############################################################################
169
+ # SOME ADDITIONAL STUFF
170
+ #############################################################################
171
+ module kdeedu < kde end
172
+ module kdegames < kde end
173
+
174
+ environment kdebindings < kde
175
+ var PYTHON_PATH set "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/python2.6/site_packages"
176
+ end
177
+
178
+ module kdebindings < kde
179
+ use environment kdebindings
180
+ build-system cmake
181
+ # Currently onto2vocabulary crashes for me.
182
+ option BUILD_csharp "false"
183
+ option BUILD_ruby "true"
184
+ option BUILD_python "true"
185
+ option BUILD_php "false"
186
+ option BUILD_falcon "false"
187
+ option BUILD_java "false"
188
+ option BUILD_smoke "true"
189
+ option WITH_Nepomuk "false"
190
+ end
191
+ end
192
+
193
+
194
+ #############################################################################
195
+ # MULTIMEDIA TOOLS
196
+ #############################################################################
197
+ module "multimedia/kdemultimedia" < kde
198
+ remote-path "kdemultimedia"
199
+ end
200
+
201
+ #############################################################################
202
+ # GRAPHICS TOOLS
203
+ #############################################################################
204
+ module "graphics/kdegraphics" < kde
205
+ remote-path "kdegraphics"
206
+ end
207
+
208
+ #############################################################################
209
+ # NETWORK STUFF
210
+ #############################################################################
211
+ module "network/kdenetwork" < kde
212
+ remote-path "kdenetwork"
213
+ vcs git-svn
214
+ external "kget/transfer-plugins/bittorrent/libbtcore#svn://anonsvn.kde.org/home/kde/branches/stable/extragear-kde4/network/ktorrent/libbtcore"
215
+ end
216
+ end
217
+
218
+ #############################################################################
219
+ # UTILS STUFF
220
+ #############################################################################
221
+ module "utils/kdeutils" < kde
222
+ remote-path "kdeutils"
223
+ end
224
+
225
+ #############################################################################
226
+ # DEVELOPMENT TOOLS
227
+ #############################################################################
228
+ environment devel < kde
229
+ var CMAKE_PREFIX_PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>"
230
+ var KDEDIRS prepend "<%= settings['KDEDEVEL_PREFIX'] %>"
231
+ var LD_LIBRARY_PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>"
232
+ var PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>/bin"
233
+ var PKG_CONFIG_PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/pkgconfig"
234
+ var XDG_DATA_DIRS prepend "<%= settings['KDEDEVEL_PREFIX'] %>"
235
+ end
236
+
237
+ module kdedevel < kde TEMPLATE
238
+ use environment devel
239
+ install-prefix "<%= settings['KDEDEVEL_PREFIX'] %>"
240
+ end
241
+
242
+ module "devel/kdesdk" < kde
243
+ remote-path "kdesdk"
244
+ end
245
+
246
+ module "devel/kdevplatform" < kdedevel
247
+ # To many externals
248
+ use vcs svn
249
+ remote-path "kdevplatform"
250
+ end
251
+
252
+ module "devel/kdevelop" < kdedevel
253
+ # To many externals
254
+ use vcs svn
255
+ remote-path "kdevelop"
256
+ end
@@ -0,0 +1,90 @@
1
+ # See http://techbase.kde.org/Contribute/Get_a_SVN_Account
2
+ #############################################################################
3
+ # SSH-KEYS
4
+ #############################################################################
5
+ # If you have a kde svn account. uncomment the following lines and point to
6
+ # your ssh key.
7
+ # ssh-key "user(at)example.com"
8
+ # file "~/.ssh/id_dsa"
9
+ # end
10
+
11
+ #############################################################################
12
+ # SERVERS
13
+ #############################################################################
14
+ # If you have a kde svn account. uncomment the following lines. This will
15
+ # override the anonsvn configuration from the global recipe.
16
+ # server "svn.kde.org"
17
+ # protocol "svn+ssh"
18
+ # host "svn.kde.org"
19
+ # path "home/kde/trunk"
20
+ # end
21
+
22
+ #############################################################################
23
+ # REPOSITORIES
24
+ #############################################################################
25
+ # If you have a kde svn account. uncomment the following lines. This will
26
+ # override the repository declaration from the global recipe.
27
+ # repository "kde"
28
+ # user user
29
+ # use ssh-key "user(at)example.com"
30
+ # end
31
+
32
+ # repository "kde-core"
33
+ # user user
34
+ # use ssh-key "user(at)example.com"
35
+ # end
36
+
37
+ # repository "kde-support"
38
+ # user user
39
+ # use ssh-key "user(at)example.com"
40
+ # end
41
+
42
+ # repository "kde-icons"
43
+ # user user
44
+ # use ssh-key "user(at)example.com"
45
+ # end
46
+
47
+ #############################################################################
48
+ # ENVIRONMENTS
49
+ #############################################################################
50
+ # Add some additional environment variables. The lines below are evaluated
51
+ # AFTER the recipe is loaded. To play nice only use 'set' if you know what you
52
+ # do.
53
+
54
+ # environment default
55
+ # # e.g. Add /usr/local to CMAKE_PREFIX_PATH
56
+ # var CMAKE_PREFIX_PATH prepend "/usr/local"
57
+ # end
58
+
59
+ #############################################################################
60
+ # CHANGE MODULES
61
+ #############################################################################
62
+ # Change some module values. The lines below are evaluated AFTER the recipe is
63
+ # loaded. build-systems of modules are merged as long as they are the same.
64
+
65
+ # The CMAKE_CXX_FLAGS option is added to the already existing configuration
66
+ # from the global recipe. As we can't add to it just set the complete value
67
+ # module "KDE/kdelibs"
68
+ # build-system cmake
69
+ # option CMAKE_CXXFLAGS "-Wall -pipe -O0 -pedantic -Wno-long-long"
70
+ # end
71
+ # end
72
+
73
+ # The following does not really work yet. I'm trying to come up with a working
74
+ # setup. Use at your own risk of wasted time.
75
+ # module "kdebindings"
76
+ # build-system cmake
77
+ # option "PYTHON_SITE_PACKAGES_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/python2.6/site_packages"
78
+ # option "CUSTOM_RUBY_SITE_ARCH_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/ruby/site_ruby/1.8/x86_64-linux"
79
+ # option "CUSTOM_RUBY_SITE_LIB_DIR" "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/ruby/site_ruby/1.8"
80
+ # option BUILD_csharp "false"
81
+ # option BUILD_falcon "false"
82
+ # option BUILD_java "false"
83
+ # option BUILD_nepomuk "false"
84
+ # option BUILD_php "false"
85
+ # option BUILD_python "true"
86
+ # option BUILD_ruby "false"
87
+ # option BUILD_smoke "true"
88
+ # end
89
+ # end
90
+