diff options
author | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-03-19 07:45:36 +0000 |
---|---|---|
committer | Andrzej Hunt <andrzej.hunt@collabora.com> | 2014-04-07 19:33:22 +0100 |
commit | f01792dda15fe4509a2925929f4d58daef9d15c0 (patch) | |
tree | f5cda1ddb0e88340b58a95083cbf01fd2a7dadb5 /scp2 | |
parent | 53a0914c5cb9357d7ef9088143997f50883b5959 (diff) |
scp2: move firebird into base.
Change-Id: I35f9b2dcb821bda0ea97de12a8ae8d27915f6b3e
Diffstat (limited to 'scp2')
-rw-r--r-- | scp2/InstallModule_base.mk | 3 | ||||
-rw-r--r-- | scp2/InstallModule_firebird.mk | 23 | ||||
-rw-r--r-- | scp2/InstallScript_setup_osl.mk | 3 | ||||
-rw-r--r-- | scp2/Module_scp2.mk | 3 | ||||
-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.scp | 30 |
6 files changed, 13 insertions, 62 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 |