summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-05-28 11:47:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-05-28 16:02:46 +0200
commit7b91e84c72596d8d1dc3687292c9946f172c4df6 (patch)
treeba3a89bf4892ca5c42f3ac117c30a5a2d483dd3f /pyuno
parentc36ff98f796761a4ec106563ad9761d8020b497a (diff)
Optional pyuno module should have its own services/pyuno.rdb
...this e.g. changes the error message when trying to register an extension that contains an (actively registered) Python component but no pyuno is installed from "Binary URP bridge disposed during call" to a less frightening "The service com.sun.star.loader.Python cannot be instantiated." Change-Id: I10f2b36b11395559ee95ce659878222b5ea99c11
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/Module_pyuno.mk1
-rw-r--r--pyuno/Rdb_pyuno.mk16
2 files changed, 17 insertions, 0 deletions
diff --git a/pyuno/Module_pyuno.mk b/pyuno/Module_pyuno.mk
index 05aefa6f9da1..de42e49f5dfb 100644
--- a/pyuno/Module_pyuno.mk
+++ b/pyuno/Module_pyuno.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_Module_add_targets,pyuno,\
Library_pythonloader \
Package_pyunorc \
Package_python_scripts \
+ Rdb_pyuno \
))
ifneq ($(OS),WNT)
diff --git a/pyuno/Rdb_pyuno.mk b/pyuno/Rdb_pyuno.mk
new file mode 100644
index 000000000000..4d4f5cabf633
--- /dev/null
+++ b/pyuno/Rdb_pyuno.mk
@@ -0,0 +1,16 @@
+# -*- 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_Rdb_Rdb,pyuno))
+
+$(eval $(call gb_Rdb_add_components,pyuno, \
+ pyuno/source/loader/pythonloader \
+))
+
+# vim: set noet sw=4 ts=4: