[Greater-commits] r233 - in trunk: . portage portage/greater-admin portage/greater-dbapi
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Jun 22 11:46:56 CEST 2011
Author: aheinecke
Date: 2011-06-22 11:46:55 +0200 (Wed, 22 Jun 2011)
New Revision: 233
Added:
trunk/portage/
trunk/portage/README
trunk/portage/greater-admin/
trunk/portage/greater-admin/greater-admin-20110609.py
trunk/portage/greater-dbapi/
trunk/portage/greater-dbapi/greater-dbapi-20110609.py
Log:
Add helpful buildsystem scripts for windows utilizing KDE-Windows emerge tool
Added: trunk/portage/README
===================================================================
--- trunk/portage/README 2011-06-22 09:17:08 UTC (rev 232)
+++ trunk/portage/README 2011-06-22 09:46:55 UTC (rev 233)
@@ -0,0 +1,13 @@
+greater portage is an extension for the Windows buildtool
+emerge. It contains scripts to build greater-admin and
+greater-dbapi with postgresbackend on Windows.
+
+For emerge documentation and how to obtain the software
+please refer to:
+http://techbase.kde.org/Getting_Started/Build/KDE4/Windows/emerge
+
+To integrate with KDE emerge set your environment variable
+EMERGE_PORTAGE_ROOT=%KDEROOT%\emerge\portage;<path2greater>\portage
+
+then you can run emerge greater-admin to get the dbapi and the
+Administration tool
Added: trunk/portage/greater-admin/greater-admin-20110609.py
===================================================================
--- trunk/portage/greater-admin/greater-admin-20110609.py 2011-06-22 09:17:08 UTC (rev 232)
+++ trunk/portage/greater-admin/greater-admin-20110609.py 2011-06-22 09:46:55 UTC (rev 233)
@@ -0,0 +1,27 @@
+# -*- coding: utf-8 -*-
+import utils
+import info
+
+class subinfo(info.infoclass):
+ def setTargets(self):
+ self.svnTargets['svnHEAD'] = (
+ 'https://svn.wald.intevation.org/svn/greater/trunk/Administration')
+ self.defaultTarget = 'svnHEAD'
+ self.shortDescription =(
+ "GREAT-ER-DBAPI provides database bindings for postgresql "
+ "for the GREAT-ER Software (http://www.great-er.org/) ")
+
+ def setDependencies(self):
+ self.buildDependencies['virtual/base'] = 'default'
+ self.dependencies['contributed/greater-dbapi'] = 'default'
+ self.dependencies['win32libs-bin/xerces-c'] = 'default'
+
+from Package.CMakePackageBase import *
+
+class Package(CMakePackageBase):
+ def __init__(self, **args):
+ self.subinfo = subinfo()
+ CMakePackageBase.__init__(self)
+
+if __name__ == '__main__':
+ Package().execute()
Added: trunk/portage/greater-dbapi/greater-dbapi-20110609.py
===================================================================
--- trunk/portage/greater-dbapi/greater-dbapi-20110609.py 2011-06-22 09:17:08 UTC (rev 232)
+++ trunk/portage/greater-dbapi/greater-dbapi-20110609.py 2011-06-22 09:46:55 UTC (rev 233)
@@ -0,0 +1,30 @@
+# -*- coding: utf-8 -*-
+import utils
+import info
+
+class subinfo(info.infoclass):
+ def setTargets(self):
+ self.svnTargets['svnHEAD'] = (
+ 'https://svn.wald.intevation.org/svn/greater/trunk/GREAT-ER-DB'
+ '/impl/postgresql')
+ self.defaultTarget = 'svnHEAD'
+ self.shortDescription =(
+ "GREAT-ER-DBAPI provides database bindings for postgresql "
+ "for the GREAT-ER Software (http://www.great-er.org/) ")
+
+ def setDependencies(self):
+ self.buildDependencies['virtual/base'] = 'default'
+ self.dependencies['testing/pgsql'] = 'default'
+
+from Package.CMakePackageBase import *
+
+class Package(CMakePackageBase):
+ def __init__(self, **args):
+ self.subinfo = subinfo()
+ CMakePackageBase.__init__(self)
+ if (self.buildType != "Release"):
+ self.subinfo.options.configure.defines = (
+ "-DAGREATER_DEBUG=ON")
+
+if __name__ == '__main__':
+ Package().execute()
More information about the Greater-commits
mailing list