Kaydet (Commit) 687a821e authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) David Tardon

fdo#63197: convert 3 out 4 from scripting part

Change-Id: Ie359d0ef00f62dd3c2d1f1dfd86e115409438e76
Reviewed-on: https://gerrit.libreoffice.org/3470Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 4069417b
...@@ -65,9 +65,10 @@ End ...@@ -65,9 +65,10 @@ End
#ifndef DISABLE_SCRIPTING #ifndef DISABLE_SCRIPTING
File gid_File_Basic_Scriptbindinglib File gid_File_Basic_Scriptbindinglib
Dir = gid_Dir_Basic_Scriptbindinglib; Dir = FILELIST_DIR;
ARCHIVE_TXT_FILE_BODY; TXT_FILE_BODY;
Name = "scriptbindinglib.zip"; Styles = (FILELIST);
Name = "scripting_scriptbindinglib.filelist";
End End
#endif #endif
...@@ -766,17 +767,19 @@ End ...@@ -766,17 +767,19 @@ End
#ifndef WITHOUT_SCRIPTING_BEANSHELL #ifndef WITHOUT_SCRIPTING_BEANSHELL
File gid_File_Scripts_Beanshell File gid_File_Scripts_Beanshell
Dir = gid_Dir_Share_Scripts; Dir = FILELIST_DIR;
ARCHIVE_TXT_FILE_BODY; TXT_FILE_BODY;
Name = "ScriptsBeanShell.zip"; Styles = (FILELIST);
Name = "scripting_ScriptsBeanShell.filelist";
End End
#endif #endif
#ifndef WITHOUT_SCRIPTING_JAVASCRIPT #ifndef WITHOUT_SCRIPTING_JAVASCRIPT
File gid_File_Scripts_Javascript File gid_File_Scripts_Javascript
Dir = gid_Dir_Share_Scripts; Dir = FILELIST_DIR;
ARCHIVE_TXT_FILE_BODY; TXT_FILE_BODY;
Name = "ScriptsJavaScript.zip"; Styles = (FILELIST);
Name = "scripting_ScriptsJavaScript.filelist";
End End
#endif #endif
#endif #endif
......
...@@ -144,10 +144,10 @@ End ...@@ -144,10 +144,10 @@ End
//Scripting Framework Python example scripts //Scripting Framework Python example scripts
File gid_File_Scripts_Python File gid_File_Scripts_Python
Dir = FILELIST_DIR;
TXT_FILE_BODY; TXT_FILE_BODY;
Styles = (ARCHIVE); Styles = (FILELIST);
Dir = gid_Dir_Share_Scripts; Name = "scripting_ScriptsPython.filelist";
Name = "ScriptsPython.zip";
End End
// Scripting Framework Python configuration settings // Scripting Framework Python configuration settings
......
...@@ -47,7 +47,11 @@ $(eval $(call gb_Module_add_targets,scripting,\ ...@@ -47,7 +47,11 @@ $(eval $(call gb_Module_add_targets,scripting,\
) \ ) \
Zip_ScriptsJava \ Zip_ScriptsJava \
) \ ) \
Package_scriptbindinglib \
Package_scriptproviderforpython \ Package_scriptproviderforpython \
Package_ScriptsBeanShell \
Package_ScriptsJavaScript \
Package_ScriptsPython \
Library_basprov \ Library_basprov \
Library_dlgprov \ Library_dlgprov \
Library_protocolhandler \ Library_protocolhandler \
...@@ -55,10 +59,6 @@ $(eval $(call gb_Module_add_targets,scripting,\ ...@@ -55,10 +59,6 @@ $(eval $(call gb_Module_add_targets,scripting,\
Library_stringresource \ Library_stringresource \
Library_vbaevents \ Library_vbaevents \
Pyuno_mailmerge \ Pyuno_mailmerge \
Zip_scriptbindinglib \
Zip_ScriptsBeanShell \
Zip_ScriptsJavaScript \
Zip_ScriptsPython \
)) ))
endif endif
......
...@@ -26,9 +26,11 @@ ...@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_Zip_Zip,ScriptsBeanShell,$(SRCDIR)/scripting/examples)) $(eval $(call gb_Package_Package,scripting_ScriptsBeanShell,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Zip_add_files,ScriptsBeanShell,\ $(eval $(call gb_Package_set_outdir,scripting_ScriptsBeanShell,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,scripting_ScriptsBeanShell,share/Scripts,\
beanshell/Capitalise/capitalise.bsh \ beanshell/Capitalise/capitalise.bsh \
beanshell/Capitalise/parcel-descriptor.xml \ beanshell/Capitalise/parcel-descriptor.xml \
beanshell/HelloWorld/helloworld.bsh \ beanshell/HelloWorld/helloworld.bsh \
......
...@@ -26,9 +26,11 @@ ...@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_Zip_Zip,ScriptsJavaScript,$(SRCDIR)/scripting/examples)) $(eval $(call gb_Package_Package,scripting_ScriptsJavaScript,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Zip_add_files,ScriptsJavaScript,\ $(eval $(call gb_Package_set_outdir,scripting_ScriptsJavaScript,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,scripting_ScriptsJavaScript,share/Scripts,\
javascript/ExportSheetsToHTML/exportsheetstohtml.js \ javascript/ExportSheetsToHTML/exportsheetstohtml.js \
javascript/ExportSheetsToHTML/parcel-descriptor.xml \ javascript/ExportSheetsToHTML/parcel-descriptor.xml \
javascript/HelloWorld/helloworld.js \ javascript/HelloWorld/helloworld.js \
......
...@@ -26,9 +26,11 @@ ...@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_Zip_Zip,ScriptsPython,$(SRCDIR)/scripting/examples)) $(eval $(call gb_Package_Package,scripting_ScriptsPython,$(SRCDIR)/scripting/examples))
$(eval $(call gb_Zip_add_files,ScriptsPython,\ $(eval $(call gb_Package_set_outdir,scripting_ScriptsPython,$(INSTDIR)))
$(eval $(call gb_Package_add_files_with_dir,Scripting_ScriptsPython,share/Scripts,\
python/Capitalise.py \ python/Capitalise.py \
python/HelloWorld.py \ python/HelloWorld.py \
python/pythonSamples/TableSample.py \ python/pythonSamples/TableSample.py \
......
...@@ -26,9 +26,11 @@ ...@@ -26,9 +26,11 @@
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above. # instead of those above.
$(eval $(call gb_Zip_Zip,scriptbindinglib,$(SRCDIR)/scripting/workben/bindings)) $(eval $(call gb_Package_Package,scripting_scriptbindinglib,$(SRCDIR)/scripting/workben/bindings))
$(eval $(call gb_Zip_add_files,scriptbindinglib,\ $(eval $(call gb_Package_set_outdir,scripting_scriptbindinglib,$(INSTDIR)))
$(eval $(call gb_Package_add_files,scripting_scriptbindinglib,share/basic/ScriptBindingLibrary,\
Highlight.xdl \ Highlight.xdl \
dialog.xlb \ dialog.xlb \
script.xlb \ script.xlb \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment