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,10 @@
1
+ SHORT: "Build the kde 4.x development branch."
2
+ LONG: |
3
+ A recipe to build the kde4 development branch. The core modules and some
4
+ additional extragear and playground modules are provided.
5
+
6
+ Warning: This is the development branch for the next kde release. It is not
7
+ necessarily stable!
8
+ WEBSITE: http://www.kde.org
9
+ REPOSITORY: svn://anonsvn.kde.org/home/kde/trunk
10
+ BROWSE_REPOSITORY: http://websvn.kde.org/trunk
@@ -0,0 +1,585 @@
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/trunk"
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"
33
+ server "svn.kde.org"
34
+ end
35
+
36
+ repository "kde-core"
37
+ server "svn.kde.org"
38
+ path "KDE"
39
+ end
40
+
41
+ repository "kde-support"
42
+ server "svn.kde.org"
43
+ end
44
+
45
+ repository "kde-icons"
46
+ server "svn.kde.org"
47
+ end
48
+
49
+ #############################################################################
50
+ # DEFAULTS
51
+ #############################################################################
52
+ environment default
53
+ var MAKEFLAGS set "<%= settings['MAKEFLAGS'] %>"
54
+ var PATH set "<%= settings['PATH'] %>"
55
+ var LD_LIBRARY_PATH set "<%= settings['LD_LIBRARY_PATH'] %>"
56
+ var CMAKE_PREFIX_PATH set "<%= settings['CMAKE_PREFIX_PATH'] %>"
57
+ var PKG_CONFIG_PATH set "<%= settings['PKG_CONFIG_PATH'] %>"
58
+ var KDEDIRS set "<%= settings['KDEDIRS'] %>"
59
+ var XDG_DATA_DIRS set "<%= settings['XDG_DATA_DIRS'] %>"
60
+ end
61
+
62
+
63
+ #############################################################################
64
+ # KDESUPPORT
65
+ #############################################################################
66
+ environment kdesupport < default
67
+ var CMAKE_PREFIX_PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>"
68
+ var KDEDIRS prepend "<%= settings['KDESUPPORT_PREFIX'] %>"
69
+ var LD_LIBRARY_PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>"
70
+ var PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>/bin"
71
+ var PKG_CONFIG_PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/pkgconfig"
72
+ var STRIGI_PLUGIN_PATH prepend "<%= settings['KDESUPPORT_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/strigi"
73
+ var XDG_DATA_DIRS prepend "<%= settings['KDESUPPORT_PREFIX'] %>"
74
+ end
75
+
76
+ module kdesupport TEMPLATE
77
+ build-prefix "<%= settings['BUILD_DIR'] %>"
78
+ install-prefix "<%= settings['KDESUPPORT_PREFIX'] %>"
79
+ use build-system cmake
80
+ use environment kdesupport
81
+ use repository kde-support
82
+ use vcs git-svn
83
+ end
84
+
85
+ module "kdesupport/automoc" < kdesupport end
86
+ module "kdesupport/polkit-qt" < kdesupport end
87
+ module "kdesupport/soprano" < kdesupport end
88
+ module "kdesupport/akonadi" < kdesupport end
89
+ # We use phonon from qt
90
+ # module "kdesupport/phonon" < kdesupport end
91
+ module "kdesupport/strigi" < kdesupport end
92
+ module "kdesupport/taglib" < kdesupport
93
+ build-system cmake
94
+ # These options are needed to compile amarok. See amaroks README file
95
+ # for more information.
96
+ option WITH_MP4 "1"
97
+ option WITH_ASF "1"
98
+ end
99
+ end
100
+ module "kdesupport/taglib-extras" < kdesupport end
101
+
102
+ #############################################################################
103
+ # KDE
104
+ #############################################################################
105
+ environment kde < kdesupport
106
+ var CMAKE_PREFIX_PATH prepend "<%= settings['KDE_PREFIX'] %>"
107
+ var KDEDIRS prepend "<%= settings['KDE_PREFIX'] %>"
108
+ var LD_LIBRARY_PATH prepend "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>"
109
+ var MANPATH prepend "<%= settings['KDE_PREFIX'] %>/share/man"
110
+ var PATH prepend "<%= settings['KDE_PREFIX'] %>/bin"
111
+ var PKG_CONFIG_PATH prepend "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/pkgconfig"
112
+ var STRIGI_PLUGIN_PATH prepend "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/strigi"
113
+ var XDG_DATA_DIRS prepend "<%= settings['KDE_PREFIX'] %>"
114
+ end
115
+
116
+ module kde TEMPLATE
117
+ build-prefix "<%= settings['BUILD_DIR'] %>"
118
+ install-prefix "<%= settings['KDE_PREFIX'] %>"
119
+ use build-system cmake
120
+ use environment kde
121
+ use repository kde-core
122
+ use vcs git-svn
123
+ end
124
+
125
+ #############################################################################
126
+ # KDELIBS
127
+ #############################################################################
128
+ module "kdesupport/oxygen-icons" < kdesupport
129
+ # It's part part of KDE and it's not. That's why i put it here for now.
130
+ # Don't use a KDE/ prefix before it is not necessary to update it very
131
+ # often.
132
+ remote-path "oxygen-icons"
133
+ use repository "kde-icons"
134
+ end
135
+
136
+
137
+ module "KDE/kdelibs" < kde
138
+ # We use the default environment here to make sure kdelibs is able to
139
+ # bootstrap
140
+ use environment kdesupport
141
+ remote-path "kdelibs"
142
+ end
143
+
144
+ module "KDE/kdepimlibs" < kde
145
+ remote-path "kdepimlibs"
146
+ end
147
+
148
+ #############################################################################
149
+ # KDEBASE/...
150
+ #############################################################################
151
+ module "KDE/kdebase/runtime" < kde
152
+ remote-path "kdebase/runtime"
153
+ end
154
+
155
+ module "KDE/kdebase/workspace" < kde
156
+ remote-path "kdebase/workspace"
157
+ vcs git-svn
158
+ external "kwin/clients/oxygen/lib#svn://anonsvn.kde.org/home/kde/trunk/KDE/kdebase/runtime/kstyles/oxygen/lib"
159
+ end
160
+ end
161
+
162
+ module "KDE/kdebase/apps" < kde
163
+ remote-path "kdebase/apps"
164
+ end
165
+
166
+ module "KDE/kdepim" < kde
167
+ remote-path "kdepim"
168
+ end
169
+
170
+ #############################################################################
171
+ # SOME ADDITIONAL STUFF
172
+ #############################################################################
173
+ module kdeedu < kde end
174
+ module kdegames < kde end
175
+
176
+ environment kdebindings < kde
177
+ var PYTHON_PATH set "<%= settings['KDE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/python2.6/site_packages"
178
+ end
179
+
180
+ module kdebindings < kde
181
+ use environment kdebindings
182
+ build-system cmake
183
+ # Currently onto2vocabulary crashes for me.
184
+ option BUILD_csharp "false"
185
+ option BUILD_ruby "true"
186
+ option BUILD_python "true"
187
+ option BUILD_php "false"
188
+ option BUILD_falcon "false"
189
+ option BUILD_java "false"
190
+ option BUILD_smoke "true"
191
+ option WITH_Nepomuk "false"
192
+ end
193
+ end
194
+
195
+
196
+ #############################################################################
197
+ # MULTIMEDIA TOOLS
198
+ #############################################################################
199
+ module "multimedia/kdemultimedia" < kde
200
+ remote-path "kdemultimedia"
201
+ end
202
+
203
+ module "multimedia/k3b" < kde
204
+ use repository kde
205
+ remote-path "extragear/multimedia/k3b"
206
+ end
207
+
208
+ module "multimedia/kaffeine" < kde
209
+ use repository kde
210
+ remote-path "extragear/multimedia/kaffeine"
211
+ end
212
+
213
+ module "multimedia/kmplayer" < kde
214
+ use repository kde
215
+ remote-path "extragear/multimedia/kmplayer"
216
+ end
217
+
218
+ module "multimedia/amarok" < kde
219
+ repository amarok
220
+ server "gitorious.org"
221
+ path "amarok/amarok.git"
222
+ end
223
+ use vcs git
224
+ remote-path "master"
225
+ end
226
+
227
+ #############################################################################
228
+ # GRAPHICS TOOLS
229
+ #############################################################################
230
+ module "graphics/kdegraphics" < kde
231
+ remote-path "kdegraphics"
232
+ end
233
+
234
+ module "graphics/digikam" < "graphics/kdegraphics"
235
+ use repository kde
236
+ remote-path "extragear/graphics/digikam"
237
+ end
238
+
239
+ module "graphics/kipi-plugins" < "graphics/kdegraphics"
240
+ use repository kde
241
+ remote-path "extragear/graphics/kipi-plugins"
242
+ end
243
+
244
+ module "graphics/kphotoalbum" < "graphics/kdegraphics"
245
+ use repository kde
246
+ remote-path "extragear/graphics/kphotoalbum"
247
+ end
248
+
249
+ module "graphics/skanlite" < "graphics/kdegraphics"
250
+ use repository kde
251
+ remote-path "extragear/graphics/skanlite"
252
+ end
253
+
254
+ #############################################################################
255
+ # NETWORK STUFF
256
+ #############################################################################
257
+ module "network/kdenetwork" < kde
258
+ remote-path "kdenetwork"
259
+ vcs git-svn
260
+ external "kget/transfer-plugins/bittorrent/libbtcore#svn://anonsvn.kde.org/home/kde/branches/stable/extragear-kde4/network/ktorrent/libbtcore"
261
+ end
262
+ end
263
+
264
+ module "network/konversation" < kde
265
+ use repository kde
266
+ remote-path "extragear/network/konversation"
267
+ end
268
+
269
+ module "network/knemo" < kde
270
+ use repository kde
271
+ remote-path "extragear/network/knemo"
272
+ end
273
+
274
+ module "network/choqok" < kde
275
+ use repository kde
276
+ remote-path "extragear/network/choqok"
277
+ end
278
+
279
+ module "network/ktorrent" < kde
280
+ use repository kde
281
+ remote-path "extragear/network/ktorrent"
282
+ end
283
+
284
+ module "network/kopete" < kde
285
+ use repository kde
286
+ remote-path "playground/network/kopete"
287
+ end
288
+
289
+ module "network/kbluetooth" < kde
290
+ use repository kde
291
+ remote-path "playground/network/kbluetooth"
292
+ end
293
+
294
+ module "network/kepas" < kde
295
+ use repository kde
296
+ remote-path "playground/network/kepas"
297
+ end
298
+
299
+ module "network/rekonq" < kde
300
+ use repository kde
301
+ remote-path "playground/network/rekonq"
302
+ end
303
+
304
+ #############################################################################
305
+ # UTILS STUFF
306
+ #############################################################################
307
+ module "utils/kdeutils" < kde
308
+ remote-path "kdeutils"
309
+ end
310
+
311
+ module "utils/yakuake" < kde
312
+ use repository kde
313
+ remote-path "extragear/utils/yakuake"
314
+ end
315
+
316
+ module "utils/kdiff3" < kde
317
+ use repository kde
318
+ remote-path "extragear/utils/yakuake"
319
+ end
320
+
321
+
322
+ #############################################################################
323
+ # PLASMA EXTRAS
324
+ #############################################################################
325
+ module "plasma/kdeplasma-addons" < kde
326
+ remote-path "kdeplasma-addons"
327
+ end
328
+
329
+ module "plasma/nepomuk-kde" < kde
330
+ use repository kde
331
+ remote-path "playground/base/nepomuk-kde"
332
+ end
333
+
334
+ <% for mod in [
335
+ 'clipboard',
336
+ 'contacts',
337
+ 'geolocation-wifi',
338
+ 'hellanzb',
339
+ 'kiobrowser',
340
+ 'lancelot',
341
+ 'mythtv',
342
+ 'nepomuktags',
343
+ 'presence',
344
+ 'publictransport',
345
+ 'sensors',
346
+ 'stocksengine',
347
+ 'timetracker',
348
+ 'translator'
349
+ ] %>
350
+ module "plasma/dataengines/<%= mod %>"
351
+ use build-system cmake
352
+ use environment kde
353
+ use repository kde
354
+ use vcs git-svn
355
+ build-prefix "<%= settings['BUILD_DIR'] %>"
356
+ install-prefix "<%= settings['KDE_PREFIX'] %>"
357
+ remote-path "playground/base/plasma/dataengines/<%= mod %>"
358
+ end
359
+ <% end %>
360
+
361
+ <% for mod in [
362
+ 'activewindowcontrol',
363
+ 'adjustableclock',
364
+ 'blackboard',
365
+ 'cia.vc',
366
+ 'cmake',
367
+ 'commandwatch',
368
+ 'contacts',
369
+ 'cpufrequency-selector',
370
+ 'crystal',
371
+ 'darkstat',
372
+ 'debugapplet',
373
+ 'desktop',
374
+ 'embed-win',
375
+ 'embedded-ivan',
376
+ 'fancytasks',
377
+ 'flippoid',
378
+ 'fortunoid',
379
+ 'grid',
380
+ 'groupphoto',
381
+ 'java',
382
+ 'kbstateapplet',
383
+ 'kconfigmenu',
384
+ 'keren',
385
+ 'keyboardLeds',
386
+ 'keystatejs',
387
+ 'killswitch',
388
+ 'knowledgebase',
389
+ 'konsolator',
390
+ 'kuickquiz',
391
+ 'lionmail',
392
+ 'meltdown',
393
+ 'menubar',
394
+ 'mid_control',
395
+ 'miniplayer',
396
+ 'moodbar',
397
+ 'nepomuktags',
398
+ 'network',
399
+ 'openbrain',
400
+ 'panelspacer',
401
+ 'peachydock',
402
+ 'plasmaboard',
403
+ 'plasmobiff',
404
+ 'presence',
405
+ 'rotator',
406
+ 'runcommand',
407
+ 'script',
408
+ 'serverhotlink',
409
+ 'slideInSlideOut',
410
+ 'spellcheck',
411
+ 'stockwidget',
412
+ 'suspend-applet',
413
+ 'svgpaneltest',
414
+ 'systemcommand',
415
+ 'test',
416
+ 'timeline',
417
+ 'timetracker',
418
+ 'toggle-compositing',
419
+ 'togglepanel',
420
+ 'train-clock',
421
+ 'translatoid',
422
+ 'victorycalendar',
423
+ 'webapp',
424
+ 'welcome',
425
+ 'wifi-signal-strength',
426
+ 'windowlist',
427
+ 'windows-startmenu' ] %>
428
+ module "plasma/applets/<%= mod %>"
429
+ use build-system cmake
430
+ use environment kde
431
+ use repository kde
432
+ use vcs git-svn
433
+ build-prefix "<%= settings['BUILD_DIR'] %>"
434
+ install-prefix "<%= settings['KDE_PREFIX'] %>"
435
+ remote-path "playground/base/plasma/applets/<%= mod %>"
436
+ end
437
+ <% end %>
438
+
439
+ #############################################################################
440
+ # DEVELOPMENT TOOLS
441
+ #############################################################################
442
+ environment devel < kde
443
+ var CMAKE_PREFIX_PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>"
444
+ var KDEDIRS prepend "<%= settings['KDEDEVEL_PREFIX'] %>"
445
+ var LD_LIBRARY_PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>"
446
+ var PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>/bin"
447
+ var PKG_CONFIG_PATH prepend "<%= settings['KDEDEVEL_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/pkgconfig"
448
+ var XDG_DATA_DIRS prepend "<%= settings['KDEDEVEL_PREFIX'] %>"
449
+ end
450
+
451
+ module kdedevel < kde TEMPLATE
452
+ use environment devel
453
+ install-prefix "<%= settings['KDEDEVEL_PREFIX'] %>"
454
+ end
455
+
456
+ module "devel/kdesdk" < kde
457
+ remote-path "kdesdk"
458
+ end
459
+
460
+ module "devel/kdevplatform" < kdedevel
461
+ # To many externals
462
+ use vcs svn
463
+ remote-path "kdevplatform"
464
+ end
465
+
466
+ module "devel/kdevelop" < kdedevel
467
+ # To many externals
468
+ use vcs svn
469
+ remote-path "kdevelop"
470
+ end
471
+
472
+ # Parser Generator modules. Needed for some of the language plugins below
473
+ module "devel/kdevelop-pg" < kdedevel
474
+ use repository kde
475
+ remote-path "playground/devtools/kdevelop-pg"
476
+ end
477
+
478
+ module "devel/kdevelop-pg-qt" < kdedevel
479
+ use repository kde
480
+ remote-path "playground/devtools/kdevelop-pg-qt"
481
+ end
482
+
483
+ # It's in kdereview currently
484
+ # module "devel/controlflowgraph" < kdedevel
485
+ # use repository kde
486
+ # remote-path "playground/devtools/kdevelop4-extra-plugins/controlflowgraph"
487
+ # end
488
+
489
+ # Depends on the veritas lib now at
490
+ # playground/devtools/kdevelop4-extra-libraries which got removed from
491
+ # kdevplatform because it seems to be unmaintained.
492
+ # module "devel/cppunit" < kdedevel
493
+ # use repository kde
494
+ # remote-path "playground/devtools/kdevelop4-extra-plugins/cppunit"
495
+ # end
496
+
497
+ module "devel/duchainviewer" < kdedevel
498
+ use repository kde
499
+ remote-path "playground/devtools/kdevelop4-extra-plugins/duchainviewer"
500
+ end
501
+
502
+ module "devel/git" < kdedevel
503
+ use repository kde
504
+ remote-path "playground/devtools/kdevelop4-extra-plugins/git"
505
+ end
506
+
507
+ module "devel/qtdesigner" < kdedevel
508
+ use repository kde
509
+ remote-path "playground/devtools/kdevelop4-extra-plugins/qtdesigner"
510
+ end
511
+
512
+ module "devel/qmake" < kdedevel
513
+ use repository kde
514
+ remote-path "playground/devtools/kdevelop4-extra-plugins/qmake"
515
+ end
516
+
517
+ module "devel/metrics" < kdedevel
518
+ use repository kde
519
+ remote-path "playground/devtools/kdevelop4-extra-plugins/metrics"
520
+ end
521
+
522
+ module "devel/php" < kdedevel
523
+ use repository kde
524
+ vcs git-svn
525
+ external "parser/generated/kdevelop-pg-qt#svn://anonsvn.kde.org/home/kde/trunk/playground/devtools/kdevelop-pg-qt/include"
526
+ end
527
+ remote-path "playground/devtools/kdevelop4-extra-plugins/php"
528
+ end
529
+
530
+ module "devel/preprocessor" < kdedevel
531
+ use repository kde
532
+ remote-path "playground/devtools/kdevelop4-extra-plugins/preprocessor"
533
+ end
534
+
535
+ module "devel/ruby" < kdedevel
536
+ use repository kde
537
+ remote-path "playground/devtools/kdevelop4-extra-plugins/ruby"
538
+ end
539
+
540
+ module "devel/sloc" < kdedevel
541
+ use repository kde
542
+ remote-path "playground/devtools/kdevelop4-extra-plugins/sloc"
543
+ end
544
+
545
+ module "devel/teamwork" < kdedevel
546
+ use repository kde
547
+ remote-path "playground/devtools/kdevelop4-extra-plugins/teamwork"
548
+ end
549
+
550
+ #############################################################################
551
+ # OFFICE STUFF
552
+ #############################################################################
553
+ environment kdeoffice < kdebase
554
+ var CMAKE_PREFIX_PATH prepend "<%= settings['KOFFICE_PREFIX'] %>"
555
+ var KDEDIRS prepend "<%= settings['KOFFICE_PREFIX'] %>"
556
+ var LD_LIBRARY_PATH prepend "<%= settings['KOFFICE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>"
557
+ var PATH prepend "<%= settings['KOFFICE_PREFIX'] %>/bin"
558
+ var PKG_CONFIG_PATH prepend "<%= settings['KOFFICE_PREFIX'] %>/lib<%= settings['LIB_SUFFIX'] %>/pkgconfig"
559
+ var XDG_DATA_DIRS prepend "<%= settings['KOFFICE_PREFIX'] %>"
560
+ end
561
+
562
+ module "office/koffice" < kde
563
+ use environment kde
564
+ install-prefix "<%= settings['KOFFICE_PREFIX'] %>"
565
+ remote-path "koffice"
566
+ end
567
+
568
+ module "office/kile" < kde
569
+ use repository kde
570
+ install-prefix "<%= settings['KOFFICE_PREFIX'] %>"
571
+ remote-path "extragear/office/kile"
572
+ end
573
+
574
+ module "office/tellico" < kde
575
+ use repository kde
576
+ install-prefix "<%= settings['KOFFICE_PREFIX'] %>"
577
+ remote-path "extragear/office/tellico"
578
+ end
579
+
580
+ module "office/skrooge" < kde
581
+ use repository kde
582
+ install-prefix "<%= settings['KOFFICE_PREFIX'] %>"
583
+ remote-path "extragear/office/skrooge"
584
+ end
585
+