From: crouzet Date: Wed, 4 Oct 2017 08:55:40 +0000 (+0200) Subject: suppession doc, ajout des ressources qt utiles pour la personnalisation de noms,... X-Git-Tag: V8_4_0^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=75f210b6172d3139c68f506db6e4844f4d01a219;p=tools%2FSALOME.git suppession doc, ajout des ressources qt utiles pour la personnalisation de noms, nettoyage --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8fefbf8..63c53cc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,9 +104,9 @@ ENDIF() SET(SALOME_INSTALL_SCRIPT_PYTHON "${SALOME_INSTALL_SCRIPT_PYTHON}" CACHE PATH "Install path: SALOME Python scripts") # Specific to SALOME: -SET(SALOME_SALOME_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/salome" CACHE PATH "Install path: SALOME SALOME specific data") -SET(SALOME_SALOME_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME SALOME gui documentation") -SET(SALOME_SALOME_HTML_STATIC_PATH "${SALOME_SALOME_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME SALOME html static data") +SET(SALOME_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/salome" CACHE PATH "Install path: SALOME SALOME specific data") +SET(SALOME_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME SALOME gui documentation") +SET(SALOME_HTML_STATIC_PATH "${SALOME_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME SALOME html static data") MARK_AS_ADVANCED(SALOME_INSTALL_SCRIPT_PYTHON) diff --git a/README b/README index e69de29..d3735fe 100644 --- a/README +++ b/README @@ -0,0 +1,2 @@ +This module contains a minimal SALOME profile. + diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt index e4e0155..e2987b4 100644 --- a/resources/CMakeLists.txt +++ b/resources/CMakeLists.txt @@ -17,20 +17,26 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +INCLUDE(UseQtExt) + # --- resources --- -SET(SALOME_PROFILE_RESOURCES_FILES +SET(SALOME_RESOURCES_FILES app_icon.png splash.png about.png icon_about.png app_logo.png ) +SET(_ts_RESOURCES + LightApp_images.ts + LightApp_msg_en.ts + LightApp_msg_fr.ts + LightApp_msg_ja.ts +) # --- rules --- -INSTALL(FILES ${SALOME_PROFILE_RESOURCES_FILES} DESTINATION ${SALOME_SALOME_INSTALL_RES_DATA}) +INSTALL(FILES ${SALOME_RESOURCES_FILES} DESTINATION ${SALOME_INSTALL_RES_DATA}) +QT_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_INSTALL_RES_DATA}") # --- config --- -SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_SALOME_INSTALL_RES_DATA}) - -# --- sub-directories --- -ADD_SUBDIRECTORY( doc ) +SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_INSTALL_RES_DATA}) diff --git a/resources/LightApp_images.ts b/resources/LightApp_images.ts new file mode 100644 index 0000000..ee44bfc --- /dev/null +++ b/resources/LightApp_images.ts @@ -0,0 +1,23 @@ + + + + + @default + + APP_DEFAULT_ICO + app_icon.png + + + ICO_ABOUT + icon_about.png + + + ABOUT + about.png + + + APP_BASE_LOGO + app_logo.png + + + diff --git a/resources/LightApp_msg_en.ts b/resources/LightApp_msg_en.ts new file mode 100644 index 0000000..2d19d64 --- /dev/null +++ b/resources/LightApp_msg_en.ts @@ -0,0 +1,35 @@ + + + + + @default + + ABOUT_COPYRIGHT + Copyright (C) + + + ABOUT_CAPTION + About SALOME + + + APP_NAME + SALOME + + + APP_VERSION + 8.4.0 + + + ABOUT_LICENSE + License description + + + ABOUT_VERSION + Version 8.4.0 + + + ABOUT_TITLE + SALOME + + + diff --git a/resources/LightApp_msg_fr.ts b/resources/LightApp_msg_fr.ts new file mode 100644 index 0000000..68f70bc --- /dev/null +++ b/resources/LightApp_msg_fr.ts @@ -0,0 +1,35 @@ + + + + + @default + + ABOUT_COPYRIGHT + Copyright (C) + + + ABOUT_CAPTION + A propos de SALOME + + + APP_NAME + SALOME + + + APP_VERSION + 8.4.0 + + + ABOUT_LICENSE + Description de la licence + + + ABOUT_VERSION + Version 8.4.0 + + + ABOUT_TITLE + SALOME + + + diff --git a/resources/LightApp_msg_ja.ts b/resources/LightApp_msg_ja.ts new file mode 100644 index 0000000..3650350 --- /dev/null +++ b/resources/LightApp_msg_ja.ts @@ -0,0 +1,35 @@ + + + + + @default + + ABOUT_COPYRIGHT + Copyright (C) + + + ABOUT_CAPTION + About SALOME + + + APP_NAME + SALOME + + + APP_VERSION + 8.4.0 + + + ABOUT_LICENSE + License description + + + ABOUT_VERSION + Version 8.4.0 + + + ABOUT_TITLE + SALOME + + + diff --git a/resources/doc/CMakeLists.txt b/resources/doc/CMakeLists.txt deleted file mode 100644 index 4198235..0000000 --- a/resources/doc/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (C) 2012-2016 CEA/DEN, EDF R&D, OPEN CASCADE -# -# This library is free software; you can redistribute it and/or -# modify it under the terms of the GNU Lesser General Public -# License as published by the Free Software Foundation; either -# version 2.1 of the License, or (at your option) any later version. -# -# This library is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this library; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com -# - -# --- scripts --- - -# scripts / static -SET(_bin_DOCUMENTS - sample.pdf -) - -INSTALL(FILES ${_bin_DOCUMENTS} DESTINATION ${SALOME_SALOME_INSTALL_DOC_GUI}) diff --git a/resources/doc/README b/resources/doc/README deleted file mode 100644 index babce17..0000000 --- a/resources/doc/README +++ /dev/null @@ -1 +0,0 @@ -This directory contains binaries of SALOME's documentation diff --git a/resources/doc/sample.pdf b/resources/doc/sample.pdf deleted file mode 100644 index 1f3b08f..0000000 Binary files a/resources/doc/sample.pdf and /dev/null differ