Salome HOME
Remove deprecated files of padder plugin
authorboulant <boulant>
Wed, 31 Jul 2013 07:58:37 +0000 (07:58 +0000)
committerboulant <boulant>
Wed, 31 Jul 2013 07:58:37 +0000 (07:58 +0000)
src/Tools/padder/resources/appligen/Makefile.am [deleted file]
src/Tools/padder/resources/appligen/README.txt
src/Tools/padder/resources/appligen/appligen.sh.in [deleted file]
src/Tools/padder/resources/appligen/config_appli.xml.in [deleted file]
src/Tools/padder/resources/appligen/genenv.sh [deleted file]

diff --git a/src/Tools/padder/resources/appligen/Makefile.am b/src/Tools/padder/resources/appligen/Makefile.am
deleted file mode 100644 (file)
index 32c47dd..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright (C) 2011-2013  EDF R&D
-#
-# 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.
-#
-# 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
-#
-
-include $(top_srcdir)/adm_local/unix/make_common_starter.am
-
-appligendir = $(salomeresdir)/appligen
-
-dist_appligen_DATA=            \
-       appli-splashscreen.jpg \
-       SalomeApp.xml          \
-       CatalogResources.xml
-
-nodist_appligen_DATA=          \
-       envappli.sh            \
-       config_appli.xml
-
-nodist_appligen_SCRIPTS= \
-       appligen.sh
-
-envappli.sh:
-       $(srcdir)/genenv.sh envappli.sh
-
-EXTRA_DIST += README.txt genenv.sh
-CLEANFILES  = envappli.sh
index 6fb376cba5e4853bec4e8722d4ce30c2086aac2c..d865e0b1f4497b1c76e84be3741cf516d64a95b8 100644 (file)
@@ -1,24 +1,4 @@
-This package defines a build procedure that creates a
-set of files ready to use to generate a SALOME application
-embedding this module.
-
-The files are created in the directory:
-
-  <installdir>/share/salome/resources/<module_name>/appligen
-
-Where <installdir> is the installation directory of the module.
-
-To generate a SALOME application, just change directory to go
-where you want to install the SALOME application and type the
-following command in a standard shell (the SALOME environment
-is not required, all paths are "hard" coded in the script):
-
-  $ <installdir>/share/salome/resources/<module_name>/appligen/appligen.sh 
-
-This script generates an application in a directory ./appli.
-Then type the following command to run a SALOME application
-embedding your module:
-
-  $ ./appli/runAppli -k
-
+This folder contains resources files that can be used to define
+a custom application for the padder plugin. See the KERNEL documentation
+concerning the SALOME application principles.
 
diff --git a/src/Tools/padder/resources/appligen/appligen.sh.in b/src/Tools/padder/resources/appligen/appligen.sh.in
deleted file mode 100755 (executable)
index 2e63d01..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2011-2013  EDF R&D
-#
-# 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.
-#
-# 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
-#
-
-# 
-# This script installs or updates a SALOME application for testing the
-# PADDER plugin for SMESH. The application is installed in the
-# directory ./appli. The configuration file is supposed to be adapted
-# to your own environment (see config_appli.xml).
-#
-# To run this script, you should have first configure your
-# shell with the SALOME environment, i.e. source the files
-# prerequis.sh and envSalome.sh (or equivalent) that fit
-# your configuration. You can alternatively customize the env.sh file
-# to fit your SALOME environment and let the script do the job (see
-# source below).
-#
-# (gboulant - 3/2/2011)
-#
-
-here=$(dirname $0)
-
-#
-# Run the appli_gen.py
-#
-APPLIDIR="./appli"
-@KERNEL_ROOT_DIR@/bin/salome/appli_gen.py --prefix=$APPLIDIR --config=$here/config_appli.xml
-
-#
-# Copy customized configuration files in the application
-#
-cp $here/SalomeApp.xml $APPLIDIR/.
-cp $here/CatalogResources.xml $APPLIDIR/.
-cp @prefix@/plugins/envPlugins.sh $APPLIDIR/env.d/.
diff --git a/src/Tools/padder/resources/appligen/config_appli.xml.in b/src/Tools/padder/resources/appligen/config_appli.xml.in
deleted file mode 100644 (file)
index 2f77f06..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<application>
-<!-- The path should be the absolute path of installation of the file envappli.sh -->
-<prerequisites path="@prefix@/share/salome/resources/@MODULE_NAME@/appligen/envappli.sh"/>
-
-<modules>
-  <module name="KERNEL" path="@KERNEL_ROOT_DIR@"/>
-  <module name="MED" path="@MED_ROOT_DIR@"/>
-  <module name="GUI" path="@GUI_ROOT_DIR@"/>
-  <module name="GEOM" path="@GEOM_ROOT_DIR@"/>
-  <module name="SMESH" path="@prefix@"/>
-  <module name="BLSURFPLUGIN" gui="no" path="@BLSURFPLUGIN_ROOT_DIR@"/>
-  <module name="GHS3DPLUGIN" gui="no" path="@GHS3DPLUGIN_ROOT_DIR@"/>
-  <module name="NETGENPLUGIN" gui="no" path="@NETGENPLUGIN_ROOT_DIR@"/>
-</modules>
-</application>
diff --git a/src/Tools/padder/resources/appligen/genenv.sh b/src/Tools/padder/resources/appligen/genenv.sh
deleted file mode 100755 (executable)
index b4323d1..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-# Copyright (C) 2011-2013  EDF R&D
-#
-# 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.
-#
-# 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
-#
-
-# This script creates a source file that defines a SALOME shell
-# environment. We assume here that the SALOME environment has been
-# previously set, so that the env command get all environment
-# variables required for building and executing SALOME. We talk
-# about third party software programs and libraries. The environment
-# variables defining SALOME module are exluded (i.e. *_ROOT_DIR)
-# because they are automatically set when generating a SALOME application..
-#
-# The argument is the filepath to be created.
-#
-
-if [ $# == 1 ]; then
-    ENVAPPLI_SH=$1
-else
-    ENVAPPLI_SH=envappli.sh
-fi
-
-function header {
-    echo "#"
-    echo "# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-    echo "# THIS FILE IS GENERATED from the shell environment used to build the SALOME module."
-    echo "# IT SHOULD NOT BE EDITED, it is generated for the need of the SALOME application   "
-    echo "# that embeds the module (for test purposes).                                       "
-    echo "# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>"
-    echo "#"
-}
-header > $ENVAPPLI_SH
-env | grep -v -e PWD -e SalomeAppConfig -e _ROOT_DIR | while read f; do
-    key=$(echo $f | cut -d"=" -f1)
-    value=$(echo $f | cut -d"=" -f2-)
-
-    # if the key is a path (LD_LIBRARY_PATH, PATH and PYTHONPATH) then
-    # we must extends the variable.
-    if [ $key == "LD_LIBRARY_PATH" -o $key == "PATH" -o $key == "PYTHONPATH" ]; then
-        echo export $key=\"$value:\$$key\"
-    else
-        echo export $key=\"$value\"
-    fi
-done >> $ENVAPPLI_SH