splits-adapt-registry
authorDebian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Wed, 13 Aug 2025 20:27:02 +0000 (22:27 +0200)
committerRene Engelhard <rene@debian.org>
Wed, 13 Aug 2025 20:27:02 +0000 (22:27 +0200)
Gbp-Pq: Name splits-adapt-registry.diff

postprocess/CustomTarget_registry.mk
scp2/InstallModule_base.mk
scp2/InstallModule_gnome.mk
scp2/source/base/firebird.scp
scp2/source/base/hsqldb.scp [new file with mode: 0644]
scp2/source/gnome/file_gnome.scp
scp2/source/gnome/module_gnome.scp

index 6b96ef28c36d9b7271b6bbe187e4d2c1499ab310..f9d5e3bb315867fc6ea5a1ac673d96eaa7b8ebd2 100644 (file)
@@ -454,28 +454,37 @@ postprocess_FILES_calc += \
 postprocess_DRIVERS += calc
 
 ifeq ($(ENABLE_EVOAB2),TRUE)
-postprocess_FILES_main += \
+postprocess_XCDS += evoab.xcd
+postprocess_DEPS_evoab := main
+postprocess_FILES_evoab += \
     $(call gb_XcuModuleTarget_get_target,connectivity/registry/evoab2)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu \
     $(postprocess_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
 postprocess_DRIVERS += evoab
 endif
 
 ifeq ($(ENABLE_JAVA),TRUE)
+postprocess_XCDS += hsqldb.xcd
+postprocess_DEPS_hsqldb := main
+postprocess_FILES_hsqldb += \
+       $(call gb_XcuModuleTarget_get_target,connectivity/registry/hsqldb)/org/openoffice/Office/DataAccess/Drivers-hsqldb.xcu
 postprocess_FILES_main += \
-       $(call gb_XcuModuleTarget_get_target,connectivity/registry/hsqldb)/org/openoffice/Office/DataAccess/Drivers-hsqldb.xcu \
        $(call gb_XcuModuleTarget_get_target,connectivity/registry/jdbc)/org/openoffice/Office/DataAccess/Drivers-jdbc.xcu \
        $(call gb_XcuModuleTarget_get_target,connectivity/registry/mysql_jdbc)/org/openoffice/Office/DataAccess/Drivers-mysql_jdbc.xcu
 postprocess_DRIVERS += hsqldb jdbc mysql_jdbc
 endif
 
 ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
-postprocess_FILES_main += \
+postprocess_XCDS += firebird_sdbc.xcd
+postprocess_DEPS_firebird_sdbc := main
+postprocess_FILES_firebird_sdbc += \
        $(call gb_XcuModuleTarget_get_target,connectivity/registry/firebird)/org/openoffice/Office/DataAccess/Drivers-firebird.xcu
 postprocess_DRIVERS += firebird_sdbc
 endif
 
 ifeq ($(ENABLE_MARIADBC),TRUE)
-postprocess_FILES_main += \
+postprocess_XCDS += mysqlc.xcd
+postprocess_DEPS_mysqlc := main
+postprocess_FILES_mysqlc += \
        $(call gb_XcuModuleTarget_get_target,connectivity/registry/mysqlc)/org/openoffice/Office/DataAccess/Drivers-mysqlc.xcu
 postprocess_DRIVERS += mysqlc
 endif
index 709d1493e0d83238c6fbde9b77691510a6538b49..52318117cd498d20759bc1ff99dce0bd3948fb51 100644 (file)
@@ -29,6 +29,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 \
+    scp2/source/base/hsqldb \
 ))
 
 $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/base,\
index c33f4f52d67b16758c97633334843af956c1b451..8f06c0273effef2f96c2a99b8a50fb0761b00abc 100644 (file)
@@ -19,4 +19,8 @@ $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/gnome,\
     scp2/source/gnome/module_gnome \
 ))
 
+$(eval $(call gb_InstallModule_define_if_set,scp2/gnome,\
+    ENABLE_EVOAB2 \
+))
+
 # vim: set shiftwidth=4 tabstop=4 noexpandtab:
index 61cfff9cc4960a88208565a6eced2642943c2299..0fdb2ffc6e66683d22df611b705e757b263a10eb 100644 (file)
 
 #include "AutoInstall/firebirdsdbc"
 
-#if defined( ENABLE_FIREBIRD_SDBC ) && !defined( SYSTEM_FIREBIRD )
+#if defined( ENABLE_FIREBIRD_SDBC )
+
+#if !defined( SYSTEM_FIREBIRD )
 
 Module gid_Module_Optional_Firebird
     Name = "Firebird";
     Description = "Firebird embedded database";
     PackageInfo = "packinfo_office.txt";
     ParentID = gid_Module_Root_Brand;
-    Files = (auto_firebirdsdbc_ALL);
+    Files = (auto_firebirdsdbc_ALL,
+             gid_File_FirebirdSdbc_Xcd);
     Styles = (HIDDEN_ROOT);
 End
 
 #endif
+
+File gid_File_FirebirdSdbc_Xcd
+    TXT_FILE_BODY;
+    Dir = gid_Brand_Dir_Share_Registry;
+    Name = "firebird_sdbc.xcd";
+    Styles = (PACKED);
+End
+
+#endif
diff --git a/scp2/source/base/hsqldb.scp b/scp2/source/base/hsqldb.scp
new file mode 100644 (file)
index 0000000..889d253
--- /dev/null
@@ -0,0 +1,28 @@
+/*
+ * 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"
+
+#if defined ENABLE_JAVA
+File gid_File_Hsqldb_Xcd
+    TXT_FILE_BODY;
+    Dir = gid_Brand_Dir_Share_Registry;
+    Name = "hsqldb.xcd";
+    Styles = (PACKED);
+End
+#endif
index 3f4b8f55810b3a512956bc98f13dc4f80a89a36f..25d068f3a2b3cdab4809ff5377dddc39a18ee380 100644 (file)
@@ -26,3 +26,13 @@ File gid_File_Share_Registry_Gnome_Xcd
     Name = "gnome.xcd";
 End
 #endif
+
+#ifdef ENABLE_EVOAB2
+File gid_File_Share_Registry_Evoab_Xcd
+    TXT_FILE_BODY;
+    Styles = (PACKED);
+    Dir = gid_Brand_Dir_Share_Registry;
+    Name = "evoab.xcd";
+End
+#endif
+
index 200c30049d7f03403ac57f77aa907510be1e1a46..48250752fe4a0d72ea34f676651aea2db180a28c 100644 (file)
@@ -30,6 +30,9 @@ Module gid_Module_Optional_Gnome
     Files = (auto_gnome_ALL
 #if ENABLE_GIO
       ,gid_File_Share_Registry_Gnome_Xcd
+#endif
+#ifdef ENABLE_EVOAB2
+      ,gid_File_Share_Registry_Evoab_Xcd
 #endif
     );
 End