Kaydet (Commit) c97d74b5 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

fdo#45090: Changed postgresql-sdbc from bundled oxt to proper optional part.

Replaced --enable-ext-postgresql-sdbc with --disable-postgresql-sdbc.
Renamed postgresql-sdbc.uno{.ini,rc} to consistent postgresql-sdbc.ini
(which made the code a little easier).
Signed-off-by: 's avatarFridrich Štrba <fridrich.strba@bluewin.ch>

(cherry picked from commit 3a7ae48b)
Conflicts:
	configure.in
	connectivity/source/drivers/postgresql/makefile.mk
üst 95780ec7
......@@ -427,11 +427,6 @@ AC_ARG_ENABLE(ext-pdfimport,
[Disable the PDF Import extension.])
)
AC_ARG_ENABLE(ext-postgresql-sdbc,
AS_HELP_STRING([--enable-ext-postgresql-sdbc],
[Enable the build of the PostgreSQL-SDBC extension.])
)
AC_ARG_ENABLE(ext-presenter-console,
AS_HELP_STRING([--disable-ext-presenter-console],
[Disable the Presenter Console extension.])
......@@ -873,6 +868,11 @@ AC_ARG_ENABLE(silent-msi,
[Enable MSI with LIMITUI=1 (silent install).]),
,)
AC_ARG_ENABLE(postgresql-sdbc,
AS_HELP_STRING([--disable-postgresql-sdbc],
[Disable the build of the PostgreSQL-SDBC driver.])
)
dnl ===================================================================
dnl Optional Packages (--with/without-)
dnl ===================================================================
......@@ -1199,7 +1199,7 @@ AC_ARG_WITH(system-mysql-cppconn,
AC_ARG_WITH(system-postgresql,
AS_HELP_STRING([--with-system-postgresql],
[Use PostgreSQL libraries already on system, for building the PostgreSQL-SDBC
extension. If pg_config is not in PATH, use PGCONFIG to point to it.]),,
driver. If pg_config is not in PATH, use PGCONFIG to point to it.]),,
[with_system_postgresql="$with_system_libs"])
AC_ARG_WITH(libpq-path,
......@@ -6118,13 +6118,11 @@ fi
dnl ===================================================================
dnl Check for PostgreSQL stuff
dnl ===================================================================
if test "x$enable_ext_postgresql_sdbc" = "xyes"; then
if test "x$enable_extension_integration" = "xyes"; then
SCPDEFS="$SCPDEFS -DWITH_EXTENSION_POSTGRESQL"
fi
if test "x$enable_postgresql_sdbc" != "xno"; then
SCPDEFS="$SCPDEFS -DWITH_POSTGRESQL_SDBC"
# if/when anything else than PostgreSQL uses Kerberos,
# move this out of `test "x$enable_ext_postgresql_sdbc" = "xyes"'
# move this out of `test "x$enable_postgresql_sdbc" != "xno"'
WITH_KRB5=NO
WITH_GSSAPI=no
case "$_os" in
......
..\%__SRC%\bin\*.dll %_DEST%\bin\*.dll
..\%__SRC%\bin\*.res %_DEST%\bin\*.res
..\%__SRC%\lib\lib*.so %_DEST%\lib\lib*.so
..\%__SRC%\lib\lib*.a %_DEST%\lib\lib*.a
..\%__SRC%\lib\*.so %_DEST%\lib\*.so
..\%__SRC%\lib\*.dylib %_DEST%\lib\*.dylib
..\%__SRC%\lib\*.jnilib %_DEST%\lib\*.jnilib
..\%__SRC%\lib\*.a %_DEST%\lib\*.a
......@@ -53,3 +52,6 @@ mkdir: %_DEST%\xml\registry\spool\DataAccess
..\%__SRC%\misc\mysql.component %_DEST%\xml\mysql.component
..\%__SRC%\misc\odbc.component %_DEST%\xml\odbc.component
..\%__SRC%\misc\sdbc2.component %_DEST%\xml\sdbc2.component
..\%__SRC%\misc\postgresql-sdbc.rdb %_DEST%\xml\postgresql-sdbc.rdb
..\source\drivers\postgresql\postgresql-sdbc.ini %_DEST%\bin\postgresql-sdbc.ini
<?xml version="1.0" encoding="UTF-8"?>
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dep="http://openoffice.org/extensions/description/2006">
<version value="@EXTENSION_VERSION@" />
<identifier value="postgresql-sdbc" />
<display-name>
<name lang="en-US">PostgreSQL-SDBC Driver</name>
</display-name>
<dependencies>
<OpenOffice.org-minimal-version value="3.3" dep:name="OpenOffice.org 3.3"/>
</dependencies>
<publisher>
<name xlink:href="http://www.documentfoundation.org" lang="en-US">The Document Foundation</name>
</publisher>
<extension-description>
<src lang="en-US" xlink:href="description/description_en-US.txt"/>
</extension-description>
</description>
A native PostgreSQL database driver for LibreOffice. It is faster, seamlessly integrated and there is no need to install and setup a JDBC or ODBC driver separately. Compatible with PostgreSQL version 8.4 and later.
......@@ -63,7 +63,7 @@ NO_DEFAULT_STL=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
.INCLUDE: $(PRJ)/makefile.pmk
.IF "$(BUILD_POSTGRESQL_SDBC)" == "YES"
......@@ -75,7 +75,6 @@ DLLPRE=
PQ_SDBC_MAJOR=0
PQ_SDBC_MINOR=8
PQ_SDBC_MICRO=2
PQ_SDBC_VERSION=$(PQ_SDBC_MAJOR).$(PQ_SDBC_MINOR).$(PQ_SDBC_MICRO)
LIBPQ_DEP_LIBS=
.IF "$(SYSTEM_POSTGRESQL)"=="YES"
......@@ -117,7 +116,7 @@ SHL1STDLIBS= \
SHL1LIBS= $(LIB1TARGET)
SHL1DEF= $(MISC)/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
SHL1VERSIONMAP=$(SOLARENV)/src/reg-component.map
SHL1VERSIONMAP=$(SOLARENV)/src/component.map
SHL2TARGET=postgresql-sdbc-impl.uno
LIB2TARGET=$(SLB)/$(SHL2TARGET).lib
......@@ -168,63 +167,39 @@ SHL2STDLIBS= \
SHL2LIBS= $(LIB2TARGET)
SHL2DEF= $(MISC)/$(SHL2TARGET).def
DEF2NAME= $(SHL2TARGET)
SHL2VERSIONMAP=$(SOLARENV)/src/reg-component.map
SHL2VERSIONMAP=$(SOLARENV)/src/component.map
SLOFILES= $(LIB1OBJFILES) $(LIB2OBJFILES)
.INCLUDE: $(PRJ)/target.pmk
DRIVERNAME=postgresql-sdbc.oxt
ALLTAR : $(DLLDEST)/$(DRIVERNAME)
ALLTAR : $(MISC)/postgresql-sdbc.rdb
.ENDIF # BUILD_POSTGRESQL_SDBC
$(MISC)/postgresql-sdbc.rdb .ERRREMOVE : \
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/postgresql-sdbc.input \
$(MISC)/postgresql-sdbc.component $(MISC)/postgresql-sdbc-impl.component
$(XSLTPROC) --nonet --stringparam prefix $(PWD)/$(MISC)/ -o $@ \
$(SOLARENV)/bin/packcomponents.xslt $(MISC)/postgresql-sdbc.input
$(MISC)/postgresql-sdbc.input : makefile.mk
echo '<list><filename>postgresql-sdbc.component</filename>' \
'<filename>postgresql-sdbc-impl.component</filename></list>' > $@
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
$(MISC)/postgresql-sdbc.component .ERRREMOVE : \
$(SOLARENV)/bin/createcomponent.xslt postgresql-sdbc.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt postgresql-sdbc.component
$(MISC)/postgresql-sdbc-impl.component .ERRREMOVE : \
$(SOLARENV)/bin/createcomponent.xslt postgresql-sdbc-impl.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL2TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt postgresql-sdbc-impl.component
.IF "$(GUI)" == "UNX"
INI_EXT=rc
.ELSE
INI_EXT=.ini
.ENDIF
$(DLLDEST)/$(SHL1TARGET)$(INI_EXT): $(SHL1TARGET)
+cp $? $@
$(DLLDEST)/$(DRIVERNAME): \
$(DLLDEST)/META-INF/manifest.xml \
$(DLLDEST)/description.xml \
$(DLLDEST)/description/description_en-US.txt \
$(DLLDEST)/postgresql.xcu \
$(DLLDEST)/$(SHL1TARGET)$(DLLPOST) \
$(DLLDEST)/$(SHL2TARGET)$(DLLPOST) \
$(DLLDEST)/$(SHL1TARGET)$(INI_EXT)
+cd $(DLLDEST) && \
zip -r $(DRIVERNAME) \
META-INF/manifest.xml \
$(SHL1TARGET)$(DLLPOST) \
$(SHL2TARGET)$(DLLPOST) \
$(SHL1TARGET)$(INI_EXT) \
description.xml \
description/description_en-US.txt \
postgresql.xcu
$(DLLDEST)/description/% : description/%
mkdir -p $(DLLDEST)/description
+cp $? $@
$(DLLDEST)/META-INF/manifest.xml : manifest.xml
mkdir -p $(DLLDEST)/META-INF
+cp $? $@
$(DLLDEST)/description.xml : description.xml
+sed -e 's/@EXTENSION_VERSION@/$(PQ_SDBC_VERSION)/' < $? > $@
$(DLLDEST)/postgresql.xcu : postgresql.xcu
rm -f $@
cat postgresql.xcu > $@
strip :
.IF "$(GUI)"!="WNT"
strip $(DLLDEST)/$(SHL1TARGET)$(DLLPOST) $(DLLDEST)/$(SHL2TARGET)$(DLLPOST)
.ENDIF
ALLTAR:
.ENDIF # BUILD_POSTGRESQL_SDBC
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native"
manifest:full-path="postgresql-sdbc-impl.uno.so"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=native"
manifest:full-path="postgresql-sdbc.uno.so"/>
<manifest:file-entry manifest:media-type="application/vnd.sun.star.configuration-data"
manifest:full-path="postgresql.xcu"/>
</manifest:manifest>
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License or as specified alternatively below. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Major Contributor(s):
* [ Copyright (C) 2012 Red Hat, Inc., Stephan Bergmann <sbergman@redhat.com>
* (initial developer) ]
*
* All Rights Reserved.
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 3 or later (the "GPLv3+"), or
* the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
* instead of those above.
-->
<component loader="com.sun.star.loader.SharedLibrary"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="org.openoffice.comp.connectivity.pq.Connection">
<service name="com.sun.star.sdbc.Connection"/>
</implementation>
</component>
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License or as specified alternatively below. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Major Contributor(s):
* [ Copyright (C) 2012 Red Hat, Inc., Stephan Bergmann <sbergman@redhat.com>
* (initial developer) ]
*
* All Rights Reserved.
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 3 or later (the "GPLv3+"), or
* the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
* instead of those above.
-->
<component loader="com.sun.star.loader.SharedLibrary"
xmlns="http://openoffice.org/2010/uno-components">
<implementation name="org.openoffice.comp.connectivity.pq.Driver">
<service name="com.sun.star.sdbc.Driver"/>
</implementation>
</component>
......@@ -175,7 +175,7 @@ static sal_Int32 readLogLevelFromConfiguration()
osl_getModuleURLFromAddress(
(void*) readLogLevelFromConfiguration, (rtl_uString **) &fileName );
fileName = OUString( fileName.getStr(), fileName.lastIndexOf( '/' )+1 );
fileName += OUString::createFromAscii( SAL_CONFIGFILE("postgresql-sdbc.uno") );
fileName += OUString::createFromAscii( "postgresql-sdbc.ini" );
rtl::Bootstrap bootstrapHandle( fileName );
OUString str;
......@@ -785,19 +785,6 @@ static struct cppu::ImplementationEntry g_entries[] =
extern "C"
{
//==================================================================================================
void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
//==================================================================================================
sal_Bool SAL_CALL component_writeInfo(
void * pServiceManager, void * pRegistryKey )
{
return cppu::component_writeInfoHelper( pServiceManager, pRegistryKey, g_entries );
}
//==================================================================================================
void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
{
......
......@@ -344,19 +344,6 @@ static struct cppu::ImplementationEntry g_entries[] =
extern "C"
{
//==================================================================================================
void SAL_CALL component_getImplementationEnvironment(
const sal_Char ** ppEnvTypeName, uno_Environment ** )
{
*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
//==================================================================================================
sal_Bool SAL_CALL component_writeInfo(
void * pServiceManager, void * pRegistryKey )
{
return cppu::component_writeInfoHelper( pServiceManager, pRegistryKey, g_entries );
}
//==================================================================================================
void * SAL_CALL component_getFactory(
const sal_Char * pImplName, void * pServiceManager, void * )
{
......
......@@ -36,7 +36,6 @@
--enable-ext-scripting-beanshell
--enable-ext-scripting-javascript
--enable-ext-nlpsolver
--enable-ext-postgresql-sdbc
--enable-epm
--enable-cairo
--enable-binfilter
......
......@@ -10,7 +10,6 @@
--enable-ext-scripting-beanshell
--enable-ext-scripting-javascript
--enable-ext-nlpsolver
--enable-ext-postgresql-sdbc
--enable-extension-integration
--enable-online-update
--without-system-postgresql
......@@ -16,5 +16,4 @@
--enable-ext-presenter-console
--enable-ext-pdfimport
--enable-ext-nlpsolver
--enable-ext-postgresql-sdbc
--enable-online-update
......@@ -432,6 +432,12 @@ MY_FILES_binfilter = \
$(MY_MOD)/fcfg_writer_bf_types.xcu
.END
.IF "$(BUILD_POSTGRESQL_SDBC)" == "YES"
MY_XCDS += $(MISC)/postgresqlsdbc.xcd
MY_DEPS_postgresqlsdbc = main
MY_FILES_postgresqlsdbc = $(MY_MOD)/DataAccess/postgresql.xcu
.END
.IF "$(GUIBASE)" == "unx" && \
(("$(ENABLE_GCONF)" == "TRUE" && "$(ENABLE_LOCKDOWN)" == "YES") || \
"$(ENABLE_GIO)" == "TRUE")
......
......@@ -43,7 +43,8 @@ SCP_PRODUCT_TYPE=osl
PARFILES= \
module_base.par \
file_base.par
file_base.par \
postgresqlsdbc.par
.IF "$(GUI)"=="WNT"
PARFILES += \
......@@ -54,7 +55,8 @@ PARFILES += \
ULFFILES= \
module_base.ulf \
registryitem_base.ulf \
folderitem_base.ulf
folderitem_base.ulf \
postgresqlsdbc.ulf
# --- File ---------------------------------------------------------
.INCLUDE : target.mk
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License or as specified alternatively below. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Major Contributor(s):
* [ Copyright (C) 2011 Red Hat, Inc., Stephan Bergmann <sbergman@redhat.com>
* (initial developer) ]
*
* All Rights Reserved.
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 3 or later (the "GPLv3+"), or
* the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
* instead of those above.
*/
#include "macros.inc"
#if defined WITH_POSTGRESQL_SDBC
Module gid_Module_Optional_PostgresqlSdbc
PackageInfo = "packinfo_office.txt";
MOD_NAME_DESC(MODULE_OPTIONAL_POSTGRESQLSDBC);
ParentID = gid_Module_Prg_Base_Bin;
Files = (gid_File_Lib_PostgresqlSdbc,
gid_File_Lib_PostgresqlSdbcImpl,
gid_File_PostgresqlSdbc_Ini,
gid_File_PostgresqlSdbc_Rdb,
gid_File_PostgresqlSdbc_Xcd);
Minimal = NO;
Default = YES;
Styles = ();
End
SPECIAL_COMPONENT_LIB_FILE(gid_File_Lib_PostgresqlSdbc, postgresql-sdbc.uno)
SPECIAL_COMPONENT_LIB_FILE(gid_File_Lib_PostgresqlSdbcImpl, postgresql-sdbc-impl.uno)
File gid_File_PostgresqlSdbc_Ini
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Program;
Name = "postgresql-sdbc.ini";
Styles = (PACKED);
End
File gid_File_PostgresqlSdbc_Rdb
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Program_Services;
Name = "postgresql-sdbc.rdb";
Styles = (PACKED);
End
File gid_File_PostgresqlSdbc_Xcd
TXT_FILE_BODY;
Dir = gid_Brand_Dir_Share_Registry;
Name = "postgresqlsdbc.xcd";
Styles = (PACKED);
End
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* Version: MPL 1.1 / GPLv3+ / LGPLv3+
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License or as specified alternatively below. You may obtain a copy of
* the License at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* Major Contributor(s):
* [ Copyright (C) 2011 Red Hat, Inc., Stephan Bergmann <sbergman@redhat.com>
* (initial developer) ]
*
* All Rights Reserved.
*
* For minor contributions see the git repository.
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 3 or later (the "GPLv3+"), or
* the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
* in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
* instead of those above.
*/
[STR_NAME_MODULE_OPTIONAL_EXTENSIONS_POSTGRESQLSDBC]
en-US = "PostgreSQL Connector"
[STR_DESC_MODULE_OPTIONAL_EXTENSIONS_POSTGRESQLSDBC]
en-US = "PostgreSQL Connector"
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -209,17 +209,6 @@ 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
......
......@@ -241,19 +241,6 @@ 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
......
......@@ -282,21 +282,6 @@ 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
......
......@@ -135,12 +135,6 @@ 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"
......
......@@ -84,7 +84,8 @@ SCP1FILES = installation_ooo.par \
module_python_mailmerge.par \
file_python.par \
profileitem_python.par \
module_accessories.par
module_accessories.par \
postgresqlsdbc.par
.IF "$(WITH_EXTRA_GALLERY)" != ""
SCP1FILES += \
module_gallery_accessories.par \
......
......@@ -256,21 +256,6 @@ destpath = "/opt"
packageversion = "%PACKAGEVERSION"
End
Start
module = "gid_Module_Optional_Extensions_PostgreSQL"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-postgresql-sdbc"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core02 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core03 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core04 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core05 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core06 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION"), %BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core07 (Name="Core module for %PRODUCTNAME %PRODUCTVERSION")"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-extension-postgresql-sdbc"
requires = "%BASISPACKAGEPREFIX%PRODUCTVERSION-core01,%BASISPACKAGEPREFIX%PRODUCTVERSION-core02,%BASISPACKAGEPREFIX%PRODUCTVERSION-core03,%BASISPACKAGEPREFIX%PRODUCTVERSION-core04,%BASISPACKAGEPREFIX%PRODUCTVERSION-core05,%BASISPACKAGEPREFIX%PRODUCTVERSION-core06,%BASISPACKAGEPREFIX%PRODUCTVERSION-core07"
linuxpatchrequires = ""
copyright = "2000-2008 by Sun Microsystems, Inc.; 2011 by Lionel Elie Mamane and other LibreOffice contributors"
solariscopyright = "solariscopyrightfile"
vendor = "The Document Foundation"
description = "PostgreSQL Connector extension for %PRODUCTNAME %PRODUCTVERSION"
destpath = "/opt"
packageversion = "%PACKAGEVERSION"
End
Start
module = "gid_Module_Optional_Extensions_MySQLConnector"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-extension-mysql-connector"
......
......@@ -1212,3 +1212,18 @@ description = "OpenGL slide transitions module for %PRODUCTNAME %PRODUCTVERSION"
destpath = "/opt"
packageversion = "%ABOUTBOXPRODUCTVERSION"
End
Start
module = "gid_Module_Optional_PostgresqlSdbc"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-postgresql-sdbc"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-base"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-postgresql-sdbc"
freebsdrequires = "%BASISPACKAGEPREFIX%PRODUCTVERSION-base"
requires = "%BASISPACKAGEPREFIX%PRODUCTVERSION-base"
copyright = "2000-2008 by Sun Microsystems, Inc.; 2011 by Lionel Elie Mamane and other LibreOffice contributors"
solariscopyright = "solariscopyrightfile"
vendor = "The Document Foundation"
description = "PostgreSQL Connector extension for %PRODUCTNAME %PRODUCTVERSION"
destpath = "/opt"
packageversion = "%PACKAGEVERSION"
End
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment