summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-04-24 10:42:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-04-24 10:51:31 +0200
commitab149c7e3f9bb4be6f3c7d26401b67a0635c13ab (patch)
treefbc29c9f7d8af2bd5d9223949e29c28a68fb0417
parent294ad90704b7b19aa64c26bfa83442a96a31e57b (diff)
Get rid of UnoApiMerge_uretypes, which is just a duplicate of UnoApi_udkapi
What is a little confusing is that the udkapi.rdb ends up as types.rdb in the installation set (in the URE's sub-tree). So all places that reference it during the build do so as "udkapi" while all places that reference it in an installation set do so as "types." Change-Id: I35d0695966b3bd703f5494b636b9782efc0d3fcb
-rw-r--r--RepositoryExternal.mk10
-rw-r--r--cppuhelper/source/unorc2
-rwxr-xr-xscp2/source/ooo/ure.scp5
-rwxr-xr-xsolenv/bin/linkoo2
-rw-r--r--testtools/CustomTarget_uno_test.mk2
-rw-r--r--touch/CustomTarget_touch_javamaker.mk4
-rw-r--r--udkapi/Module_udkapi.mk1
-rw-r--r--udkapi/README3
-rw-r--r--udkapi/UnoApiMerge_uretypes.mk35
9 files changed, 16 insertions, 48 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
index 15b694822a8a..941554afee22 100644
--- a/RepositoryExternal.mk
+++ b/RepositoryExternal.mk
@@ -2810,7 +2810,7 @@ $(call gb_Executable_add_runtime_dependencies,climaker,\
$(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) \
$(call gb_Package_get_target_for_build,cppuhelper_unorc) \
$(call gb_Rdb_get_outdir_target_for_build,ure/services) \
- $(call gb_UnoApiMerge_get_target_for_build,ure/types) \
+ $(call gb_UnoApi_get_target_for_build,udkapi) \
)
endef
@@ -2838,7 +2838,7 @@ $(call gb_Executable_add_runtime_dependencies,localize,\
)
endef
-# The dependencies on ure/services.rdb and ure/types.rdb are implicitly required
+# The dependencies on ure/services.rdb and udkapi.rdb are implicitly required
# due to the settings for URE_SERVICES and URE_TYPES in cppuhelper/source/unorc:
# FIXME: the library target should be for build too
define gb_Executable__register_saxparser
@@ -2847,11 +2847,11 @@ $(call gb_Executable_add_runtime_dependencies,saxparser,\
$(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) \
$(call gb_Package_get_target_for_build,cppuhelper_unorc) \
$(call gb_Rdb_get_outdir_target_for_build,ure/services) \
- $(call gb_UnoApiMerge_get_target_for_build,ure/types) \
+ $(call gb_UnoApi_get_target_for_build,udkapi) \
)
endef
-# NOTE: the dependencies on ure/services.rdb and ure/types.rdb are implicitly
+# NOTE: the dependencies on ure/services.rdb and udkapi.rdb are implicitly
# required due to the settings for URE_SERVICES and URE_TYPES in
# cppuhelper/source/unorc
# FIXME: the library target should be for build too
@@ -2860,7 +2860,7 @@ $(call gb_Executable_add_runtime_dependencies,uno,\
$(call gb_Library_get_target,$(gb_CPPU_ENV)_uno) \
$(call gb_Package_get_target_for_build,cppuhelper_unorc) \
$(call gb_Rdb_get_outdir_target_for_build,ure/services) \
- $(call gb_UnoApiMerge_get_target_for_build,ure/types) \
+ $(call gb_UnoApi_get_target_for_build,udkapi) \
)
endef
diff --git a/cppuhelper/source/unorc b/cppuhelper/source/unorc
index 4fa609a48b0e..1700bdd7d60f 100644
--- a/cppuhelper/source/unorc
+++ b/cppuhelper/source/unorc
@@ -19,4 +19,4 @@
[Bootstrap]
URE_INTERNAL_LIB_DIR=${ORIGIN}
UNO_SERVICES=${ORIGIN}/../xml/ure/services.rdb ${URE_MORE_SERVICES}
-UNO_TYPES=${ORIGIN}/../bin/ure/types.rdb ${URE_MORE_TYPES}
+UNO_TYPES=${ORIGIN}/../bin/udkapi.rdb ${URE_MORE_TYPES}
diff --git a/scp2/source/ooo/ure.scp b/scp2/source/ooo/ure.scp
index 2b4ac3a49e0c..2044a590e62e 100755
--- a/scp2/source/ooo/ure.scp
+++ b/scp2/source/ooo/ure.scp
@@ -603,8 +603,9 @@ End
File gid_File_Misc_TypesRdb
TXT_FILE_BODY;
Dir = gid_Dir_Ure_Misc;
- Name = "/ure/types.rdb";
- Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID);
+ Name = "udkapi.rdb";
+ InstallName = "types.rdb";
+ Styles = (PACKED, VERSION_INDEPENDENT_COMP_ID, SUBST_FILENAME);
// CompID = "E5086F6A-855B-4CAE-AD3A-A85A21C5AE44";
End
diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo
index 2c052e14b57b..e7c0dcabcf7d 100755
--- a/solenv/bin/linkoo
+++ b/solenv/bin/linkoo
@@ -515,7 +515,7 @@ sub link_rdb_files()
do_link ($src_prefix . "xml" , $dest_prefix . $brand_program_dir . "/services", "services.rdb", "services.rdb");
do_link ($src_prefix . "xml/ure" , $dest_prefix . "ure/share/misc", "services.rdb", "services.rdb");
- do_link ($src_prefix . "bin/ure" , $dest_prefix . "ure/share/misc", "types.rdb", "types.rdb");
+ do_link ($src_prefix . "bin" , $dest_prefix . "ure/share/misc", "udkapi.rdb", "types.rdb");
print "\n";
}
diff --git a/testtools/CustomTarget_uno_test.mk b/testtools/CustomTarget_uno_test.mk
index 205aea15b667..702fa4df1f5f 100644
--- a/testtools/CustomTarget_uno_test.mk
+++ b/testtools/CustomTarget_uno_test.mk
@@ -34,7 +34,7 @@ $(call gb_CustomTarget_get_target,testtools/uno_test) : \
$(call gb_InternalUnoApi_get_target,bridgetest) \
$(call gb_Rdb_get_outdir_target,uno_services) \
$(call gb_Rdb_get_outdir_target,ure/services) \
- $(call gb_UnoApi_get_target,ure/types)
+ $(call gb_UnoApi_get_target,udkapi)
$(call gb_Helper_abbreviate_dirs,\
$(call gb_Executable_get_command,uno) \
-s com.sun.star.test.bridge.BridgeTest \
diff --git a/touch/CustomTarget_touch_javamaker.mk b/touch/CustomTarget_touch_javamaker.mk
index 40e627993224..e833fa4c17d6 100644
--- a/touch/CustomTarget_touch_javamaker.mk
+++ b/touch/CustomTarget_touch_javamaker.mk
@@ -12,11 +12,11 @@ touch_javamaker_DIR := $(call gb_CustomTarget_get_workdir,touch)
$(call gb_CustomTarget_get_target,touch/touch_javamaker) : $(touch_javamaker_DIR)/done
-$(touch_javamaker_DIR)/done : $(call gb_UnoApiTarget_get_target,touch) $(OUTDIR)/bin/types.rdb \
+$(touch_javamaker_DIR)/done : $(call gb_UnoApiTarget_get_target,touch) $(call gb_UnoApiTarget_get_target,udkapi) \
$(call gb_Executable_get_runtime_dependencies,javamaker) | $(touch_javamaker_DIR)/.dir
$(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JVM,1)
$(call gb_Helper_abbreviate_dirs, \
rm -r $(touch_javamaker_DIR) && \
- $(call gb_Helper_execute,javamaker -nD -O$(touch_javamaker_DIR)/class -X$(OUTDIR)/bin/types.rdb $<) && touch $@)
+ $(call gb_Helper_execute,javamaker -nD -O$(touch_javamaker_DIR)/class -X$(call gb_UnoApiTarget_get_target,udkapi) $<) && touch $@)
# vim: set noet sw=4 ts=4:
diff --git a/udkapi/Module_udkapi.mk b/udkapi/Module_udkapi.mk
index e8bafe8308fe..430e46a75673 100644
--- a/udkapi/Module_udkapi.mk
+++ b/udkapi/Module_udkapi.mk
@@ -31,7 +31,6 @@ $(eval $(call gb_Module_Module,udkapi))
$(eval $(call gb_Module_add_targets,udkapi,\
UnoApi_udkapi \
- UnoApiMerge_uretypes \
))
# vim: set noet sw=4 ts=4:
diff --git a/udkapi/README b/udkapi/README
index 3510fddc9150..9fb99e8ae013 100644
--- a/udkapi/README
+++ b/udkapi/README
@@ -2,5 +2,8 @@ Low level UNO stuff API IDL files
i.e. those that are part of the standalone URE.
+During the build the resulting .rdb file is known as udkapi.rdb. In the
+installation set, it is known as types.rdb (in the URE's sub-tree).
+
See also:
[[offapi]]
diff --git a/udkapi/UnoApiMerge_uretypes.mk b/udkapi/UnoApiMerge_uretypes.mk
deleted file mode 100644
index e56ea27e4fcf..000000000000
--- a/udkapi/UnoApiMerge_uretypes.mk
+++ /dev/null
@@ -1,35 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-$(eval $(call gb_UnoApiMerge_UnoApiMerge,ure/types))
-
-$(eval $(call gb_UnoApiMerge_use_api,ure/types,\
- udkapi \
-))
-
-# vim: set noet sw=4 ts=4: