diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-11-30 12:39:32 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-30 13:00:21 +0000 |
commit | 51bd0803b34565ee68d8be62e4076cb581785b06 (patch) | |
tree | f53d1ce14b1f9474d8cd33dc11323ecf4ee2b27b /scp2/source | |
parent | 509590426a08fd9cdc30d895d5adfd07efea0ebf (diff) |
rename, and bundle the postgresql driver if it is enabled
Diffstat (limited to 'scp2/source')
-rw-r--r-- | scp2/source/extensions/directory_extensions.scp | 11 | ||||
-rw-r--r-- | scp2/source/extensions/file_extensions.scp | 13 | ||||
-rw-r--r-- | scp2/source/extensions/module_extensions.scp | 15 | ||||
-rw-r--r-- | scp2/source/extensions/module_extensions.ulf | 6 |
4 files changed, 45 insertions, 0 deletions
diff --git a/scp2/source/extensions/directory_extensions.scp b/scp2/source/extensions/directory_extensions.scp index a7295a700685..69e5dc50fbbb 100644 --- a/scp2/source/extensions/directory_extensions.scp +++ b/scp2/source/extensions/directory_extensions.scp @@ -223,6 +223,17 @@ End #endif +/* ** PostgreSQL Connector ** */ + +#ifdef WITH_EXTENSION_POSTGRESQL + +Directory gid_Brand_Dir_Share_Extensions_PostgreSQL + ParentID = gid_Brand_Dir_Share_Extensions; + DosName = "postgresql-sdbc"; +End + +#endif + /* ** MySQL Connector ** */ #ifdef WITH_EXTENSION_MYSQLC diff --git a/scp2/source/extensions/file_extensions.scp b/scp2/source/extensions/file_extensions.scp index 7c34871f0763..48f9e4219117 100644 --- a/scp2/source/extensions/file_extensions.scp +++ b/scp2/source/extensions/file_extensions.scp @@ -256,6 +256,19 @@ End #endif +/* ** PostgreSQL Connector ** */ + +#ifdef WITH_EXTENSION_POSTGRESQL + +File gid_File_Oxt_PostgreSQL + TXT_FILE_BODY; + Styles = (PACKED, ARCHIVE); + Dir = gid_Brand_Dir_Share_Extensions_PostgreSQL; + Name = "postgresql-sdbc.oxt"; +End + +#endif + /* ** MySQL Connector ** */ #ifdef WITH_EXTENSION_MYSQLC diff --git a/scp2/source/extensions/module_extensions.scp b/scp2/source/extensions/module_extensions.scp index e3514bc4e94c..91e6baf34f7f 100644 --- a/scp2/source/extensions/module_extensions.scp +++ b/scp2/source/extensions/module_extensions.scp @@ -295,6 +295,21 @@ Module gid_Module_Optional_Extensions_LanguageTool End #endif +/* ** PostgreSQL Connector ** */ + +#ifdef WITH_EXTENSION_POSTGRESQL +Module gid_Module_Optional_Extensions_PostgreSQL + PackageInfo = "packinfo_extensions.txt"; + MOD_NAME_DESC(MODULE_OPTIONAL_EXTENSIONS_POSTGRESQL); + ParentID = gid_Module_Optional_Extensions; + Files = ( + gid_File_Oxt_PostgreSQL ); + Minimal = NO; + Default = YES; + Styles = ( ); +End +#endif + /* ** MySQL Connector ** */ #ifdef WITH_EXTENSION_MYSQLC diff --git a/scp2/source/extensions/module_extensions.ulf b/scp2/source/extensions/module_extensions.ulf index 4a7dbc51bb9e..3c7cb80898d7 100644 --- a/scp2/source/extensions/module_extensions.ulf +++ b/scp2/source/extensions/module_extensions.ulf @@ -141,6 +141,12 @@ en-US = "MySQL Connector" [STR_DESC_MODULE_OPTIONAL_EXTENSIONS_MYSQLC] en-US = "MySQL Connector" +[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_POSTGRESQL] +en-US = "PostgreSQL Connector" + +[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_POSTGRESQL] +en-US = "PostgreSQL Connector" + [STR_NAME_MODULE_OPTIONAL_EXTENSIONS_OOOBLOGGER] en-US = "Metaweblog Support" |