4 # description of the template to be displayed with option --info
7 Description: This template can be used to create an application based on SALOME.
10 # code to substitute with component name
11 file_subst = "Application"
13 # delimiter used in the template (default is ':sat:')
16 # filter of files to ignore for substitution
17 # if not defined all files will be parsed
18 ignore_filters = '*.png'
21 # a string = parameter name
22 # a tuple = (parameter name, default value, prompt, validation method)
24 (file_subst, "%(NAME)s"),
25 ("Version", "1.0", "Version of the application"),
26 ("get_method", "archive", "get method for prepare", lambda l: l in ['cvs', 'git', 'archive'])
29 # script to execute after the generation
30 # create icon_splash.pgn etc...
31 post_command = "config/splash_generator/splash2.py ./resources %(NAME)s %(Version)s 'Powered by SALOME'"
33 # configuration to use this component with sat
39 get_sources : '%(get_method)s'
40 build_sources : 'autotools'
41 compile_method : $source_dir + '/config/compile.py'
44 server : $TOOLS.prepare.cvs_server
45 module_base : $TOOLS.prepare.cvs_dir + $name
46 source : 'COMPONENT_SRC'
47 tag : $PRODUCT.default_version_to_download
56 archive_name : '%(target)s.tar.gz'
60 source_dir : $TOOLS.common.source_root + '/' + $name
61 build_dir : $TOOLS.common.build_root + '/' + $name
66 environment : "salome"
67 has_salome_gui : "yes"
74 # The name of the application (overrides $PRODUCT.name)
75 # This name will be used to generate packages.
77 # The name for the application directory (default is APPLI)
78 application_name : "%(NAME)s"
79 # (optional) list of modules if different than PRODUCT.modules
81 module_appli: "%(NAME)s"
82 module_appli_install_dir: $TOOLS.common.module_info.%(NAME)s.install_dir
83 launch_alias_name: "%(name)s"
86 "launch": { "splash": "yes" }
89 "image" : $module_appli_install_dir + "/resources/icon_splash.png"
90 "text_colors" : "#ffffff|#000000"
91 "show_percents" : "yes"
92 "show_progress" : "yes"
93 "show_message" : "yes"
94 #suppose to be installed... and no need if show_message=no
95 "font" : "Xirod,12,normal"
97 "resources": { "LightApp" : $module_appli_install_dir + "/resources" }