switch python scripting extension to passive registration
This commit is contained in:
@@ -30,5 +30,7 @@ $(eval $(call gb_Extension_Extension,script-provider-for-python,scripting/source
|
|||||||
|
|
||||||
$(eval $(call gb_Extension_add_file,script-provider-for-python,pythonscript.py,\
|
$(eval $(call gb_Extension_add_file,script-provider-for-python,pythonscript.py,\
|
||||||
$(SRCDIR)/scripting/source/pyprov/pythonscript.py))
|
$(SRCDIR)/scripting/source/pyprov/pythonscript.py))
|
||||||
|
$(eval $(call gb_Extension_add_file,script-provider-for-python,components.rdb,\
|
||||||
|
$(SRCDIR)/scripting/source/pyprov/components.rdb))
|
||||||
|
|
||||||
# vim: set noet sw=4 ts=4:
|
# vim: set noet sw=4 ts=4:
|
||||||
|
9
scripting/source/pyprov/components.rdb
Normal file
9
scripting/source/pyprov/components.rdb
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<components xmlns="http://openoffice.org/2010/uno-components">
|
||||||
|
<component loader="com.sun.star.loader.Python" uri="./pythonscript.py">
|
||||||
|
<implementation name="org.openoffice.pyuno.LanguageScriptProviderForPython">
|
||||||
|
<service name="com.sun.star.script.provider.ScriptProviderForPython"/>
|
||||||
|
<service name="com.sun.star.script.provider.LanguageScriptProvider"/>
|
||||||
|
</implementation>
|
||||||
|
</component>
|
||||||
|
</components>
|
@@ -2,6 +2,6 @@
|
|||||||
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
|
<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">
|
||||||
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
|
<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest">
|
||||||
<manifest:file-entry
|
<manifest:file-entry
|
||||||
manifest:media-type="application/vnd.sun.star.uno-component;type=python"
|
manifest:media-type="application/vnd.sun.star.uno-components"
|
||||||
manifest:full-path="pythonscript.py"/>
|
manifest:full-path="components.rdb"/>
|
||||||
</manifest:manifest>
|
</manifest:manifest>
|
||||||
|
Reference in New Issue
Block a user