summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scp2/InstallModule_base.mk3
-rw-r--r--scp2/InstallModule_firebird.mk23
-rw-r--r--scp2/InstallScript_setup_osl.mk3
-rw-r--r--scp2/Module_scp2.mk3
-rw-r--r--scp2/source/base/firebird.scp (renamed from scp2/source/firebird/module_firebird.scp)13
-rw-r--r--scp2/source/firebird/file_firebird.scp30
-rw-r--r--setup_native/source/packinfo/packinfo_office.txt2
7 files changed, 14 insertions, 63 deletions
diff --git a/scp2/InstallModule_base.mk b/scp2/InstallModule_base.mk
index 9449d805c251..ca85bf5b0978 100644
--- a/scp2/InstallModule_base.mk
+++ b/scp2/InstallModule_base.mk
@@ -14,6 +14,8 @@ $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/base,base))
$(eval $(call gb_InstallModule_define_if_set,scp2/base,\
ENABLE_MACOSX_MACLIKE_APP_STRUCTURE \
ENABLE_MACOSX_SANDBOX \
+ ENABLE_FIREBIRD_SDBC \
+ SYSTEM_FIREBIRD \
))
$(eval $(call gb_InstallModule_add_templates,scp2/base,\
@@ -22,6 +24,7 @@ $(eval $(call gb_InstallModule_add_templates,scp2/base,\
$(eval $(call gb_InstallModule_add_scpfiles,scp2/base,\
scp2/source/base/file_base \
+ scp2/source/base/firebird \
))
$(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/base,\
diff --git a/scp2/InstallModule_firebird.mk b/scp2/InstallModule_firebird.mk
deleted file mode 100644
index e27503a54c35..000000000000
--- a/scp2/InstallModule_firebird.mk
+++ /dev/null
@@ -1,23 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#
-# This file is part of the LibreOffice project.
-#
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-#
-
-$(eval $(call gb_InstallModule_InstallModule,scp2/firebird))
-
-$(eval $(call gb_InstallModule_add_scpfiles,scp2/firebird,\
- scp2/source/firebird/file_firebird \
- scp2/source/firebird/module_firebird \
-))
-
-$(eval $(call gb_InstallModule_define_if_set,scp2/firebird,\
- ENABLE_MACOSX_MACLIKE_APP_STRUCTURE \
- ENABLE_MACOSX_SANDBOX \
- SYSTEM_FIREBIRD \
-))
-
-# vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/scp2/InstallScript_setup_osl.mk b/scp2/InstallScript_setup_osl.mk
index fe8a54a65ba1..baa872627a8d 100644
--- a/scp2/InstallScript_setup_osl.mk
+++ b/scp2/InstallScript_setup_osl.mk
@@ -18,9 +18,6 @@ $(eval $(call gb_InstallScript_use_modules,setup_osl,\
scp2/impress \
scp2/math \
scp2/ooo \
- $(if $(filter TRUE,$(ENABLE_FIREBIRD_SDBC)),\
- scp2/firebird \
- ) \
scp2/python \
scp2/ure \
scp2/writer \
diff --git a/scp2/Module_scp2.mk b/scp2/Module_scp2.mk
index 41711fc7fa53..be02cd87a9da 100644
--- a/scp2/Module_scp2.mk
+++ b/scp2/Module_scp2.mk
@@ -17,9 +17,6 @@ $(eval $(call gb_Module_add_targets,scp2,\
InstallModule_calc \
InstallModule_draw \
InstallModule_extensions \
- $(if $(filter TRUE,$(ENABLE_FIREBIRD_SDBC)),\
- InstallModule_firebird \
- ) \
InstallModule_graphicfilter \
InstallModule_impress \
InstallModule_math \
diff --git a/scp2/source/firebird/module_firebird.scp b/scp2/source/base/firebird.scp
index 8e6c7d79aaaa..dd7288f38ea1 100644
--- a/scp2/source/firebird/module_firebird.scp
+++ b/scp2/source/base/firebird.scp
@@ -18,11 +18,11 @@
#include "macros.inc"
-#ifndef SYSTEM_FIREBIRD
+#if defined( ENABLE_FIREBIRD_SDBC ) && !defined( SYSTEM_FIREBIRD )
-Module gid_Module_Firebird
+Module gid_Module_Optional_Firebird
Name = "Firebird";
- Description = "Firebird";
+ Description = "Firebird embedded database";
PackageInfo = "packinfo_office.txt";
ParentID = gid_Module_Root_Brand;
Files = (
@@ -31,4 +31,11 @@ Module gid_Module_Firebird
Styles = (HIDDEN_ROOT);
End
+File gid_File_Firebird
+ TXT_FILE_BODY;
+ Styles = (FILELIST, PACKED);
+ Dir = FILELIST_DIR;
+ Name = "firebird.filelist";
+End
+
#endif
diff --git a/scp2/source/firebird/file_firebird.scp b/scp2/source/firebird/file_firebird.scp
deleted file mode 100644
index cbdd232f67d5..000000000000
--- a/scp2/source/firebird/file_firebird.scp
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include "macros.inc"
-
-#ifndef SYSTEM_FIREBIRD
-
-File gid_File_Firebird
- TXT_FILE_BODY;
- Styles = (FILELIST, PACKED);
- Dir = FILELIST_DIR;
- Name = "firebird.filelist";
-End
-
-#endif
diff --git a/setup_native/source/packinfo/packinfo_office.txt b/setup_native/source/packinfo/packinfo_office.txt
index 005eaa49a25c..2980c2b7c669 100644
--- a/setup_native/source/packinfo/packinfo_office.txt
+++ b/setup_native/source/packinfo/packinfo_office.txt
@@ -192,7 +192,7 @@ packageversion = "%PACKAGEVERSION"
End
Start
-module = "gid_Module_Firebird"
+module = "gid_Module_Optional_Firebird"
solarispackagename = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-Firebird"
solarisrequires = "%BASISPACKAGEPREFIX%WITHOUTDOTPRODUCTVERSION-core01"
packagename = "%BASISPACKAGEPREFIX%PRODUCTVERSION-firebird"