summaryrefslogtreecommitdiff
path: root/modules/modules_manager
diff options
context:
space:
mode:
authorShashank2017-05-29 12:40:26 +0530
committerShashank2017-05-29 12:40:26 +0530
commit0345245e860375a32c9a437c4a9d9cae807134e9 (patch)
treead51ecbfa7bcd3cc5f09834f1bb8c08feaa526a4 /modules/modules_manager
downloadscilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.gz
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.tar.bz2
scilab_for_xcos_on_cloud-0345245e860375a32c9a437c4a9d9cae807134e9.zip
CMSCOPE changed
Diffstat (limited to 'modules/modules_manager')
-rwxr-xr-xmodules/modules_manager/Makefile1009
-rwxr-xr-xmodules/modules_manager/Makefile.am18
-rwxr-xr-xmodules/modules_manager/Makefile.in1009
-rwxr-xr-xmodules/modules_manager/etc/modules_manager.quit10
-rwxr-xr-xmodules/modules_manager/etc/modules_manager.start12
-rwxr-xr-xmodules/modules_manager/help/en_US/addchapter.sce11
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_blocks.xml59
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_cleaner.xml55
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_gateway.xml102
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_gateway_clean.xml55
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_gateway_loader.xml49
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_help.xml69
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_help_loader.xml63
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_loader.xml58
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_localization.xml64
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_macros.xml49
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_pal_loader.xml84
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_build_src.xml130
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_builder_gateway.xml42
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_builder_gateway_lang.xml49
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_builder_help.xml56
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_builder_help_lang.xml63
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_builder_macros.xml42
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_builder_src.xml42
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_builder_src_lang.xml49
-rwxr-xr-xmodules/modules_manager/help/en_US/tbx_generate_pofile.xml70
-rwxr-xr-xmodules/modules_manager/help/fr_FR/addchapter.sce11
-rwxr-xr-xmodules/modules_manager/help/ja_JP/addchapter.sce11
-rwxr-xr-xmodules/modules_manager/help/pt_BR/addchapter.sce10
-rwxr-xr-xmodules/modules_manager/help/ru_RU/addchapter.sce11
-rwxr-xr-xmodules/modules_manager/license.txt10
-rwxr-xr-xmodules/modules_manager/locales/cs_CZ.po154
-rwxr-xr-xmodules/modules_manager/locales/es_ES.po171
-rwxr-xr-xmodules/modules_manager/locales/fr_FR.po173
-rwxr-xr-xmodules/modules_manager/locales/it_IT.po181
-rwxr-xr-xmodules/modules_manager/locales/ja_JP.po149
-rwxr-xr-xmodules/modules_manager/locales/modules_manager.pot321
-rwxr-xr-xmodules/modules_manager/locales/pl_PL.po156
-rwxr-xr-xmodules/modules_manager/locales/pt_BR.po175
-rwxr-xr-xmodules/modules_manager/locales/ru_RU.po161
-rwxr-xr-xmodules/modules_manager/locales/uk_UA.po179
-rwxr-xr-xmodules/modules_manager/macros/buildmacros.bat11
-rwxr-xr-xmodules/modules_manager/macros/buildmacros.sce15
-rwxr-xr-xmodules/modules_manager/macros/cleanmacros.bat13
-rwxr-xr-xmodules/modules_manager/macros/libbin0 -> 800 bytes
-rwxr-xr-xmodules/modules_manager/macros/names21
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_blocks.binbin0 -> 17012 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_blocks.sci112
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_cleaner.binbin0 -> 11956 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_cleaner.sci104
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_gateway.binbin0 -> 14176 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_gateway.sci160
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_gateway_clean.binbin0 -> 8988 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_gateway_clean.sci84
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_gateway_loader.binbin0 -> 9888 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_gateway_loader.sci92
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_help.binbin0 -> 6860 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_help.sci66
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_help_loader.binbin0 -> 7904 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_help_loader.sci69
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_loader.binbin0 -> 11628 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_loader.sci100
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_localization.binbin0 -> 9172 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_localization.sci72
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_macros.binbin0 -> 5588 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_macros.sci55
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_pal_loader.binbin0 -> 14108 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_pal_loader.sci82
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_src.binbin0 -> 3392 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_build_src.sci55
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder.binbin0 -> 2060 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder.sci27
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_gateway.binbin0 -> 4724 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_gateway.sci47
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_gateway_lang.binbin0 -> 6724 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_gateway_lang.sci73
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_help.binbin0 -> 3828 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_help.sci41
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_help_lang.binbin0 -> 6568 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_help_lang.sci63
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_macros.binbin0 -> 3872 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_macros.sci40
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_src.binbin0 -> 4640 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_src.sci47
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_src_lang.binbin0 -> 6596 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_builder_src_lang.sci63
-rwxr-xr-xmodules/modules_manager/macros/tbx_generate_pofile.binbin0 -> 21024 bytes
-rwxr-xr-xmodules/modules_manager/macros/tbx_generate_pofile.sci168
-rwxr-xr-xmodules/modules_manager/modules_manager.iss41
-rwxr-xr-xmodules/modules_manager/tests/nonreg_tests/bug_6831.tst24
-rwxr-xr-xmodules/modules_manager/tests/nonreg_tests/bug_6971.tst23
-rwxr-xr-xmodules/modules_manager/tests/nonreg_tests/bug_7014.tst27
-rwxr-xr-xmodules/modules_manager/tests/nonreg_tests/bug_8129.tst24
-rwxr-xr-xmodules/modules_manager/tests/nonreg_tests/bug_9339.tst30
-rwxr-xr-xmodules/modules_manager/tests/nonreg_tests/bug_9339.unix.dia.ref64
-rwxr-xr-xmodules/modules_manager/tests/nonreg_tests/bug_9339.win.dia.ref64
-rwxr-xr-xmodules/modules_manager/tests/unit_tests/toolbox_skeleton.tst21
-rwxr-xr-xmodules/modules_manager/tests/unit_tests/toolbox_skeleton.unix.dia.ref125
-rwxr-xr-xmodules/modules_manager/tests/unit_tests/toolbox_skeleton.win.dia.ref118
-rwxr-xr-xmodules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.macosx.dia.ref78
-rwxr-xr-xmodules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.tst21
-rwxr-xr-xmodules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.unix.dia.ref78
-rwxr-xr-xmodules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.win.dia.ref74
103 files changed, 7684 insertions, 0 deletions
diff --git a/modules/modules_manager/Makefile b/modules/modules_manager/Makefile
new file mode 100755
index 000000000..55d848b57
--- /dev/null
+++ b/modules/modules_manager/Makefile
@@ -0,0 +1,1009 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# modules/modules_manager/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2010 - DIGITEO - Allan CORNET
+#
+# This file is distributed under the same license as the Scilab package.
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/scilab
+pkgincludedir = $(includedir)/scilab
+pkglibdir = $(libdir)/scilab
+pkglibexecdir = $(libexecdir)/scilab
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = x86_64-unknown-linux-gnu
+host_triplet = x86_64-unknown-linux-gnu
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs
+am__append_1 = java
+subdir = modules/modules_manager
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+ $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+ $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+ $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+ $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+ $(top_srcdir)/m4/intel_compiler.m4 \
+ $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+ $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+ $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+ $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+ $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+ $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+ $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+ $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_$(V))
+am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_$(V))
+am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_$(V))
+am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(libmodules_manager_la_etcdir)" \
+ "$(DESTDIR)$(libmodules_manager_la_rootdir)"
+DATA = $(libmodules_manager_la_etc_DATA) \
+ $(libmodules_manager_la_root_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing aclocal-1.14
+ALL_LINGUAS = en_US fr_FR zh_CN zh_TW ru_RU ca_ES de_DE es_ES pt_BR ja_JP it_IT uk_UA pl_PL cs_CZ
+ALL_LINGUAS_DOC = en_US fr_FR pt_BR ja_JP ru_RU
+AMTAR = $${TAR-tar}
+AM_DEFAULT_VERBOSITY = 1
+ANT = /usr/bin/ant
+ANTLR = /usr/share/java/antlr.jar
+AR = ar
+ARPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -larpack
+ASM3 = /usr/share/java/asm3-3.3.2.jar
+AUTOCONF = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoconf
+AUTOHEADER = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing autoheader
+AUTOMAKE = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing automake-1.14
+AVALON_FRAMEWORK = /home/shashank/scilab-master_5.5.2/thirdparty/avalon-framework.jar
+AWK = mawk
+BATIK = /home/shashank/scilab-master_5.5.2/thirdparty/batik-all-1.7.jar
+BLAS_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lblas
+CC = gcc
+CCACHE =
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CHECKSTYLE =
+COBERTURA = /usr/share/java/cobertura.jar
+COMMONS_BEANUTILS =
+COMMONS_IO = /home/shashank/scilab-master_5.5.2/thirdparty/commons-io.jar
+COMMONS_LOGGING = /home/shashank/scilab-master_5.5.2/thirdparty/commons-logging.jar
+CPP = gcc -E
+CPPFLAGS =
+CURL_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+CURL_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/curl-config
+CURL_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lcurl -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lssl -lcrypto -lrt -lz
+CURL_VERSION = libcurl 7.19.7
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEMOTOOLS_ENABLE = yes
+DEPDIR = .deps
+DLLTOOL = false
+DOCBOOK_ROOT = /home/shashank/scilab-master_5.5.2/thirdparty/docbook/
+DOXYGEN_BIN =
+DSYMUTIL =
+DUMPBIN =
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+ECJ = /home/shashank/scilab-master_5.5.2/thirdparty/ecj.jar
+EGREP = /bin/grep -E
+EXEEXT =
+F77 = gfortran
+FFLAGS = -g -O2
+FFTW3_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lfftw3
+FFTW_ENABLE = yes
+FGREP = /bin/grep -F
+FLEXDOCK = /home/shashank/scilab-master_5.5.2/thirdparty/flexdock-1.2.4.jar
+FLIBS = -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lpthread -ldl -lcurses -lgfortran -lm -lquadmath
+FOP = /home/shashank/scilab-master_5.5.2/thirdparty/fop.jar
+FREEHEP_GRAPHICS2D = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphics2d.jar
+FREEHEP_GRAPHICSIO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio.jar
+FREEHEP_GRAPHICSIO_EMF = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-graphicsio-emf.jar
+FREEHEP_IO = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-io.jar
+FREEHEP_UTIL = /home/shashank/scilab-master_5.5.2/thirdparty/freehep-util.jar
+GENHTML =
+GETTEXT_MACRO_VERSION = 0.19
+GIWS_BIN =
+GLUEGEN2_RT = /home/shashank/scilab-master_5.5.2/thirdparty/gluegen2-rt.jar
+GMSGFMT = /usr/bin/msgfmt
+GMSGFMT_015 = /usr/bin/msgfmt
+GRAPHICS_ENABLE = yes
+GREP = /bin/grep
+GUI_ENABLE = yes
+HDF5_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+HDF5_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lhdf5 -lhdf5_hl
+HELP_ENABLE = yes
+INSTALL = /usr/bin/install -c
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
+INTLLIBS =
+INTL_MACOSX_LIBS =
+JAR = /usr/lib/jvm/java-8-openjdk-amd64/bin/jar
+JAVA = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVAC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javac
+JAVAC_DEBUG = off
+JAVADOC = /usr/lib/jvm/java-8-openjdk-amd64/bin/javadoc
+JAVAH = /usr/lib/jvm/java-8-openjdk-amd64/bin/javah
+JAVASCI_ENABLE = yes
+JAVA_ENABLE = yes
+JAVA_G = /usr/lib/jvm/java-8-openjdk-amd64/bin/java
+JAVA_HOME = /usr/lib/jvm/java-8-openjdk-amd64
+JAVA_JNI_INCLUDE = -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux
+JAVA_JNI_LIBS = -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 -ljava -lverify -L/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server -ljvm
+JDB = /usr/lib/jvm/java-8-openjdk-amd64/bin/jdb
+JEUCLID_CORE = /home/shashank/scilab-master_5.5.2/thirdparty/jeuclid-core.jar
+JGRAPHX = /home/shashank/scilab-master_5.5.2/thirdparty/jgraphx.jar
+JHALL = /home/shashank/scilab-master_5.5.2/thirdparty/jhall.jar
+JLATEXMATH = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-1.0.3.jar
+JLATEXMATH_FOP = /home/shashank/scilab-master_5.5.2/thirdparty/jlatexmath-fop-1.0.3.jar
+JOGL2 = /home/shashank/scilab-master_5.5.2/thirdparty/jogl2.jar
+JROSETTA_API = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-API.jar
+JROSETTA_ENGINE = /home/shashank/scilab-master_5.5.2/thirdparty/jrosetta-engine.jar
+JUNIT4 = /usr/share/java/junit4.jar
+LAPACK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -llapack
+LCOV =
+LD = /usr/bin/ld -m elf_x86_64
+LDFLAGS = -Wl,--no-as-needed
+LIBICONV = -liconv
+LIBINTL =
+LIBM = -lm
+LIBOBJS =
+LIBS = -lpthread -ldl -lcurses -lm
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LIPO =
+LN_S = ln -s
+LOGGING_LEVEL = SEVERE
+LOOKS = /home/shashank/scilab-master_5.5.2/thirdparty/looks-2.1.1.jar
+LTLIBICONV = -liconv
+LTLIBINTL =
+LTLIBOBJS =
+MAINT = #
+MAKEINFO = ${SHELL} /home/shashank/scilab-master_5.5.2/config/missing makeinfo
+MANIFEST_TOOL = :
+MATIO_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+MATIO_ENABLE = yes
+MATIO_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lm -lz -lmatio -lhdf5
+MKDIR_P = /bin/mkdir -p
+MPI_ENABLE = no
+MSGCAT = /usr/bin/msgcat
+MSGFMT = /usr/bin/msgfmt
+MSGFMT_015 = /usr/bin/msgfmt
+MSGMERGE = /usr/bin/msgmerge
+NM = nm
+NMEDIT =
+OBJDUMP = objdump
+OBJEXT = o
+OCAMLC = ocamlc
+OCAMLDEP = ocamldep
+OCAMLLEX = ocamllex
+OCAMLOPT = ocamlopt
+OCAMLYACC = ocamlyacc
+OPENMPI_CC =
+OPENMPI_CFLAGS =
+OPENMPI_CXX =
+OPENMPI_CXXFLAGS =
+OPENMPI_LIBS =
+OPENMP_CFLAGS = -fopenmp
+OPENMP_CXXFLAGS = -fopenmp
+OPENMP_ENABLE = yes
+OPENMP_LIBS = -lgomp -lstdc++
+OTOOL =
+OTOOL64 =
+PACKAGE = scilab
+PACKAGE_BUGREPORT = http://bugzilla.scilab.org/
+PACKAGE_NAME = Scilab
+PACKAGE_STRING = Scilab 5
+PACKAGE_TARNAME = scilab
+PACKAGE_URL =
+PACKAGE_VERSION = 5
+PATH_SEPARATOR = :
+PCRE_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+PCRE_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/pcre-config
+PCRE_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lpcreposix -lpcre
+PCRE_VERSION = 8.35
+PKG_CONFIG = /usr/bin/pkg-config
+POSUB = po
+POW_LIB =
+PYTHON =
+RANLIB = ranlib
+RELOCATABLE = no
+RT_LIB = -lrt
+SAXON = /home/shashank/scilab-master_5.5.2/thirdparty/saxon9he.jar
+SCILAB_BINARY_VERSION = 5.5.2
+SCILAB_LIBRARY_VERSION = 5:5:2
+SCILAB_VERSION_MAINTENANCE = 2
+SCILAB_VERSION_MAJOR = 5
+SCILAB_VERSION_MINOR = 5
+SCIRENDERER = ${modules.dir}/scirenderer/${build.jar.dir}/scirenderer.jar
+SCIRENDERER_CP = $SCILAB/modules/scirenderer/jar/scirenderer.jar
+SCI_CFLAGS = -D_LARGEFILE64_SOURCE -DNDEBUG -m64 -fno-stack-protector
+SCI_CXXFLAGS = -DNDEBUG -fno-stack-protector
+SCI_FFLAGS = -DNDEBUG -m64 -fPIC
+SCI_LDFLAGS =
+SED = /bin/sed
+SET_MAKE =
+SET_RELOCATABLE =
+SHELL = /bin/bash
+SKINLF = /home/shashank/scilab-master_5.5.2/thirdparty/skinlf.jar
+SPLINT = no
+STRIP = strip
+SWIG_BIN =
+SWIG_JAVA =
+SWIG_RUNTIME_LIBS_DIR =
+SWIG_SCILAB =
+TCLTK_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -ltk8.5 -L/home/shashank/scilab-master_5.5.2/usr/lib -ltcl8.5 -ldl
+TCL_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+TK_INC_PATH = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_CFLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include
+UMFPACK_ENABLE = yes
+UMFPACK_LIB = -L/home/shashank/scilab-master_5.5.2/usr/lib -lumfpack -lamd
+USE_NLS = yes
+VERSION = 5
+WITH_OCAML =
+WITH_TKSCI = yes
+XCOS_ENABLE = yes
+XGETTEXT = /usr/bin/xgettext
+XGETTEXT_015 = /usr/bin/xgettext
+XGETTEXT_EXTRA_OPTIONS =
+XMKMF =
+XMLGRAPHICS_COMMONS = /home/shashank/scilab-master_5.5.2/thirdparty/xmlgraphics-commons-1.4.jar
+XML_APIS_EXT = /home/shashank/scilab-master_5.5.2/thirdparty/xml-apis-ext.jar
+XML_CONFIG = /home/shashank/scilab-master_5.5.2/usr/bin/xml2-config
+XML_FLAGS = -I/home/shashank/scilab-master_5.5.2/usr/include/libxml2
+XML_LIBS = -L/home/shashank/scilab-master_5.5.2/usr/lib -lxml2 -L/home/scilab/work/linux-prerequisites-sources/trunk/Dev-Tools/SE/Prerequirements/linux_x64/usr/lib -lz -lm -ldl
+XML_VERSION = 2.9.1
+X_CFLAGS =
+X_EXTRA_LIBS =
+X_LIBS =
+X_PRE_LIBS =
+abs_builddir = /home/shashank/scilab-master_5.5.2/modules/modules_manager
+abs_srcdir = /home/shashank/scilab-master_5.5.2/modules/modules_manager
+abs_top_builddir = /home/shashank/scilab-master_5.5.2
+abs_top_srcdir = /home/shashank/scilab-master_5.5.2
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_DUMPBIN =
+ac_ct_F77 = gfortran
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = $${TAR-tar} chof - "$$tardir"
+am__untar = $${TAR-tar} xf -
+bindir = ${exec_prefix}/bin
+build = x86_64-unknown-linux-gnu
+build_alias =
+build_cpu = x86_64
+build_os = linux-gnu
+build_vendor = unknown
+builddir = .
+cxx_present = yes
+datadir = ${datarootdir}
+datarootdir = ${prefix}/share
+docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
+dvidir = ${docdir}
+exec_prefix = ${prefix}
+host = x86_64-unknown-linux-gnu
+host_alias =
+host_cpu = x86_64
+host_os = linux-gnu
+host_vendor = unknown
+htmldir = ${docdir}
+includedir = ${prefix}/include
+infodir = ${datarootdir}/info
+install_sh = ${SHELL} /home/shashank/scilab-master_5.5.2/config/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localedir = ${datarootdir}/locale
+localstatedir = ${prefix}/var
+mandir = ${datarootdir}/man
+mkdir_p = $(MKDIR_P)
+oldincludedir = /usr/include
+pdfdir = ${docdir}
+prefix = /usr/local
+program_transform_name = s,x,x,
+psdir = ${docdir}
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+srcdir = .
+sysconfdir = ${prefix}/etc
+target_alias =
+top_build_prefix = ../../
+top_builddir = ../..
+top_srcdir = ../..
+
+#### Target ######
+modulename = modules_manager
+
+#### modules_manager : Conf files ####
+libmodules_manager_la_rootdir = $(mydatadir)
+libmodules_manager_la_root_DATA = license.txt
+#### modules_manager : init scripts ####
+libmodules_manager_la_etcdir = $(mydatadir)/etc
+libmodules_manager_la_etc_DATA = etc/modules_manager.quit etc/modules_manager.start
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_1)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED AT THE MOMENT
+SUFFIXES = .sci
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/modules_manager/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign modules/modules_manager/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: # $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-libmodules_manager_la_etcDATA: $(libmodules_manager_la_etc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libmodules_manager_la_etc_DATA)'; test -n "$(libmodules_manager_la_etcdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libmodules_manager_la_etcdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libmodules_manager_la_etcdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libmodules_manager_la_etcdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libmodules_manager_la_etcdir)" || exit $$?; \
+ done
+
+uninstall-libmodules_manager_la_etcDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libmodules_manager_la_etc_DATA)'; test -n "$(libmodules_manager_la_etcdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libmodules_manager_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libmodules_manager_la_rootDATA: $(libmodules_manager_la_root_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libmodules_manager_la_root_DATA)'; test -n "$(libmodules_manager_la_rootdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libmodules_manager_la_rootdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libmodules_manager_la_rootdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libmodules_manager_la_rootdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libmodules_manager_la_rootdir)" || exit $$?; \
+ done
+
+uninstall-libmodules_manager_la_rootDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libmodules_manager_la_root_DATA)'; test -n "$(libmodules_manager_la_rootdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libmodules_manager_la_rootdir)'; $(am__uninstall_files_from_dir)
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile $(DATA) all-local
+installdirs:
+ for dir in "$(DESTDIR)$(libmodules_manager_la_etcdir)" "$(DESTDIR)$(libmodules_manager_la_rootdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-local
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local \
+ install-libmodules_manager_la_etcDATA \
+ install-libmodules_manager_la_rootDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libmodules_manager_la_etcDATA \
+ uninstall-libmodules_manager_la_rootDATA
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: all all-am all-local check check-am check-local clean \
+ clean-generic clean-libtool clean-local cscopelist-am ctags-am \
+ distclean distclean-generic distclean-libtool distclean-local \
+ distdir dvi dvi-am html html-am info info-am install \
+ install-am install-data install-data-am install-data-local \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-html-local install-info \
+ install-info-am install-libmodules_manager_la_etcDATA \
+ install-libmodules_manager_la_rootDATA install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am uninstall-libmodules_manager_la_etcDATA \
+ uninstall-libmodules_manager_la_rootDATA
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+ if test -d $(mydatadir)/tests; then \
+ @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+ fi
+check-code:
+ if test -f build.xml; then \
+ $(ANT) checkstyle; \
+ fi
+ if test -x "$(SPLINT)"; then \
+ $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+ fi
+java:
+# Some configurations needs to export JAVA_HOME in the current env
+ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT); \
+ fi
+
+clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) clean; \
+ fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#swig: $(SWIG_WRAPPERS)
+# @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+# SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+# if test -n "$(SWIG_WRAPPERS)"; then \
+# for file in $(SWIG_WRAPPERS) ; do \
+# echo "Swig process of $$file (Java) ..."; \
+# $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
+# done; \
+# fi
+
+#swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+# @SWIG_OUTDIR=src/swig/; \
+# if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+# for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+# echo "Swig process of $$file (Scilab) ..."; \
+# $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
+# done; \
+# fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+#giws: $(GIWS_WRAPPERS)
+# @GIWS_OUTPUTDIR=src/jni/; \
+# MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+# if test -n "$(GIWS_WRAPPERS)"; then \
+# for file in $(GIWS_WRAPPERS) ; do \
+# echo "GIWS process of $$file ..."; \
+# if test -z "$(GIWS_OPTIONS)"; then \
+# $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+# else \
+# echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+# $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+# fi \
+# done; \
+# fi
+
+#giws-exception:
+# @GIWS_OUTPUTDIR=src/jni/;\
+# echo "GIWS: Generation of exception class ..."; \
+# $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
+
+macros:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been built"; \
+ else \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+ fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+ @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+ rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+ done
+
+test:
+# More tests could be added here
+ @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) test; \
+ fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been build"; \
+ else \
+ echo "Creating $@"; \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+ fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+ @if test -d $(srcdir)/javadoc; then \
+ cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+ fi
+# If the user wants the help sources to be installed
+ @echo "-------- Install of XML sources of help files --------"; \
+ for lang in $(ALL_LINGUAS); do \
+ if test -d $(srcdir)/help/$$lang; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+ done ; \
+ fi; \
+ fi; \
+ done; \
+ @echo "-------- Install of MathML sources --------"; \
+ if test -d $(srcdir)/help/mml/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+ done ; \
+ fi; \
+ fi
+install-data-local:
+# Install the tests
+ @echo "-------- Install tests (if any) --------"; \
+ for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the help chapter
+ @echo "-------- Install the help chapter (if any) --------"; \
+ for lang in $(HELP_CHAPTERLANG); do \
+ HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+ if test -f $$HELPFILE; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ fi; \
+ done
+# Install the demos & examples
+ @echo "-------- Install demos & examples (if any) --------"; \
+ for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the macros
+ @echo "-------- Install macros (if any) --------"; \
+ for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ if test -d $(srcdir)/$$dir/; then \
+ FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+ if test -n "$(MACROSSPECIALEXT)"; then \
+ specialExtDir=""; \
+ for specialExt in $(MACROSSPECIALEXT); do \
+ specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+ done; \
+ FILELIST="$$FILELIST $$specialExtDir"; \
+ fi; \
+ for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+ done; \
+ fi; \
+ done
+# Install java files (.jar)
+ @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+ echo "-------- Install jar files --------"; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+ for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+ done ; \
+ fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+clean-local: clean-java
+#clean-local:
+
+distclean-local:
+ rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/modules_manager/Makefile.am b/modules/modules_manager/Makefile.am
new file mode 100755
index 000000000..0247fe064
--- /dev/null
+++ b/modules/modules_manager/Makefile.am
@@ -0,0 +1,18 @@
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2010 - DIGITEO - Allan CORNET
+#
+# This file is distributed under the same license as the Scilab package.
+
+
+#### Target ######
+modulename=modules_manager
+
+
+#### modules_manager : Conf files ####
+libmodules_manager_la_rootdir = $(mydatadir)
+libmodules_manager_la_root_DATA = license.txt
+#### modules_manager : init scripts ####
+libmodules_manager_la_etcdir = $(mydatadir)/etc
+libmodules_manager_la_etc_DATA = etc/modules_manager.quit etc/modules_manager.start
+
+include $(top_srcdir)/Makefile.incl.am
diff --git a/modules/modules_manager/Makefile.in b/modules/modules_manager/Makefile.in
new file mode 100755
index 000000000..1309cba16
--- /dev/null
+++ b/modules/modules_manager/Makefile.in
@@ -0,0 +1,1009 @@
+# Makefile.in generated by automake 1.14.1 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994-2013 Free Software Foundation, Inc.
+
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2010 - DIGITEO - Allan CORNET
+#
+# This file is distributed under the same license as the Scilab package.
+
+# Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+# Copyright (C) 2006-2008 - INRIA - Sylvestre LEDRU <sylvestre.ledru@inria.fr>
+# Copyright (C) 2008 - INRIA - Pierre MARECHAL <pierre.marechal@inria.fr>
+#
+# This file must be used under the terms of the CeCILL.
+# This source file is licensed as described in the file COPYING, which
+# you should have received as part of this distribution. The terms
+# are also available at
+# http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+#
+
+##########
+### Makefile included stuff
+### Target, variable, suffixes which are supposed to be useful in every makefile.am
+##########
+
+VPATH = @srcdir@
+am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
+am__make_running_with_option = \
+ case $${target_option-} in \
+ ?) ;; \
+ *) echo "am__make_running_with_option: internal error: invalid" \
+ "target option '$${target_option-}' specified" >&2; \
+ exit 1;; \
+ esac; \
+ has_opt=no; \
+ sane_makeflags=$$MAKEFLAGS; \
+ if $(am__is_gnu_make); then \
+ sane_makeflags=$$MFLAGS; \
+ else \
+ case $$MAKEFLAGS in \
+ *\\[\ \ ]*) \
+ bs=\\; \
+ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
+ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
+ esac; \
+ fi; \
+ skip_next=no; \
+ strip_trailopt () \
+ { \
+ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
+ }; \
+ for flg in $$sane_makeflags; do \
+ test $$skip_next = yes && { skip_next=no; continue; }; \
+ case $$flg in \
+ *=*|--*) continue;; \
+ -*I) strip_trailopt 'I'; skip_next=yes;; \
+ -*I?*) strip_trailopt 'I';; \
+ -*O) strip_trailopt 'O'; skip_next=yes;; \
+ -*O?*) strip_trailopt 'O';; \
+ -*l) strip_trailopt 'l'; skip_next=yes;; \
+ -*l?*) strip_trailopt 'l';; \
+ -[dEDm]) skip_next=yes;; \
+ -[JT]) skip_next=yes;; \
+ esac; \
+ case $$flg in \
+ *$$target_option*) has_opt=yes; break;; \
+ esac; \
+ done; \
+ test $$has_opt = yes
+am__make_dryrun = (target_option=n; $(am__make_running_with_option))
+am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
+pkgdatadir = $(datadir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkglibexecdir = $(libexecdir)/@PACKAGE@
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+DIST_COMMON = $(top_srcdir)/Makefile.incl.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/config/mkinstalldirs
+@NEED_JAVA_TRUE@am__append_1 = java
+subdir = modules/modules_manager
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/m4/backtrace.m4 \
+ $(top_srcdir)/m4/compiler.m4 $(top_srcdir)/m4/curl.m4 \
+ $(top_srcdir)/m4/docbook.m4 $(top_srcdir)/m4/doxygen.m4 \
+ $(top_srcdir)/m4/fftw.m4 $(top_srcdir)/m4/fortran.m4 \
+ $(top_srcdir)/m4/giws.m4 $(top_srcdir)/m4/hdf5.m4 \
+ $(top_srcdir)/m4/intel_compiler.m4 \
+ $(top_srcdir)/m4/java-thirdparty.m4 $(top_srcdir)/m4/java.m4 \
+ $(top_srcdir)/m4/largefile.m4 $(top_srcdir)/m4/lib-ld.m4 \
+ $(top_srcdir)/m4/libsmath.m4 $(top_srcdir)/m4/libtool.m4 \
+ $(top_srcdir)/m4/libxml2.m4 $(top_srcdir)/m4/ltoptions.m4 \
+ $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
+ $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/macosx.m4 \
+ $(top_srcdir)/m4/mpi.m4 $(top_srcdir)/m4/ocaml.m4 \
+ $(top_srcdir)/m4/pcre.m4 $(top_srcdir)/m4/pkg.m4 \
+ $(top_srcdir)/m4/relocatable.m4 $(top_srcdir)/m4/swig.m4 \
+ $(top_srcdir)/m4/symlinks.m4 $(top_srcdir)/m4/tcltk.m4 \
+ $(top_srcdir)/m4/umfpack.m4 $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
+CONFIG_HEADER = $(top_builddir)/modules/core/includes/machine.h
+CONFIG_CLEAN_FILES =
+CONFIG_CLEAN_VPATH_FILES =
+AM_V_P = $(am__v_P_@AM_V@)
+am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
+am__v_P_0 = false
+am__v_P_1 = :
+AM_V_GEN = $(am__v_GEN_@AM_V@)
+am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
+am__v_GEN_0 = @echo " GEN " $@;
+am__v_GEN_1 =
+AM_V_at = $(am__v_at_@AM_V@)
+am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
+am__v_at_0 = @
+am__v_at_1 =
+SOURCES =
+DIST_SOURCES =
+am__can_run_installinfo = \
+ case $$AM_UPDATE_INFO_DIR in \
+ n|no|NO) false;; \
+ *) (install-info --version) >/dev/null 2>&1;; \
+ esac
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__installdirs = "$(DESTDIR)$(libmodules_manager_la_etcdir)" \
+ "$(DESTDIR)$(libmodules_manager_la_rootdir)"
+DATA = $(libmodules_manager_la_etc_DATA) \
+ $(libmodules_manager_la_root_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+ALL_LINGUAS = @ALL_LINGUAS@
+ALL_LINGUAS_DOC = @ALL_LINGUAS_DOC@
+AMTAR = @AMTAR@
+AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
+ANT = @ANT@
+ANTLR = @ANTLR@
+AR = @AR@
+ARPACK_LIBS = @ARPACK_LIBS@
+ASM3 = @ASM3@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AVALON_FRAMEWORK = @AVALON_FRAMEWORK@
+AWK = @AWK@
+BATIK = @BATIK@
+BLAS_LIBS = @BLAS_LIBS@
+CC = @CC@
+CCACHE = @CCACHE@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CHECKSTYLE = @CHECKSTYLE@
+COBERTURA = @COBERTURA@
+COMMONS_BEANUTILS = @COMMONS_BEANUTILS@
+COMMONS_IO = @COMMONS_IO@
+COMMONS_LOGGING = @COMMONS_LOGGING@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CURL_CFLAGS = @CURL_CFLAGS@
+CURL_CONFIG = @CURL_CONFIG@
+CURL_LIBS = @CURL_LIBS@
+CURL_VERSION = @CURL_VERSION@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEMOTOOLS_ENABLE = @DEMOTOOLS_ENABLE@
+DEPDIR = @DEPDIR@
+DLLTOOL = @DLLTOOL@
+DOCBOOK_ROOT = @DOCBOOK_ROOT@
+DOXYGEN_BIN = @DOXYGEN_BIN@
+DSYMUTIL = @DSYMUTIL@
+DUMPBIN = @DUMPBIN@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+ECJ = @ECJ@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+FFTW3_LIB = @FFTW3_LIB@
+FFTW_ENABLE = @FFTW_ENABLE@
+FGREP = @FGREP@
+FLEXDOCK = @FLEXDOCK@
+FLIBS = @FLIBS@
+FOP = @FOP@
+FREEHEP_GRAPHICS2D = @FREEHEP_GRAPHICS2D@
+FREEHEP_GRAPHICSIO = @FREEHEP_GRAPHICSIO@
+FREEHEP_GRAPHICSIO_EMF = @FREEHEP_GRAPHICSIO_EMF@
+FREEHEP_IO = @FREEHEP_IO@
+FREEHEP_UTIL = @FREEHEP_UTIL@
+GENHTML = @GENHTML@
+GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
+GIWS_BIN = @GIWS_BIN@
+GLUEGEN2_RT = @GLUEGEN2_RT@
+GMSGFMT = @GMSGFMT@
+GMSGFMT_015 = @GMSGFMT_015@
+GRAPHICS_ENABLE = @GRAPHICS_ENABLE@
+GREP = @GREP@
+GUI_ENABLE = @GUI_ENABLE@
+HDF5_CFLAGS = @HDF5_CFLAGS@
+HDF5_LIBS = @HDF5_LIBS@
+HELP_ENABLE = @HELP_ENABLE@
+INSTALL = @INSTALL@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+INTLLIBS = @INTLLIBS@
+INTL_MACOSX_LIBS = @INTL_MACOSX_LIBS@
+JAR = @JAR@
+JAVA = @JAVA@
+JAVAC = @JAVAC@
+JAVAC_DEBUG = @JAVAC_DEBUG@
+JAVADOC = @JAVADOC@
+JAVAH = @JAVAH@
+JAVASCI_ENABLE = @JAVASCI_ENABLE@
+JAVA_ENABLE = @JAVA_ENABLE@
+JAVA_G = @JAVA_G@
+JAVA_HOME = @JAVA_HOME@
+JAVA_JNI_INCLUDE = @JAVA_JNI_INCLUDE@
+JAVA_JNI_LIBS = @JAVA_JNI_LIBS@
+JDB = @JDB@
+JEUCLID_CORE = @JEUCLID_CORE@
+JGRAPHX = @JGRAPHX@
+JHALL = @JHALL@
+JLATEXMATH = @JLATEXMATH@
+JLATEXMATH_FOP = @JLATEXMATH_FOP@
+JOGL2 = @JOGL2@
+JROSETTA_API = @JROSETTA_API@
+JROSETTA_ENGINE = @JROSETTA_ENGINE@
+JUNIT4 = @JUNIT4@
+LAPACK_LIBS = @LAPACK_LIBS@
+LCOV = @LCOV@
+LD = @LD@
+LDFLAGS = @LDFLAGS@
+LIBICONV = @LIBICONV@
+LIBINTL = @LIBINTL@
+LIBM = @LIBM@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LIPO = @LIPO@
+LN_S = @LN_S@
+LOGGING_LEVEL = @LOGGING_LEVEL@
+LOOKS = @LOOKS@
+LTLIBICONV = @LTLIBICONV@
+LTLIBINTL = @LTLIBINTL@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAKEINFO = @MAKEINFO@
+MANIFEST_TOOL = @MANIFEST_TOOL@
+MATIO_CFLAGS = @MATIO_CFLAGS@
+MATIO_ENABLE = @MATIO_ENABLE@
+MATIO_LIBS = @MATIO_LIBS@
+MKDIR_P = @MKDIR_P@
+MPI_ENABLE = @MPI_ENABLE@
+MSGCAT = @MSGCAT@
+MSGFMT = @MSGFMT@
+MSGFMT_015 = @MSGFMT_015@
+MSGMERGE = @MSGMERGE@
+NM = @NM@
+NMEDIT = @NMEDIT@
+OBJDUMP = @OBJDUMP@
+OBJEXT = @OBJEXT@
+OCAMLC = @OCAMLC@
+OCAMLDEP = @OCAMLDEP@
+OCAMLLEX = @OCAMLLEX@
+OCAMLOPT = @OCAMLOPT@
+OCAMLYACC = @OCAMLYACC@
+OPENMPI_CC = @OPENMPI_CC@
+OPENMPI_CFLAGS = @OPENMPI_CFLAGS@
+OPENMPI_CXX = @OPENMPI_CXX@
+OPENMPI_CXXFLAGS = @OPENMPI_CXXFLAGS@
+OPENMPI_LIBS = @OPENMPI_LIBS@
+OPENMP_CFLAGS = @OPENMP_CFLAGS@
+OPENMP_CXXFLAGS = @OPENMP_CXXFLAGS@
+OPENMP_ENABLE = @OPENMP_ENABLE@
+OPENMP_LIBS = @OPENMP_LIBS@
+OTOOL = @OTOOL@
+OTOOL64 = @OTOOL64@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_URL = @PACKAGE_URL@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PCRE_CFLAGS = @PCRE_CFLAGS@
+PCRE_CONFIG = @PCRE_CONFIG@
+PCRE_LIBS = @PCRE_LIBS@
+PCRE_VERSION = @PCRE_VERSION@
+PKG_CONFIG = @PKG_CONFIG@
+POSUB = @POSUB@
+POW_LIB = @POW_LIB@
+PYTHON = @PYTHON@
+RANLIB = @RANLIB@
+RELOCATABLE = @RELOCATABLE@
+RT_LIB = @RT_LIB@
+SAXON = @SAXON@
+SCILAB_BINARY_VERSION = @SCILAB_BINARY_VERSION@
+SCILAB_LIBRARY_VERSION = @SCILAB_LIBRARY_VERSION@
+SCILAB_VERSION_MAINTENANCE = @SCILAB_VERSION_MAINTENANCE@
+SCILAB_VERSION_MAJOR = @SCILAB_VERSION_MAJOR@
+SCILAB_VERSION_MINOR = @SCILAB_VERSION_MINOR@
+SCIRENDERER = @SCIRENDERER@
+SCIRENDERER_CP = @SCIRENDERER_CP@
+SCI_CFLAGS = @SCI_CFLAGS@
+SCI_CXXFLAGS = @SCI_CXXFLAGS@
+SCI_FFLAGS = @SCI_FFLAGS@
+SCI_LDFLAGS = @SCI_LDFLAGS@
+SED = @SED@
+SET_MAKE = @SET_MAKE@
+SET_RELOCATABLE = @SET_RELOCATABLE@
+SHELL = @SHELL@
+SKINLF = @SKINLF@
+SPLINT = @SPLINT@
+STRIP = @STRIP@
+SWIG_BIN = @SWIG_BIN@
+SWIG_JAVA = @SWIG_JAVA@
+SWIG_RUNTIME_LIBS_DIR = @SWIG_RUNTIME_LIBS_DIR@
+SWIG_SCILAB = @SWIG_SCILAB@
+TCLTK_LIBS = @TCLTK_LIBS@
+TCL_INC_PATH = @TCL_INC_PATH@
+TK_INC_PATH = @TK_INC_PATH@
+UMFPACK_CFLAGS = @UMFPACK_CFLAGS@
+UMFPACK_ENABLE = @UMFPACK_ENABLE@
+UMFPACK_LIB = @UMFPACK_LIB@
+USE_NLS = @USE_NLS@
+VERSION = @VERSION@
+WITH_OCAML = @WITH_OCAML@
+WITH_TKSCI = @WITH_TKSCI@
+XCOS_ENABLE = @XCOS_ENABLE@
+XGETTEXT = @XGETTEXT@
+XGETTEXT_015 = @XGETTEXT_015@
+XGETTEXT_EXTRA_OPTIONS = @XGETTEXT_EXTRA_OPTIONS@
+XMKMF = @XMKMF@
+XMLGRAPHICS_COMMONS = @XMLGRAPHICS_COMMONS@
+XML_APIS_EXT = @XML_APIS_EXT@
+XML_CONFIG = @XML_CONFIG@
+XML_FLAGS = @XML_FLAGS@
+XML_LIBS = @XML_LIBS@
+XML_VERSION = @XML_VERSION@
+X_CFLAGS = @X_CFLAGS@
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
+X_LIBS = @X_LIBS@
+X_PRE_LIBS = @X_PRE_LIBS@
+abs_builddir = @abs_builddir@
+abs_srcdir = @abs_srcdir@
+abs_top_builddir = @abs_top_builddir@
+abs_top_srcdir = @abs_top_srcdir@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
+ac_ct_F77 = @ac_ct_F77@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+builddir = @builddir@
+cxx_present = @cxx_present@
+datadir = @datadir@
+datarootdir = @datarootdir@
+docdir = @docdir@
+dvidir = @dvidir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+htmldir = @htmldir@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localedir = @localedir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+pdfdir = @pdfdir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+psdir = @psdir@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+srcdir = @srcdir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+top_build_prefix = @top_build_prefix@
+top_builddir = @top_builddir@
+top_srcdir = @top_srcdir@
+
+#### Target ######
+modulename = modules_manager
+
+#### modules_manager : Conf files ####
+libmodules_manager_la_rootdir = $(mydatadir)
+libmodules_manager_la_root_DATA = license.txt
+#### modules_manager : init scripts ####
+libmodules_manager_la_etcdir = $(mydatadir)/etc
+libmodules_manager_la_etc_DATA = etc/modules_manager.quit etc/modules_manager.start
+
+# Where all the Scilab stuff is installed (macros, help, ...)
+mydatadir = $(pkgdatadir)/modules/$(modulename)
+
+# Set AM_* SCI detected settings
+AM_CPPFLAGS = $(SCI_CPPFLAGS)
+AM_CFLAGS = $(SCI_CFLAGS)
+AM_CXXFLAGS = $(SCI_CXXFLAGS)
+# append includes to AM_FFLAGS to manage fortran includes
+AM_FFLAGS = $(SCI_FFLAGS) -I$(top_srcdir)/modules/core/includes/
+
+# Tag shared libraries with the Scilab version
+AM_LDFLAGS = $(SCI_LDFLAGS) -version-number $(SCILAB_LIBRARY_VERSION)
+
+# splint options
+SPLINT_OPTIONS = -weak -booltype BOOL
+
+########################### JAVA ######################################
+#### We are delegating java compilation to ant... Thanks to that
+#### the procedure will be the same with Microsoft Windows (C)
+#### and Linux/Unix
+#######################################################################
+TARGETS_ALL = $(am__append_1)
+
+################ MACROS ######################
+# Rule to build a macro
+# NOT USED AT THE MOMENT
+SUFFIXES = .sci
+
+########### INSTALL DOCUMENTATION ###################
+
+# Install documentation files into the right target
+# We do not use the automake mechanism (libxxxx_la_help_fr_DATA) because
+# automake needs the html files to be present which is not the case when
+# we are building Scilab
+
+# Where it should be installed
+pkgdocdir = $(mydatadir)
+
+# What is the mask of the help source
+DOCMASKXML = *.xml
+
+# What is the mask of the MathML sources
+DOCMASKMML = *.mml
+
+########### INSTALL DATA ###################
+# Install macros, help & demos
+# Where it should be installed
+pkgmacrosdir = $(mydatadir)
+# Which directory we process
+MACRODIRS = macros/
+# Mask of the Scilab sources macros
+MACROMASK = *.sci
+# Mask of the Scilab executable sources macros
+MACROBUILDMASK = *.sce
+# Mask of the Scilab compiled macros
+MACROBINMASK = *.bin
+# List of the standard directory for tests
+TESTS_DIR = tests/benchmarks tests/nonreg_tests tests/unit_tests tests/java
+# Where the demos should be installed
+pkgdemosdir = $(mydatadir)
+# List of the standard directory for demos
+DEMOS_DIR = demos
+# List of the standard directory for examples
+EXAMPLES_DIR = examples
+# Where to export JAVA archives (.jar)
+JARDIR = jar/
+# JAR files mask
+JARMASK = *.jar
+# Chapter file
+HELP_CHAPTERDIR = help/
+HELP_CHAPTERFILE = addchapter.sce
+HELP_CHAPTERLANG = en_US fr_FR pt_BR
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .sci .bin
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/Makefile.incl.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
+ && { if test -f $@; then exit 0; else break; fi; }; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign modules/modules_manager/Makefile'; \
+ $(am__cd) $(top_srcdir) && \
+ $(AUTOMAKE) --foreign modules/modules_manager/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+$(top_srcdir)/Makefile.incl.am:
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(am__aclocal_m4_deps):
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+install-libmodules_manager_la_etcDATA: $(libmodules_manager_la_etc_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libmodules_manager_la_etc_DATA)'; test -n "$(libmodules_manager_la_etcdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libmodules_manager_la_etcdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libmodules_manager_la_etcdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libmodules_manager_la_etcdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libmodules_manager_la_etcdir)" || exit $$?; \
+ done
+
+uninstall-libmodules_manager_la_etcDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libmodules_manager_la_etc_DATA)'; test -n "$(libmodules_manager_la_etcdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libmodules_manager_la_etcdir)'; $(am__uninstall_files_from_dir)
+install-libmodules_manager_la_rootDATA: $(libmodules_manager_la_root_DATA)
+ @$(NORMAL_INSTALL)
+ @list='$(libmodules_manager_la_root_DATA)'; test -n "$(libmodules_manager_la_rootdir)" || list=; \
+ if test -n "$$list"; then \
+ echo " $(MKDIR_P) '$(DESTDIR)$(libmodules_manager_la_rootdir)'"; \
+ $(MKDIR_P) "$(DESTDIR)$(libmodules_manager_la_rootdir)" || exit 1; \
+ fi; \
+ for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ echo "$$d$$p"; \
+ done | $(am__base_list) | \
+ while read files; do \
+ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(libmodules_manager_la_rootdir)'"; \
+ $(INSTALL_DATA) $$files "$(DESTDIR)$(libmodules_manager_la_rootdir)" || exit $$?; \
+ done
+
+uninstall-libmodules_manager_la_rootDATA:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libmodules_manager_la_root_DATA)'; test -n "$(libmodules_manager_la_rootdir)" || list=; \
+ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
+ dir='$(DESTDIR)$(libmodules_manager_la_rootdir)'; $(am__uninstall_files_from_dir)
+tags TAGS:
+
+ctags CTAGS:
+
+cscope cscopelist:
+
+
+distdir: $(DISTFILES)
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+ list='$(DISTFILES)'; \
+ dist_files=`for file in $$list; do echo $$file; done | \
+ sed -e "s|^$$srcdirstrip/||;t" \
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ case $$dist_files in \
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ sort -u` ;; \
+ esac; \
+ for file in $$dist_files; do \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ if test -d $$d/$$file; then \
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test -d "$(distdir)/$$file"; then \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ fi; \
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
+ else \
+ test -f "$(distdir)/$$file" \
+ || cp -p $$d/$$file "$(distdir)/$$file" \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+ $(MAKE) $(AM_MAKEFLAGS) check-local
+check: check-am
+all-am: Makefile $(DATA) all-local
+installdirs:
+ for dir in "$(DESTDIR)$(libmodules_manager_la_etcdir)" "$(DESTDIR)$(libmodules_manager_la_rootdir)"; do \
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ if test -z '$(STRIP)'; then \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ install; \
+ else \
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
+ fi
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libtool clean-local mostlyclean-am
+
+distclean: distclean-am
+ -rm -f Makefile
+distclean-am: clean-am distclean-generic distclean-local
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+html-am:
+
+info: info-am
+
+info-am:
+
+install-data-am: install-data-local \
+ install-libmodules_manager_la_etcDATA \
+ install-libmodules_manager_la_rootDATA
+
+install-dvi: install-dvi-am
+
+install-dvi-am:
+
+install-exec-am:
+
+install-html: install-html-am
+
+install-html-am: install-html-local
+
+install-info: install-info-am
+
+install-info-am:
+
+install-man:
+
+install-pdf: install-pdf-am
+
+install-pdf-am:
+
+install-ps: install-ps-am
+
+install-ps-am:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-libmodules_manager_la_etcDATA \
+ uninstall-libmodules_manager_la_rootDATA
+
+.MAKE: check-am install-am install-strip
+
+.PHONY: all all-am all-local check check-am check-local clean \
+ clean-generic clean-libtool clean-local cscopelist-am ctags-am \
+ distclean distclean-generic distclean-libtool distclean-local \
+ distdir dvi dvi-am html html-am info info-am install \
+ install-am install-data install-data-am install-data-local \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-html-local install-info \
+ install-info-am install-libmodules_manager_la_etcDATA \
+ install-libmodules_manager_la_rootDATA install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am uninstall-libmodules_manager_la_etcDATA \
+ uninstall-libmodules_manager_la_rootDATA
+
+
+# This target enables tests for Scilab
+check-local: $(top_builddir)/scilab-bin test
+ if test -d $(mydatadir)/tests; then \
+ @COMMAND="try test_run('$(modulename)');catch exit(-1);end;exit(0)"; export LANG=C; $(top_builddir)/bin/scilab -nwni -nb -e "$$COMMAND"; \
+ fi
+check-code:
+ if test -f build.xml; then \
+ $(ANT) checkstyle; \
+ fi
+ if test -x "$(SPLINT)"; then \
+ $(SPLINT) $(SPLINT_OPTIONS) -I$(top_srcdir)/modules/core/includes/ -I$(top_srcdir)/libs/MALLOC/includes/ -I$(top_srcdir)/modules/localization/includes/ $(INCLUDE_FLAGS) $(CHECK_SRC); \
+ fi
+@NEED_JAVA_TRUE@java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@ $(ANT); \
+@NEED_JAVA_TRUE@ fi
+
+@NEED_JAVA_TRUE@clean-java:
+# Some configurations needs to export JAVA_HOME in the current env
+@NEED_JAVA_TRUE@ @if test "$(JAVA_HOME)"; then export JAVA_HOME=$(JAVA_HOME); fi; \
+@NEED_JAVA_TRUE@ if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+@NEED_JAVA_TRUE@ if test -f build.xml -a $$USEANT -eq 1; then \
+@NEED_JAVA_TRUE@ $(ANT) clean; \
+@NEED_JAVA_TRUE@ fi;
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@SWIG_TRUE@swig: $(SWIG_WRAPPERS)
+@SWIG_TRUE@ @SWIG_PACKAGENAME=org.scilab.modules.$(modulename); \
+@SWIG_TRUE@ SWIG_OUTDIR=src/java/org/scilab/modules/$(modulename)/; \
+@SWIG_TRUE@ if test -n "$(SWIG_WRAPPERS)"; then \
+@SWIG_TRUE@ for file in $(SWIG_WRAPPERS) ; do \
+@SWIG_TRUE@ echo "Swig process of $$file (Java) ..."; \
+@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_JAVA) -package $$SWIG_PACKAGENAME -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@ done; \
+@SWIG_TRUE@ fi
+
+@SWIG_TRUE@swig-scilab: $(SWIG_SCILAB_WRAPPERS)
+@SWIG_TRUE@ @SWIG_OUTDIR=src/swig/; \
+@SWIG_TRUE@ if test -n "$(SWIG_SCILAB_WRAPPERS)"; then \
+@SWIG_TRUE@ for file in $(SWIG_SCILAB_WRAPPERS) ; do \
+@SWIG_TRUE@ echo "Swig process of $$file (Scilab) ..."; \
+@SWIG_TRUE@ $(SWIG_BIN) $(SWIG_SCILAB) -outdir $$SWIG_OUTDIR $$file; \
+@SWIG_TRUE@ done; \
+@SWIG_TRUE@ fi
+
+# If the user request for the SWIG generation of the wrappers Java => C/C++
+# We call the target swig-build on the variable SWIG_WRAPPERS
+
+@GIWS_TRUE@giws: $(GIWS_WRAPPERS)
+@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/; \
+@GIWS_TRUE@ MANDATORY_OPTIONS="--throws-exception-on-error --description-file"; \
+@GIWS_TRUE@ if test -n "$(GIWS_WRAPPERS)"; then \
+@GIWS_TRUE@ for file in $(GIWS_WRAPPERS) ; do \
+@GIWS_TRUE@ echo "GIWS process of $$file ..."; \
+@GIWS_TRUE@ if test -z "$(GIWS_OPTIONS)"; then \
+@GIWS_TRUE@ $(GIWS_BIN) --disable-return-size-array --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@ else \
+@GIWS_TRUE@ echo "Custom GIWS call with '$$GIWS_OPTIONS'"; \
+@GIWS_TRUE@ $(GIWS_BIN) $$GIWS_OPTIONS --output-dir $$GIWS_OUTPUTDIR $$MANDATORY_OPTIONS $$file; \
+@GIWS_TRUE@ fi \
+@GIWS_TRUE@ done; \
+@GIWS_TRUE@ fi
+
+@GIWS_TRUE@giws-exception:
+@GIWS_TRUE@ @GIWS_OUTPUTDIR=src/jni/;\
+@GIWS_TRUE@ echo "GIWS: Generation of exception class ..."; \
+@GIWS_TRUE@ $(GIWS_BIN) --generate-exception-class --output-dir $$GIWS_OUTPUTDIR
+
+macros:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been built"; \
+ else \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('macros/buildmacros.sce');quit;";\
+ fi)
+
+# Removes the macros
+clean-macros:
+# Removes macros (*.bin generated from .sci)
+ @for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ echo "rm -f $(builddir)/$$dir/$(MACROBINMASK)"; \
+ rm -f $(builddir)/$$dir/$(MACROBINMASK); \
+ done
+
+test:
+# More tests could be added here
+ @if test -z "$(USEANT)"; then USEANT=0; else USEANT=1; fi; \
+ if test -f build.xml -a $$USEANT -eq 1; then \
+ $(ANT) test; \
+ fi
+
+all-local: $(TARGETS_ALL)
+
+.sci.bin:
+ -@( if test ! -x $(top_builddir)/scilab-bin; then \
+ echo "Error : Cannot build $< : Scilab has not been build"; \
+ else \
+ echo "Creating $@"; \
+ $(top_builddir)/bin/scilab -ns -nwni -e "exec('$(abs_srcdir)/$<');save('$(abs_srcdir)/$@');exit;"; \
+ fi )
+
+install-html-local:
+
+install-data-local-local:
+# Mainly for javasci
+ @if test -d $(srcdir)/javadoc; then \
+ cp -R $(srcdir)/javadoc $(DESTDIR)/$(mydatadir)/; \
+ fi
+# If the user wants the help sources to be installed
+@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of XML sources of help files --------"; \
+@INSTALL_HELP_XML_TRUE@ for lang in $(ALL_LINGUAS); do \
+@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/$$lang; then \
+@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/$$lang && \
+@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/$$lang/$(DOCMASKXML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/$$lang/$(DOCMASKXML) ; do \
+@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/$$lang" ; \
+@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/$$lang ; \
+@INSTALL_HELP_XML_TRUE@ done ; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ done; \
+@INSTALL_HELP_XML_TRUE@ @echo "-------- Install of MathML sources --------"; \
+@INSTALL_HELP_XML_TRUE@ if test -d $(srcdir)/help/mml/; then \
+@INSTALL_HELP_XML_TRUE@ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/help/mml/ && \
+@INSTALL_HELP_XML_TRUE@ if ls -lLd $(srcdir)/help/mml/$(DOCMASKMML) >/dev/null 2>&1; then \
+@INSTALL_HELP_XML_TRUE@ for file in $(srcdir)/help/mml/$(DOCMASKMML) ; do \
+@INSTALL_HELP_XML_TRUE@ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/help/mml" ; \
+@INSTALL_HELP_XML_TRUE@ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/help/mml ; \
+@INSTALL_HELP_XML_TRUE@ done ; \
+@INSTALL_HELP_XML_TRUE@ fi; \
+@INSTALL_HELP_XML_TRUE@ fi
+install-data-local:
+# Install the tests
+ @echo "-------- Install tests (if any) --------"; \
+ for dir in $(TESTS_DIR) $(TESTS_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgmacrosdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgmacrosdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the help chapter
+ @echo "-------- Install the help chapter (if any) --------"; \
+ for lang in $(HELP_CHAPTERLANG); do \
+ HELPFILE=$(srcdir)/$(HELP_CHAPTERDIR)$$lang/$(HELP_CHAPTERFILE); \
+ if test -f $$HELPFILE; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(HELP_CHAPTERDIR)/$$lang/; \
+ echo $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ $(INSTALL_DATA) $$HELPFILE $(DESTDIR)$(pkgdocdir)/$$HELPFILE; \
+ fi; \
+ done
+# Install the demos & examples
+ @echo "-------- Install demos & examples (if any) --------"; \
+ for dir in $(DEMOS_DIR) $(DEMOS_DIREXT) $(EXAMPLES_DIR) $(EXAMPLES_DIREXT) ; do \
+ if test -d $(srcdir)/$$dir/; then \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
+ for file in `find $(srcdir)/$$dir | sed "s|^$(srcdir)/$$dir||" 2>/dev/null`; do \
+ if test -d "$(srcdir)/$$dir/$$file"; then \
+ echo $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir/$$file; \
+ $(mkinstalldirs) "$(DESTDIR)$(pkgdocdir)/$$dir/$$file"; \
+ else \
+ echo "$(INSTALL_DATA) $(srcdir)/$$dir/$$file $(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ $(INSTALL_DATA) "$(srcdir)/$$dir/$$file" "$(DESTDIR)$(pkgdocdir)/`dirname $$dir/$$file`" ; \
+ fi \
+ done; \
+ fi; \
+ done
+# Install the macros
+ @echo "-------- Install macros (if any) --------"; \
+ for dir in $(MACRODIRS) $(MACROSDIRSEXT) ; do \
+ $(mkinstalldirs) $(DESTDIR)$(pkgmacrosdir)/$$dir && \
+ if test -d $(srcdir)/$$dir/; then \
+ FILELIST="$(srcdir)/$$dir/$(MACROMASK) $(srcdir)/$$dir/$(MACROBINMASK) $(srcdir)/$$dir/$(MACROBUILDMASK) $(srcdir)/$$dir/names $(srcdir)/$$dir/lib";\
+ if test -n "$(MACROSSPECIALEXT)"; then \
+ specialExtDir=""; \
+ for specialExt in $(MACROSSPECIALEXT); do \
+ specialExtDir="$$specialExtDir $(srcdir)/$$dir/$$specialExt"; \
+ done; \
+ FILELIST="$$FILELIST $$specialExtDir"; \
+ fi; \
+ for file in `ls -1 $$FILELIST 2>/dev/null`; do \
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgmacrosdir)/$$dir" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgmacrosdir)/$$dir ; \
+ done; \
+ fi; \
+ done
+# Install java files (.jar)
+ @if ls -lLd $(srcdir)/$(JARDIR)$(JARMASK) >/dev/null 2>&1; then \
+ echo "-------- Install jar files --------"; \
+ $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$(JARDIR); \
+ for file in $(srcdir)/$(JARDIR)$(JARMASK); do\
+ echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$(JARDIR)" ; \
+ $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$(JARDIR) ; \
+ done ; \
+ fi
+
+########### CLEAN ###################
+# Clean help (generated automatically by Scilab)
+# It used to clean the macro (clean-macros) but this was causing
+# make clean && make to fail Scilab startup
+@NEED_JAVA_TRUE@clean-local: clean-java
+@NEED_JAVA_FALSE@clean-local:
+
+distclean-local:
+ rm -f $(builddir)/help/*/.last_successful_build_javaHelp $(builddir)/help/*/.list_*
+
+.PHONY: macros java swig giws
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/modules/modules_manager/etc/modules_manager.quit b/modules/modules_manager/etc/modules_manager.quit
new file mode 100755
index 000000000..c49a11501
--- /dev/null
+++ b/modules/modules_manager/etc/modules_manager.quit
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// =============================================================================
diff --git a/modules/modules_manager/etc/modules_manager.start b/modules/modules_manager/etc/modules_manager.start
new file mode 100755
index 000000000..27dd54a45
--- /dev/null
+++ b/modules/modules_manager/etc/modules_manager.start
@@ -0,0 +1,12 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010-2011 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Load functions libraries
+// =============================================================================
+ load("SCI/modules/modules_manager/macros/lib");
diff --git a/modules/modules_manager/help/en_US/addchapter.sce b/modules/modules_manager/help/en_US/addchapter.sce
new file mode 100755
index 000000000..2f80e7d72
--- /dev/null
+++ b/modules/modules_manager/help/en_US/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Modules manager",SCI+"/modules/modules_manager/help/en_US",%T);
+
diff --git a/modules/modules_manager/help/en_US/tbx_build_blocks.xml b/modules/modules_manager/help/en_US/tbx_build_blocks.xml
new file mode 100755
index 000000000..c68e6af87
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_blocks.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) - DIGITEO
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_blocks" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_blocks</refname>
+ <refpurpose>Compile blocks (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_blocks(toolbox_name, block_names [, macros_path])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_name</term>
+ <listitem>
+ <para>Toolbox short name ; that is, the prefix of the .start file of the toolbox (which shall be in the etc subdirectory).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>block_names</term>
+ <listitem>
+ <para>Block interface function list (in a string vector) ; all name should have a corresponding interface function macro (on the macros subdirectory).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>macros_path</term>
+ <listitem>
+ <para>Path to the blocks interface functions ; optional path which allow complex directory structure for interface functions.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_blocks("toolbox_example", ["EXAMPLE_BLOCK"])
+ ]]></programlisting>
+ <programlisting role="example"><![CDATA[
+// Advanced usage for macros located into macros/integer and macros/double
+tbx_build_blocks("toolbox_example", ["INT_FUNCTION"], "integer");
+tbx_build_blocks("toolbox_example", ["DOUBLE_FUNCTION"], "double");
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_cleaner.xml b/modules/modules_manager/help/en_US/tbx_build_cleaner.xml
new file mode 100755
index 000000000..8929c410f
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_cleaner.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) DIGITEO - 2009 - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_cleaner" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_cleaner</refname>
+ <refpurpose>Generate a cleaner.sce script (toolbox compilation
+ process)
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_loader(toolbox_name)
+ tbx_build_loader(toolbox_name, toolbox_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_name</term>
+ <listitem>
+ <para>Toolbox short name ; that is, the prefix of the .start file of
+ the toolbox (which shall be in the etc subdirectory).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>toolbox_path</term>
+ <listitem>
+ <para>Root directory of toolbox sources ; the script will be
+ generated here (default: current directory).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_cleaner("mytoolbox", get_absolute_file_path('builder.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_gateway.xml b/modules/modules_manager/help/en_US/tbx_build_gateway.xml
new file mode 100755
index 000000000..e4ff0d99c
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_gateway.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_gateway" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_gateway</refname>
+ <refpurpose>Build a gateway (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_gateway(libname, names, files, [gateway_path [, libs [, ldflags [, cflags [, fflags [, cc [, makename [, ismex]]]]]]]])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>libname</term>
+ <listitem>
+ <para>a character string, the generic name of the library without path and extension.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>names</term>
+ <listitem>
+ <para>2 column string matrix giving the table of pairs 'scilab-name', 'interface name'</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>files</term>
+ <listitem>
+ <para>string matrix giving objects files needed for shared library creation</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>gateway_path</term>
+ <listitem>
+ <para>Path to the sources of the gateway ; in a normal toolbox it should be the directory containing the builder_gateway_(lang).sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>libs</term>
+ <listitem>
+ <para>string matrix giving extra libraries needed for shared library creation</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>ldflags,cflags,fflags</term>
+ <listitem>
+ <para>character strings to provide options for the loader, the C compiler and the Fortran compiler.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>cc</term>
+ <listitem>
+ <para>character string. The name of or path to the compiler.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>makename</term>
+ <listitem>
+ <para>character string. The path of the Makefile file without extension.</para>
+ <para>This parameter is useless since Scilab 5.0. Default value to use: [].</para>
+ <para>A warning will be displayed in Scilab 5.3 if you use another value that the default.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>ismex</term>
+ <listitem>
+ <para>Internal variable to specify if we are working with mex or not.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_gateway('mytoolbox', ['c_sum','sci_csum';'c_sub','sci_csub'], ['sci_csum.c','sci_csub.c'], ..
+ get_absolute_file_path('builder_gateway_c.sce'), ..
+ ['../../src/c/libcsum']);
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="ilib_build">ilib_build</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_gateway_clean.xml b/modules/modules_manager/help/en_US/tbx_build_gateway_clean.xml
new file mode 100755
index 000000000..d947211e4
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_gateway_clean.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) DIGITEO - 2009 - Allan CORNET
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_gateway_clean" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_gateway_clean</refname>
+ <refpurpose>Generate a cleaner_gateway.sce script (toolbox compilation
+ process)
+ </refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_gateway_loader(langs)
+ tbx_build_gateway_loader(langs, gateway_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>langs</term>
+ <listitem>
+ <para>Languages of source files.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>gateway_path</term>
+ <listitem>
+ <para>Path to the sources of the gateway ; in a normal toolbox it
+ should be the directory containing the builder_gateway.sce script
+ (which should be the script calling this function). Default is
+ current directory.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_gateway_clean(['c', 'fortran'], get_absolute_file_path('builder_gateway.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_gateway_loader.xml b/modules/modules_manager/help/en_US/tbx_build_gateway_loader.xml
new file mode 100755
index 000000000..a1ce688b7
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_gateway_loader.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_gateway_loader" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_gateway_loader</refname>
+ <refpurpose>Generate a loader_gateway.sce script (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_gateway_loader(langs)
+ tbx_build_gateway_loader(langs, gateway_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>langs</term>
+ <listitem>
+ <para>Languages of source files.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>gateway_path</term>
+ <listitem>
+ <para>Path to the sources of the gateway ; in a normal toolbox it should be the directory containing the builder_gateway.sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_gateway_loader(['c', 'fortran'], get_absolute_file_path('builder_gateway.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_help.xml b/modules/modules_manager/help/en_US/tbx_build_help.xml
new file mode 100755
index 000000000..2d276949b
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_help.xml
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_help" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_help</refname>
+ <refpurpose>Generate help files (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_help(title)
+ tbx_build_help(title, help_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>title</term>
+ <listitem>
+ <para>Title of the chapter.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>help_path</term>
+ <listitem>
+ <para>Directory where the files will be generated ; in a normal toolbox it should be the directory containing the build_help.sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Remark:</title>
+ <para>
+ If you call <literal>tbx_build_help</literal> in scilab CLI (=NWNI) mode, help files will not be generated.
+ </para>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_help("Toolbox Example", get_absolute_file_path('build_help.sce'))
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tbx_builder_help_lang">tbx_builder_help_lang</link>
+ </member>
+ <member>
+ <link linkend="tbx_build_help_loader">tbx_build_help_loader</link>
+ </member>
+ <member>
+ <link linkend="tbx_builder_help">tbx_builder_help</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_help_loader.xml b/modules/modules_manager/help/en_US/tbx_build_help_loader.xml
new file mode 100755
index 000000000..42c8f8f1c
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_help_loader.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_help_loader" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_help_loader</refname>
+ <refpurpose>Generate an addchapter.sce script (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_help_loader(title)
+ tbx_build_help_loader(title, help_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>title</term>
+ <listitem>
+ <para>Title of the chapter.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>help_path</term>
+ <listitem>
+ <para>Directory where the script will be generated ; in a normal toolbox it should be the directory containing the build_help.sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_help_loader("Toolbox Example", get_absolute_file_path('build_help.sce'))
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tbx_builder_help_lang">tbx_builder_help_lang</link>
+ </member>
+ <member>
+ <link linkend="tbx_builder_help">tbx_builder_help</link>
+ </member>
+ <member>
+ <link linkend="tbx_build_help">tbx_build_help</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_loader.xml b/modules/modules_manager/help/en_US/tbx_build_loader.xml
new file mode 100755
index 000000000..19329d4ac
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_loader.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_loader" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_loader</refname>
+ <refpurpose>Generate loader.sce and unloader scripts (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_loader(toolbox_name)
+ tbx_build_loader(toolbox_name, toolbox_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_name</term>
+ <listitem>
+ <para>Toolbox short name ; that is, the prefix of the .start file of the toolbox (which shall be in the etc subdirectory).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>toolbox_path</term>
+ <listitem>
+ <para>Root directory of toolbox sources ; the script will be generated here (default: current directory).</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_loader("mytoolbox", get_absolute_file_path('builder.sce'))
+ ]]></programlisting>
+ </refsection>
+ <refsection>
+ <title>History</title>
+ <revhistory>
+ <revision>
+ <revnumber>5.4.0</revnumber>
+ <revremark>This function generates also an unloader.sce script</revremark>
+ </revision>
+ </revhistory>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_localization.xml b/modules/modules_manager/help/en_US/tbx_build_localization.xml
new file mode 100755
index 000000000..83adecc9d
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_localization.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_localization" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_localization</refname>
+ <refpurpose>Build localization "mo" file from "po" files (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_localization(tbx_name, tbx_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>tbx_name</term>
+ <listitem>
+ <para>name of the toolbox, use to name localization files and domain.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>tbx_path</term>
+ <listitem>
+ <para>path of the toolbox, use to locate files to compile.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+ tbx_build_localization("toolbox_skeleton", "SCI/contrib/toolbox_skeleton")
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tbx_generate_pofile">tbx_generate_pofile</link>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>History</title>
+ <revhistory>
+ <revision>
+ <revnumber>5.5.0</revnumber>
+ <revdescription>Function tbx_build_localization added.</revdescription>
+ </revision>
+ </revhistory>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_macros.xml b/modules/modules_manager/help/en_US/tbx_build_macros.xml
new file mode 100755
index 000000000..55689931d
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_macros.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_macros" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_macros</refname>
+ <refpurpose>Compile macros (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_macros(toolbox_name)
+ tbx_build_macros(toolbox_name, macros_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_name</term>
+ <listitem>
+ <para>Toolbox short name ; that is, the prefix of the .start file of the toolbox (which shall be in the etc subdirectory).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>macros_path</term>
+ <listitem>
+ <para>Directory where the macros files can be found and where the compiled macros will be placed into ; in a normal toolbox it should be the directory containing the buildmacros.sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_macros("toolbox_example", get_absolute_file_path('buildmacros.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_pal_loader.xml b/modules/modules_manager/help/en_US/tbx_build_pal_loader.xml
new file mode 100755
index 000000000..07564e3ea
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_pal_loader.xml
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) - DIGITEO
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_pal_loader" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_pal_loader</refname>
+ <refpurpose>Generate a loader_pal.sce script for loading Xcos palette module(toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_pal_loader(palette_name, block_names , module_path [, script_path])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>palette_name</term>
+ <listitem>
+ <para>a character string, the name of the palette.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>block_names</term>
+ <listitem>
+ <para>Block interface function list (in a string vector) ; all name should have a corresponding interface function macro (on the macros subdirectory).</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>module_path</term>
+ <listitem>
+ <para>a character string, the path of the directory containing the module.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>script_path</term>
+ <listitem>
+ <para>an optional character string that can be used
+ to specify the location of the created
+ loader_pal.sce script file. If not given the script
+ file will be created in the module_path+"/macros"
+ directory.
+ </para>
+ <para>Generaly the loader_pal.sce script file is
+ created in the directory which contains the block
+ interface functions files. The script_path argument
+ can be used to handle modules that define several
+ palettes.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+//The recommended buildmacros.sce file
+function buildMacrosAndBlocks()
+ script_path = get_absolute_file_path("buildmacros.sce");
+ module_path = part(script_path,1:length(script_path)-length("macros"))
+
+ tbx_build_macros(NAME, script_path);
+ interface_functions = //to be defined
+
+ tbx_build_blocks(module_path, interface_functions);
+ tbx_build_pal_loader(TITLE,interface_functions,module_path,script_path)
+endfunction
+buildMacrosAndBlocks()
+clear buildMacrosAndBlocks;
+ ]]></programlisting>
+
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_build_src.xml b/modules/modules_manager/help/en_US/tbx_build_src.xml
new file mode 100755
index 000000000..edaeb03a9
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_build_src.xml
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_build_src" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_build_src</refname>
+ <refpurpose>Build sources (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_build_src(names, files, flag, [src_path [, libs [, ldflags [, cflags [, fflags [, cc [, libname [, loadername [, makename]]]]]]]]])
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>names</term>
+ <listitem>
+ <para>a string matrix giving the entry names which are to be linked.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>files</term>
+ <listitem>
+ <para>string matrix giving objects files needed for shared library creation</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>flag</term>
+ <listitem>
+ <para>a string flag ("c" or "f") for C or Fortran entry points.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>src_path</term>
+ <listitem>
+ <para>Path to the source files ; in a normal toolbox it should be the directory containing the builder_src_(lang).sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>libs</term>
+ <listitem>
+ <para>string matrix giving extra libraries needed for shared library creation</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>ldflags</term>
+ <listitem>
+ <para>optional character string. It can be used to add specific linker options in the
+ generated Makefile. Default value is ''
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>cflags</term>
+ <listitem>
+ <para>optional character string. It can be used to add specific C compiler options in the
+ generated Makefile. Default value is ''
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>fflags</term>
+ <listitem>
+ <para>optional character string. It can be used to add specific Fortran compiler options in the
+ generated Makefile. Default value is ''
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>cc</term>
+ <listitem>
+ <para>optional character string. It can be used to specify a C compiler. Default value is ''</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>libname</term>
+ <listitem>
+ <para>optional character string. The name of the generated shared
+ library (default value is '', and in this case the name is derived
+ from <literal>names(1)</literal>).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>loadername</term>
+ <listitem>
+ <para>character string. The pathname of the loader file (default
+ value is <literal>loader.sce</literal>).
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>makename</term>
+ <listitem>
+ <para>character string. The pathname of the Makefile file without extension.</para>
+ <para>This parameter is useless since Scilab 5.0. Default value to use: [].</para>
+ <para>A warning will be displayed in Scilab 5.3 if you use another value that the default.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_build_src(['csum','csub'], ['csum.c','csub.c'], 'c', ..
+ get_absolute_file_path('builder_c.sce'));
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="ilib_for_link">ilib_for_link</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_builder_gateway.xml b/modules/modules_manager/help/en_US/tbx_builder_gateway.xml
new file mode 100755
index 000000000..e31f8378a
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_builder_gateway.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_builder_gateway" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_builder_gateway</refname>
+ <refpurpose>Run builder_gateway.sce script if it exists (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_builder_gateway(toolbox_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_path</term>
+ <listitem>
+ <para>Root directory of toolbox sources ; builder_gateway.sce script will be searched in the sci_gateway subdirectory of this directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_builder_gateway(get_absolute_file_path('builder.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_builder_gateway_lang.xml b/modules/modules_manager/help/en_US/tbx_builder_gateway_lang.xml
new file mode 100755
index 000000000..b32e80823
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_builder_gateway_lang.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_builder_gateway_lang" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_builder_gateway_lang</refname>
+ <refpurpose>Run builder_gateway_(language).sce script if it exists (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_builder_gateway_lang(lang)
+ tbx_builder_gateway_lang(lang, gw_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>lang</term>
+ <listitem>
+ <para>Language of sources files ; the builder_gateway_(lang).sce script will be searched in the subdirectory lang (e.g. fortran) of the gw_path directory.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>gw_path</term>
+ <listitem>
+ <para>Path to the sources of the gateway ; in a normal toolbox it should be the directory containing the builder_gateway.sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_builder_gateway_lang("fortran", get_absolute_file_path('builder_gateway.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_builder_help.xml b/modules/modules_manager/help/en_US/tbx_builder_help.xml
new file mode 100755
index 000000000..79d1732b5
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_builder_help.xml
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_builder_help" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_builder_help</refname>
+ <refpurpose>Run builder_help.sce script if it exists (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_builder_help(toolbox_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_path</term>
+ <listitem>
+ <para>Root directory of toolbox sources ; builder_help.sce script will be searched in the help subdirectory of this directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_builder_help(get_absolute_file_path('builder.sce'))
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tbx_builder_help_lang">tbx_builder_help_lang</link>
+ </member>
+ <member>
+ <link linkend="tbx_build_help_loader">tbx_build_help_loader</link>
+ </member>
+ <member>
+ <link linkend="tbx_build_help">tbx_build_help</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_builder_help_lang.xml b/modules/modules_manager/help/en_US/tbx_builder_help_lang.xml
new file mode 100755
index 000000000..54dbde077
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_builder_help_lang.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_builder_help_lang" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_builder_help_lang</refname>
+ <refpurpose>Run build_help.sce script if it exists (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_builder_help_lang(lang)
+ tbx_builder_help_lang(lang, help_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>lang</term>
+ <listitem>
+ <para>Language of help files to use ; the build_help.sce script will be searched in the subdirectory lang (e.g. en_US) of the help_path directory</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>help_path</term>
+ <listitem>
+ <para>Path to help directory ; in a normal toolbox it should be the directory containing the builder_help.sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_builder_help_lang("en_US", get_absolute_file_path('builder_help.sce'))
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tbx_builder_help">tbx_builder_help</link>
+ </member>
+ <member>
+ <link linkend="tbx_build_help_loader">tbx_build_help_loader</link>
+ </member>
+ <member>
+ <link linkend="tbx_build_help">tbx_build_help</link>
+ </member>
+ </simplelist>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_builder_macros.xml b/modules/modules_manager/help/en_US/tbx_builder_macros.xml
new file mode 100755
index 000000000..4d8eeda5f
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_builder_macros.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_builder_macros" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_builder_macros</refname>
+ <refpurpose>Run buildmacros.sce script if it exists (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_builder_macros(toolbox_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_path</term>
+ <listitem>
+ <para>Root directory of toolbox sources ; buildmacros.sce script will be searched in the macros subdirectory of this directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_builder_macros(get_absolute_file_path('builder.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_builder_src.xml b/modules/modules_manager/help/en_US/tbx_builder_src.xml
new file mode 100755
index 000000000..38b288f96
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_builder_src.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_builder_src" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_builder_src</refname>
+ <refpurpose>Run builder_src.sce script if it exists (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_builder_src(toolbox_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>toolbox_path</term>
+ <listitem>
+ <para>Root directory of toolbox sources ; builder_src.sce script will be searched in the src subdirectory of this directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_builder_src(get_absolute_file_path('builder.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_builder_src_lang.xml b/modules/modules_manager/help/en_US/tbx_builder_src_lang.xml
new file mode 100755
index 000000000..d6c989744
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_builder_src_lang.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_builder_src_lang" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_builder_src_lang</refname>
+ <refpurpose>Run builder_(language).sce script if it exists (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ tbx_builder_src_lang(lang)
+ tbx_builder_src_lang(lang, src_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>lang</term>
+ <listitem>
+ <para>Language of sources files ; the builder_(lang).sce script will be searched in the subdirectory lang (e.g. fortran) of the src_path directory.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>src_path</term>
+ <listitem>
+ <para>Path to the sources ; in a normal toolbox it should be the directory containing the builder_src.sce script (which should be the script calling this function). Default is current directory.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+// Recommended usage
+tbx_builder_src_lang("fortran", get_absolute_file_path('builder_src.sce'))
+ ]]></programlisting>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/en_US/tbx_generate_pofile.xml b/modules/modules_manager/help/en_US/tbx_generate_pofile.xml
new file mode 100755
index 000000000..53074c7fc
--- /dev/null
+++ b/modules/modules_manager/help/en_US/tbx_generate_pofile.xml
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) INRIA
+ *
+ * This file must be used under the terms of the CeCILL.
+ * This source file is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at
+ * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+ *
+ -->
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" xml:id="tbx_generate_pofile" xml:lang="en">
+ <refnamediv>
+ <refname>tbx_generate_pofile</refname>
+ <refpurpose>Extract localized strings from toolbox sources (toolbox compilation process)</refpurpose>
+ </refnamediv>
+ <refsynopsisdiv>
+ <title>Calling Sequence</title>
+ <synopsis>
+ pofile = tbx_generate_pofile(tbx_name, tbx_path)
+ </synopsis>
+ </refsynopsisdiv>
+ <refsection>
+ <title>Arguments</title>
+ <variablelist>
+ <varlistentry>
+ <term>tbx_name</term>
+ <listitem>
+ <para>name of the toolbox, use to name localization files and domain.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>tbx_path</term>
+ <listitem>
+ <para>path of the toolbox, use to locate files to compile.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>pofile</term>
+ <listitem>
+ <para>return the generated po file path.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsection>
+ <refsection>
+ <title>Examples</title>
+ <programlisting role="example"><![CDATA[
+ tbx_generate_pofile("toolbox_skeleton", "SCI/contrib/toolbox_skeleton")
+ ]]></programlisting>
+ </refsection>
+ <refsection role="see also">
+ <title>See Also</title>
+ <simplelist type="inline">
+ <member>
+ <link linkend="tbx_build_localization">tbx_build_localization</link>
+ </member>
+ </simplelist>
+ </refsection>
+ <refsection>
+ <title>History</title>
+ <revhistory>
+ <revision>
+ <revnumber>5.5.0</revnumber>
+ <revdescription>Function tbx_generate_pofile added.</revdescription>
+ </revision>
+ </revhistory>
+ </refsection>
+</refentry>
diff --git a/modules/modules_manager/help/fr_FR/addchapter.sce b/modules/modules_manager/help/fr_FR/addchapter.sce
new file mode 100755
index 000000000..e4494c3f2
--- /dev/null
+++ b/modules/modules_manager/help/fr_FR/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Gestionnaire de modules externe", SCI+"/modules/modules_manager/help/fr_FR",%T);
+
diff --git a/modules/modules_manager/help/ja_JP/addchapter.sce b/modules/modules_manager/help/ja_JP/addchapter.sce
new file mode 100755
index 000000000..f00c2d2d8
--- /dev/null
+++ b/modules/modules_manager/help/ja_JP/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Modules manager", SCI+"/modules/modules_manager/help/ja_JP", %T);
+
diff --git a/modules/modules_manager/help/pt_BR/addchapter.sce b/modules/modules_manager/help/pt_BR/addchapter.sce
new file mode 100755
index 000000000..b1c5cbfb0
--- /dev/null
+++ b/modules/modules_manager/help/pt_BR/addchapter.sce
@@ -0,0 +1,10 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Modules manager", SCI+"/modules/modules_manager/help/pt_BR", %T);
diff --git a/modules/modules_manager/help/ru_RU/addchapter.sce b/modules/modules_manager/help/ru_RU/addchapter.sce
new file mode 100755
index 000000000..79b828896
--- /dev/null
+++ b/modules/modules_manager/help/ru_RU/addchapter.sce
@@ -0,0 +1,11 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+add_help_chapter("Modules manager",SCI+"/modules/modules_manager/help/ru_RU",%T);
+
diff --git a/modules/modules_manager/license.txt b/modules/modules_manager/license.txt
new file mode 100755
index 000000000..fa58f6c3e
--- /dev/null
+++ b/modules/modules_manager/license.txt
@@ -0,0 +1,10 @@
+Copyright:
+Copyright (c) 2010 - DIGITEO
+
+
+License:
+This module must be used under the terms of the CeCILL.
+This module file is licensed as described in the file COPYING, which
+you should have received as part of this distribution. The terms
+are also available at
+http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
diff --git a/modules/modules_manager/locales/cs_CZ.po b/modules/modules_manager/locales/cs_CZ.po
new file mode 100755
index 000000000..435076939
--- /dev/null
+++ b/modules/modules_manager/locales/cs_CZ.po
@@ -0,0 +1,154 @@
+# Czech translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-01-09 21:16+0000\n"
+"Last-Translator: Zbyněk Schwarz <Unknown>\n"
+"Language-Team: Czech <cs@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr "%s: Å patný poÄet vstupních argumentů: OÄekávány alespoň %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr "%s: Å patný poÄet vstupních argumentů: OÄekáváno nejvíce %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr "%s: Å patný typ vstupního argumentu #%d: OÄekáván Å™etÄ›zec.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr "%s: Å patná velikost vstupního argumentu #%d: OÄekáván Å™etÄ›zec.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: Adresář '%s' neexistuje, nebo není přístupný pro Ätení.\n"
+
+msgid "Building blocks...\n"
+msgstr "Sestavuji bloky...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: Nelze exportovat %s do %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr "%s: Nelze exportovat %s do %s.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr "%s: Å patný poÄet vstupních argumentů: oÄekáváno %d až %d.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Vytvářím cleaner.ace...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+"%s: Soubor %s nelze vytvořit, zkontrolujte, prosím, zda máte přístup pro "
+"zápis do tohoto souboru.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr "%s: Å patný typ vstupního argumentu #%d: OÄekávána matice Å™etÄ›zců.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+"%s: Å patná velikost vstupního argumentu #%d: OÄekáváno nejvíce %d Å™ad.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+"%s: Špatná hodnota vstupního argumentu #%d: Adresář '%s' neexistuje, nebo "
+"není přístupný pro Ätení.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr "%s: Špatná hodnota vstupního argumentu #%d: Nelze přejít na '%s'.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s: Å patný typ vstupního argumentu #%d: OÄekáván boolean.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr "%s: Å patná velikost vstupního argumentu #%d: Byl oÄekáván boolean.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s: Nelze přejít do adresáře '%s'.\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Vytvářím cleaner_gateway.sce...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Vytvářím loader_gateway.sce...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr "%s: dokumentace nemůže být sestavena ve scilab režimu: %s.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "Vytvářím loader.sce...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr "Vytváření unloader.sce...\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr "%s: Å patný typ vstupního argumentu #%d: OÄekáváno pole Å™etÄ›zců.\n"
+
+msgid "Generating localization\n"
+msgstr ""
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: Soubor '%s' neexistuje, nebo není přístupný pro Ätení.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr "%s: Å patný poÄet vstupních argumentů: oÄekáváno %d.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr "%s: Tento modul vyžaduje kompilátor C a ten nebyl nalezen.\n"
+
+msgid "Building gateway...\n"
+msgstr "Sestavuji bránu...\n"
+
+msgid "Building help...\n"
+msgstr "Sestavuji nápovědu...\n"
+
+msgid "Building macros...\n"
+msgstr "Sestavuji makra...\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+"%s: Tento modul vyžaduje kompilátor C nebo Fortran a ty nebyly nalezeny.\n"
+
+msgid "Building sources...\n"
+msgstr "Sestavuji zdroje...\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
diff --git a/modules/modules_manager/locales/es_ES.po b/modules/modules_manager/locales/es_ES.po
new file mode 100755
index 000000000..338ecb094
--- /dev/null
+++ b/modules/modules_manager/locales/es_ES.po
@@ -0,0 +1,171 @@
+# Spanish translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2011-10-22 15:29+0000\n"
+"Last-Translator: Fido <Unknown>\n"
+"Language-Team: Spanish <es@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: es\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un string.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Tamaño incorrecto del argumento de entrada #%d: Se esperaba un string.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: El directorio '%s' no existe o no se tiene acceso de lectura.\n"
+
+msgid "Building blocks...\n"
+msgstr "Construyendo bloques...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: Imposible exportar %s a %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr ""
+"%s: Número incorrecto de argumentos de entrada: Se esperaban de %d a %d.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Generando cleaner.sce...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+"%s: El archivo %s no puede ser creado, por favor revise si tiene permisos de "
+"escritura.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba una matriz de "
+"strings.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+"%s: Tamaño incorrecto para el argumento de entrada #%d: Se esperaban a lo "
+"sumo %d filas.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+"%s: Valor incorrecto para el argumento de entrada #%d: El directorio '%s' no "
+"existe o no se tienen privilegios de lectura.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+"%s: Valor incorrecto para el argumento de entrada #%d: No se puede ir a "
+"'%s'.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un booleano.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Tamaño incorrecto del argumento de entrada #%d: Se esperaba un "
+"booleano.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s: No se puede ir al directorio '%s'.\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Generando cleaner_gateway.sce...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Generando loader_gateway.sce...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr ""
+"%s: No puede construir la documentación en este modo de scilab: %s.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "Generando loader.sce...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr ""
+"%s: Tipo incorrecto del argumento de entrada #%d: Se esperaba un arreglo de "
+"strings.\n"
+
+msgid "Generating localization\n"
+msgstr ""
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: El archivo '%s' no existe o no puede ser leído.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr "%s Número incorrecto de argumentos de entrada: Se esperaban %d\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr ""
+"%s: Este módulo requiere de un compilador de C, pero no fue encontrado.\n"
+
+msgid "Building gateway...\n"
+msgstr ""
+
+msgid "Building help...\n"
+msgstr "Construyendo ayuda...\n"
+
+msgid "Building macros...\n"
+msgstr "Construyendo macros...\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+"%s: Este módulo requiere de un compilador de C o Fortran, pero no fue "
+"encontrado.\n"
+
+msgid "Building sources...\n"
+msgstr "Construyendo fuentes...\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
diff --git a/modules/modules_manager/locales/fr_FR.po b/modules/modules_manager/locales/fr_FR.po
new file mode 100755
index 000000000..f710ef637
--- /dev/null
+++ b/modules/modules_manager/locales/fr_FR.po
@@ -0,0 +1,173 @@
+# French translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-09-27 09:43+0000\n"
+"Last-Translator: Julie PAUL <Unknown>\n"
+"Language-Team: French <fr@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: fr\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr "%s : Nombre erroné d'arguments d'entrée : %d au moins attendus.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr "%s : Nombre erroné d'arguments d'entrée : Au plus %d attendus.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Une chaîne de caractères "
+"attendue.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s : Dimension erronée de l'argument d'entrée n°%d : Une chaîne de "
+"caractères attendue.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr ""
+"%s : Le répertoire '%s' n'existe pas ou n'est pas accessible en lecture.\n"
+
+msgid "Building blocks...\n"
+msgstr "Création des blocs...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s : Impossible d'exporter %s vers %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr "%s : Impossible d'exporter %s en %s.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr "%s : Nombre erroné d'arguments d'entrée : %d à %d attendus.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Génération de cleaner.sce...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+"%s : Le fichier %s n'a pu être créé, veuillez vérifier vos droits en "
+"écriture sur celui-ci.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Une matrice de chaînes de "
+"caractères attendue.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+"%s : Dimension erronée de l'argument d'entrée n°%d : Au plus %d lignes "
+"attendues.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+"%s: Valeur erronée de l'argument d'entrée n°%d : Le répertoire '%s' "
+"n'existe pas ou n'est pas accessible en lecture.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+"%s : Valeur erronée de l'argument d'entrée n°%d : Impossible d'aller à "
+"'%s'.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s : Type erroné de l'argument d'entrée n°%d : Un booléen attendu.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s : Dimension erronée de l'argument d'entrée n°%d : Un booléen attendu.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s : Répertoire '%s' non trouvé.\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Génération de cleaner_gateway.sce...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Génération de loader_gateway.sce...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr ""
+"%s : La documentation ne peut pas être créée dans ce mode de Scilab : %s.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "Génération de loader.sce...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr "unloader.sce en cours de génération...\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr ""
+"%s : Type erroné de l'argument d'entrée n°%d : Un tableau de chaîne de "
+"caractères attendu.\n"
+
+msgid "Generating localization\n"
+msgstr "Génération de la localisation\n"
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr ""
+"%s : Le fichier '%s' n'existe pas ou n'est pas accessible en lecture.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr "%s : Nombre erroné d'arguments d'entrée : %d attendus.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr ""
+"%s : Ce module requiert un compilateur C mais celui-ci n'a pas pu être "
+"trouvé.\n"
+
+msgid "Building gateway...\n"
+msgstr "Création de la passerelle...\n"
+
+msgid "Building help...\n"
+msgstr "Création des fichiers d'aide...\n"
+
+msgid "Building macros...\n"
+msgstr "Création des macros...\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+"%s : Ce module requiert un compilateur C ou Fortran mais celui-ci n'a pas pu "
+"être trouvé.\n"
+
+msgid "Building sources...\n"
+msgstr "Création des sources...\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s : Nombre erroné d'arguments d'entrée : %d ou %d attendus.\n"
diff --git a/modules/modules_manager/locales/it_IT.po b/modules/modules_manager/locales/it_IT.po
new file mode 100755
index 000000000..cdfd244ce
--- /dev/null
+++ b/modules/modules_manager/locales/it_IT.po
@@ -0,0 +1,181 @@
+# Italian translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2015-02-14 21:42+0000\n"
+"Last-Translator: Carml <mighty.carml@gmail.com>\n"
+"Language-Team: Italian <it@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: it\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr ""
+"%s: Il numero degli argomenti in ingresso è sbagliato: ne erano attesi "
+"almeno %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr ""
+"%s: Il numero degli argomenti in ingresso è sbagliato: ne erano attesi al "
+"più %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una "
+"stringa.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era attesa una "
+"stringa.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: La directory %s non esiste o non è accessibile in lettura.\n"
+
+msgid "Building blocks...\n"
+msgstr "Creazione in corso dei blocchi...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: È impossibile esportare %s a %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr "%s: Impossibile esportare %s a %s.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr ""
+"%s: Il numero degli argomenti in ingresso è sbagliato: era atteso da %d a "
+"%d.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Creazione di cleaner.sce ...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+"%s: Il file %s non può essere creato,controllare i diritti di accesso in "
+"scrittura a questo file.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era attesa una matrice "
+"di stringhe.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: erano attese "
+"almeno %d righe.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha un valore sbagliato: la directory %s non "
+"esiste o non è accessibile in lettura.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: impossibile aprire "
+"'%s'.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un valore "
+"booleano.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d ha una dimensione sbagliata: era atteso un "
+"valore booleano.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s: Impossibile aprire la directory %s.\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Creazione di cleaner_gateway.sce ...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Creazione di loader_gateway.sce ...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr ""
+"%s: la documentazione non può essere creata in questo modulo di Scilab: %s.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "Creazione di loader.sce ...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr "Generazione di unloader.sce...\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr ""
+"%s: L'argomento in ingresso #%d è di tipo sbagliato: era atteso un array di "
+"stringhe.\n"
+
+msgid "Generating localization\n"
+msgstr ""
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: Il file '%s' non esiste o non è accessibile in lettura.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr ""
+"%s: Il numero degli argomenti in ingresso è sbagliato: ne erano attesi %d.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr "%s: Questo modulo richiede un compilatore C e non è stato trovato.\n"
+
+msgid "Building gateway...\n"
+msgstr "Creazione del gateway...\n"
+
+msgid "Building help...\n"
+msgstr "Creazione del file di aiuto...\n"
+
+msgid "Building macros...\n"
+msgstr "Creazione delle macro...\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+"%s: Questo modulo richiede un compilatore C o Fortran e non è stato "
+"trovato.\n"
+
+msgid "Building sources...\n"
+msgstr "Creazione dei sorgenti...\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: Il numero degli argomenti in ingresso è sbagliato: ne erano attesi %d o "
+"%d.\n"
diff --git a/modules/modules_manager/locales/ja_JP.po b/modules/modules_manager/locales/ja_JP.po
new file mode 100755
index 000000000..d6593ebcb
--- /dev/null
+++ b/modules/modules_manager/locales/ja_JP.po
@@ -0,0 +1,149 @@
+# Japanese translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-10-02 14:14+0000\n"
+"Last-Translator: Rui Hirokawa <Unknown>\n"
+"Language-Team: Japanese <ja@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ja\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr "%s: 入力引数ã®æ•°ãŒæ­£ã—ãã‚ã‚Šã¾ã›ã‚“: %d 個以上ã®å¼•æ•°ã‚’指定ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr "%s: 入力引数ã®æ•°ãŒé–“é•ã£ã¦ã„ã¾ã™: 最大ã§ã‚‚ %d 個ã¨ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: 文字列を指定ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr "%s: 入力引数 #%d ã®å¤§ãã•ãŒé–“é•ã£ã¦ã„ã¾ã™: 文字列を指定ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: ディレクトリ '%s' ã¯å­˜åœ¨ã—ãªã„ã‹ã€èª­è¾¼ã¿ãŒè¨±å¯ã•ã‚Œã¦ã„ã¾ã›ã‚“.\n"
+
+msgid "Building blocks...\n"
+msgstr "ブロックを構築中...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: %s ã‚’ %s ã«ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã§ãã¾ã›ã‚“.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr "%s: %s 㯠%s ã«ã‚¨ã‚¯ã‚¹ãƒãƒ¼ãƒˆã§ãã¾ã›ã‚“.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr "%s: 入力引数ã®æ•°ãŒé–“é•ã£ã¦ã„ã¾ã™: %d ã‹ã‚‰ %d 個ã®å¼•æ•°ã‚’指定ã—ã¦ãã ã•ã„.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "cleaner.sceを生æˆä¸­...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr "%s: ファイル %s を作æˆã§ãã¾ã›ã‚“ã§ã—ãŸ,ã“ã®ãƒ•ã‚¡ã‚¤ãƒ«ã«æ›¸è¾¼ã¿ã‚¢ã‚¯ã‚»ã‚¹è¨±å¯ã‚’有ã™ã‚‹ã‹ã©ã†ã‹ç¢ºèªã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: 文字列ã®è¡Œåˆ—を指定ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr "%s: 入力引数 #%d ã®å¤§ãã•ãŒé–“é•ã£ã¦ã„ã¾ã™: %d 行以下ã§æŒ‡å®šã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr "%s: 入力引数#%d ã®å€¤ãŒé–“é•ã£ã¦ã„ã¾ã™: ディレクトリ '%s' ãŒå­˜åœ¨ã—ãªã„ã‹, 読込権é™ãŒã‚ã‚Šã¾ã›ã‚“.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr "%s: 入力引数#%d ã®å€¤ãŒé–“é•ã£ã¦ã„ã¾ã™: '%s' ã«ç§»å‹•ã§ãã¾ã›ã‚“.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr "%s: 入力引数 #%d ã®åž‹ãŒé–“é•ã£ã¦ã„ã¾ã™: è«–ç†å€¤ã‚’指定ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr "%s: 入力引数 #%d ã®å¤§ãã•ãŒé–“é•ã£ã¦ã„ã¾ã™: è«–ç†å€¤ã‚’指定ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s: ディレクトリ'%s'ã«ç§»å‹•ã§ãã¾ã›ã‚“.\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "cleaner_gateway.sceを生æˆä¸­...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "loader_gateway.sceを生æˆä¸­...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr "%s: 文書ã¯Scilabモード: %s ã§æ§‹ç¯‰ã§ãã¾ã›ã‚“.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "loader.sceを生æˆä¸­...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr "unloader.sce を生æˆä¸­ ...\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr "%s: 入力引数 #%d ã®åž‹ãŒæ­£ã—ãã‚ã‚Šã¾ã›ã‚“: 文字列ã®é…列を指定ã—ã¦ãã ã•ã„.\n"
+
+msgid "Generating localization\n"
+msgstr "ローカル化を生æˆä¸­\n"
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: ファイル '%s' ãŒå­˜åœ¨ã—ãªã„ã‹, 読込ã¿ã‚¢ã‚¯ã‚»ã‚¹è¨±å¯ãŒã‚ã‚Šã¾ã›ã‚“.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr "%s: 入力引数ã®æ•°ãŒé–“é•ã£ã¦ã„ã¾ã™: %d 個ã®å¼•æ•°ã‚’指定ã—ã¦ãã ã•ã„.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr "%s: ã“ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã¯Cコンパイラを必è¦ã¨ã—ã¾ã™ãŒ,見ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸ.\n"
+
+msgid "Building gateway...\n"
+msgstr "ゲートウェイを構築中...\n"
+
+msgid "Building help...\n"
+msgstr "ヘルプを構築中...\n"
+
+msgid "Building macros...\n"
+msgstr "マクロを構築中...\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr "%s: ã“ã®ãƒ¢ã‚¸ãƒ¥ãƒ¼ãƒ«ã¯Cã¾ãŸã¯Fortranコンパイラを必è¦ã¨ã—ã¾ã™ãŒ,見ã¤ã‹ã‚Šã¾ã›ã‚“ã§ã—ãŸ.\n"
+
+msgid "Building sources...\n"
+msgstr "ソースを構築中...\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s: 入力引数ã®æ•°ãŒé–“é•ã£ã¦ã„ã¾ã™: %d ã¾ãŸã¯ %d 個ã®å¼•æ•°ã‚’指定ã—ã¦ãã ã•ã„.\n"
diff --git a/modules/modules_manager/locales/modules_manager.pot b/modules/modules_manager/locales/modules_manager.pot
new file mode 100755
index 000000000..df6302d8b
--- /dev/null
+++ b/modules/modules_manager/locales/modules_manager.pot
@@ -0,0 +1,321 @@
+# Localization of the module modules_manager-macros
+# Please see in SCI/tools/localization for localization management
+# Copyright (C) 2007-2008 - INRIA
+# Copyright (C) 2008-2011 - DIGITEO
+# Copyright (C) 2012-2014 - Scilab-Enterprises
+# This file is distributed under the same license as the Scilab package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"Last-Translator: Vincent COUVERT <vincent.couvert@scilab-enterprises.com>\n"
+"Language-Team: Scilab Localization <localization@lists.scilab.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Revision-Date: 2015-03-27 13:54+0100\n"
+
+# File: macros/tbx_build_blocks.sci, line: 21
+# File: macros/tbx_build_pal_loader.sci, line: 13
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_blocks.sci, line: 24
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_blocks.sci, line: 30
+# File: macros/tbx_build_blocks.sci, line: 41
+# File: macros/tbx_build_blocks.sci, line: 49
+# File: macros/tbx_build_cleaner.sci, line: 27
+# File: macros/tbx_build_cleaner.sci, line: 41
+# File: macros/tbx_build_gateway.sci, line: 38
+# File: macros/tbx_build_gateway.sci, line: 71
+# File: macros/tbx_build_gateway_clean.sci, line: 27
+# File: macros/tbx_build_gateway_clean.sci, line: 38
+# File: macros/tbx_build_gateway_loader.sci, line: 26
+# File: macros/tbx_build_gateway_loader.sci, line: 37
+# File: macros/tbx_build_help.sci, line: 28
+# File: macros/tbx_build_help.sci, line: 42
+# File: macros/tbx_build_help_loader.sci, line: 27
+# File: macros/tbx_build_help_loader.sci, line: 42
+# File: macros/tbx_build_loader.sci, line: 28
+# File: macros/tbx_build_loader.sci, line: 42
+# File: macros/tbx_build_localization.sci, line: 26
+# File: macros/tbx_build_macros.sci, line: 26
+# File: macros/tbx_build_macros.sci, line: 41
+# File: macros/tbx_build_pal_loader.sci, line: 17
+# File: macros/tbx_build_pal_loader.sci, line: 25
+# File: macros/tbx_build_pal_loader.sci, line: 42
+# File: macros/tbx_builder_gateway.sci, line: 26
+# File: macros/tbx_builder_gateway_lang.sci, line: 48
+# File: macros/tbx_builder_help.sci, line: 26
+# File: macros/tbx_builder_help_lang.sci, line: 38
+# File: macros/tbx_builder_macros.sci, line: 26
+# File: macros/tbx_builder_src.sci, line: 26
+# File: macros/tbx_builder_src_lang.sci, line: 38
+# File: macros/tbx_generate_pofile.sci, line: 23
+# File: macros/tbx_generate_pofile.sci, line: 27
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_blocks.sci, line: 33
+# File: macros/tbx_build_blocks.sci, line: 52
+# File: macros/tbx_build_cleaner.sci, line: 31
+# File: macros/tbx_build_cleaner.sci, line: 45
+# File: macros/tbx_build_gateway.sci, line: 42
+# File: macros/tbx_build_gateway.sci, line: 75
+# File: macros/tbx_build_gateway_clean.sci, line: 42
+# File: macros/tbx_build_gateway_loader.sci, line: 41
+# File: macros/tbx_build_help.sci, line: 32
+# File: macros/tbx_build_help.sci, line: 46
+# File: macros/tbx_build_help_loader.sci, line: 31
+# File: macros/tbx_build_help_loader.sci, line: 46
+# File: macros/tbx_build_loader.sci, line: 32
+# File: macros/tbx_build_loader.sci, line: 46
+# File: macros/tbx_build_localization.sci, line: 30
+# File: macros/tbx_build_macros.sci, line: 30
+# File: macros/tbx_build_macros.sci, line: 45
+# File: macros/tbx_build_pal_loader.sci, line: 20
+# File: macros/tbx_build_pal_loader.sci, line: 28
+# File: macros/tbx_build_pal_loader.sci, line: 45
+# File: macros/tbx_builder_gateway.sci, line: 30
+# File: macros/tbx_builder_gateway_lang.sci, line: 52
+# File: macros/tbx_builder_help.sci, line: 30
+# File: macros/tbx_builder_help_lang.sci, line: 42
+# File: macros/tbx_builder_macros.sci, line: 30
+# File: macros/tbx_builder_src.sci, line: 30
+# File: macros/tbx_builder_src_lang.sci, line: 42
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_blocks.sci, line: 36
+# File: macros/tbx_build_blocks.sci, line: 55
+# File: macros/tbx_build_cleaner.sci, line: 49
+# File: macros/tbx_build_gateway_clean.sci, line: 46
+# File: macros/tbx_build_gateway_loader.sci, line: 45
+# File: macros/tbx_build_help.sci, line: 50
+# File: macros/tbx_build_help_loader.sci, line: 50
+# File: macros/tbx_build_loader.sci, line: 50
+# File: macros/tbx_build_localization.sci, line: 34
+# File: macros/tbx_build_localization.sci, line: 42
+# File: macros/tbx_build_macros.sci, line: 49
+# File: macros/tbx_build_pal_loader.sci, line: 31
+# File: macros/tbx_build_pal_loader.sci, line: 51
+# File: macros/tbx_builder_gateway.sci, line: 34
+# File: macros/tbx_builder_gateway_lang.sci, line: 56
+# File: macros/tbx_builder_gateway_lang.sci, line: 66
+# File: macros/tbx_builder_help.sci, line: 34
+# File: macros/tbx_builder_help_lang.sci, line: 46
+# File: macros/tbx_builder_help_lang.sci, line: 56
+# File: macros/tbx_builder_macros.sci, line: 34
+# File: macros/tbx_builder_src.sci, line: 34
+# File: macros/tbx_builder_src_lang.sci, line: 46
+# File: macros/tbx_builder_src_lang.sci, line: 56
+# File: macros/tbx_generate_pofile.sci, line: 31
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_blocks.sci, line: 58
+msgid "Building blocks...\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_blocks.sci, line: 89
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_blocks.sci, line: 100
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_cleaner.sci, line: 20
+# File: macros/tbx_build_gateway.sci, line: 31
+# File: macros/tbx_build_gateway_clean.sci, line: 20
+# File: macros/tbx_build_gateway_loader.sci, line: 19
+# File: macros/tbx_build_help.sci, line: 21
+# File: macros/tbx_build_help_loader.sci, line: 20
+# File: macros/tbx_build_loader.sci, line: 21
+# File: macros/tbx_build_localization.sci, line: 15
+# File: macros/tbx_build_macros.sci, line: 19
+# File: macros/tbx_builder_gateway_lang.sci, line: 30
+# File: macros/tbx_builder_help_lang.sci, line: 20
+# File: macros/tbx_builder_src_lang.sci, line: 20
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_cleaner.sci, line: 55
+msgid "Generating cleaner.sce...\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_cleaner.sci, line: 101
+# File: macros/tbx_build_gateway_clean.sci, line: 81
+# File: macros/tbx_build_gateway_loader.sci, line: 89
+# File: macros/tbx_build_help_loader.sci, line: 66
+# File: macros/tbx_build_loader.sci, line: 73
+# File: macros/tbx_build_loader.sci, line: 97
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway.sci, line: 49
+# File: macros/tbx_build_gateway.sci, line: 60
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway.sci, line: 53
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway.sci, line: 79
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway.sci, line: 83
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway.sci, line: 137
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway.sci, line: 141
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway.sci, line: 157
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway_clean.sci, line: 52
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_gateway_loader.sci, line: 51
+msgid "Generating loader_gateway.sce...\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_help.sci, line: 58
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_loader.sci, line: 56
+msgid "Generating loader.sce...\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_loader.sci, line: 76
+msgid "Generating unloader.sce...\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_localization.sci, line: 19
+# File: macros/tbx_build_pal_loader.sci, line: 36
+# File: macros/tbx_builder.sci, line: 14
+# File: macros/tbx_builder_gateway_lang.sci, line: 37
+# File: macros/tbx_builder_help_lang.sci, line: 27
+# File: macros/tbx_builder_src_lang.sci, line: 27
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_build_localization.sci, line: 54
+msgid "Generating localization\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder.sci, line: 20
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder_gateway.sci, line: 19
+# File: macros/tbx_builder_help.sci, line: 19
+# File: macros/tbx_builder_macros.sci, line: 19
+# File: macros/tbx_builder_src.sci, line: 19
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder_gateway.sci, line: 40
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder_gateway.sci, line: 44
+msgid "Building gateway...\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder_help.sci, line: 38
+msgid "Building help...\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder_macros.sci, line: 37
+msgid "Building macros...\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder_src.sci, line: 40
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+
+#
+# File: macros/tbx_builder_src.sci, line: 44
+msgid "Building sources...\n"
+msgstr ""
+
+#
+# File: macros/tbx_generate_pofile.sci, line: 15
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
diff --git a/modules/modules_manager/locales/pl_PL.po b/modules/modules_manager/locales/pl_PL.po
new file mode 100755
index 000000000..aec0cd2ab
--- /dev/null
+++ b/modules/modules_manager/locales/pl_PL.po
@@ -0,0 +1,156 @@
+# Polish translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-03-09 22:53+0000\n"
+"Last-Translator: I.Rokach <Unknown>\n"
+"Language-Team: Polish <pl@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego #%d: Oczekiwana jest wartość "
+"typu string.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Nieprawidłowy rozmiar dla argumentu wejściowego nr %d: Oczekiwano ciągu "
+"znaków.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: Folder '%s' nie istnieje lub nie może zostać odczytany.\n"
+
+msgid "Building blocks...\n"
+msgstr "Budowanie bloków...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: Nie udało się eksportować %s do %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr ""
+"%s: Nieprawidłowa liczba argumentów wejściowych: oczekiwano od %d do %d.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Tworzenie cleaner.sce...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Nieprawidłowy typ argumentu wejściowego nr %d: oczekiwano typ boolean.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Nieprawidłowy rozmiar parametru wejściowego #%d: oczekiwano wartości "
+"logicznej.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr ""
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Tworzenie cleaner_gateway.sce...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Tworzenie loader_gateway.sce...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr ""
+
+msgid "Generating loader.sce...\n"
+msgstr "Tworzenie loader.sce...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr ""
+
+msgid "Generating localization\n"
+msgstr ""
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr "%s: Nieprawidłowa liczba argumentów wejściowych: oczekiwano %d.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr ""
+
+msgid "Building gateway...\n"
+msgstr ""
+
+msgid "Building help...\n"
+msgstr ""
+
+msgid "Building macros...\n"
+msgstr ""
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+
+msgid "Building sources...\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
diff --git a/modules/modules_manager/locales/pt_BR.po b/modules/modules_manager/locales/pt_BR.po
new file mode 100755
index 000000000..28637abde
--- /dev/null
+++ b/modules/modules_manager/locales/pt_BR.po
@@ -0,0 +1,175 @@
+# Brazilian Portuguese translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2012-01-06 15:48+0000\n"
+"Last-Translator: RodolfoRG <rodolforg@gmail.com>\n"
+"Language-Team: Brazilian Portuguese <pt_BR@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: pt_BR\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr ""
+"%s: Quantidade incorreta de argumentos de entrada: esperava-se pelo menos "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr ""
+"%s: Quantidade incorreta de argumentos de entrada: esperava-se no máximo "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um texto.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se um "
+"texto.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: O diretório %s não existe ou não está acessível para leitura.\n"
+
+msgid "Building blocks...\n"
+msgstr "Construindo blocos...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: Incapaz de exportar %s para %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr ""
+"%s: Quantidade incorreta de argumentos de entrada: esperava-se de %d a %d.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Gerando cleaner.sce...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+"%s: O arquivo %s não pode ser criado. Por favor, verifique se você tem "
+"permissão de escrita para este arquivo.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se uma matriz "
+"de textos.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se um máximo "
+"de %d linhas.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: o diretório %s não "
+"existe ou não está acessível para leitura.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+"%s: Valor incorreto para o argumento de entrada #%d: não pode ir para '%s'.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se um "
+"booleano.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Tamanho incorreto para o argumento de entrada #%d: esperava-se um "
+"booleano.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s: Não é possível entrar no diretório %s.\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Gerando cleaner_gateway.sce...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Gerando loader_gateway.sce...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr ""
+"%s: a documentação não pode ser construída neste modo do Scilab: %s.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "Gerando loader.sce...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr ""
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr ""
+"%s: Tipo incorreto para o argumento de entrada #%d: esperava-se uma matriz "
+"de textos.\n"
+
+msgid "Generating localization\n"
+msgstr ""
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: O arquivo %s não existe ou não está acessível para leitura.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr "%s: Quantidade incorreta de argumentos de entrada: esperava-se %d.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr "%s: Este módulo requer um compilador C e isso não foi encontrado.\n"
+
+msgid "Building gateway...\n"
+msgstr ""
+
+msgid "Building help...\n"
+msgstr "Construindo a ajuda...\n"
+
+msgid "Building macros...\n"
+msgstr "Construindo macros...\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+"%s: Este módulo requer um compilador C ou Fortran e isso não foi "
+"encontrado.\n"
+
+msgid "Building sources...\n"
+msgstr "Construindo os fontes...\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
diff --git a/modules/modules_manager/locales/ru_RU.po b/modules/modules_manager/locales/ru_RU.po
new file mode 100755
index 000000000..10dac273a
--- /dev/null
+++ b/modules/modules_manager/locales/ru_RU.po
@@ -0,0 +1,161 @@
+# Russian translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-10-02 14:42+0000\n"
+"Last-Translator: Stanislav V. Kroter <krotersv@gmail.com>\n"
+"Language-Team: Russian <ru@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ru\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr ""
+"%s: Ðеверное количеÑтво входных аргументов: ОжидалоÑÑŒ как минимум %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr ""
+"%s: Ðеверное количеÑтво входных аргументов: ожидалоÑÑŒ не больше %d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr "%s: Ðеверный тип входного параметра â„–%d: ожидалаÑÑŒ Ñтрока.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr "%s: Ðеверный размер входного параметра â„–%d: ожидалаÑÑŒ Ñтрока.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: Каталог «%s» не ÑущеÑтвует или недоÑтупен Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ.\n"
+
+msgid "Building blocks...\n"
+msgstr "Компоновка блоков...\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: Ðе удалоÑÑŒ ÑкÑпортировать %s в %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr "%s: Ðевозможно ÑкÑпортировать %s в %s .\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr "%s: Ðеверное количеÑтво входных параметров: ожидалоÑÑŒ от %d до %d.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Формирование cleaner.sce...\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr "%s: Ðе удалоÑÑŒ Ñоздать файл %s, так как он недоÑтупен Ð´Ð»Ñ Ð·Ð°Ð¿Ð¸Ñи.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr "%s: Ðеверный тип входного параметра â„–%d: ожидалаÑÑŒ матрица Ñтрок.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+"%s: Ðеверный размер входного параметра â„–%d: ожидалоÑÑŒ не более %d Ñтрок.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+"%s: Ðеверное значение входного параметра â„–%d: каталог «%s» не ÑущеÑтвует или "
+"недоÑтупен Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+"%s: Ðеверное значение входного параметра â„–%d: не удалоÑÑŒ перейти в каталог "
+"«%s».\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Ðеверный тип входного параметра â„–%d: ожидалоÑÑŒ логичеÑкое значение.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: Ðеверный размер входного параметра â„–%d: ожидалоÑÑŒ логичеÑкое значение.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s: Ðе удалоÑÑŒ перейти в каталог «%s».\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Формирование cleaner_gateway.sce...\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Формирование loader_gateway.sce...\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr "%s: Ðевозможно Ñобрать документацию в данном режиме Scilab: %s.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "Формирование loader.sce...\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr "Формирование unloader.sce...\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr "%s: Ðеверный тип входного параметра â„–%d: ожидалÑÑ Ð¼Ð°ÑÑив Ñтрок.\n"
+
+msgid "Generating localization\n"
+msgstr "Формирование локализации\n"
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: Файл «%s» не ÑущеÑтвует или недоÑтупен Ð´Ð»Ñ Ñ‡Ñ‚ÐµÐ½Ð¸Ñ.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr "%s: Ðеверное количеÑтво входных параметров: ожидалоÑÑŒ %d.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr ""
+"%s: КомпилÑтор C требуетÑÑ Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ модулÑ, но он не был найден.\n"
+
+msgid "Building gateway...\n"
+msgstr "Сборка файлов-шлюзов...\n"
+
+msgid "Building help...\n"
+msgstr "Сборка Ñправки...\n"
+
+msgid "Building macros...\n"
+msgstr "Сборка макроÑов...\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+"%s: КомпилÑтор C или Fortran требуетÑÑ Ð´Ð»Ñ Ð´Ð°Ð½Ð½Ð¾Ð³Ð¾ модулÑ, но он не был "
+"найден.\n"
+
+msgid "Building sources...\n"
+msgstr "Сборка иÑходных текÑтов...\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr "%s: Ðеверное количеÑтво входных аргументов: ожидалоÑÑŒ %d или %d.\n"
diff --git a/modules/modules_manager/locales/uk_UA.po b/modules/modules_manager/locales/uk_UA.po
new file mode 100755
index 000000000..77adb65ba
--- /dev/null
+++ b/modules/modules_manager/locales/uk_UA.po
@@ -0,0 +1,179 @@
+# Ukrainian translation for scilab
+# Copyright (c) 2011 Rosetta Contributors and Canonical Ltd 2011
+# This file is distributed under the same license as the scilab package.
+#
+# Yuri Chornoivan <yurchor@gmail.com>, 2011.
+msgid ""
+msgstr ""
+"Project-Id-Version: scilab\n"
+"Report-Msgid-Bugs-To: <localization@lists.scilab.org>\n"
+"POT-Creation-Date: 2013-04-16 17:44+0100\n"
+"PO-Revision-Date: 2013-10-01 10:17+0000\n"
+"Last-Translator: Yuri Chornoivan <yurchor@gmail.com>\n"
+"Language-Team: Ukrainian <kde-i18n-uk@kde.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Launchpad (build 17413)\n"
+"Language: ukPlural-Forms: nplurals=1; plural=0;\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At least %d expected.\n"
+msgstr ""
+"%s: помилкова кількіÑÑ‚ÑŒ вхідних параметрів: мало бути не менше за %d.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: At most %d expected.\n"
+msgstr ""
+"%s: помилкова кількіÑÑ‚ÑŒ вхідних параметрів: Ñлід викориÑтовувати не більше "
+"%d.\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра â„–%d: Ñлід викориÑтовувати тип "
+"«string».\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A string expected.\n"
+msgstr ""
+"%s: помилковий розмір вхідного параметра â„–%d: Ñлід викориÑтовувати Ñ€Ñдок.\n"
+
+#, c-format
+msgid "%s: The directory '%s' doesn't exist or is not read accessible.\n"
+msgstr "%s: каталогу «%s» не Ñ–Ñнує, або Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ†ÑŒÐ¾Ð³Ð¾ каталогу неможливе.\n"
+
+msgid "Building blocks...\n"
+msgstr "Ð—Ð±Ð¸Ñ€Ð°Ð½Ð½Ñ Ð±Ð»Ð¾ÐºÑ–Ð²â€¦\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s.\n"
+msgstr "%s: не вдалоÑÑ ÐµÐºÑпортувати %s до %s.\n"
+
+#, c-format
+msgid "%s: Unable to export %s to %s .\n"
+msgstr "%s: не вдалоÑÑ ÐµÐºÑпортувати %s до %s .\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d to %d expected.\n"
+msgstr ""
+"%s: помилкова кількіÑÑ‚ÑŒ вхідних параметрів: Ñлід викориÑтовувати від %d до "
+"%d.\n"
+
+msgid "Generating cleaner.sce...\n"
+msgstr "Ð¡Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ cleaner.sce…\n"
+
+#, c-format
+msgid ""
+"%s: The file %s cannot been created, please check if you have write access "
+"on this file.\n"
+msgstr ""
+"%s: не вдалоÑÑ Ñтворити файл %s, будь лаÑка, перевірте, чи Ñ” у Ð²Ð°Ñ Ð¿Ñ€Ð°Ð²Ð° "
+"доÑтупу на Ð·Ð°Ð¿Ð¸Ñ Ð´Ð¾ відповідного каталогу.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong type for input argument #%d: A matrix of strings expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра â„–%d: Ñлід викориÑтовувати матрицю з "
+"Ñ€Ñдків.\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: At most %d rows expected.\n"
+msgstr ""
+"%s: помилкова розмірніÑÑ‚ÑŒ вхідного параметра â„–%d: мало бути не більше за %d "
+"Ñ€Ñдків.\n"
+
+#, c-format
+msgid ""
+"%s: Wrong value for input argument #%d: The directory '%s' doesn't exist or "
+"is not read accessible.\n"
+msgstr ""
+"%s: помилкове Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¾Ð³Ð¾ параметра â„–%d: каталогу «%s» не Ñ–Ñнує або "
+"цей каталог непридатний до читаннÑ.\n"
+
+#, c-format
+msgid "%s: Wrong value for input argument #%d: Can't go to '%s'.\n"
+msgstr ""
+"%s: помилкове Ð·Ð½Ð°Ñ‡ÐµÐ½Ð½Ñ Ð²Ñ…Ñ–Ð´Ð½Ð¾Ð³Ð¾ параметра â„–%d: не вдалоÑÑ Ð¿ÐµÑ€ÐµÐ¹Ñ‚Ð¸ до «%s».\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра â„–%d: Ñлід викориÑтовувати тип "
+"«boolean».\n"
+
+#, c-format
+msgid "%s: Wrong size for input argument #%d: A boolean expected.\n"
+msgstr ""
+"%s: помилкова розмірніÑÑ‚ÑŒ вхідного параметра â„–%d: Ñлід викориÑтовувати "
+"булівÑьке значеннÑ.\n"
+
+#, c-format
+msgid "%s: Can't go to directory '%s'.\n"
+msgstr "%s: не вдалоÑÑ Ð¿ÐµÑ€ÐµÐ¹Ñ‚Ð¸ до каталогу «%s».\n"
+
+msgid "Generating cleaner_gateway.sce...\n"
+msgstr "Ð¡Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ cleaner_gateway.sce…\n"
+
+msgid "Generating loader_gateway.sce...\n"
+msgstr "Ð¡Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ loader_gateway.sce…\n"
+
+#, c-format
+msgid "%s: documentation cannot be built in this scilab mode: %s.\n"
+msgstr ""
+"%s: у цьому режимі роботи scilab не можна збирати документацію: %s.\n"
+
+msgid "Generating loader.sce...\n"
+msgstr "Ð¡Ñ‚Ð²Ð¾Ñ€ÐµÐ½Ð½Ñ loader.sce…\n"
+
+msgid "Generating unloader.sce...\n"
+msgstr "Створюємо unloader.sce...\n"
+
+#, c-format
+msgid "%s: Wrong type for input argument #%d: A string array expected.\n"
+msgstr ""
+"%s: помилковий тип вхідного параметра â„–%d: Ñлід викориÑтовувати маÑив з "
+"Ñ€Ñдків.\n"
+
+msgid "Generating localization\n"
+msgstr "Створюємо дані локалізації\n"
+
+#, c-format
+msgid "%s: The file '%s' doesn't exist or is not read accessible.\n"
+msgstr ""
+"%s: файла з назвою «%s» не Ñ–Ñнує, або Ñ‡Ð¸Ñ‚Ð°Ð½Ð½Ñ Ñ†ÑŒÐ¾Ð³Ð¾ файла неможливе.\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d expected.\n"
+msgstr ""
+"%s: помилкова кількіÑÑ‚ÑŒ вхідних параметрів: Ñлід викориÑтовувати %d.\n"
+
+#, c-format
+msgid "%s: This module required a C compiler and it has not been found.\n"
+msgstr ""
+"%s: Ð´Ð»Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸ цього Ð¼Ð¾Ð´ÑƒÐ»Ñ Ð¿Ð¾Ñ‚Ñ€Ñ–Ð±ÐµÐ½ компілÑтор C, Ñкого не знайдено.\n"
+
+msgid "Building gateway...\n"
+msgstr "Ð—Ð±Ð¸Ñ€Ð°Ð½Ð½Ñ ÑˆÐ»ÑŽÐ·Ñƒâ€¦\n"
+
+msgid "Building help...\n"
+msgstr "Ð—Ð±Ð¸Ñ€Ð°Ð½Ð½Ñ Ð´Ð¾Ð²Ñ–Ð´ÐºÐ¸â€¦\n"
+
+msgid "Building macros...\n"
+msgstr "Ð—Ð±Ð¸Ñ€Ð°Ð½Ð½Ñ Ð¼Ð°ÐºÑ€Ð¾Ñів…\n"
+
+#, c-format
+msgid ""
+"%s: This module requires a C or Fortran compiler and it has not been found.\n"
+msgstr ""
+"%s: Ð´Ð»Ñ Ñ€Ð¾Ð±Ð¾Ñ‚Ð¸ цього Ð¼Ð¾Ð´ÑƒÐ»Ñ Ð¿Ð¾Ñ‚Ñ€Ñ–Ð±ÐµÐ½ компілÑтор C або Fortran, Ñкого не "
+"знайдено.\n"
+
+msgid "Building sources...\n"
+msgstr "Ð—Ð±Ð¸Ñ€Ð°Ð½Ð½Ñ ÐºÐ¾Ð´Ñ–Ð²â€¦\n"
+
+#, c-format
+msgid "%s: Wrong number of input arguments: %d or %d expected.\n"
+msgstr ""
+"%s: помилкова кількіÑÑ‚ÑŒ вхідних параметрів: Ñлід викориÑтовувати %d або %d.\n"
diff --git a/modules/modules_manager/macros/buildmacros.bat b/modules/modules_manager/macros/buildmacros.bat
new file mode 100755
index 000000000..b9d36bdd4
--- /dev/null
+++ b/modules/modules_manager/macros/buildmacros.bat
@@ -0,0 +1,11 @@
+
+rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+rem Copyright (C) 2010 - DIGITEO - Allan CORNET
+rem
+rem This file must be used under the terms of the CeCILL.
+rem This source file is licensed as described in the file COPYING, which
+rem you should have received as part of this distribution. The terms
+rem are also available at
+rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+@..\..\..\bin\scilex -nwni -ns -e exec('buildmacros.sce');quit;
diff --git a/modules/modules_manager/macros/buildmacros.sce b/modules/modules_manager/macros/buildmacros.sce
new file mode 100755
index 000000000..7776102c8
--- /dev/null
+++ b/modules/modules_manager/macros/buildmacros.sce
@@ -0,0 +1,15 @@
+
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+if (isdef("genlib") == %f) then
+ exec(SCI+"/modules/functions/scripts/buildmacros/loadgenlib.sce");
+end
+
+genlib("modules_managerlib","SCI/modules/modules_manager/macros",%f,%t);
diff --git a/modules/modules_manager/macros/cleanmacros.bat b/modules/modules_manager/macros/cleanmacros.bat
new file mode 100755
index 000000000..e538965a5
--- /dev/null
+++ b/modules/modules_manager/macros/cleanmacros.bat
@@ -0,0 +1,13 @@
+
+rem Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+rem Copyright (C) 2010 - DIGITEO
+rem
+rem This file must be used under the terms of the CeCILL.
+rem This source file is licensed as described in the file COPYING, which
+rem you should have received as part of this distribution. The terms
+rem are also available at
+rem http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+@del *.bin 2>NUL
+@del lib 2>NUL
+@del names 2>NUL
diff --git a/modules/modules_manager/macros/lib b/modules/modules_manager/macros/lib
new file mode 100755
index 000000000..8e458dc30
--- /dev/null
+++ b/modules/modules_manager/macros/lib
Binary files differ
diff --git a/modules/modules_manager/macros/names b/modules/modules_manager/macros/names
new file mode 100755
index 000000000..a4fc4214d
--- /dev/null
+++ b/modules/modules_manager/macros/names
@@ -0,0 +1,21 @@
+tbx_build_blocks
+tbx_build_cleaner
+tbx_build_gateway
+tbx_build_gateway_clean
+tbx_build_gateway_loader
+tbx_build_help
+tbx_build_help_loader
+tbx_build_loader
+tbx_build_localization
+tbx_build_macros
+tbx_build_pal_loader
+tbx_build_src
+tbx_builder
+tbx_builder_gateway
+tbx_builder_gateway_lang
+tbx_builder_help
+tbx_builder_help_lang
+tbx_builder_macros
+tbx_builder_src
+tbx_builder_src_lang
+tbx_generate_pofile
diff --git a/modules/modules_manager/macros/tbx_build_blocks.bin b/modules/modules_manager/macros/tbx_build_blocks.bin
new file mode 100755
index 000000000..48332757f
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_blocks.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_blocks.sci b/modules/modules_manager/macros/tbx_build_blocks.sci
new file mode 100755
index 000000000..d7dd3128e
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_blocks.sci
@@ -0,0 +1,112 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Clément DAVID <clement.david@scilab.org>
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+function tbx_build_blocks(module, names, macros_path)
+ // Build a default block instance
+ //
+ // Calling Sequence
+ // tbx_build_blocks(module, names)
+ //
+ // Parameters
+ // module: toolbox base directory
+ // names: list of block names (sci file name without extension)
+
+ if argn(2) < 2 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: At least %d expected.\n"),"tbx_build_blocks",2));
+ end
+ if argn(2) > 3 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: At most %d expected.\n"),"tbx_build_blocks",3));
+ end
+
+
+ // checking module argument
+ if type(module) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_blocks",1));
+ end
+ if size(module,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_blocks",1));
+ end
+ if ~isdir(module) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_blocks",module));
+ end
+
+ // checking names argument
+ if type(names) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_blocks",2));
+ end
+
+ // checking optional macros_path argument
+ if ~exists("macros_path", "l") then
+ macros_path = module + "/macros/";
+ end
+ if type(macros_path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_blocks",3));
+ end
+ if size(macros_path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_blocks",3));
+ end
+ if ~isdir(macros_path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_blocks",macros_path));
+ end
+
+ mprintf(gettext("Building blocks...\n"));
+
+ // load Xcos libraries when not already loaded.
+ if ~exists("scicos_diagram") then loadXcosLibs(); end
+
+ // create directories
+ if ~isdir(module + "/images") then
+ createdir(module + "/images");
+ end
+ if ~isdir(module + "/images/h5") then
+ createdir(module + "/images/h5");
+ end
+ if ~isdir(module + "/images/gif") then
+ createdir(module + "/images/gif");
+ end
+ if ~isdir(module + "/images/svg") then
+ createdir(module + "/images/svg");
+ end
+
+ names = names(:);
+ sciFiles = pathconvert(macros_path + "/") + names + ".sci";
+ h5Files = pathconvert(module + "/images/h5/") + names + ".sod";
+ gif_tlbx = pathconvert(module + "/images/gif");
+ svg_tlbx = pathconvert(module + "/images/svg");
+ for i=1:size(names, "*")
+ // load the interface function
+ exec(sciFiles(i), -1);
+
+ // export the instance
+ execstr(msprintf("scs_m = %s (''define'');", names(i)));
+ if ~export_to_hdf5(h5Files(i), "scs_m") then
+ error(msprintf(gettext("%s: Unable to export %s to %s.\n"),"tbx_build_blocks",names(i), h5Files(i)));
+ end
+
+ blk = scs_m;
+
+ // export a schema file if it doesn't exist
+ files = svg_tlbx + "/" + names(i) + [".svg" ".png" ".jpg" ".gif"];
+ files = files(isfile(files));
+ if files == [] then
+ filename = svg_tlbx + "/" + names(i) + ".svg";
+ if ~generateBlockImage(blk, svg_tlbx, names(i), "svg", %f) then
+ error(msprintf(gettext("%s: Unable to export %s to %s .\n"),"tbx_build_blocks",names(i), filename));
+ end
+ end
+
+ // export an image file if it doesn't exist
+ files = gif_tlbx + "/" + names(i) + [".png" ".jpg" ".gif"];
+ files = files(isfile(files));
+ if files == [] then
+ filename = gif_tlbx + "/" + names(i) + ".gif";
+ xcosPalGenerateIcon(filename);
+ end
+ end
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_cleaner.bin b/modules/modules_manager/macros/tbx_build_cleaner.bin
new file mode 100755
index 000000000..2905bfcbe
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_cleaner.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_cleaner.sci b/modules/modules_manager/macros/tbx_build_cleaner.sci
new file mode 100755
index 000000000..a1027873c
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_cleaner.sci
@@ -0,0 +1,104 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+// Copyright (C) 2009-2012 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Generate a cleaner.sce script for the toolbox
+
+function tbx_build_cleaner(name, path)
+
+ rhs = argn(2);
+
+ // Number of input arguments
+
+ if and(rhs <> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"), "tbx_build_cleaner", 1, 2));
+ end
+
+ // Input argument N°1
+ // name
+
+ if type(name) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_build_cleaner", 1));
+ end
+
+ if size(name,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"), "tbx_build_cleaner", 1));
+ end
+
+ // Input argument N°2
+ // path
+
+ if rhs < 2 then
+ path = pwd();
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_build_cleaner", 2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"), "tbx_build_cleaner", 2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"), "tbx_build_cleaner", path));
+ end
+ end
+
+ // build the cleaner file
+
+ mprintf(gettext("Generating cleaner.sce...\n"));
+
+ cleanertxt = [
+ "// This file is released under the 3-clause BSD license. See COPYING-BSD.",
+ "// Generated by builder.sce: Please, do not edit this file",
+ "",
+ "try",
+ " getversion(""scilab"");",
+ "catch",
+ " error(""Scilab 5.0 or more is required."");",
+ "end",
+ "function perform_clean()",
+ " root_tlbx = get_absolute_file_path(''cleaner.sce'');",
+ "",
+ " if isfile(root_tlbx + ''/macros/cleanmacros.sce'') then",
+ " exec(root_tlbx+''/macros/cleanmacros.sce'');",
+ " end",
+ "",
+ " if isfile(root_tlbx + ''/src/cleaner_src.sce'') then",
+ " exec(root_tlbx+''/src/cleaner_src.sce'');",
+ " end",
+ "",
+ " if isfile(root_tlbx + ""/sci_gateway/cleaner_gateway.sce"") then",
+ " exec(root_tlbx + ""/sci_gateway/cleaner_gateway.sce"");",
+ " mdelete(root_tlbx + ""/sci_gateway/cleaner_gateway.sce"");",
+ " end",
+ "",
+ " if isfile(root_tlbx + ""/help/cleaner_help.sce"") then",
+ " exec(root_tlbx + ""/help/cleaner_help.sce"");",
+ " end",
+ "",
+ " if isfile(root_tlbx + ""/loader.sce"") then",
+ " mdelete(root_tlbx + ""/loader.sce"");",
+ " end",
+ "",
+ " if isfile(root_tlbx + ""/unloader.sce"") then",
+ " mdelete(root_tlbx + ""/unloader.sce"");",
+ " end",
+
+ "endfunction",
+ "perform_clean();",
+ "clear perform_clean;"];
+
+ cleanerfile = pathconvert(path+"/cleaner.sce", %F);
+
+ if ~mputl(cleanertxt, cleanerfile) then
+ error(msprintf(gettext("%s: The file %s cannot been created, please check if you have write access on this file.\n"), "tbx_build_cleaner", cleanerfile));
+ end
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_gateway.bin b/modules/modules_manager/macros/tbx_build_gateway.bin
new file mode 100755
index 000000000..5c1acf6e5
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_gateway.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_gateway.sci b/modules/modules_manager/macros/tbx_build_gateway.sci
new file mode 100755
index 000000000..feb009a49
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_gateway.sci
@@ -0,0 +1,160 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Simple wrapper around ilib_build
+function tbx_build_gateway(libname, ..
+ names, ..
+ files, ..
+ gateway_path, ..
+ libs, ..
+ ldflags, ..
+ cflags, ..
+ fflags, ..
+ cc, ..
+ makename, ..
+ ismex)
+
+
+ rhs = argn(2);
+ currentdirectory = pwd();
+
+ // Number of input arguments
+
+ if rhs<3 | rhs>11 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_build_gateway",3,11))
+ end
+
+ // Input argument N°1
+ // → libname
+
+ if type(libname) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_gateway",1));
+ end
+
+ if size(libname,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_gateway",1));
+ end
+
+ // Input argument N°2
+ // → table
+
+ if type(names) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A matrix of strings expected.\n"),"tbx_build_gateway",2));
+ end
+
+ if size(names,"r") > 999 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: At most %d rows expected.\n"),"tbx_build_gateway",2,999));
+ end
+
+ // Input argument N°3
+ // → files
+
+ if type(files) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A matrix of strings expected.\n"),"tbx_build_gateway",3));
+ end
+
+ // Input argument N°4
+ // → gateway_path
+
+ if rhs<4 then
+ gateway_path = currentdirectory;
+
+ else
+ if type(gateway_path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_gateway",4));
+ end
+
+ if size(gateway_path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_gateway",4));
+ end
+
+ if ~isdir(gateway_path) then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_gateway",4,gateway_path));
+ end
+
+ if ~chdir(gateway_path) then
+ error(msprintf(gettext("%s: Wrong value for input argument #%d: Can''t go to ''%s''.\n"),"tbx_build_gateway",4,gateway_path));
+ end
+ end
+
+ // Input argument N°5
+ // → libs
+
+ if rhs<5 then
+ libs = [];
+ end
+
+ // Input argument N°6
+ // → ldflags
+
+ if rhs<6 then
+ ldflags = "";
+ end
+
+ // Input argument N°7
+ // → cflags
+
+ if rhs<7 then
+ cflags = "";
+ end
+
+ // Input argument N°8
+ // → fflags
+
+ if rhs<8 then
+ fflags = "";
+ end
+
+ // Input argument N°9
+ // → cc
+
+ if rhs<9 then
+ cc = "";
+ end
+
+ // Input argument N°10
+ // → makename
+
+ if rhs<10 then
+ makename = "";
+ end
+
+ // Input argument N°11
+ // → ismex
+
+ if rhs<11 then
+ ismex = %F;
+
+ else
+ if type(ismex) <> 4 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A boolean expected.\n"),"tbx_build_gateway",11));
+ end
+
+ if size(ismex,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A boolean expected.\n"),"tbx_build_gateway",11));
+ end
+ end
+
+ ilib_build(libname, ..
+ names, ..
+ files, ..
+ libs, ..
+ makename, ..
+ ldflags, ..
+ cflags, ..
+ fflags, ..
+ ismex, ..
+ cc);
+
+ if ~chdir(currentdirectory) then
+ error(msprintf(gettext("%s: Can''t go to directory ''%s''.\n"),"tbx_builder_gateway",currentdirectory));
+ end
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_gateway_clean.bin b/modules/modules_manager/macros/tbx_build_gateway_clean.bin
new file mode 100755
index 000000000..d71eb8e01
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_gateway_clean.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_gateway_clean.sci b/modules/modules_manager/macros/tbx_build_gateway_clean.sci
new file mode 100755
index 000000000..3685d7222
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_gateway_clean.sci
@@ -0,0 +1,84 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2009-2010 - DIGITEO - Allan CORNET
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Generate a cleaner_gateway.sce script for the gateway
+
+function tbx_build_gateway_clean(languages,path)
+
+ rhs = argn(2);
+
+ // Number of input arguments
+
+ if and(rhs<> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_build_gateway_clean",1,2));
+ end
+
+ // Input argument N°1
+ // → languages
+
+ if type(languages) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_gateway_clean",1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs < 2 then
+ path = pwd();
+
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_gateway_clean",2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_gateway_clean",2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_gateway_clean",path));
+ end
+ end
+
+ // build the cleaner file
+
+ mprintf(gettext("Generating cleaner_gateway.sce...\n"));
+
+ cleanertxt = [
+ "// This file is released under the 3-clause BSD license. See COPYING-BSD.",
+ "// Generated by builder_gateway.sce: Please, do not edit this file",
+ "",
+ "sci_gateway_dir = get_absolute_file_path(""cleaner_gateway.sce"");",
+ "current_dir = pwd();",
+ ""];
+
+ for i = 1:size(languages,"*") do
+ cleanertxt = [cleanertxt,
+ "chdir(sci_gateway_dir);",
+ "if ( isdir("""+languages(i)+""") ) then",
+ " chdir("""+languages(i)+""");",
+ " exec(""cleaner.sce"");",
+ " mdelete(""cleaner.sce"");",
+ "end",
+ ""
+ ];
+ end
+
+ cleanertxt = [cleanertxt,
+ "chdir(current_dir);",
+ "clear sci_gateway_dir current_dir;"];
+
+ cleanerfile = pathconvert(path+"/cleaner_gateway.sce",%F);
+
+ if ~mputl(cleanertxt,cleanerfile) then
+ error(msprintf(gettext("%s: The file %s cannot been created, please check if you have write access on this file.\n"),"tbx_build_gateway_clean",cleanerfile));
+ end
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_gateway_loader.bin b/modules/modules_manager/macros/tbx_build_gateway_loader.bin
new file mode 100755
index 000000000..cf4ea17f8
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_gateway_loader.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_gateway_loader.sci b/modules/modules_manager/macros/tbx_build_gateway_loader.sci
new file mode 100755
index 000000000..40d5f1e7a
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_gateway_loader.sci
@@ -0,0 +1,92 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Generate a loader_gateway.sce script for the gateway
+function tbx_build_gateway_loader(languages,path)
+
+ rhs = argn(2);
+
+ // Number of input arguments
+
+ if and(rhs<> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_build_gateway_loader",1,2));
+ end
+
+ // Input argument N°1
+ // → languages
+
+ if type(languages) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_gateway_loader",1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs < 2 then
+ path = pwd();
+
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_gateway_loader",2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_gateway_loader",2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_gateway_loader",path));
+ end
+ end
+
+ // build the loader file
+
+ mprintf(gettext("Generating loader_gateway.sce...\n"));
+
+ loadertxt = [
+ "// This file is released under the 3-clause BSD license. See COPYING-BSD.",
+ "// Generated by builder_gateway.sce: Please, do not edit this file",
+ "",
+ "try"
+ " v = getversion(""scilab"");",
+ "catch",
+ " v = [ 5 0 ]; // or older ",
+ "end",
+ "if (v(1) <= 5) & (v(2) < 3) then",
+ " // new API in scilab 5.3",
+ " error(gettext(""Scilab 5.3 or more is required.""));",
+ "end",
+ "",
+ "sci_gateway_dir = get_absolute_file_path(""loader_gateway.sce"");",
+ "current_dir = pwd();",
+ ""];
+
+ for i = 1:size(languages,"*") do
+
+ loadertxt = [loadertxt,
+ "chdir(sci_gateway_dir);",
+ "if ( isdir("""+languages(i)+""") ) then",
+ " chdir("""+languages(i)+""");",
+ " exec(""loader.sce"");",
+ "end",
+ ""];
+ end
+
+ loadertxt = [loadertxt,
+ "chdir(current_dir);",
+ "clear sci_gateway_dir current_dir v;"];
+
+ loaderfile = pathconvert(path+"/loader_gateway.sce",%F);
+
+ if ~mputl(loadertxt,loaderfile) then
+ error(msprintf(gettext("%s: The file %s cannot been created, please check if you have write access on this file.\n"),"tbx_build_gateway_loader",loaderfile));
+ end
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_help.bin b/modules/modules_manager/macros/tbx_build_help.bin
new file mode 100755
index 000000000..2090f2573
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_help.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_help.sci b/modules/modules_manager/macros/tbx_build_help.sci
new file mode 100755
index 000000000..0bb2ab6fe
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_help.sci
@@ -0,0 +1,66 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010-2011 - DIGITEO - Allan CORNET
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Simple wrapper around xmltojar
+
+function tbx_build_help(moduletitle, path)
+
+ rhs = argn(2);
+
+ // Number of input arguments
+
+ if and(rhs<> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"), "tbx_build_help", 1, 2));
+ end
+
+ // Input argument N°1
+ // → name
+
+ if type(moduletitle) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_build_help", 1));
+ end
+
+ if size(moduletitle,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"), "tbx_build_help", 1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs < 2 then
+ path = pwd();
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_build_help", 2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"), "tbx_build_help", 2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"), "tbx_build_help", path));
+ end
+ end
+
+ path = pathconvert(path, %f, %t);
+
+ // Check scilab mode
+ if and(getscilabmode() <> ["STD" "NW"]) then
+ error(msprintf(gettext("%s: documentation cannot be built in this scilab mode: %s.\n"),"tbx_build_help",getscilabmode()));
+ end
+
+ directory_language = basename(path);
+ default_language = getlanguage();
+
+ xmltojar(path, moduletitle, directory_language, default_language);
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_help_loader.bin b/modules/modules_manager/macros/tbx_build_help_loader.bin
new file mode 100755
index 000000000..fc8a95f91
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_help_loader.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_help_loader.sci b/modules/modules_manager/macros/tbx_build_help_loader.sci
new file mode 100755
index 000000000..89b598e11
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_help_loader.sci
@@ -0,0 +1,69 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Generate a loader file for the help
+
+function tbx_build_help_loader(moduletitle,path)
+
+ rhs = argn(2);
+
+ // Number of input arguments
+
+ if and(rhs<> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_build_help_loader",1,2));
+ end
+
+ // Input argument N°1
+ // → toolbox_title
+
+ if type(moduletitle) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_help_loader",1));
+ end
+
+ if size(moduletitle,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_help_loader",1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs<2 then
+ path = pwd();
+
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_help_loader",1));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_help_loader",1));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_help_loader",path));
+ end
+ end
+
+ // build the loader file
+
+ loadertxt = [
+ "// This file is released under the 3-clause BSD license. See COPYING-BSD.",
+ "// Generated by tbx_build_help_loader: Please, do not edit this file",
+ "",
+ "add_help_chapter("""+toolbox_title+""",get_absolute_file_path(""addchapter.sce""),%F);",
+ "clear add_help_chapter;"];
+
+ loaderfile = pathconvert(path+"/addchapter.sce",%F);
+
+ if ~mputl(loadertxt,loaderfile) then
+ error(msprintf(gettext("%s: The file %s cannot been created, please check if you have write access on this file.\n"),"tbx_build_help_loader",loaderfile));
+ end
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_loader.bin b/modules/modules_manager/macros/tbx_build_loader.bin
new file mode 100755
index 000000000..8837a0352
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_loader.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_loader.sci b/modules/modules_manager/macros/tbx_build_loader.sci
new file mode 100755
index 000000000..36c491552
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_loader.sci
@@ -0,0 +1,100 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+// Copyright (C) 2010-2012 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Generate a loader.sce script for the toolbox
+
+function tbx_build_loader(name, path)
+
+ rhs = argn(2);
+
+ // Number of input arguments
+
+ if and(rhs <> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"), "tbx_build_loader", 1, 2));
+ end
+
+ // Input argument N°1
+ // name
+
+ if type(name) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_build_loader", 1));
+ end
+
+ if size(name, "*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"), "tbx_build_loader", 1));
+ end
+
+ // Input argument N°2
+ // path
+
+ if rhs < 2 then
+ path = pwd();
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_build_loader", 2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"), "tbx_build_loader", 2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"), "tbx_build_loader", path));
+ end
+ end
+
+ // build the loader file
+
+ mprintf(gettext("Generating loader.sce...\n"));
+
+ loadertxt = [
+ "// This file is released under the 3-clause BSD license. See COPYING-BSD.",
+ "// Generated by builder.sce: Please, do not edit this file",
+ "",
+ "try",
+ " getversion(""scilab"");",
+ "catch",
+ " error(""Scilab 5.0 or more is required."");",
+ "end;",
+ "",
+ "exec(get_absolute_file_path(""loader.sce"")+""etc"+filesep()+"""+"""+name+".start"");"];
+
+ loaderfile = pathconvert(path + "/loader.sce", %F);
+
+ if ~mputl(loadertxt, loaderfile) then
+ error(msprintf(gettext("%s: The file %s cannot been created, please check if you have write access on this file.\n"), "tbx_build_loader", loaderfile));
+ end
+
+ mprintf(gettext("Generating unloader.sce...\n"));
+
+ unloadertxt = [
+ "// This file is released under the 3-clause BSD license. See COPYING-BSD.",
+ "// Generated by builder.sce: Please, do not edit this file",
+ "",
+ "try",
+ " getversion(""scilab"");",
+ "catch",
+ " error(""Scilab 5.4 or more is required."");",
+ "end;",
+ "",
+ "fileQuit = get_absolute_file_path(""unloader.sce"") + ""etc" + filesep() + """ + """ + name + ".quit"";",
+ "if isfile(fileQuit) then",
+ " exec(fileQuit);",
+ "end"
+ ""];
+
+ unloaderfile = pathconvert(path + "/unloader.sce", %F);
+
+ if ~mputl(unloadertxt, unloaderfile) then
+ error(msprintf(gettext("%s: The file %s cannot been created, please check if you have write access on this file.\n"), "tbx_build_loader", unloaderfile));
+ end
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_localization.bin b/modules/modules_manager/macros/tbx_build_localization.bin
new file mode 100755
index 000000000..6317ff0fb
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_localization.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_localization.sci b/modules/modules_manager/macros/tbx_build_localization.sci
new file mode 100755
index 000000000..44399430e
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_localization.sci
@@ -0,0 +1,72 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Antoine ELIAS
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+function tbx_build_localization(tbx_name, tbx_path)
+
+ rhs = argn(2);
+
+ if and(rhs <> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_build_localization",1,2));
+ end
+
+ if type(tbx_name) <> 10 then
+ error(tbx_name(gettext("%s: Wrong type for input argument #%d: A string array expected.\n"),"tbx_build_localization",1));
+ end
+
+ if rhs < 2 then
+ tbx_path = pwd();
+ else
+ if type(tbx_path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_localization",2));
+ end
+
+ if size(tbx_path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_localization",2));
+ end
+
+ if ~isdir(tbx_path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_localization", tbx_path));
+ end
+ end
+
+ //forge command
+ localePath = tbx_path + "locales/";
+
+ if isdir(localePath) == %f then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_localization",localePath));
+ end
+
+ //find list of .po files
+ poFiles = gsort(findfiles(localePath, "*.po"), "lr", "i");
+
+ if getos() == "Windows" then
+ cmd = SCI + filesep() + "tools/gettext/msgfmt";
+ else
+ cmd = "msgfmt";
+ end
+
+ mprintf(gettext("Generating localization\n"));
+ for i=1:size(poFiles, "*")
+ //generate moFile name and path
+ lang = fileparts(poFiles(i), "fname");
+ printf("-- Building for ""%s"" --\n", lang);
+ moFile = localePath + lang + "/LC_MESSAGES/";
+ mkdir(moFile); //to be sure path exists
+ poFile = moFile + tbx_name + ".po";
+ moFile = moFile + tbx_name + ".mo";
+
+
+ //check mo file is newest po, don't need to generate it
+ if newest(poFiles(i), moFile) == 1 then
+ copyfile(localePath + poFiles(i), poFile);
+ cmd1 = cmd + " -o " + moFile + " " + poFile;
+ host(cmd1)
+ end
+ end
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_macros.bin b/modules/modules_manager/macros/tbx_build_macros.bin
new file mode 100755
index 000000000..ed300382e
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_macros.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_macros.sci b/modules/modules_manager/macros/tbx_build_macros.sci
new file mode 100755
index 000000000..aeb964c01
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_macros.sci
@@ -0,0 +1,55 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Simple wrapper around genlib
+
+function tbx_build_macros(name,path)
+
+ rhs = argn(2);
+
+ // Number of input arguments
+
+ if and(rhs<> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_build_macros",1,2));
+ end
+
+ // Input argument N°1
+ // → name
+
+ if type(name) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_macros",1));
+ end
+
+ if size(name,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_macros",1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs < 2 then
+ path = pwd();
+
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_macros",2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_macros",2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_macros",path));
+ end
+ end
+
+ genlib(name+"lib",path,%F,%T);
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_build_pal_loader.bin b/modules/modules_manager/macros/tbx_build_pal_loader.bin
new file mode 100755
index 000000000..db793e344
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_pal_loader.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_pal_loader.sci b/modules/modules_manager/macros/tbx_build_pal_loader.sci
new file mode 100755
index 000000000..d4249895b
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_pal_loader.sci
@@ -0,0 +1,82 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - INRIA - Serge STEER
+// Copyright (C) 2014 - Scilab Enterprises - Clément DAVID
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+function tbx_build_pal_loader(palettename,interfacefunctions,module_path,script_path)
+ if argn(2) < 3 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: At least %d expected.\n"),"tbx_build_blocks",3));
+ end
+ // checking palettename argument
+ if type(palettename) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_blocks",1));
+ end
+ if size(palettename,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_blocks",1));
+ end
+
+ // checking module_path argument
+ if type(module_path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_blocks",3));
+ end
+ if size(module_path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_blocks",3));
+ end
+ if ~isdir(module_path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_blocks",module_path));
+ end
+
+ // checking interfacefunctions argument
+ if type(interfacefunctions) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string array expected.\n"),"tbx_build_blocks",2));
+ end
+
+ // checking optional script_path argument
+ if argn(2)==4 then
+ if type(script_path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_build_blocks",4));
+ end
+ if size(script_path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_build_blocks",4));
+ end
+ else
+ script_path=module_path + "/macros"
+ end
+ if ~isdir(script_path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_build_blocks",script_path));
+ end
+
+
+ t=["// This file is released under the 3-clause BSD license. See COPYING-BSD."
+ "// Generated by tbx_build_pal_loader: Please, do not edit this file"
+ ""
+ "function loaderpal()"
+ " xpal = xcosPal("""+palettename+""");"
+ " images_path = get_absolute_file_path(""loader_pal.sce"")+""/../images/"";"
+ " interfacefunctions ="+sci2exp(interfacefunctions);
+ " for i=1:size(interfacefunctions,""*"")"
+ " h5_instances = ls(images_path + ""h5/"" + interfacefunctions(i) + "".sod"");"
+ " if h5_instances==[] then"
+ " error(msprintf(_(""%s: block %s has not been built.\n""),""loader_pal.sce"",interfacefunctions(i)))"
+ " end"
+ " pal_icons = ls(images_path + ""gif/"" + interfacefunctions(i) + ""."" + [""png"" ""jpg"" ""gif""]);"
+ " if pal_icons==[] then"
+ " error(msprintf(_(""%s: block %s has no palette icon.\n""),""loader_pal.sce"",interfacefunctions(i)))"
+ " end"
+ " graph_icons = ls(images_path + ""svg/"" + interfacefunctions(i) + ""."" + [""svg"" ""png"" ""jpg"" ""gif""]);"
+ " if graph_icons==[] then"
+ " error(msprintf(_(""%s: block %s has no editor icon.\n""),""loader_pal.sce"",interfacefunctions(i)))"
+ " end"
+ " xpal = xcosPalAddBlock(xpal, interfacefunctions(i), pal_icons(1) , graph_icons(1));"
+ " end"
+ " xcosPalAdd(xpal);"
+ "endfunction"
+ "loaderpal(),clear loaderpal"]
+ mputl(t,script_path+"loader_pal.sce")
+endfunction
+
diff --git a/modules/modules_manager/macros/tbx_build_src.bin b/modules/modules_manager/macros/tbx_build_src.bin
new file mode 100755
index 000000000..02abc4241
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_src.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_build_src.sci b/modules/modules_manager/macros/tbx_build_src.sci
new file mode 100755
index 000000000..ef1640311
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_build_src.sci
@@ -0,0 +1,55 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL <pierre.marechal@scilab.org>
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Simple wrapper around ilib_for_link
+
+function tbx_build_src(names, ..
+ files, ..
+ flag, ..
+ src_path, ..
+ libs, ..
+ ldflags, ..
+ cflags, ..
+ fflags, ..
+ cc, ..
+ libname, ..
+ loadername, ..
+ makename)
+
+ oldpath = pwd();
+
+ if exists("src_path","local") then
+ chdir(src_path);
+ end
+
+ if ~exists("libs", "local") then libs = []; end
+ if ~exists("ldflags", "local") then ldflags = ""; end
+ if ~exists("cflags", "local") then cflags = ""; end
+ if ~exists("fflags", "local") then fflags = ""; end
+ if ~exists("cc", "local") then cc = ""; end
+ if ~exists("libname", "local") then libname = ""; end
+ if ~exists("loadername", "local") then loadername = "loader.sce"; end
+ if ~exists("makename", "local") then makename = ""; end
+
+ ilib_for_link(names, ..
+ files, ..
+ libs, ..
+ flag, ..
+ makename, ..
+ loadername, ..
+ libname, ..
+ ldflags, ..
+ cflags, ..
+ fflags, ..
+ cc);
+
+ chdir(oldpath);
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder.bin b/modules/modules_manager/macros/tbx_builder.bin
new file mode 100755
index 000000000..0db1464b2
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder.sci b/modules/modules_manager/macros/tbx_builder.sci
new file mode 100755
index 000000000..d2b8a356f
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder.sci
@@ -0,0 +1,27 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+
+function tbx_builder(files)
+
+ if type(files) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string array expected.\n"),"tbx_builder",1));
+ end
+
+ for i=1:size(files,"*") do
+
+ if ~isfile(files(i)) then
+ error(msprintf(gettext("%s: The file ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder",files(i)));
+ end
+
+ exec(files(i),-1);
+
+ end
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder_gateway.bin b/modules/modules_manager/macros/tbx_builder_gateway.bin
new file mode 100755
index 000000000..340dcfafb
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_gateway.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder_gateway.sci b/modules/modules_manager/macros/tbx_builder_gateway.sci
new file mode 100755
index 000000000..a0d740485
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_gateway.sci
@@ -0,0 +1,47 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Run the module+"/sci_gateway/builder_gateway.sce" script if it exists
+
+function tbx_builder_gateway(module)
+
+ // Number of input arguments
+
+ if argn(2)<>1 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d expected.\n"),"tbx_builder_gateway",1));
+ end
+
+ // Input argument N°1
+ // → module
+
+ if type(module) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_builder_gateway",1));
+ end
+
+ if size(module,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_builder_gateway",1));
+ end
+
+ if ~isdir(module) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_gateway",module));
+ end
+
+ // Check the compiler
+
+ if ~haveacompiler() then
+ error(msprintf(gettext("%s: This module required a C compiler and it has not been found.\n"),"tbx_builder_gateway"));
+ end
+
+
+ mprintf(gettext("Building gateway...\n"));
+ tbx_builder(pathconvert(module+"/sci_gateway/builder_gateway.sce",%F));
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder_gateway_lang.bin b/modules/modules_manager/macros/tbx_builder_gateway_lang.bin
new file mode 100755
index 000000000..2193ab11b
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_gateway_lang.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder_gateway_lang.sci b/modules/modules_manager/macros/tbx_builder_gateway_lang.sci
new file mode 100755
index 000000000..3d1574069
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_gateway_lang.sci
@@ -0,0 +1,73 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Run the builder_gateway_"+languages+".sce" scripts
+
+// Input arguments:
+//
+// 1. languages
+// Languages of the sources files ("c", "cpp", "fortran", ...)
+//
+// 2. path
+// Path to the sources of the gateway ; in a normal toolbox it should be
+// the directory containing the builder_gateway.sce script (which should
+// be the script calling this function). Default is current directory.
+
+function tbx_builder_gateway_lang(languages,path)
+
+ // Number of input arguments
+
+ rhs = argn(2);
+
+ if and(rhs <> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_builder_gateway_lang",1,2));
+ end
+
+ // Input argument N°1
+ // → languages
+
+ if type(languages) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string array expected.\n"),"tbx_builder_gateway_lang",1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs < 2 then
+ path = pwd();
+
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_builder_gateway_lang",2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_builder_gateway_lang",2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_gateway_lang",path));
+ end
+ end
+
+ // Check path/languages
+
+ directories = pathconvert(path+"/"+languages,%F);
+
+ for i=1:size(directories,"*") do
+ if ~isdir(directories(i)) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_gateway_lang",directories(i)));
+ end
+ end
+
+ // Exec builders files
+ tbx_builder(pathconvert(directories+"/builder_gateway_"+languages+".sce",%F));
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder_help.bin b/modules/modules_manager/macros/tbx_builder_help.bin
new file mode 100755
index 000000000..277cd961b
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_help.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder_help.sci b/modules/modules_manager/macros/tbx_builder_help.sci
new file mode 100755
index 000000000..42b4a8b59
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_help.sci
@@ -0,0 +1,41 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Run the modules+"/help/builder_help.sce" script if it exists
+// See devtools_run_builder
+
+function tbx_builder_help(module)
+
+ // Number of input arguments
+
+ if argn(2)<>1 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d expected.\n"),"tbx_builder_help",1));
+ end
+
+ // Input argument N°1
+ // → module
+
+ if type(module) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_builder_help",1));
+ end
+
+ if size(module,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_builder_help",1));
+ end
+
+ if ~isdir(module) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_help",module));
+ end
+
+
+ mprintf(gettext("Building help...\n"));
+ tbx_builder(pathconvert(module+"/help/builder_help.sce",%F));
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder_help_lang.bin b/modules/modules_manager/macros/tbx_builder_help_lang.bin
new file mode 100755
index 000000000..fc6aa3167
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_help_lang.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder_help_lang.sci b/modules/modules_manager/macros/tbx_builder_help_lang.sci
new file mode 100755
index 000000000..c2f4bed8a
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_help_lang.sci
@@ -0,0 +1,63 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Run the help_path+"/"+lang+"/build_help.sce" script if it exists
+
+function tbx_builder_help_lang(languages,path)
+
+ // Number of input arguments
+
+ rhs = argn(2);
+
+ if and(rhs <> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_builder_help_lang",1,2));
+ end
+
+ // Input argument N°1
+ // → languages
+
+ if type(languages) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string array expected.\n"),"tbx_builder_help_lang",1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs < 2 then
+ path = pwd();
+
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_builder_help_lang",2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_builder_help_lang",2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_help_lang",path));
+ end
+ end
+
+ // Check path/languages
+
+ directories = pathconvert(path+"/"+languages,%F);
+
+ for i=1:size(directories,"*") do
+ if ~isdir(directories(i)) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_help_lang",directories(i)));
+ end
+ end
+
+ // exec all build_help.sce
+ tbx_builder(pathconvert(directories+"/build_help.sce",%F));
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder_macros.bin b/modules/modules_manager/macros/tbx_builder_macros.bin
new file mode 100755
index 000000000..93112ecfc
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_macros.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder_macros.sci b/modules/modules_manager/macros/tbx_builder_macros.sci
new file mode 100755
index 000000000..658012bf5
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_macros.sci
@@ -0,0 +1,40 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Run the modules+"/macros/buildmacros.sce" script
+
+function tbx_builder_macros(module)
+
+
+ // Number of input arguments
+
+ if argn(2)<>1 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d expected.\n"),"tbx_builder_macros",1));
+ end
+
+ // Input argument N°1
+ // → module
+
+ if type(module) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_builder_macros",1));
+ end
+
+ if size(module,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_builder_macros",1));
+ end
+
+ if ~isdir(module) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_macros",module));
+ end
+
+ mprintf(gettext("Building macros...\n"));
+ tbx_builder(pathconvert(module+"/macros/buildmacros.sce",%F));
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder_src.bin b/modules/modules_manager/macros/tbx_builder_src.bin
new file mode 100755
index 000000000..5c2eefeb2
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_src.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder_src.sci b/modules/modules_manager/macros/tbx_builder_src.sci
new file mode 100755
index 000000000..f73772fc3
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_src.sci
@@ -0,0 +1,47 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Run the module+"/src/builder_src.sce" script if it exists
+
+function tbx_builder_src(module)
+
+ // Number of input arguments
+
+ if argn(2)<>1 then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d expected.\n"),"tbx_builder_src",1));
+ end
+
+ // Input argument N°1
+ // → module
+
+ if type(module) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_builder_src",1));
+ end
+
+ if size(module,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_builder_src",1));
+ end
+
+ if ~isdir(module) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_src",module));
+ end
+
+ // Check the compiler
+
+ if ~haveacompiler() then
+ error(msprintf(gettext("%s: This module requires a C or Fortran compiler and it has not been found.\n"),"tbx_builder_src"));
+ end
+
+
+ mprintf(gettext("Building sources...\n"));
+ tbx_builder(pathconvert(module+"/src/builder_src.sce",%F));
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_builder_src_lang.bin b/modules/modules_manager/macros/tbx_builder_src_lang.bin
new file mode 100755
index 000000000..ca6ae9e0b
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_src_lang.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_builder_src_lang.sci b/modules/modules_manager/macros/tbx_builder_src_lang.sci
new file mode 100755
index 000000000..fbf07e0ac
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_builder_src_lang.sci
@@ -0,0 +1,63 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2008 - INRIA - Simon LIPP <simon.lipp@scilab.org>
+// Copyright (C) 2010 - DIGITEO - Pierre MARECHAL
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+// Run the src_path+"/src/"+lang+"builder_"+lang+".sce" script if it exists
+
+function tbx_builder_src_lang(languages,path)
+
+ // Number of input arguments
+
+ rhs = argn(2);
+
+ if and(rhs <> [1 2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d to %d expected.\n"),"tbx_builder_src_lang",1,2));
+ end
+
+ // Input argument N°1
+ // → languages
+
+ if type(languages) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string array expected.\n"),"tbx_builder_src_lang",1));
+ end
+
+ // Input argument N°2
+ // → path
+
+ if rhs < 2 then
+ path = pwd();
+
+ else
+ if type(path) <> 10 then
+ error(msprintf(gettext("%s: Wrong type for input argument #%d: A string expected.\n"),"tbx_builder_src_lang",2));
+ end
+
+ if size(path,"*") <> 1 then
+ error(msprintf(gettext("%s: Wrong size for input argument #%d: A string expected.\n"),"tbx_builder_src_lang",2));
+ end
+
+ if ~isdir(path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_src_lang",path));
+ end
+ end
+
+ // Check path/languages
+
+ directories = pathconvert(path+"/"+languages,%F);
+
+ for i=1:size(directories,"*") do
+ if ~isdir(directories(i)) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"),"tbx_builder_src_lang",directories(i)));
+ end
+ end
+
+ // Exec builders files
+ tbx_builder(pathconvert(directories+"/builder_"+languages+".sce",%F));
+
+endfunction
diff --git a/modules/modules_manager/macros/tbx_generate_pofile.bin b/modules/modules_manager/macros/tbx_generate_pofile.bin
new file mode 100755
index 000000000..1def3390e
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_generate_pofile.bin
Binary files differ
diff --git a/modules/modules_manager/macros/tbx_generate_pofile.sci b/modules/modules_manager/macros/tbx_generate_pofile.sci
new file mode 100755
index 000000000..4f16a790f
--- /dev/null
+++ b/modules/modules_manager/macros/tbx_generate_pofile.sci
@@ -0,0 +1,168 @@
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2013 - Scilab Enterprises - Antoine ELIAS
+//
+// This file must be used under the terms of the CeCILL.
+// This source file is licensed as described in the file COPYING, which
+// you should have received as part of this distribution. The terms
+// are also available at
+// http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+
+function ret=tbx_generate_pofile(tbx_name, tbx_path)
+
+ rhs = argn(2);
+
+ if ~or(rhs == [1,2]) then
+ error(msprintf(gettext("%s: Wrong number of input arguments: %d or %d expected.\n"),"tbx_generate_pofile", 1, 2));
+ end
+
+ if rhs == 1 then
+ tbx_path = pwd();
+ end
+
+ if type(tbx_name) <> 10 then
+ error(msprintf(_("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_generate_pofile", 1));
+ end
+
+ if type(tbx_path) <> 10 then
+ error(msprintf(_("%s: Wrong type for input argument #%d: A string expected.\n"), "tbx_generate_pofile", 1));
+ end
+
+ if ~isdir(tbx_path) then
+ error(msprintf(gettext("%s: The directory ''%s'' doesn''t exist or is not read accessible.\n"), "tbx_generate_pofile", tbx_path));
+ end
+
+ old = pwd();
+ cd(tbx_path);
+ if getos() == "Windows" then
+ XGETTEXT= WSCI + "\tools\gettext\xgettext";
+ else
+ XGETTEXT="xgettext";
+ end
+ XGETTEXT_OPTIONS=" --omit-header -k --keyword=dgettext:2 --keyword=xmlgettext:2 --keyword=_d:2 --language=python ";
+
+ EXTENSIONS=["c" "h" "cpp" "cxx" "hxx" "hpp" "java"];
+ EXTENSIONS_MACROS=["sci" "sce" "start" "quit"];
+ EXTENSIONS_XML=["xml" "xsl"];
+ TARGETDIR="locales";
+
+ mkdir(TARGETDIR);
+ srcFiles = getFilesList("src", EXTENSIONS);
+ srcFiles = [srcFiles ; getFilesList("sci_gateway", EXTENSIONS)];
+ srcFiles = [srcFiles ; getFilesList("macros", EXTENSIONS_MACROS)];
+ srcFiles = [srcFiles ; getFilesList("etc", EXTENSIONS_MACROS)];
+
+ //manage xml preferences files
+ xmlFiles = getFilesList("etc", EXTENSIONS_XML);
+
+ if size(xmlFiles, "*") > 0 then
+ xmlTmpFile = TMPDIR + "/tmpLoc.xml";
+ srcFiles = [srcFiles; xmlTmpFile];
+ xmlFake = mopen(xmlTmpFile, "w");
+ for i = 1:size(xmlFiles, "*")
+ content = mgetl(xmlFiles(i));
+ newLine = sedLoc(content, "/\""_d\(\s*(.*)\s*,\s*(.*)\s*\)\""/", "xmlgettext(""\1"", ""\2"")");// "_d(xxx,xxx)"
+ newLine = sedLoc(newLine, "/\""dgettext\(\s*(.*)\s*,\s*(.*)\s*\)\""/", "xmlgettext(""\1"", ""\2"")");
+ mputl(newLine, xmlFake);
+ end
+ mclose(xmlFake);
+ end
+
+ //parse all files
+ srcFiles = strcat(srcFiles, " ");
+ cmd = XGETTEXT + XGETTEXT_OPTIONS + " -d " + tbx_name + " " + srcFiles + " -p " + TARGETDIR + " -o " + "en_US.po.tmp";
+ host(cmd);
+
+ if exists("xmlTmpFile") then
+ deletefile(xmlTmpFile);
+ end
+
+ fi = fileinfo(TARGETDIR + "/en_US.po.tmp");
+ if fi == [] | fi(1) == 0 then
+ //nothing to extract
+ deletefile(TARGETDIR + "/en_US.po.tmp");
+ rmdir(TARGETDIR);
+ cd(old);
+ ret = [];
+ return;
+ end
+
+ //add header
+ header = ["msgid """"";
+ "msgstr """"";
+ """Content-Type: text/plain; charset=UTF-8\n""";
+ """Content-Transfer-Encoding: 8bit\n""";""];
+
+ poFile = mgetl(TARGETDIR + "/en_US.po.tmp");
+ poFile = [header ; poFile];
+ mputl(poFile, TARGETDIR + "/en_US.po");
+ deletefile(TARGETDIR + "/en_US.po.tmp");
+
+ cd(old);
+ ret = tbx_path + filesep() + TARGETDIR + filesep() + "en_US.po";
+endfunction
+
+function result = sedLoc(str, findExp, replaceExp)
+ result = str;
+ index = grep(result, findExp, "r");
+ while index <> []
+ idx = index(1);
+ [startPos, endPos, match, captured] = regexp(result(idx), findExp);
+
+ if captured <> [] then
+ //multiple matches on the same line, YOUHOU !
+ for i=1:size(captured, "r")
+ replace = replaceExp;
+ for j = 1:size(captured, "c")
+ replace = strsubst(replace, "\" + string(j), captured(i,j));
+ end
+
+ if size(replace, "*") > 1 & (startPos <> 1 | endPos <> length(result(idx))) then
+ //replace partial line by multiline expression
+ replace(1) = part(result(idx), 1:startPos) + " " + replace(1);
+ replace($) = replace($) + " " + part(result(idx), (endPos+1):length(result(idx)));
+
+ result = [result(1:(idx-1)); replace; result((idx+1):$)];
+ elseif size(replace, "*") > 1 then
+ //replace entire line by multiline expression
+ result = [result(1:(idx-1)); replace; result((idx+1):$)];
+ else
+ //replace partial line by 1-line expression
+ result(idx) = strsubst(result(idx), match(i), replace);
+ end
+ end
+ end
+
+ //update index with new "file"
+ index = grep(result, findExp, "r");
+ end
+endfunction
+
+function ret = getFilesList(folder, mask)
+ if ~isdir(folder) then
+ ret = [];
+ return;
+ end
+
+ old = pwd();
+ cd(folder)
+
+ ret = [];
+
+ files = ls();
+
+ for j = 1:size(files, "*")
+ if isdir(files(j)) then
+ ret = [ret ; getFilesList(files(j), mask)];
+ end
+ end
+
+ for i = 1:size(mask, "*")
+ srcFiles = findfiles(pwd(), "*." + mask(i));
+ if srcFiles <> [] then
+ ret = [ret ; pwd() + filesep() + srcFiles];
+ end
+ end
+
+ cd(old);
+endfunction
+
diff --git a/modules/modules_manager/modules_manager.iss b/modules/modules_manager/modules_manager.iss
new file mode 100755
index 000000000..5282be8fe
--- /dev/null
+++ b/modules/modules_manager/modules_manager.iss
@@ -0,0 +1,41 @@
+;
+; Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+; Copyright (C) DIGITEO - 2010 - Allan CORNET
+;
+; This file must be used under the terms of the CeCILL.
+; This source file is licensed as described in the file COPYING, which
+; you should have received as part of this distribution. The terms
+; are also available at
+; http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
+;
+;--------------------------------------------------------------------------------------------------------------
+; Inno Setup Script (5.3 and more) for Scilab (UNICODE version required)
+;
+;--------------------------------------------------------------------------------------------------------------
+; modules_manager module
+;--------------------------------------------------------------------------------------------------------------
+;
+#define MODULES_MANAGER "modules_manager"
+;
+Source: modules\{#MODULES_MANAGER}\license.txt; DestDir: {app}\modules\{#MODULES_MANAGER}; Components: {#COMPN_MODULES_MANAGER}
+;
+Source: modules\{#MODULES_MANAGER}\etc\{#MODULES_MANAGER}.quit; DestDir: {app}\modules\{#MODULES_MANAGER}\etc; Components: {#COMPN_MODULES_MANAGER}
+Source: modules\{#MODULES_MANAGER}\etc\{#MODULES_MANAGER}.start; DestDir: {app}\modules\{#MODULES_MANAGER}\etc; Components: {#COMPN_MODULES_MANAGER}
+;
+;Source: modules\{#MODULES_MANAGER}\includes\*.h; DestDir: {app}\modules\{#MODULES_MANAGER}\includes; Flags: recursesubdirs; Components: {#COMPN_MODULES_MANAGER}
+;
+Source: modules\{#MODULES_MANAGER}\macros\lib; DestDir: {app}\modules\{#MODULES_MANAGER}\macros; Components: {#COMPN_MODULES_MANAGER}
+Source: modules\{#MODULES_MANAGER}\macros\names; DestDir: {app}\modules\{#MODULES_MANAGER}\macros; Components: {#COMPN_MODULES_MANAGER}
+Source: modules\{#MODULES_MANAGER}\macros\*.bin; DestDir: {app}\modules\{#MODULES_MANAGER}\macros; Components: {#COMPN_MODULES_MANAGER}
+Source: modules\{#MODULES_MANAGER}\macros\*.sci; DestDir: {app}\modules\{#MODULES_MANAGER}\macros; Components: {#COMPN_MODULES_MANAGER}
+Source: modules\{#MODULES_MANAGER}\macros\buildmacros.sce; DestDir: {app}\modules\{#MODULES_MANAGER}\macros; Components: {#COMPN_MODULES_MANAGER}
+Source: modules\{#MODULES_MANAGER}\macros\buildmacros.bat; DestDir: {app}\modules\{#MODULES_MANAGER}\macros; Components: {#COMPN_MODULES_MANAGER}
+Source: modules\{#MODULES_MANAGER}\macros\cleanmacros.bat; DestDir: {app}\modules\{#MODULES_MANAGER}\macros; Components: {#COMPN_MODULES_MANAGER}
+;
+;Source: modules\{#MODULES_MANAGER}\demos\*.*; DestDir: {app}\modules\{#MODULES_MANAGER}\demos; Flags: recursesubdirs; Components: {#COMPN_MODULES_MANAGER}
+;
+;Source: modules\{#MODULES_MANAGER}\examples\*.*; DestDir: {app}\modules\{#MODULES_MANAGER}\examples; Flags: recursesubdirs; Components: {#COMPN_MODULES_MANAGER}
+;
+Source: modules\{#MODULES_MANAGER}\tests\*.*; DestDir: {app}\modules\{#MODULES_MANAGER}\tests; Flags: recursesubdirs; Components: {#COMPN_MODULES_MANAGER} and {#COMPN_TESTS}
+;
+;--------------------------------------------------------------------------------------------------------------
diff --git a/modules/modules_manager/tests/nonreg_tests/bug_6831.tst b/modules/modules_manager/tests/nonreg_tests/bug_6831.tst
new file mode 100755
index 000000000..72e6d91f5
--- /dev/null
+++ b/modules/modules_manager/tests/nonreg_tests/bug_6831.tst
@@ -0,0 +1,24 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+// <-- INTERACTIVE TEST -->
+
+// <-- Non-regression test for bug 6831 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=6831
+//
+// <-- Short Description -->
+// in cli (=nwni) mode, tbx_build_help failed.
+
+// launch scilab as CLI or NWNI mode
+
+cd SCI/contrib/toolbox_skeleton
+exec builder.sce;
+
+// toolbox should be built, but help generation must be skipped
diff --git a/modules/modules_manager/tests/nonreg_tests/bug_6971.tst b/modules/modules_manager/tests/nonreg_tests/bug_6971.tst
new file mode 100755
index 000000000..cfe31ca79
--- /dev/null
+++ b/modules/modules_manager/tests/nonreg_tests/bug_6971.tst
@@ -0,0 +1,23 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+// <-- INTERACTIVE TEST -->
+
+// <-- Non-regression test for bug 6971 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=6971
+//
+// <-- Short Description -->
+// after launching a toolbox by loader.sce, variable v was predefined.
+
+// launch scilab
+cd SCI/contrib/toolbox_skeleton
+exec builder.sce;
+exec loader.sce;
+if isdef('v') then pause,end
diff --git a/modules/modules_manager/tests/nonreg_tests/bug_7014.tst b/modules/modules_manager/tests/nonreg_tests/bug_7014.tst
new file mode 100755
index 000000000..d83400f00
--- /dev/null
+++ b/modules/modules_manager/tests/nonreg_tests/bug_7014.tst
@@ -0,0 +1,27 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+// <-- INTERACTIVE TEST -->
+
+// <-- Non-regression test for bug 7014 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=7014
+//
+// <-- Short Description -->
+// ilib_verbose value modified after toolbox_skeleton
+
+// launch scilab
+
+DEFAULT_VALUE_VERBOSE = ilib_verbose();
+
+cd SCI/contrib/toolbox_skeleton
+exec builder.sce;
+exec loader.sce;
+
+if ilib_verbose() <> DEFAULT_VALUE_VERBOSE then pause, end
diff --git a/modules/modules_manager/tests/nonreg_tests/bug_8129.tst b/modules/modules_manager/tests/nonreg_tests/bug_8129.tst
new file mode 100755
index 000000000..cf2082a82
--- /dev/null
+++ b/modules/modules_manager/tests/nonreg_tests/bug_8129.tst
@@ -0,0 +1,24 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2010 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- CLI SHELL MODE -->
+// <-- INTERACTIVE TEST -->
+
+// <-- Non-regression test for bug 8129 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=8129
+//
+// <-- Short Description -->
+// a error message was obscure in tbx_builder_src
+
+// Try to build a toolbox needing building from sources on a machine
+// without a compiler (tested here on XP).
+// for example SCI/contrib/toolbox_skeleton
+
+// Message must be :
+// tbx_builder_src: This module requires a C or Fortran compiler and it has not been found.
diff --git a/modules/modules_manager/tests/nonreg_tests/bug_9339.tst b/modules/modules_manager/tests/nonreg_tests/bug_9339.tst
new file mode 100755
index 000000000..f10cd0cbf
--- /dev/null
+++ b/modules/modules_manager/tests/nonreg_tests/bug_9339.tst
@@ -0,0 +1,30 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- ENGLISH IMPOSED -->
+//
+// <-- NO CHECK ERROR OUTPUT -->
+//
+// <-- Non-regression test for bug 9339 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=9339
+//
+// <-- Short Description -->
+// 'tbx_build_help' function did not manage languages correctly.
+
+SRC = SCI + '/contrib/toolbox_skeleton';
+DST = TMPDIR + '/toolbox_skeleton';
+mkdir(DST);
+assert_checkequal(isdir(DST), %T);
+copyfile(SRC, DST);
+cd(DST);
+ilib_verbose(0);
+exec('builder.sce');
+
+assert_checkequal(isdir(DST + '/help/fr_FR/scilab_fr_FR_help'), %T);
+assert_checkequal(isdir(DST + '/help/en_US/scilab_en_US_help'), %T);
diff --git a/modules/modules_manager/tests/nonreg_tests/bug_9339.unix.dia.ref b/modules/modules_manager/tests/nonreg_tests/bug_9339.unix.dia.ref
new file mode 100755
index 000000000..cdaef6d44
--- /dev/null
+++ b/modules/modules_manager/tests/nonreg_tests/bug_9339.unix.dia.ref
@@ -0,0 +1,64 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- ENGLISH IMPOSED -->
+//
+// <-- NO CHECK ERROR OUTPUT -->
+//
+// <-- Non-regression test for bug 9339 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=9339
+//
+// <-- Short Description -->
+// 'tbx_build_help' function did not manage languages correctly.
+SRC = SCI + '/contrib/toolbox_skeleton';
+DST = TMPDIR + '/toolbox_skeleton';
+mkdir(DST);
+assert_checkequal(isdir(DST), %T);
+copyfile(SRC, DST);
+cd(DST);
+ilib_verbose(0);
+exec('builder.sce');
+Building macros...
+-- Creation of [toolbox_skeletonlib] (Macros) --
+genlib: Processing file: scilab_error.sci
+genlib: Processing file: scilab_sum.sci
+genlib: Regenerate names and lib
+Building sources...
+Building gateway...
+Generating loader_gateway.sce...
+Generating cleaner_gateway.sce...
+Generating localization
+-- Building for "en_US" --
+-- Building for "fr_FR" --
+Building help...
+
+Building the master document:
+ TMPDIR/toolbox_skeleton/help/en_US
+
+Building the manual file [javaHelp] in TMPDIR/toolbox_skeleton/help/en_US.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
+ l
+
+Building the master document:
+ TMPDIR/toolbox_skeleton/help/fr_FR
+
+Building the manual file [javaHelp] in TMPDIR/toolbox_skeleton/help/fr_FR.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
+ l
+Generating loader.sce...
+Generating unloader.sce...
+Generating cleaner.sce...
+assert_checkequal(isdir(DST + '/help/fr_FR/scilab_fr_FR_help'), %T);
+assert_checkequal(isdir(DST + '/help/en_US/scilab_en_US_help'), %T);
diff --git a/modules/modules_manager/tests/nonreg_tests/bug_9339.win.dia.ref b/modules/modules_manager/tests/nonreg_tests/bug_9339.win.dia.ref
new file mode 100755
index 000000000..f525f9835
--- /dev/null
+++ b/modules/modules_manager/tests/nonreg_tests/bug_9339.win.dia.ref
@@ -0,0 +1,64 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Allan CORNET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- ENGLISH IMPOSED -->
+//
+// <-- NO CHECK ERROR OUTPUT -->
+//
+// <-- Non-regression test for bug 9339 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/show_bug.cgi?id=9339
+//
+// <-- Short Description -->
+// 'tbx_build_help' function did not manage languages correctly.
+SRC = SCI + '/contrib/toolbox_skeleton';
+DST = TMPDIR + '/toolbox_skeleton';
+mkdir(DST);
+assert_checkequal(isdir(DST), %T);
+copyfile(SRC, DST);
+cd(DST);
+ilib_verbose(0);
+exec('builder.sce');
+Building macros...
+-- Creation of [toolbox_skeletonlib] (Macros) --
+genlib: Processing file: scilab_error.sci
+genlib: Processing file: scilab_sum.sci
+genlib: Regenerate names and lib
+Building sources...
+Building gateway...
+Generating loader_gateway.sce...
+Generating cleaner_gateway.sce...
+Generating localization
+-- Building for "en_US" --
+-- Building for "fr_FR" --
+Building help...
+
+Building the master document:
+ TMPDIR\toolbox_skeleton\help\en_US
+
+Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\en_US.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
+ l
+
+Building the master document:
+ TMPDIR\toolbox_skeleton\help\fr_FR
+
+Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\fr_FR.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
+ l
+Generating loader.sce...
+Generating unloader.sce...
+Generating cleaner.sce...
+assert_checkequal(isdir(DST + '/help/fr_FR/scilab_fr_FR_help'), %T);
+assert_checkequal(isdir(DST + '/help/en_US/scilab_en_US_help'), %T);
diff --git a/modules/modules_manager/tests/unit_tests/toolbox_skeleton.tst b/modules/modules_manager/tests/unit_tests/toolbox_skeleton.tst
new file mode 100755
index 000000000..c9932022c
--- /dev/null
+++ b/modules/modules_manager/tests/unit_tests/toolbox_skeleton.tst
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Vincent COUVERT
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- NO CHECK ERROR OUTPUT -->
+// <-- ENGLISH IMPOSED -->
+
+// Test the toolbox skeleton in SCI/contrib/
+// - Building/Compilation
+// - Loading
+// - Tests
+
+// Scilab external module skeleton
+status = copyfile(SCI + "/contrib/toolbox_skeleton/", TMPDIR + "/toolbox_skeleton/");
+assert_checkequal(status, 1);
+exec("TMPDIR/toolbox_skeleton/builder.sce");
+exec("TMPDIR/toolbox_skeleton/loader.sce");
+test_run("TMPDIR/toolbox_skeleton/", [], "short_summary"); \ No newline at end of file
diff --git a/modules/modules_manager/tests/unit_tests/toolbox_skeleton.unix.dia.ref b/modules/modules_manager/tests/unit_tests/toolbox_skeleton.unix.dia.ref
new file mode 100755
index 000000000..e3f458cbc
--- /dev/null
+++ b/modules/modules_manager/tests/unit_tests/toolbox_skeleton.unix.dia.ref
@@ -0,0 +1,125 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Vincent COUVERT
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- NO CHECK ERROR OUTPUT -->
+// <-- ENGLISH IMPOSED -->
+// Test the toolbox skeleton in SCI/contrib/
+// - Building/Compilation
+// - Loading
+// - Tests
+// Scilab external module skeleton
+status = copyfile(SCI + "/contrib/toolbox_skeleton/", TMPDIR + "/toolbox_skeleton/");
+assert_checkequal(status, 1);
+exec("TMPDIR/toolbox_skeleton/builder.sce");
+Building macros...
+-- Creation of [toolbox_skeletonlib] (Macros) --
+genlib: Processing file: scilab_error.sci
+genlib: Processing file: scilab_sum.sci
+genlib: Regenerate names and lib
+Building sources...
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy fsum.f to TMPDIR
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the Makefile
+ Generate a cleaner file
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy csum.c to TMPDIR
+ ilib_gen_Make: Copy csub.c to TMPDIR
+ ilib_gen_Make: Copy multiplybypi.c to TMPDIR
+ ilib_gen_Make: configure : Generate Makefile.
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the Makefile
+ Generate a cleaner file
+ Building JAR library org.scilab.contrib.toolboxskeleton.jar
+ Compiling Java sources in TMPDIR/toolbox_skeleton/src/java/
+ Creating JAR archive TMPDIR/toolbox_skeleton/jar/org.scilab.contrib.toolboxskeleton.jar
+ Create loader script for Java loader.sce
+ Create cleaner script for Java cleaner.sce
+Building gateway...
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy libskeleton_fortran.c to TMPDIR
+ ilib_gen_Make: Copy sci_fsum.c to TMPDIR
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the makefile
+ Generate a cleaner file
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy libskeleton_c.c to TMPDIR
+ ilib_gen_Make: Copy sci_cerror.c to TMPDIR
+ ilib_gen_Make: Copy sci_csub.c to TMPDIR
+ ilib_gen_Make: Copy sci_csum.c to TMPDIR
+ ilib_gen_Make: Copy sci_foo.c to TMPDIR
+ ilib_gen_Make: Copy sci_multiplybypi.c to TMPDIR
+ ilib_gen_Make: configure : Generate Makefile.
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the makefile
+ Generate a cleaner file
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy libskeleton_cpp.c to TMPDIR
+ ilib_gen_Make: Copy sci_cpp_find.cxx to TMPDIR
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the makefile
+ Generate a cleaner file
+Generating loader_gateway.sce...
+Generating cleaner_gateway.sce...
+Generating localization
+-- Building for "en_US" --
+-- Building for "fr_FR" --
+Building help...
+
+Building the master document:
+ TMPDIR/toolbox_skeleton/help/en_US
+
+Building the manual file [javaHelp] in TMPDIR/toolbox_skeleton/help/en_US.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
+ l
+
+Building the master document:
+ TMPDIR/toolbox_skeleton/help/fr_FR
+
+Building the manual file [javaHelp] in TMPDIR/toolbox_skeleton/help/fr_FR.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
+ l
+Generating loader.sce...
+Generating unloader.sce...
+Generating cleaner.sce...
+exec("TMPDIR/toolbox_skeleton/loader.sce");
+Start Toolbox Skeleton
+ Load macros
+ Load gateways
+ Load Java libraries
+ Load help
+ Load demos
+test_run("TMPDIR/toolbox_skeleton/", [], "short_summary");
+ 001/001 - [TMPDIR/toolbox_skeleton/] :
+
+ 001/004 - [TMPDIR/toolbox_skeleton/] c_sum...................passed
+ 002/004 - [TMPDIR/toolbox_skeleton/] fortran_sum.............passed
+ 003/004 - [TMPDIR/toolbox_skeleton/] java_sum................passed
+ 004/004 - [TMPDIR/toolbox_skeleton/] scilab_sum..............passed
+
+
+ --------------------------------------------------------------------------
+ Tests: 4, Passed: 4, Failed: 0, Skipped: 0
+ --------------------------------------------------------------------------
diff --git a/modules/modules_manager/tests/unit_tests/toolbox_skeleton.win.dia.ref b/modules/modules_manager/tests/unit_tests/toolbox_skeleton.win.dia.ref
new file mode 100755
index 000000000..e0542909f
--- /dev/null
+++ b/modules/modules_manager/tests/unit_tests/toolbox_skeleton.win.dia.ref
@@ -0,0 +1,118 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Vincent COUVERT
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- NO CHECK ERROR OUTPUT -->
+// <-- ENGLISH IMPOSED -->
+// Test the toolbox skeleton in SCI/contrib/
+// - Building/Compilation
+// - Loading
+// - Tests
+// Scilab external module skeleton
+status = copyfile(SCI + "/contrib/toolbox_skeleton/", TMPDIR + "/toolbox_skeleton/");
+assert_checkequal(status, 1);
+exec("TMPDIR/toolbox_skeleton/builder.sce");
+Building macros...
+-- Creation of [toolbox_skeletonlib] (Macros) --
+genlib: Processing file: scilab_error.sci
+genlib: Processing file: scilab_sum.sci
+genlib: Regenerate names and lib
+Building sources...
+ Generate a loader file
+ Generate a Makefile
+ Running the Makefile
+ Compilation of fsum.f
+ Building shared library (be patient)
+ Generate a cleaner file
+ Generate a loader file
+ Generate a Makefile
+ Running the Makefile
+ Compilation of csum.c
+ Compilation of csub.c
+ Compilation of multiplybypi.c
+ Building shared library (be patient)
+ Generate a cleaner file
+ Building JAR library org.scilab.contrib.toolboxskeleton.jar
+ Compiling Java sources in TMPDIR\toolbox_skeleton\src\java\
+ Creating JAR archive TMPDIR\toolbox_skeleton\jar\org.scilab.contrib.toolboxskeleton.jar
+ Create loader script for Java loader.sce
+ Create cleaner script for Java cleaner.sce
+Building gateway...
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ Running the makefile
+ Compilation of sci_fsum.c
+ Compilation of skeleton_fortran.c
+ Building shared library (be patient)
+ Generate a cleaner file
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ Running the makefile
+ Compilation of sci_cerror.c
+ Compilation of sci_csub.c
+ Compilation of sci_csum.c
+ Compilation of sci_foo.c
+ Compilation of sci_multiplybypi.c
+ Compilation of skeleton_c.c
+ Building shared library (be patient)
+ Generate a cleaner file
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ Running the makefile
+ Compilation of sci_cpp_find.cxx
+ Compilation of skeleton_cpp.c
+ Building shared library (be patient)
+ Generate a cleaner file
+Generating loader_gateway.sce...
+Generating cleaner_gateway.sce...
+Generating localization
+-- Building for "en_US" --
+-- Building for "fr_FR" --
+Building help...
+
+Building the master document:
+ TMPDIR\toolbox_skeleton\help\en_US
+
+Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\en_US.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_en_US_2.png from Scilab code from file c_sub.xm
+ l
+
+Building the master document:
+ TMPDIR\toolbox_skeleton\help\fr_FR
+
+Building the manual file [javaHelp] in TMPDIR\toolbox_skeleton\help\fr_FR.
+
+ Generate image ./c_sub_1.png from Scilab code from file c_sub.xml
+
+ Generate image ./c_sub_fr_FR_2.png from Scilab code from file c_sub.xm
+ l
+Generating loader.sce...
+Generating unloader.sce...
+Generating cleaner.sce...
+exec("TMPDIR/toolbox_skeleton/loader.sce");
+Start Toolbox Skeleton
+ Load macros
+ Load gateways
+ Load Java libraries
+ Load help
+ Load demos
+test_run("TMPDIR/toolbox_skeleton/", [], "short_summary");
+ 001/001 - [TMPDIR/toolbox_skeleton/] :
+
+ 001/004 - [TMPDIR/toolbox_skeleton/] c_sum...................passed
+ 002/004 - [TMPDIR/toolbox_skeleton/] fortran_sum.............passed
+ 003/004 - [TMPDIR/toolbox_skeleton/] java_sum................passed
+ 004/004 - [TMPDIR/toolbox_skeleton/] scilab_sum..............passed
+
+
+ --------------------------------------------------------------------------
+ Tests: 4, Passed: 4, Failed: 0, Skipped: 0
+ --------------------------------------------------------------------------
diff --git a/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.macosx.dia.ref b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.macosx.dia.ref
new file mode 100755
index 000000000..e02a1b5fb
--- /dev/null
+++ b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.macosx.dia.ref
@@ -0,0 +1,78 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Vincent COUVERT
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- NO CHECK ERROR OUTPUT -->
+// <-- ENGLISH IMPOSED -->
+// Test the Xcos toolbox skeleton in SCI/contrib/
+// - Building/Compilation
+// - Loading
+// - Tests
+// Xcos external module skeleton
+status = copyfile(SCI + "/contrib/xcos_toolbox_skeleton/", TMPDIR + "/xcos_toolbox_skeleton/");
+assert_checkequal(status, 1);
+exec("TMPDIR/xcos_toolbox_skeleton/builder.sce");
+Building macros...
+-- Creation of [xcos_toolbox_skeletonlib] (Macros) --
+genlib: Processing file: TBX_MUT_STYLE.sci
+genlib: Processing file: TBX_NOOP.sci
+genlib: Processing file: TBX_NOOP_sci.sci
+genlib: Processing file: TBX_NOOP_sim.sci
+genlib: Processing file: TBX_SUM_c.sci
+genlib: Processing file: TBX_SUM_modelica.sci
+genlib: Processing file: TBX_SUM_sci.sci
+genlib: Processing file: TBX_SUM_sim.sci
+genlib: Regenerate names and lib
+Building blocks...
+Building sources...
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy block_sum.c to TMPDIR
+ ilib_gen_Make: Copy business_sum.c to TMPDIR
+ ilib_gen_Make: Copy tbx_block_noop.c to TMPDIR
+ ilib_gen_Make: configure : Generate Makefile.
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the Makefile
+ Generate a cleaner file
+Building gateway...
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy libxcos_toolbox_skeleton_c.c to TMPDIR
+ ilib_gen_Make: Copy sci_tbx_sum.c to TMPDIR
+ ilib_gen_Make: configure : Generate Makefile.
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the makefile
+ Generate a cleaner file
+Generating loader_gateway.sce...
+Generating cleaner_gateway.sce...
+Building help...
+
+Building the master document:
+ TMPDIR/xcos_toolbox_skeleton/help/en_US
+
+Building the manual file [javaHelp] in TMPDIR/xcos_toolbox_skeleton/help/en_US.
+Generating loader.sce...
+Generating unloader.sce...
+Generating cleaner.sce...
+exec("TMPDIR/xcos_toolbox_skeleton/loader.sce");
+Start Xcos toolbox skeleton
+ Load macros
+ Load palette
+ Load simulations functions
+ Load gateways
+ Load help
+ Load demos
+test_run("TMPDIR/xcos_toolbox_skeleton/", [], "short_summary");
+ 001/001 - [TMPDIR/xcos_toolbox_skeleton/] :
+
+ 001/001 - [TMPDIR/xcos_toolbox_skeleton/] tbx_sum............passed
+
+
+ --------------------------------------------------------------------------
+ Tests: 1, Passed: 1, Failed: 0, Skipped: 0
+ --------------------------------------------------------------------------
diff --git a/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.tst b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.tst
new file mode 100755
index 000000000..cba94d6e4
--- /dev/null
+++ b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.tst
@@ -0,0 +1,21 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Vincent COUVERT
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+
+// <-- NO CHECK ERROR OUTPUT -->
+// <-- ENGLISH IMPOSED -->
+
+// Test the Xcos toolbox skeleton in SCI/contrib/
+// - Building/Compilation
+// - Loading
+// - Tests
+
+// Xcos external module skeleton
+status = copyfile(SCI + "/contrib/xcos_toolbox_skeleton/", TMPDIR + "/xcos_toolbox_skeleton/");
+assert_checkequal(status, 1);
+exec("TMPDIR/xcos_toolbox_skeleton/builder.sce");
+exec("TMPDIR/xcos_toolbox_skeleton/loader.sce");
+test_run("TMPDIR/xcos_toolbox_skeleton/", [], "short_summary"); \ No newline at end of file
diff --git a/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.unix.dia.ref b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.unix.dia.ref
new file mode 100755
index 000000000..e02a1b5fb
--- /dev/null
+++ b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.unix.dia.ref
@@ -0,0 +1,78 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Vincent COUVERT
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- NO CHECK ERROR OUTPUT -->
+// <-- ENGLISH IMPOSED -->
+// Test the Xcos toolbox skeleton in SCI/contrib/
+// - Building/Compilation
+// - Loading
+// - Tests
+// Xcos external module skeleton
+status = copyfile(SCI + "/contrib/xcos_toolbox_skeleton/", TMPDIR + "/xcos_toolbox_skeleton/");
+assert_checkequal(status, 1);
+exec("TMPDIR/xcos_toolbox_skeleton/builder.sce");
+Building macros...
+-- Creation of [xcos_toolbox_skeletonlib] (Macros) --
+genlib: Processing file: TBX_MUT_STYLE.sci
+genlib: Processing file: TBX_NOOP.sci
+genlib: Processing file: TBX_NOOP_sci.sci
+genlib: Processing file: TBX_NOOP_sim.sci
+genlib: Processing file: TBX_SUM_c.sci
+genlib: Processing file: TBX_SUM_modelica.sci
+genlib: Processing file: TBX_SUM_sci.sci
+genlib: Processing file: TBX_SUM_sim.sci
+genlib: Regenerate names and lib
+Building blocks...
+Building sources...
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy block_sum.c to TMPDIR
+ ilib_gen_Make: Copy business_sum.c to TMPDIR
+ ilib_gen_Make: Copy tbx_block_noop.c to TMPDIR
+ ilib_gen_Make: configure : Generate Makefile.
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the Makefile
+ Generate a cleaner file
+Building gateway...
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
+ ilib_gen_Make: Copy libxcos_toolbox_skeleton_c.c to TMPDIR
+ ilib_gen_Make: Copy sci_tbx_sum.c to TMPDIR
+ ilib_gen_Make: configure : Generate Makefile.
+ ilib_gen_Make: Modification of the Makefile in TMPDIR.
+ Running the makefile
+ Generate a cleaner file
+Generating loader_gateway.sce...
+Generating cleaner_gateway.sce...
+Building help...
+
+Building the master document:
+ TMPDIR/xcos_toolbox_skeleton/help/en_US
+
+Building the manual file [javaHelp] in TMPDIR/xcos_toolbox_skeleton/help/en_US.
+Generating loader.sce...
+Generating unloader.sce...
+Generating cleaner.sce...
+exec("TMPDIR/xcos_toolbox_skeleton/loader.sce");
+Start Xcos toolbox skeleton
+ Load macros
+ Load palette
+ Load simulations functions
+ Load gateways
+ Load help
+ Load demos
+test_run("TMPDIR/xcos_toolbox_skeleton/", [], "short_summary");
+ 001/001 - [TMPDIR/xcos_toolbox_skeleton/] :
+
+ 001/001 - [TMPDIR/xcos_toolbox_skeleton/] tbx_sum............passed
+
+
+ --------------------------------------------------------------------------
+ Tests: 1, Passed: 1, Failed: 0, Skipped: 0
+ --------------------------------------------------------------------------
diff --git a/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.win.dia.ref b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.win.dia.ref
new file mode 100755
index 000000000..ef0ff2730
--- /dev/null
+++ b/modules/modules_manager/tests/unit_tests/xcos_toolbox_skeleton.win.dia.ref
@@ -0,0 +1,74 @@
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2011 - DIGITEO - Vincent COUVERT
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+// <-- NO CHECK ERROR OUTPUT -->
+// <-- ENGLISH IMPOSED -->
+// Test the Xcos toolbox skeleton in SCI/contrib/
+// - Building/Compilation
+// - Loading
+// - Tests
+// Xcos external module skeleton
+status = copyfile(SCI + "/contrib/xcos_toolbox_skeleton/", TMPDIR + "/xcos_toolbox_skeleton/");
+assert_checkequal(status, 1);
+exec("TMPDIR/xcos_toolbox_skeleton/builder.sce");
+Building macros...
+-- Creation of [xcos_toolbox_skeletonlib] (Macros) --
+genlib: Processing file: TBX_MUT_STYLE.sci
+genlib: Processing file: TBX_NOOP.sci
+genlib: Processing file: TBX_NOOP_sci.sci
+genlib: Processing file: TBX_NOOP_sim.sci
+genlib: Processing file: TBX_SUM_c.sci
+genlib: Processing file: TBX_SUM_modelica.sci
+genlib: Processing file: TBX_SUM_sci.sci
+genlib: Processing file: TBX_SUM_sim.sci
+genlib: Regenerate names and lib
+Building blocks...
+Building sources...
+ Generate a loader file
+ Generate a Makefile
+ Running the Makefile
+ Compilation of block_sum.c
+ Compilation of business_sum.c
+ Compilation of tbx_block_noop.c
+ Building shared library (be patient)
+ Generate a cleaner file
+Building gateway...
+ Generate a gateway file
+ Generate a loader file
+ Generate a Makefile
+ Running the makefile
+ Compilation of sci_tbx_sum.c
+ Compilation of xcos_toolbox_skeleton_c.c
+ Building shared library (be patient)
+ Generate a cleaner file
+Generating loader_gateway.sce...
+Generating cleaner_gateway.sce...
+Building help...
+
+Building the master document:
+ TMPDIR\xcos_toolbox_skeleton\help\en_US
+
+Building the manual file [javaHelp] in TMPDIR\xcos_toolbox_skeleton\help\en_US.
+Generating loader.sce...
+Generating unloader.sce...
+Generating cleaner.sce...
+exec("TMPDIR/xcos_toolbox_skeleton/loader.sce");
+Start Xcos toolbox skeleton
+ Load macros
+ Load palette
+ Load simulations functions
+ Load gateways
+ Load help
+ Load demos
+test_run("TMPDIR/xcos_toolbox_skeleton/", [], "short_summary");
+ 001/001 - [TMPDIR/xcos_toolbox_skeleton/] :
+
+ 001/001 - [TMPDIR/xcos_toolbox_skeleton/] tbx_sum............passed
+
+
+ --------------------------------------------------------------------------
+ Tests: 1, Passed: 1, Failed: 0, Skipped: 0
+ --------------------------------------------------------------------------