From 75f210b6172d3139c68f506db6e4844f4d01a219 Mon Sep 17 00:00:00 2001 From: crouzet Date: Wed, 4 Oct 2017 10:55:40 +0200 Subject: [PATCH] suppession doc, ajout des ressources qt utiles pour la personnalisation de noms, nettoyage --- CMakeLists.txt | 6 +++--- README | 2 ++ resources/CMakeLists.txt | 18 ++++++++++++------ resources/LightApp_images.ts | 23 +++++++++++++++++++++++ resources/LightApp_msg_en.ts | 35 +++++++++++++++++++++++++++++++++++ resources/LightApp_msg_fr.ts | 35 +++++++++++++++++++++++++++++++++++ resources/LightApp_msg_ja.ts | 35 +++++++++++++++++++++++++++++++++++ resources/doc/CMakeLists.txt | 27 --------------------------- resources/doc/README | 1 - resources/doc/sample.pdf | Bin 10306 -> 0 bytes 10 files changed, 145 insertions(+), 37 deletions(-) create mode 100644 resources/LightApp_images.ts create mode 100644 resources/LightApp_msg_en.ts create mode 100644 resources/LightApp_msg_fr.ts create mode 100644 resources/LightApp_msg_ja.ts delete mode 100644 resources/doc/CMakeLists.txt delete mode 100644 resources/doc/README delete mode 100644 resources/doc/sample.pdf 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 1f3b08f0d5a3ccc1eb143e9ce237b0d93a26c936..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10306 zcmaia1yq#V`u7n8bQDCo8M=gNU`TJO2 z@Sbz;x$&+4yVjn)_p_hgzx}>z&3@QaQ8K&`J~)7_J-5BFy|z6Q00n}94yHB$5fP9Q z+TIdl1%zQK>L3~Grx>&|Nam>t28}|SIhdox!~iZBXS9hOz$4wTuL02ZkQi^sui4b* zwS(0p3$5KMSn;Dv$f8`Nw5A$5#a6ypzY27^b0$>4h3)>!Sw(Fhg`4zrXl_-PX7N- zoPXv40)#@q5dObMz2$w+M{_*!%Gc$aB0K2HBKYo=WL#1pF|!m&!1J5jFnM+pAS;CW za(l!AdJuP)6}H$H_);$5nBe6?TM;Te>_N>-IWBb_QdAMI7FX3)xq|rgR=xH|^lV8@dV%Xho+%^tJf|Yu zCqjK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