X-Git-Url: https://git.ralfj.de/mass-build.git/blobdiff_plain/b82c0cdbd36ccfbdff73f65616f30f7d22f9083b..0ee4d14cae63cd9f029a2dde0773d2ab5d649015:/config.py.sample diff --git a/config.py.sample b/config.py.sample index 3aa886c..875f5a4 100644 --- a/config.py.sample +++ b/config.py.sample @@ -5,27 +5,46 @@ buildType = 'Debug' jobs = 2 buildCmdPrefix = ['nice'] installCmdPrefix = [] +# helper function for the modules - per default, they assume an SC module +defaultGitVersion = 'origin/master' # or 'origin/KDE/4.8' or 'v4.8.4' +defaultSvnVersion = 'trunk/KDE' # or 'branches/KDE/4.8' or 'tags/KDE/4.8.4' +def KDEGitModule(name, version=defaultGitVersion, **module): + module['name'] = name + module['build-system'] = 'cmake' + module['vcs'] = 'git' + module['url'] = 'kde:'+name # relies on the kde: prefix being set up for git + module['version'] = version + return module +def KDESvnModule(name, svnPath=defaultSvnVersion, **module): + module['name'] = name + module['build-system'] = 'cmake' + module['vcs'] = 'svn' + module['url'] = 'svn://svn.kde.org/home/kde/'+svnPath+'/'+name + return module # the modules we are interested in -KDEBranch = 'KDE/4.8' modules = [ - # KDE core -# {'type': 'kde+svn', 'in-folder': 'kde', 'name': 'oxygen-icons', 'svn-path': 'tags/KDE/4.8.2/oxygen-icons'}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kdelibs', 'version': 'origin/'+KDEBranch}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kactivities', 'version': 'origin/'+KDEBranch}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kdepimlibs', 'version': 'origin/'+KDEBranch}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kde-runtime', 'version': 'origin/'+KDEBranch}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kde-workspace', 'version': 'origin/'+KDEBranch}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kde-baseapps', 'version': 'origin/'+KDEBranch}, -# {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kdepim-runtime', 'version': 'origin/'+KDEBranch}, - # KDE applications -# {'type': 'kde+svn', 'in-folder': 'kde', 'name': 'kde-wallpapers', 'svn-path': 'branches/'+KDEBranch+'/kde-wallpapers'}, - {'type': 'kde+svn', 'in-folder': 'kde', 'name': 'kdenetwork', 'svn-path': 'branches/'+KDEBranch+'/kdenetwork'}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'konsole', 'version': 'origin/'+KDEBranch}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kate', 'version': 'origin/'+KDEBranch}, - {'type': 'kde+git', 'in-folder': 'kde', 'name': 'kwallet', 'version': 'origin/'+KDEBranch}, - # Extragear applications, addons -# {'type': 'kde+git', 'in-folder': 'extragear', 'name': 'polkit-kde-agent-1', 'version': 'v0.99.0'}, - {'type': 'kde+git', 'in-folder': 'extragear', 'name': 'networkmanagement', 'version': 'v0.9.0.1'}, -# {'type': 'kde+git', 'in-folder': 'extragear', 'name': 'kdevplatform', 'version': 'v1.2.3'}, -# {'type': 'kde+git', 'in-folder': 'extragear', 'name': 'kdevelop', 'version': 'v4.2.3'}, + # KDE support + {'folder': 'kdesupport', 'modules': [ + ]}, + # KDE SC + {'folder': 'kde-sc', 'modules': [ + # KDE core + KDESvnModule('oxygen-icons', '/trunk/kdesupport'), # released within the SC, but located in kdesupport... + KDEGitModule('kdelibs'), + KDEGitModule('kactivities'), + KDEGitModule('kdepimlibs'), + KDEGitModule('kde-runtime'), + KDEGitModule('kde-workspace'), + KDEGitModule('kde-baseapps'), + KDEGitModule('kdepim-runtime'), + # KDE applications + KDESvnModule('kde-wallpapers'), + KDEGitModule('konsole'), + KDEGitModule('kate'), + KDEGitModule('kwallet'), + ]}, + # Extragear + {'folder': 'extragear', 'modules': [ + KDEGitModule('networkmanagement', 'v0.9.0.4') + ]}, ]