Changeset View
Changeset View
Standalone View
Standalone View
kdesrc-build-setup
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Line(s) | |||||
232 | 232 | | |||
233 | if ($installDir eq 'custom') { | 233 | if ($installDir eq 'custom') { | ||
234 | $installDir = getDirectory('/usr/local/kde'); | 234 | $installDir = getDirectory('/usr/local/kde'); | ||
235 | } | 235 | } | ||
236 | else { | 236 | else { | ||
237 | $installDir = "~/kde/usr"; | 237 | $installDir = "~/kde/usr"; | ||
238 | } | 238 | } | ||
239 | 239 | | |||
240 | my $sourceDir = getMenuOption('Where do you want the source code to be saved?', | ||||
241 | [ | ||||
242 | home => "$ENV{HOME}/kde/src (default)", | ||||
243 | custom => "Custom location, chosen next screen", | ||||
244 | ]); | ||||
245 | | ||||
246 | if ($sourceDir eq 'custom') { | ||||
247 | $sourceDir = getDirectory('/usr/local/kde/src'); | ||||
248 | } | ||||
249 | else { | ||||
250 | $sourceDir = "~/kde/src"; | ||||
251 | } | ||||
252 | | ||||
253 | my $buildDir = getMenuOption('Where do you want temporary build files to be saved? (They might need lots of space)', | ||||
254 | [ | ||||
255 | home => "$ENV{HOME}/kde/build (default)", | ||||
256 | custom => "Custom location, chosen next screen", | ||||
257 | ]); | ||||
258 | | ||||
259 | if ($buildDir eq 'custom') { | ||||
260 | $buildDir = getDirectory('/usr/local/kde/build'); | ||||
261 | } | ||||
262 | else { | ||||
263 | $buildDir = "~/kde/build"; | ||||
264 | } | ||||
265 | | ||||
240 | my @chosenModules = getListOptions( | 266 | my @chosenModules = getListOptions( | ||
241 | "Which major module groups do you want to build?", | 267 | "Which major module groups do you want to build?", | ||
242 | [ | 268 | [ | ||
243 | frameworks => 'KDE Frameworks 5 - Essential libraries/runtime (required)', | 269 | frameworks => 'KDE Frameworks 5 - Essential libraries/runtime (required)', | ||
244 | workspace => 'KDE Plasma 5 Desktop and workspace', | 270 | workspace => 'KDE Plasma 5 Desktop and workspace', | ||
245 | base => 'Assorted useful KF5-based applications', | 271 | base => 'Assorted useful KF5-based applications', | ||
246 | pim => 'Personal Information Management software', | 272 | pim => 'Personal Information Management software', | ||
247 | ], | 273 | ], | ||
▲ Show 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 348 | # qtdir ~/qt5 | |||
326 | # dependencies are not very fine-grained so this can result in quite a few | 352 | # dependencies are not very fine-grained so this can result in quite a few | ||
327 | # modules being installed that you didn't need. | 353 | # modules being installed that you didn't need. | ||
328 | include-dependencies true | 354 | include-dependencies true | ||
329 | 355 | | |||
330 | # Install directory for KDE software | 356 | # Install directory for KDE software | ||
331 | kdedir $installDir | 357 | kdedir $installDir | ||
332 | 358 | | |||
333 | # Directory for downloaded source code | 359 | # Directory for downloaded source code | ||
334 | source-dir ~/kde/src | 360 | source-dir $sourceDir | ||
335 | 361 | | |||
336 | # Directory to build KDE into before installing | 362 | # Directory to build KDE into before installing | ||
337 | # relative to source-dir by default | 363 | # relative to source-dir by default | ||
338 | build-dir ~/kde/build | 364 | build-dir $buildDir | ||
339 | 365 | | |||
340 | # Use multiple cores for building. Other options to GNU make may also be | 366 | # Use multiple cores for building. Other options to GNU make may also be | ||
341 | # set. | 367 | # set. | ||
342 | make-options -j$numCpus | 368 | make-options -j$numCpus | ||
343 | 369 | | |||
344 | # kdesrc-build can install a sample .xsession file for "Custom" | 370 | # kdesrc-build can install a sample .xsession file for "Custom" | ||
345 | # (or "XSession") logins, | 371 | # (or "XSession") logins, | ||
346 | install-session-driver false | 372 | install-session-driver false | ||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |