Salome HOME
Add format template with [Name_of_Application]
authorCEA Support SALOME <support-salome@cea.fr>
Mon, 25 Jan 2016 09:05:58 +0000 (10:05 +0100)
committerCEA Support SALOME <support-salome@cea.fr>
Mon, 25 Jan 2016 09:05:58 +0000 (10:05 +0100)
18 files changed:
CMakeLists.txt
doc/CMakeLists.txt
doc/README
doc/conf.py.in
doc/index.rst
doc/intro.rst
resources/CMakeLists.txt
resources/SalomeApp.xml.in
resources/about.png
resources/app_logo.png
resources/doc/CMakeLists.txt
resources/doc/README
resources/splash.png
src/resources/CMakeLists.txt
src/resources/LightApp_msg_en.ts
src/resources/LightApp_msg_fr.ts
src/resources/LightApp_msg_ja.ts
src/tests/README

index 62fa45d05d3e1facb4c8c1dec96c241579e08334..c156d1d2417bb7c64d37a7305c7b911ef417f143 100644 (file)
@@ -17,7 +17,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
-PROJECT(Salome_SALOME_Profile C CXX)
+PROJECT(Salome_[Name_of_Application]_Profile C CXX)
 
 # Ensure a proper linker behavior:
 CMAKE_POLICY(SET CMP0003 NEW)
@@ -48,7 +48,7 @@ ENDIF(EXISTS ${KERNEL_ROOT_DIR})
 # User options
 # ============
 OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON)
-OPTION(SALOME_BUILD_DOC "Generate SALOME SALOME documentation" ON)
+OPTION(SALOME_BUILD_DOC "Generate SALOME [Name_of_Application] documentation" ON)
 OPTION(SALOME_BUILD_WITH_QT5 "Build SALOME with Qt 5" OFF)
 
 IF(SALOME_BUILD_TESTS)
@@ -97,10 +97,10 @@ ENDIF()
 # ===========
 SET(SALOME_INSTALL_SCRIPT_PYTHON "${SALOME_INSTALL_SCRIPT_PYTHON}" CACHE PATH "Install path: SALOME Python scripts")
 
-# Specific to SALOME:
-SET(SALOME_SALOME_PROFILE_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/salome_profile" CACHE PATH "Install path: SALOME SALOME specific data")
-SET(SALOME_SALOME_PROFILE_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME SALOME gui documentation")
-SET(SALOME_SALOME_PROFILE_HTML_STATIC_PATH "${SALOME_SALOME_PROFILE_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME SALOME html static data")
+# Specific to [NAME_OF_APPLICATION]:
+SET(SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/(name_of_application)_profile" CACHE PATH "Install path: SALOME [NAME_OF_APPLICATION] specific data")
+SET(SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME [NAME_OF_APPLICATION] gui documentation")
+SET(SALOME_[NAME_OF_APPLICATION]_PROFILE_HTML_STATIC_PATH "${SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME [NAME_OF_APPLICATION] html static data")
 
 MARK_AS_ADVANCED(SALOME_INSTALL_SCRIPT_PYTHON)
 
@@ -123,4 +123,4 @@ SALOME_INSTALL_SCRIPTS("${_salome_context_API_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_
 SET(_salome_context_BASHRC
    ${KERNEL_ROOT_DIR}/bin/salome/appliskel/.bashrc
 )
-SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" $ENV{SALOME_PROFILE_ROOT_DIR})
+SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" $ENV{[NAME_OF_APPLICATION]_PROFILE_ROOT_DIR})
index c8a2d79a625742fdaa50ba799e814fa26756b972..471a2892b34191d92c2224b0a347d5e5680e9b0a 100644 (file)
@@ -25,7 +25,7 @@ SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cm
 ADD_CUSTOM_TARGET(html_docs COMMAND ${_cmd})
 
 INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs)")
-INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_SALOME_PROFILE_INSTALL_DOC_GUI})
+INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_DOC_GUI})
 
 SET(make_clean_files html doctrees)
 SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")
index 141459c205ad6e6532adba6cb072c508fac66fa8..843a1fac637c5d9badfd422f03fdbe99278bdfbe 100644 (file)
@@ -1 +1 @@
-This directory contains the sources of SALOME's documentation
+This directory contains the sources of [Name_of_Application]'s documentation
index db93f5fd00513f02bbea2512d4fff6d351d9120f..580bdac9ca4f4ded320c72ba33dc0b13fb165c82 100644 (file)
@@ -35,7 +35,7 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = 'salome'
+project = '(name_of_application)'
 copyright = '2010-2015 CEA/DEN, EDF R&D, OPEN CASCADE, ASTEK INDUSTRIE'
 
 # The version info for the project you're documenting, acts as replacement for
@@ -43,9 +43,9 @@ copyright = '2010-2015 CEA/DEN, EDF R&D, OPEN CASCADE, ASTEK INDUSTRIE'
 # built documents.
 #
 # The short X.Y version.
-version = '@SALOMESALOME_MAJOR_VERSION@.@SALOMESALOME_MINOR_VERSION@'
+version = '@SALOME[NAME_OF_APPLICATION]_MAJOR_VERSION@.@SALOME[NAME_OF_APPLICATION]_MINOR_VERSION@'
 # The full version, including alpha/beta/rc tags.
-release = '@SALOMESALOME_VERSION@'
+release = '@SALOME[NAME_OF_APPLICATION]_VERSION@'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -113,7 +113,7 @@ html_theme = 'default'
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['@SALOME_SALOME_PROFILE_INSTALL_DOC_GUI@/_static']
+html_static_path = ['@SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_DOC_GUI@/_static']
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
@@ -151,7 +151,7 @@ html_use_modindex = False
 #html_file_suffix = ''
 
 # Output file base name for HTML help builder.
-htmlhelp_basename = 'salomedoc'
+htmlhelp_basename = '(name_of_application)doc'
 
 
 # Options for LaTeX output
@@ -166,7 +166,7 @@ latex_font_size = '10pt'
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, document class [howto/manual]).
 latex_documents = [
-  ('index', 'salome.tex', 'SALOME User Documentation', 'A. Ribes', 'manual')
+  ('index', '(name_of_application).tex', '[Name_of_Application] User Documentation', 'A. Ribes', 'manual')
 ]
 
 # The name of an image file (relative to this directory) to place at the top of
index 30c0efa90517fca14b2fc0c3a58b08a8f2d3ba7a..05713b9dce63ac89cabbbd00083acf9f13be04e8 100644 (file)
@@ -1,6 +1,6 @@
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-SALOME's documentation 
+[Name_of_Application]'s documentation 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 Outline
index 2b0692e31a64acd33aa1189330905711bacc7362..35461a67a3be5b43bb9785870a9791d62d067013 100644 (file)
@@ -1,4 +1,4 @@
 Introduction
 ==========================================
 
-Welcome to SALOME's documentation!
+Welcome to [Name_of_Application]'s documentation!
index b1797a93cce27bda3b1eae1c46808adc377e508e..60582e116a6d62c345b073808e36cebe5f238100 100644 (file)
@@ -18,7 +18,7 @@
 #
 
 # --- resources ---
-SET(SALOME_PROFILE_RESOURCES_FILES
+SET([NAME_OF_APPLICATION]_PROFILE_RESOURCES_FILES
   app_icon.png
   splash.png
   about.png
@@ -27,10 +27,10 @@ SET(SALOME_PROFILE_RESOURCES_FILES
 )
 
 # --- rules ---
-INSTALL(FILES ${SALOME_PROFILE_RESOURCES_FILES} DESTINATION ${SALOME_SALOME_PROFILE_INSTALL_RES_DATA})
+INSTALL(FILES ${[NAME_OF_APPLICATION]_PROFILE_RESOURCES_FILES} DESTINATION ${SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_RES_DATA})
 
 # --- config ---
-SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_SALOME_PROFILE_INSTALL_RES_DATA})
+SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_RES_DATA})
 
 # --- sub-directories ---
 ADD_SUBDIRECTORY( doc )
index e3831b612ed48d1f178b283d089184ab9926f950..fdf732553eb6a623c3a458266336dd28653e19b6 100644 (file)
     <parameter name="portkill" value="no"/>
     <parameter name="killall" value="no"/>
     <parameter name="noexcepthandler" value="no"/>
+    <parameter name="modules" value="[LIST_OF_MODULES]"/>
     <parameter name="pyModules" value=""/>
     <parameter name="embedded" value="SalomeAppEngine,study,cppContainer,registry,moduleCatalog"/>
     <parameter name="standalone" value=""/>
   </section>
   <section name="splash">
-    <parameter name="image" value="%SALOME_PROFILE_ROOT_DIR%/share/salome/resources/salome_profile/splash.png"/>
+    <parameter name="image" value="%[Name_of_Application]_PROFILE_ROOT_DIR%/share/salome/resources/(name_of_application)_profile/splash.png"/>
     <parameter name="text_colors" value="#ffffff|#000000"/>
     <parameter name="show_percents" value="yes"/>
     <parameter name="show_progress" value="yes"/>
@@ -24,6 +25,6 @@
     <parameter name="font" value="Xirod,12,normal"/>
   </section>
   <section name="resources">
-    <parameter name="LightApp" value="%SALOME_PROFILE_ROOT_DIR%/share/salome/resources/salome_profile"/>
+    <parameter name="LightApp" value="%[Name_of_Application]_PROFILE_ROOT_DIR%/share/salome/resources/(name_of_application)_profile"/>
   </section>
 </document>
index df7481dcaa29ed021a5e39caf623596a8a45ef62..dfdc7e618906cfabcfa9ce8b4ab44b4ab688ec31 100644 (file)
Binary files a/resources/about.png and b/resources/about.png differ
index 33971d224ee0b70bd212c2e5eeea6129bcf228da..362c018d7b6ccbd0111936fac3225ac55dcc098e 100644 (file)
Binary files a/resources/app_logo.png and b/resources/app_logo.png differ
index 5852f682334781121ad73efe71a024f2f1ef567d..941222a65fe57b6803b7038f14d7726fe5b4561a 100644 (file)
@@ -24,4 +24,4 @@ SET(_bin_DOCUMENTS
    sample.pdf
 )
 
-INSTALL(FILES ${_bin_DOCUMENTS} DESTINATION ${SALOME_SALOME_PROFILE_INSTALL_DOC_GUI})
+INSTALL(FILES ${_bin_DOCUMENTS} DESTINATION ${SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_DOC_GUI})
index babce17d1b9b478065ba698c7f3121c74e2b006e..4a8ab2baddd382a18fe29b0fe790865d747161ca 100644 (file)
@@ -1 +1 @@
-This directory contains binaries of SALOME's documentation
+This directory contains binaries of [Name_of_Application]'s documentation
index df7481dcaa29ed021a5e39caf623596a8a45ef62..dfdc7e618906cfabcfa9ce8b4ab44b4ab688ec31 100644 (file)
Binary files a/resources/splash.png and b/resources/splash.png differ
index d10001d18ac351a93ca2c590ac37a4e324259047..057638a9395dda11709c30d9dcfffe8e6128ba86 100644 (file)
@@ -31,4 +31,4 @@ SET(_ts_RESOURCES
 
 # --- rules ---
 
-QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SALOME_PROFILE_INSTALL_RES_DATA}")
+QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_[NAME_OF_APPLICATION]_PROFILE_INSTALL_RES_DATA}")
index 403510a774744d21b5a81ad73365e67c78ebeefb..4f925315972f882299edb9281386c57469235cb5 100644 (file)
@@ -9,15 +9,15 @@
     </message>
     <message>
         <source>ABOUT_CAPTION</source>
-        <translation>About SALOME</translation>
+        <translation>About [Name_of_Application]</translation>
     </message>
     <message>
         <source>APP_NAME</source>
-        <translation>SALOME </translation>
+        <translation>[Name_of_Application] [SLOGAN]</translation>
     </message>
     <message>
         <source>APP_VERSION</source>
-        <translation>master</translation>
+        <translation>V[VERSION]</translation>
     </message>
     <message>
         <source>ABOUT_LICENSE</source>
     </message>
     <message>
         <source>ABOUT_VERSION</source>
-        <translation>Version master</translation>
+        <translation>Version [VERSION]</translation>
     </message>
     <message>
         <source>ABOUT_TITLE</source>
-        <translation>SALOME</translation>
+        <translation>[Name_of_Application]</translation>
     </message>
 </context>
 </TS>
index e9a98d942c86314768fee7dc8ec4504a44cf57ad..2e12751654d8114ed3bb2f47be76c95fc156770a 100644 (file)
@@ -9,15 +9,15 @@
     </message>
     <message>
         <source>ABOUT_CAPTION</source>
-        <translation>A propos de SALOME</translation>
+        <translation>A propos de [Name_of_Application]</translation>
     </message>
     <message>
         <source>APP_NAME</source>
-        <translation>SALOME </translation>
+        <translation>[Name_of_Application] [SLOGAN]</translation>
     </message>
     <message>
         <source>APP_VERSION</source>
-        <translation>master</translation>
+        <translation>V[VERSION]</translation>
     </message>
     <message>
         <source>ABOUT_LICENSE</source>
     </message>
     <message>
         <source>ABOUT_VERSION</source>
-        <translation>Version master</translation>
+        <translation>Version [VERSION]</translation>
     </message>
     <message>
         <source>ABOUT_TITLE</source>
-        <translation>SALOME</translation>
+        <translation>[Name_of_Application]</translation>
     </message>
 </context>
 </TS>
index 6732141f8354690bfb171dbd463b948d374ed01e..f20e44cae97da3d5e7cc7bb1551db5b76b374c69 100644 (file)
@@ -9,15 +9,15 @@
     </message>
     <message>
       <source>ABOUT_CAPTION</source>
-      <translation>About SALOME</translation>
+      <translation>About [Name_of_Application]</translation>
     </message>
     <message>
       <source>APP_NAME</source>
-      <translation>SALOME </translation>
+      <translation>[Name_of_Application] [SLOGAN]</translation>
     </message>
     <message>
       <source>APP_VERSION</source>
-      <translation>master</translation>
+      <translation>V[VERSION]</translation>
     </message>
     <message>
       <source>ABOUT_LICENSE</source>
     </message>
     <message>
       <source>ABOUT_VERSION</source>
-      <translation>Version master</translation>
+      <translation>Version [VERSION]</translation>
     </message>
     <message>
       <source>ABOUT_TITLE</source>
-      <translation>SALOME</translation>
+      <translation>[Name_of_Application]</translation>
     </message>
   </context>
 </TS>
index 4976f7ef3d31f631879b08de451de73ff70dede9..eae0f58bff68dc3e314cc2e3a73d9c56f8572881 100644 (file)
@@ -1 +1 @@
-This directory contains the tests of SALOME
+This directory contains the tests of [Name_of_Application]