summaryrefslogtreecommitdiff
path: root/instsetoo_native
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2013-04-27 15:11:42 +0200
committerDavid Tardon <dtardon@redhat.com>2013-04-28 16:34:25 +0200
commitecc07f080fba809dd3f87c88a2b265c1c63bf2dd (patch)
tree45e4525a53306f5e1ff4336633740e9912f5c675 /instsetoo_native
parent764e747a3ac02db4e3535cdf99c44c2822235cf3 (diff)
copy rc files to instdir
Change-Id: I5a4433595ac19930a40132c5749a8c0150c90aae
Diffstat (limited to 'instsetoo_native')
-rw-r--r--instsetoo_native/Module_instsetoo_native.mk1
-rw-r--r--instsetoo_native/Package_config.mk22
-rw-r--r--instsetoo_native/config/bootstraprc14
-rw-r--r--instsetoo_native/config/fundamentalrc27
-rw-r--r--instsetoo_native/config/unorc20
-rw-r--r--instsetoo_native/config/unorc.ure13
6 files changed, 97 insertions, 0 deletions
diff --git a/instsetoo_native/Module_instsetoo_native.mk b/instsetoo_native/Module_instsetoo_native.mk
index 2cf7c3c6cc88..7c098d3dfe5e 100644
--- a/instsetoo_native/Module_instsetoo_native.mk
+++ b/instsetoo_native/Module_instsetoo_native.mk
@@ -20,6 +20,7 @@ endif
ifneq ($(gb_RUNNABLE_INSTDIR),)
$(eval $(call gb_Module_add_targets,instsetoo_native,\
CustomTarget_setup \
+ Package_config \
Package_rdb \
Package_setup \
))
diff --git a/instsetoo_native/Package_config.mk b/instsetoo_native/Package_config.mk
new file mode 100644
index 000000000000..6eef87be5b0d
--- /dev/null
+++ b/instsetoo_native/Package_config.mk
@@ -0,0 +1,22 @@
+# -*- 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_Package_Package,instsetoo_native_config,$(SRCDIR)/instsetoo_native/config))
+
+$(eval $(call gb_Package_set_outdir,instsetoo_native_config,$(INSTDIR)))
+
+$(eval $(call gb_Package_add_files,instsetoo_native_config,program,\
+ bootstraprc \
+ fundamentalrc \
+ unorc \
+))
+
+$(eval $(call gb_Package_add_file,instsetoo_native_config,ure/lib/unorc,unorc.ure))
+
+# vim: set noet sw=4 ts=4:
diff --git a/instsetoo_native/config/bootstraprc b/instsetoo_native/config/bootstraprc
new file mode 100644
index 000000000000..09cb1fd49783
--- /dev/null
+++ b/instsetoo_native/config/bootstraprc
@@ -0,0 +1,14 @@
+= 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/.
+=
+
+[ErrorReport]
+ErrorReportPort=80
+ErrorReportServer=report.libreoffice.org
+[Bootstrap]
+InstallMode=<installmode>
+ProductKey=LibreOffice 4.1
+UserInstallation=$ORIGIN/../.config
diff --git a/instsetoo_native/config/fundamentalrc b/instsetoo_native/config/fundamentalrc
new file mode 100644
index 000000000000..9f992f29091b
--- /dev/null
+++ b/instsetoo_native/config/fundamentalrc
@@ -0,0 +1,27 @@
+= 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/.
+=
+
+[Bootstrap]
+BRAND_BASE_DIR=${ORIGIN}/..
+CONFIGURATION_LAYERS=xcsxcu:${BRAND_BASE_DIR}/share/registry res:${BRAND_BASE_DIR}/share/registry bundledext:${${BRAND_BASE_DIR}/program/unorc:BUNDLED_EXTENSIONS_USER}/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini sharedext:${${BRAND_BASE_DIR}/program/unorc:SHARED_EXTENSIONS_USER}/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini userext:${${BRAND_BASE_DIR}/program/unorc:UNO_USER_PACKAGES_CACHE}/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/configmgr.ini user:${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/user/registrymodifications.xcu
+LO_JAVA_DIR=${BRAND_BASE_DIR}/program/classes
+LO_LIB_DIR=${BRAND_BASE_DIR}/program
+BAK_EXTENSIONS=${$ORIGIN/unorc:TMP_EXTENSIONS}
+BUNDLED_EXTENSIONS=${$ORIGIN/unorc:BUNDLED_EXTENSIONS}
+BUNDLED_EXTENSIONS_USER=${$ORIGIN/unorc:BUNDLED_EXTENSIONS_USER}
+SHARED_EXTENSIONS_USER=${$ORIGIN/unorc:SHARED_EXTENSIONS_USER}
+UNO_SHARED_PACKAGES_CACHE=${$ORIGIN/unorc:UNO_SHARED_PACKAGES_CACHE}
+TMP_EXTENSIONS=${$ORIGIN/unorc:TMP_EXTENSIONS}
+UNO_USER_PACKAGES_CACHE=${$ORIGIN/unorc:UNO_USER_PACKAGES_CACHE}
+URE_BIN_DIR=${BRAND_BASE_DIR}/ure-link/bin
+URE_MORE_JAVA_CLASSPATH_URLS=
+URE_OVERRIDE_JAVA_JFW_SHARED_DATA=${BRAND_BASE_DIR}/share/config/javasettings_${_OS}_${_ARCH}.xml
+URE_OVERRIDE_JAVA_JFW_USER_DATA=${${BRAND_BASE_DIR}/program/bootstraprc:UserInstallation}/user/config/javasettings_${_OS}_${_ARCH}.xml
+URE_LIB_DIR=${BRAND_BASE_DIR}/ure-link/lib
+URE_MORE_JAVA_TYPES=$ORIGIN/classes/unoil.jar $ORIGIN/classes/ScriptFramework.jar ${${$ORIGIN/unorc:PKG_UserUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/unorc:PKG_SharedUnoFile}:UNO_JAVA_CLASSPATH} ${${$ORIGIN/unorc:PKG_BundledUnoFile}:UNO_JAVA_CLASSPATH}
+URE_MORE_SERVICES=${${$ORIGIN/unorc:PKG_UserUnoFile}:UNO_SERVICES} ${${$ORIGIN/unorc:PKG_SharedUnoFile}:UNO_SERVICES} ${${$ORIGIN/unorc:PKG_BundledUnoFile}:UNO_SERVICES} <$ORIGIN/services>*
+URE_MORE_TYPES=<$ORIGIN/types>* ${${$ORIGIN/unorc:PKG_UserUnoFile}:UNO_TYPES} ${${$ORIGIN/unorc:PKG_SharedUnoFile}:UNO_TYPES} ${${$ORIGIN/unorc:PKG_BundledUnoFile}:UNO_TYPES}
diff --git a/instsetoo_native/config/unorc b/instsetoo_native/config/unorc
new file mode 100644
index 000000000000..387c4a305187
--- /dev/null
+++ b/instsetoo_native/config/unorc
@@ -0,0 +1,20 @@
+= 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/.
+=
+
+[Bootstrap]
+PKG_BundledUnoFile=$BUNDLED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc
+PKG_SharedUnoFile=$SHARED_EXTENSIONS_USER/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc
+PKG_UserUnoFile=$UNO_USER_PACKAGES_CACHE/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/unorc
+BAK_EXTENSIONS=${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/user/extensions/bak
+BUNDLED_EXTENSIONS=$BRAND_BASE_DIR/share/extensions
+BUNDLED_EXTENSIONS_USER=${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/user/extensions/bundled
+TMP_EXTENSIONS=${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/user/extensions/tmp
+SHARED_EXTENSIONS_USER=${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/user/extensions/shared
+UNO_SHARED_PACKAGES=$BRAND_BASE_DIR/share/uno_packages
+UNO_SHARED_PACKAGES_CACHE=$UNO_SHARED_PACKAGES/cache
+UNO_USER_PACKAGES=${$BRAND_BASE_DIR/program/bootstraprc:UserInstallation}/user/uno_packages
+UNO_USER_PACKAGES_CACHE=$UNO_USER_PACKAGES/cache
diff --git a/instsetoo_native/config/unorc.ure b/instsetoo_native/config/unorc.ure
new file mode 100644
index 000000000000..78d4d6ed2785
--- /dev/null
+++ b/instsetoo_native/config/unorc.ure
@@ -0,0 +1,13 @@
+= 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/.
+=
+
+[Bootstrap]
+URE_INTERNAL_LIB_DIR=${ORIGIN}
+URE_INTERNAL_JAVA_DIR=${ORIGIN}../share/java
+URE_INTERNAL_JAVA_CLASSPATH=${URE_MORE_JAVA_TYPES}
+UNO_TYPES=${ORIGIN}/../share/misc/types.rdb ${URE_MORE_TYPES}
+UNO_SERVICES=${ORIGIN}/../share/misc/services.rdb ${URE_MORE_SERVICES}