Salome HOME
Merge from V6_main_20120808 08Aug12
authorvsr <vsr@opencascade.com>
Thu, 9 Aug 2012 12:29:22 +0000 (12:29 +0000)
committervsr <vsr@opencascade.com>
Thu, 9 Aug 2012 12:29:22 +0000 (12:29 +0000)
33 files changed:
Makefile.am
SIERPINSKY_version.h.in
adm_local/Makefile.am
adm_local/unix/Makefile.am
adm_local/unix/config_files/Makefile.am
adm_local/unix/config_files/check_SIERPINSKY.m4
adm_local/unix/config_files/check_gd.m4
adm_local/unix/make_common_starter.am
bin/Makefile.am
bin/VERSION.in
build_configure
clean_configure
configure.ac
idl/Makefile.am
idl/Sierpinsky.idl
resources/Makefile.am
resources/SIERPINSKYCatalog.xml.in
resources/SalomeApp.xml [deleted file]
resources/SalomeApp.xml.in [new file with mode: 0644]
resources/graph1.xml
resources/graph2.xml
src/Makefile.am
src/Sierpinsky/Makefile.am
src/Sierpinsky/SIERPINSKY_Gen_i.cxx
src/Sierpinsky/SIERPINSKY_Gen_i.hxx
src/SierpinskyGUI/Makefile.am
src/SierpinskyGUI/SIERPINSKY_icons.ts
src/SierpinskyGUI/SIERPINSKY_msg_en.ts
src/SierpinskyGUI/SIERPINSKY_msg_fr.ts [new file with mode: 0755]
src/SierpinskyGUI/SierpinskyGUI.cxx
src/SierpinskyGUI/SierpinskyGUI.h
src/SierpinskyGUI/SierpinskyGUI_RunDlg.cxx
src/SierpinskyGUI/SierpinskyGUI_RunDlg.h

index 3047d0e94f17ca8e0eb98eca18afd18c57e3b33a..dcf47d06742ff01f9ca816fd7f1e40ce028d0f41 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 # -* Makefile *-
 # Author : Patrick GOLDBRONN (CEA)
 # Date : 28/06/2001
@@ -33,7 +34,7 @@ ACLOCAL_AMFLAGS = -I adm_local/unix/config_files \
 
 SUBDIRS = idl adm_local resources src bin 
 
-DISTCLEANFILES = a.out aclocal.m4 configure
+DISTCLEANFILES = a.out aclocal.m4 configure local-install.sh hack_libtool
 
 salomeinclude_DATA = SIERPINSKY_version.h
 
index 4a439e20369a81b310ae28eaab1051063e34b09f..eb333e39685533f225956d9365319e08889fdd3e 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 //  File   : SIERPINSKY_version.h
 //  Author : Vadim SANDLER
 //  Module : SALOME
@@ -29,5 +30,6 @@
 
 #define SIERPINSKY_VERSION_STR "@VERSION@"
 #define SIERPINSKY_VERSION     @XVERSION@
+#define SIERPINSKY_DEVELOPMENT @VERSION_DEV@
 
 #endif // __SIERPINSKY_VERSION_H__
index 9d4ddd676df56016993156b3c6479cda2d6d5e64..4a9f027637fe52cb7d96fcf3f5058c2884d44fb6 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 SUBDIRS = unix
index 16d9fdd133e443a3ee43b84589c1e6f84b89fa12..598e30d3acc0bf7c4d150a8515ec7014fb7b7a53 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 SUBDIRS = config_files
index a90ae8808f57ac9c9925adb2f0c77ccfd9a8636a..cd0dde4b32aa545feaf6ac3b4fb71fa0e9aaf3c2 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 dist_admlocalm4_DATA =         \
index 1428bf225bb16adf7c5ea029537ab3020f9c6fa6..2465563df800ed7672e85f571d68b55e49c46a88 100755 (executable)
@@ -1,21 +1,22 @@
-dnl  Copyright (C) 2005-2008  OPEN CASCADE
+dnl Copyright (C) 2005-2012  OPEN CASCADE
 dnl
-dnl  This library is free software; you can redistribute it and/or
-dnl  modify it under the terms of the GNU Lesser General Public
-dnl  License as published by the Free Software Foundation; either
-dnl  version 2.1 of the License.
+dnl This library is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Lesser General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2.1 of the License.
 dnl
-dnl  This library is distributed in the hope that it will be useful,
-dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-dnl  Lesser General Public License for more details.
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl Lesser General Public License for more details.
 dnl
-dnl  You should have received a copy of the GNU Lesser General Public
-dnl  License along with this library; if not, write to the Free Software
-dnl  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+dnl You should have received a copy of the GNU Lesser General Public
+dnl License along with this library; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 dnl
-dnl  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+dnl See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 dnl
+
 #  Check availability of SIERPINSKY binary distribution
 #
 #  Author : Marc Tajchman (CEA, 2002)
index 36b03b77df8ebc5f87e1c2732b4436e5567db94c..b51fc98865502582e558464708dffb518361d2ab 100644 (file)
@@ -1,21 +1,22 @@
-dnl  Copyright (C) 2005-2008  OPEN CASCADE
+dnl Copyright (C) 2005-2012  OPEN CASCADE
 dnl
-dnl  This library is free software; you can redistribute it and/or
-dnl  modify it under the terms of the GNU Lesser General Public
-dnl  License as published by the Free Software Foundation; either
-dnl  version 2.1 of the License.
+dnl This library is free software; you can redistribute it and/or
+dnl modify it under the terms of the GNU Lesser General Public
+dnl License as published by the Free Software Foundation; either
+dnl version 2.1 of the License.
 dnl
-dnl  This library is distributed in the hope that it will be useful,
-dnl  but WITHOUT ANY WARRANTY; without even the implied warranty of
-dnl  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-dnl  Lesser General Public License for more details.
+dnl This library is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+dnl Lesser General Public License for more details.
 dnl
-dnl  You should have received a copy of the GNU Lesser General Public
-dnl  License along with this library; if not, write to the Free Software
-dnl  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+dnl You should have received a copy of the GNU Lesser General Public
+dnl License along with this library; if not, write to the Free Software
+dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 dnl
-dnl  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+dnl See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 dnl
+
 AC_DEFUN([CHECK_GDLIB],[
 AC_REQUIRE([AC_PROG_CC])dnl
 AC_REQUIRE([AC_PROG_CPP])dnl
index d1939bc131b3af6fd37e65aed899314d48fd2efb..9b7e259777e9a44d708237eceb781869c93364b2 100644 (file)
@@ -1,21 +1,30 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
+# ============================================================
+# The following is to avoid PACKAGE_... env variable
+# redefinition compilation warnings
+# ============================================================
+#
+AM_CXXFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h
+AM_CPPFLAGS = @KERNEL_CXXFLAGS@ -include SALOMEconfig.h
+
 # ============================================================
 # This file defines the common definitions used in several
 # Makefile. This file must be included, if needed, by the file
index 095aea006e9bbb2357ce2c9e6cd1d824ba400abe..3bda7f3e9ca33b0a9c61f087660e363f01bc9271 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 # -* Makefile *- 
 # Author : 
 # Module : LIGHT
index 76cd9ff4355530c98b4f2204e09b7a491d968fca..0386bfa878950969d5ecaee0aa36ba99cb1d3351 100755 (executable)
@@ -1 +1,3 @@
-THIS IS SIERPINSKY COMPONENT - VERSION: @VERSION@
+[SALOME SIERPINSKY] : @VERSION@
+[DEVELOPMENT]       : @VERSION_DEV@
+[DESCRIPTION]       : Sample SALOME module
index bb256d03410536ce51606c7e4e7e98ef1f0526a6..322e7b4f8b3bfbf7ff8fd78d004a8ca0c92279ed 100755 (executable)
@@ -1,22 +1,23 @@
 #!/bin/bash
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 # Tool for updating list of .in file for the SALOME project 
 # and regenerating configure script
 # File    : build_configure
@@ -69,34 +70,16 @@ fi
 cd ${CONF_DIR}
 ABS_CONF_DIR=`pwd`
 
-mkdir -p salome_adm/unix/config_files
-#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/* salome_adm/unix/config_files
-#cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/pythonbe.py salome_adm/unix
-
-cp -f ${KERNEL_ROOT_DIR}/salome_adm/unix/SALOMEconfig.h.in salome_adm/unix
-
-#cp -f ${GUI_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
-#cp -f ${VISU_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
-#cp -f ${MED_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
-#cp -f ${RANDOMIZER_ROOT_DIR}/adm_local/unix/config_files/* salome_adm/unix/config_files
-
-# remove KERNEL deprecated configure files
-#for deprecated in ac_cc_warnings.m4 ac_cxx_partial_specialization.m4 \
-#  check_mico.m4 config.guess ltmain.sh ac_cxx_bool.m4 ltconfig ac_cxx_typename.m4 \
-#    check_pthreads.m4 config.sub libtool.m4 ac_cxx_mutable.m4 missing
-#    do
-#      rm -f salome_adm/unix/config_files/${deprecated}
-#      done
-
+########################################################################
 
 # ____________________________________________________________________
 # aclocal creates the aclocal.m4 file from the standard macro and the
-# custom macro embedded in the directory salome_adm/unix/config_files
+# custom macro embedded in the directory adm_local/unix/config_files
 # and KERNEL config_files directory.
 # output:
 #   aclocal.m4
 #   autom4te.cache (directory)
-echo "====================================================== aclocal"
+echo "======================================================= aclocal"
 
 aclocal -I adm_local/unix/config_files \
         -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
@@ -111,10 +94,10 @@ aclocal -I adm_local/unix/config_files \
 # version. The files are created in the directory specified with the
 # AC_CONFIG_AUX_DIR(<mydir>) tag (see configure.ac).
 # output:
-#   salome_adm/unix/config_files/config.guess
-#   salome_adm/unix/config_files/config.sub
-#   salome_adm/unix/config_files/ltmain.sh
-#echo "====================================================== libtoolize"
+#   adm_local/unix/config_files/config.guess
+#   adm_local/unix/config_files/config.sub
+#   adm_local/unix/config_files/ltmain.sh
+echo "==================================================== libtoolize"
 
 libtoolize --force --copy --automake || exit 1
 
@@ -134,11 +117,11 @@ autoconf
 # AC_CONFIG_AUX_DIR(<mydir>) tag (see configure.ac). This step also
 # creates the Makefile.in files from the Makefile.am files.
 # output:
-#   salome_adm/unix/config_files/compile
-#   salome_adm/unix/config_files/depcomp
-#   salome_adm/unix/config_files/install-sh
-#   salome_adm/unix/config_files/missing
-#   salome_adm/unix/config_files/py-compile
+#   adm_local/unix/config_files/compile
+#   adm_local/unix/config_files/depcomp
+#   adm_local/unix/config_files/install-sh
+#   adm_local/unix/config_files/missing
+#   adm_local/unix/config_files/py-compile
 #   Makefile.in (from Makefile.am)
 echo "====================================================== automake"
 
index 5e49ef4048def1803501e8df2dbf803e7fe73c01..faf1208ade20ac27ae391ec5dee9ebae70d06155 100755 (executable)
@@ -1,32 +1,25 @@
 #!/bin/sh
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 rm -rf autom4te.cache aclocal.m4 configure make_config
 find . -name "*~" -print -exec rm {} \;
 find . -name "*.pyc" -print -exec rm {} \;
-#exit
-# ==================== ON SORT AVANT
-
-find bin -name Makefile.in | xargs rm -f
-find doc -name Makefile.in | xargs rm -f
-find idl -name Makefile.in | xargs rm -f
-find resources -name Makefile.in | xargs rm -f
-find salome_adm -name Makefile.in | xargs rm -f
-find src -name Makefile.in | xargs rm -f
-rm -f Makefile.in
+find . -name Makefile.in | xargs rm -f
+( cd adm_local/unix/config_files && rm -f config.* depcomp install-sh l*.m4 ltmain.sh missing py-compile )
index 3209e310baf102d1ed0a1b2d8e36c40181192321..278b02ca4c7b9768fd9fd542fa0802758de62f92 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 #  PLEASE DO NOT MODIFY configure.in FILE
 #  ALL CHANGES WILL BE DISCARDED BY THE NEXT
 #  build_configure COMMAND
 # Modified by : Marc Tajchman (CEA)
 # Created from configure.in.base
 #
-AC_INIT([Salome2 Project SIERPINSKY module],[5.1.0], [webmaster.salome@opencascade.com], [SalomeSIERPINSKY])
-AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
+AC_INIT([Salome2 Project SIERPINSKY module],[6.5.0], [webmaster.salome@opencascade.com], [SalomeSIERPINSKY])
+AC_CONFIG_AUX_DIR(adm_local/unix/config_files)
 AC_CANONICAL_HOST
 AC_CANONICAL_TARGET
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([-Wno-portability])
 
 XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
 AC_SUBST(XVERSION)
@@ -38,6 +39,8 @@ AC_SUBST(XVERSION)
 # set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
 MODULE_NAME=sierpinsky
 AC_SUBST(MODULE_NAME)
+VERSION_DEV=1
+AC_SUBST(VERSION_DEV)
 
 dnl
 dnl Initialize source and build root directories
@@ -78,6 +81,7 @@ echo
 
 AC_PROG_MAKE_SET
 AC_PROG_INSTALL
+AC_LOCAL_INSTALL
 dnl 
 dnl libtool macro check for CC, LD, NM, LN_S, RANLIB, STRIP + pour les librairies dynamiques !
 
@@ -99,7 +103,7 @@ dnl Fix up the INSTALL macro if it s a relative path. We want the
 dnl full-path to the binary instead.
 case "$INSTALL" in
    *install-sh*)
-      INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh
+      INSTALL='\${KERNEL_ROOT_DIR}'/adm_local/unix/config_files/install-sh
       ;;
 esac
 
@@ -132,11 +136,12 @@ AC_CXX_HAVE_SSTREAM
 
 dnl
 dnl ---------------------------------------------
-dnl testing MPICH
+dnl testing MPI
 dnl ---------------------------------------------
 dnl
 
-CHECK_MPICH
+dnl CHECK_MPICH
+CHECK_MPI
 
 echo
 echo ---------------------------------------------
@@ -254,11 +259,11 @@ CHECK_BOOST
 
 echo
 echo ---------------------------------------------
-echo testing MED2
+echo testing MED3
 echo ---------------------------------------------
 echo
 
-CHECK_MED2
+CHECK_MED3
 
 echo
 echo ---------------------------------------------
@@ -320,14 +325,6 @@ echo
 
 CHECK_MED
 
-echo
-echo ---------------------------------------------
-echo testing MED2
-echo ---------------------------------------------
-echo
-
-CHECK_MED2
-
 echo
 echo ---------------------------------------------
 echo Testing Visu
@@ -352,7 +349,7 @@ echo
 
 echo Configure
 variables="cc_ok boost_ok lex_yacc_ok python_ok swig_ok threads_ok
-OpenGL_ok qt_ok vtk_ok hdf5_ok med2_ok omniORB_ok occ_ok doxygen_ok graphviz_ok gd_ok Kernel_ok Med_ok Visu_ok Randomizer_ok"
+OpenGL_ok qt_ok vtk_ok hdf5_ok med3_ok omniORB_ok occ_ok doxygen_ok graphviz_ok gd_ok Kernel_ok Med_ok Visu_ok Randomizer_ok"
 
 for var in $variables
 do
@@ -381,23 +378,34 @@ AC_OUTPUT_COMMANDS([ \
       chmod +x ./bin/*; \
 ])
 
+AC_HACK_LIBTOOL
+AC_CONFIG_COMMANDS([hack_libtool],[
+sed -i "s%^CC=\"\(.*\)\"%hack_libtool (){ \n\
+  $(pwd)/hack_libtool \1 \"\$[@]\" \n\
+}\n\
+CC=\"hack_libtool\"%g" libtool
+sed -i "s%\(\s*\)for searchdir in \$newlib_search_path \$lib_search_path \$sys_lib_search_path \$shlib_search_path; do%\1searchdirs=\"\$newlib_search_path \$lib_search_path \$sys_lib_search_path \$shlib_search_path\"\n\1for searchdir in \$searchdirs; do%g" libtool
+sed -i "s%\(\s*\)searchdirs=\"\$newlib_search_path \$lib_search_path \(.*\)\"%\1searchdirs=\"\$newlib_search_path \$lib_search_path\"\n\1sss_beg=\"\"\n\1sss_end=\"\2\"%g" libtool
+sed -i "s%\(\s*\)\(for searchdir in \$searchdirs; do\)%\1for sss in \$searchdirs; do\n\1  if ! test -d \$sss; then continue; fi\n\1  ssss=\$(cd \$sss; pwd)\n\1  if test \"\$ssss\" != \"\" \&\& test -d \$ssss; then\n\1    case \$ssss in\n\1      /usr/lib | /usr/lib64 ) ;;\n\1      * ) sss_beg=\"\$sss_beg \$ssss\" ;;\n\1    esac\n\1  fi\n\1done\n\1searchdirs=\"\$sss_beg \$sss_end\"\n\1\2%g" libtool
+],[])
+
 # This list is initiated using autoscan and must be updated manually
 # when adding a new file <filename>.in to manage. When you execute
 # autoscan, the Makefile list is generated in the output file configure.scan.
 # This could be helpfull to update de configuration.
 AC_OUTPUT([ \
-  ./salome_adm/unix/SALOMEconfig.h \
-  ./adm_local/Makefile \
-  ./adm_local/unix/Makefile \
-  ./adm_local/unix/config_files/Makefile \
-  ./bin/VERSION \
-  ./bin/Makefile \
-  ./src/Makefile \
-  ./src/Sierpinsky/Makefile \
-  ./src/SierpinskyGUI/Makefile \
-  ./resources/Makefile \
-  ./resources/SIERPINSKYCatalog.xml \
-  ./idl/Makefile \
-  ./SIERPINSKY_version.h \
+  adm_local/Makefile \
+  adm_local/unix/Makefile \
+  adm_local/unix/config_files/Makefile \
+  bin/VERSION \
+  bin/Makefile \
+  src/Makefile \
+  src/Sierpinsky/Makefile \
+  src/SierpinskyGUI/Makefile \
+  resources/Makefile \
+  resources/SIERPINSKYCatalog.xml \
+  resources/SalomeApp.xml \
+  idl/Makefile \
+  SIERPINSKY_version.h \
   Makefile \
 ])
index 584f6e8b15e7c087d2d69294078518721a667b35..e17e8615d941c2c057e064e657a25803af714bf7 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 # This Makefile is responsible of generating the client and server
 # implementation of IDL interfaces for both C++ and python usage.
 # The building process of the C++ files is in charge of each source
@@ -25,6 +26,8 @@ include $(top_srcdir)/adm_local/unix/make_common_starter.am
 
 BASEIDL_FILES = Sierpinsky.idl
 
+BASEIDL_FILES_PY=$(BASEIDL_FILES:%.idl=%_idl.py)
+
 # This variable defines the files to be installed
 dist_salomeidl_DATA = $(BASEIDL_FILES)
 
@@ -42,7 +45,6 @@ nodist_salomeinclude_HEADERS = $(BASEIDL_FILES:%.idl=%.hh)
 
 libSalomeIDLSIERPINSKY_la_CPPFLAGS = \
        $(KERNEL_CXXFLAGS) \
-       -I$(top_builddir)/salome_adm/unix \
        -I$(top_builddir)/idl \
        @CORBA_CXXFLAGS@ \
        @CORBA_INCLUDES@
@@ -64,8 +66,7 @@ IDLCXXFLAGS = \
        -bcxx \
        @IDLCXXFLAGS@ \
        -I$(top_builddir)/idl/salome \
-       -I$(KERNEL_ROOT_DIR)/idl/salome \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(KERNEL_ROOT_DIR)/idl/salome
 IDLPYFLAGS  = \
        @IDLPYFLAGS@ \
        -I$(KERNEL_ROOT_DIR)/idl/salome
@@ -83,9 +84,15 @@ install-exec-local: $(BASEIDL_FILES:%=$(top_srcdir)/idl/%)
          $(OMNIORB_IDL) $(IDLPYFLAGS) -C$(DESTDIR)$(salomepythondir) $$file ; \
        done
 
-# uninstall-local removes too much, but it works in distcheck
+# we want to remove only staff generated for IDL files and nothing more
 uninstall-local:
-       rm -rf $(DESTDIR)$(salomepythondir)/*
+       @for modulen in SIERPINSKY_ORB ; do \
+         test -d $(DESTDIR)$(salomepythondir)/$${modulen} && echo "Removing $(DESTDIR)$(salomepythondir)/$${modulen}" && rm -rf $(DESTDIR)$(salomepythondir)/$${modulen} ; \
+         test -d $(DESTDIR)$(salomepythondir)/$${modulen}__POA && echo "Removing $(DESTDIR)$(salomepythondir)/$${modulen}__POA" && rm -rf $(DESTDIR)$(salomepythondir)/$${modulen}__POA ; \
+       done ; \
+       for filen in $(BASEIDL_FILES_PY) ; do \
+         echo "Removing $(DESTDIR)$(salomepythondir)/$${filen}" && rm -f $(DESTDIR)$(salomepythondir)/$${filen}* ; \
+       done
 
 mostlyclean-local:
        -rm -f *.hh *.cc .depidl
index 792d9e98f3628be28e883e48bf1fced77533a27a..e51fd46e6890f0aba70aea52737377cc7b960d5f 100644 (file)
@@ -1,27 +1,28 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 ///////////////////////////////////////////////////////////
 // File    : Sierpinsky.idl
 // Author  : Vadim SANDLER (OCN)
 // Created : 13/07/05
 ///////////////////////////////////////////////////////////
-//
+
 #ifndef __SIERPINSKY_IDL
 #define __SIERPINSKY_IDL
 
@@ -29,7 +30,7 @@
 
 module SIERPINSKY_ORB {
 
-  interface SIERPINSKY : Engines::Component {
+  interface SIERPINSKY : Engines::EngineComponent {
 
     // Initializes engine with three reference points
     void Init( in double X1, in double Y1, in double X2, in double Y2, in double X3, in double Y3 );
index 057e35f2aecbee981ea6d63c30ef16a92c666c22..de3a4497123c0796ce1d9f8ae1793ab08d980649 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 # -* Makefile *- 
 # Author :
 # Date : 28/06/2001
@@ -27,8 +28,7 @@ dist_salomeres_DATA = \
        SIERPINSKY.png \
        go.png \
        graph1.xml \
-       graph2.xml \
-       SalomeApp.xml
+       graph2.xml 
 
 # VSR: little trick to avoid putting if SIERPINSKYCatalog.xml to the distribution archive
-nodist_salomeres_SCRIPTS = SIERPINSKYCatalog.xml
+nodist_salomeres_SCRIPTS = SIERPINSKYCatalog.xml SalomeApp.xml
index b19bae42b52d22f177d4ff75e5c462e161cac1ad..524a36afdfd403bbc216b47d3d891804aadb42a5 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version='1.0' encoding='us-ascii' ?>
 <!--
-  Copyright (C) 2005-2008  OPEN CASCADE
+  Copyright (C) 2005-2012  OPEN CASCADE
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
diff --git a/resources/SalomeApp.xml b/resources/SalomeApp.xml
deleted file mode 100644 (file)
index d8b9560..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-<!--
-  Copyright (C) 2005-2008  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.
-
-  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
-
--->
-<document>
-  <section name="SIERPINSKY">
-    <!-- Major module parameters -->
-    <parameter name="name" value="Sierpinsky"/>
-    <parameter name="icon" value="SIERPINSKY.png"/>
-  </section>
-  <section name="resources">
-    <!-- Module resources -->
-    <parameter name="SIERPINSKY" value="${SIERPINSKY_ROOT_DIR}/share/salome/resources/sierpinsky"/>
-  </section>
-</document>
diff --git a/resources/SalomeApp.xml.in b/resources/SalomeApp.xml.in
new file mode 100644 (file)
index 0000000..4dfe7e2
--- /dev/null
@@ -0,0 +1,32 @@
+<!--
+  Copyright (C) 2005-2012  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.
+
+  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
+
+-->
+<document>
+  <section name="SIERPINSKY">
+    <!-- Major module parameters -->
+    <parameter name="name" value="Sierpinsky"/>
+    <parameter name="icon" value="SIERPINSKY.png"/>
+    <parameter name="version" value="@VERSION@"/>
+  </section>
+  <section name="resources">
+    <!-- Module resources -->
+    <parameter name="SIERPINSKY" value="%SIERPINSKY_ROOT_DIR%/share/salome/resources/sierpinsky"/>
+  </section>
+</document>
index 765ff22e9bdeb3e72e58480a7e5e23e068142678..bf15fd9666dc511d4e7704d0ffad0dba825c8305 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE SuperGraph>
 <!--
-  Copyright (C) 2005-2008  OPEN CASCADE
+  Copyright (C) 2005-2012  OPEN CASCADE
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
index b646857d4c32ce88918a7658edc513ef8fdf29a0..fd4cb5c2f3ef73756c1e766add1e073789caea22 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE SuperGraph>
 <!--
-  Copyright (C) 2005-2008  OPEN CASCADE
+  Copyright (C) 2005-2012  OPEN CASCADE
 
   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
index 9165b4427a11dc4e1eb60963c55348baf520ab5e..dc0852d30141c290c34d6d1b15a9c4cfa13d5d55 100755 (executable)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 #  File   : Makefile.in
 #  Author : Patrick GOLDBRONN (CEA)
 #  Modified by : Alexander BORODIN (OCN) - autotools usage
index bfd61a57608b4c6426c7b140c7feb43c7e7df5b3..3589c15d6c05cdfcf95bff21f4df8aa1039d2897 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 ###############################################################
 # File    : Makefile.in
 # Author  : Vadim SANDLER (OCN)
@@ -41,8 +42,7 @@ libSIERPINSKYEngine_la_CPPFLAGS = \
        $(MED_CXXFLAGS) \
        $(HDF5_INCLUDES) \
        $(BOOST_CPPFLAGS) \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
+       -I$(top_builddir)/idl
 
 libSIERPINSKYEngine_la_LDFLAGS  = \
        ../../idl/libSalomeIDLSIERPINSKY.la \
index 8372c0dfdc7b834ca43c66424a5ae917bacfd085..daf5c99f4fede577d6b260337dac776077e7d608 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 ///////////////////////////////////////////////////////////
 // File    : SIERPINSKY_Gen_i.cxx
 // Author  : Vadim SANDLER (OCN)
@@ -164,7 +165,7 @@ CORBA::Boolean SIERPINSKY_Gen_i::ExportToMED( const char* theFileName, CORBA::Do
   PWrapper aMed = CrWrapper( theFileName, MED::eV2_2 );
 
   // create 2D mesh
-  PMeshInfo aMesh = aMed->CrMeshInfo( 2, "Sierpinsky" );
+  PMeshInfo aMesh = aMed->CrMeshInfo( 2, 2, "Sierpinsky" );
   aMed->SetMeshInfo( aMesh, &anError );
   if ( anError < 0 ) return false;
 
index e82fa804172cf6c4695808355cfdf015483638f5..9fa4d597c9eaf089aef15bef9ab593f280ca7b87 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 ///////////////////////////////////////////////////////////
 // File    : SIERPINSKY_Gen_i.hxx
 // Author  : Vadim SANDLER (OCN)
index da484988d74691a00015aefeaaf2f78746c6af10..9083378e87a7261429f2d6de2207cbf5dcfe9cdd 100644 (file)
@@ -1,21 +1,22 @@
-#  Copyright (C) 2005-2008  OPEN CASCADE
+# Copyright (C) 2005-2012  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.
+# 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.
+# 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
+# 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
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 ###############################################################
 # File    : Makefile.in
 # Author  : Vadim SANDLER (OCN)
@@ -32,7 +33,8 @@ salomeinclude_HEADERS =
 
 nodist_salomeres_DATA= \
        SIERPINSKY_icons.qm \
-       SIERPINSKY_msg_en.qm
+       SIERPINSKY_msg_en.qm \
+       SIERPINSKY_msg_fr.qm
 
 # Libraries targets
 lib_LTLIBRARIES = libSIERPINSKY.la
@@ -61,9 +63,8 @@ libSIERPINSKY_la_CPPFLAGS = \
        $(CORBA_CXXFLAGS) \
        $(CORBA_INCLUDES) \
        -I$(srcdir)/../Sierpinsky \
-       -I$(top_builddir)/idl \
-       -I$(top_builddir)/salome_adm/unix
-
+       -I$(top_builddir) \
+       -I$(top_builddir)/idl
 
 libSIERPINSKY_la_LDFLAGS  = \
        ../Sierpinsky/libSIERPINSKYEngine.la \
index f81af53270399fd7f8b8ef0562d5e97abe2bcaa2..3f0a3079c15144f0e614271151e8fb60263d8036 100644 (file)
@@ -1,25 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<!--
-  Copyright (C) 2005-2008  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.
-
-  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
-
--->
-<TS version="1.1" >
+<TS version="2.0" language="fr_FR">
     <context>
         <name>@default</name>
         <message>
index 0a1e94738bc6acca18d9f0ed98646075f60784b8..decb004c03d6aaf018c933b179947557d95ab29c 100644 (file)
+<?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE TS>
-<!--
-  Copyright (C) 2005-2008  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.
-
-  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
-
--->
-<TS version="1.1" >
-    <context>
-        <name>@default</name>
-        <message>
-            <source>EXPORT_JPEG_FILE</source>
-            <translation>Export JPEG image</translation>
-        </message>
-        <message>
-            <source>EXPORT_MED_FILE</source>
-            <translation>Export MED file</translation>
-        </message>
-        <message>
-            <source>JPEG_FILES</source>
-            <translation>JPEG files (*.jpg; *.jpeg)</translation>
-        </message>
-        <message>
-            <source>MED_FILES</source>
-            <translation>MED files (*.med)</translation>
-        </message>
-    </context>
-    <context>
-        <name>SierpinskyGUI</name>
-        <message>
-            <source>CAPTION</source>
-            <translation>Run Sierpinsky dialog</translation>
-        </message>
-        <message>
-            <source>MENU_Sierpinsky</source>
-            <translation>Sierpinsky</translation>
-        </message>
-        <message>
-            <source>RUN</source>
-            <translation>Run</translation>
-        </message>
-    </context>
-    <context>
-        <name>SierpinskyGUI_RunDlg</name>
-        <message>
-            <source>BASE_POINTS</source>
-            <translation>Base points</translation>
-        </message>
-        <message>
-            <source>CANCEL_BTN</source>
-            <translation>&amp;Cancel</translation>
-        </message>
-        <message>
-            <source>CAPTION</source>
-            <translation>Run Sierpinsky Algo</translation>
-        </message>
-        <message>
-            <source>DEFAULT</source>
-            <translation>Default</translation>
-        </message>
-        <message>
-            <source>ERR_ERROR</source>
-            <translation>Warning</translation>
-        </message>
-        <message>
-            <source>EXEC_ERROR</source>
-            <translation>Can't run execution!</translation>
-        </message>
-        <message>
-            <source>EXPORT_2_JPEG</source>
-            <translation>Export to JPEG</translation>
-        </message>
-        <message>
-            <source>EXPORT_2_MED</source>
-            <translation>Export to MED</translation>
-        </message>
-        <message>
-            <source>IMAGE_SIZE</source>
-            <translation>Image size:</translation>
-        </message>
-        <message>
-            <source>IMPORT_MED_2_VISU</source>
-            <translation>Import to Post-Pro</translation>
-        </message>
-        <message>
-            <source>JPEG_PARAMETERS_ERROR</source>
-            <translation>JPEG file name is not given or image size is 0.\nContinue?</translation>
-        </message>
-        <message>
-            <source>MED_PARAMETERS_ERROR</source>
-            <translation>MED file name is not given or mesh size is 0.\nContinue?</translation>
-        </message>
-        <message>
-            <source>MESH_SIZE</source>
-            <translation>Mesh size:</translation>
-        </message>
-        <message>
-            <source>NB_ITERATIONS</source>
-            <translation>Number of iterations:</translation>
-        </message>
-        <message>
-            <source>NO_BTN</source>
-            <translation>&amp;No</translation>
-        </message>
-        <message>
-            <source>OK_BTN</source>
-            <translation>&amp;OK</translation>
-        </message>
-        <message>
-            <source>RANDOM</source>
-            <translation>Random</translation>
-        </message>
-        <message>
-            <source>RESULTS</source>
-            <translation>Results</translation>
-        </message>
-        <message>
-            <source>START_BTN</source>
-            <translation>&amp;Start</translation>
-        </message>
-        <message>
-            <source>START_POINT</source>
-            <translation>Start point</translation>
-        </message>
-        <message>
-            <source>STOP_BTN</source>
-            <translation>&amp;Stop</translation>
-        </message>
-        <message>
-            <source>WRN_WARNING</source>
-            <translation>Warning</translation>
-        </message>
-        <message>
-            <source>YES_BTN</source>
-            <translation>&amp;Yes</translation>
-        </message>
-    </context>
+<TS version="2.0" language="en_US">
+<context>
+    <name>@default</name>
+    <message>
+        <source>EXPORT_JPEG_FILE</source>
+        <translation>Export JPEG image</translation>
+    </message>
+    <message>
+        <source>EXPORT_MED_FILE</source>
+        <translation>Export MED file</translation>
+    </message>
+    <message>
+        <source>JPEG_FILES</source>
+        <translation>JPEG files (*.jpg; *.jpeg)</translation>
+    </message>
+    <message>
+        <source>MED_FILES</source>
+        <translation>MED files (*.med)</translation>
+    </message>
+</context>
+<context>
+    <name>SierpinskyGUI</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Run Sierpinsky dialog</translation>
+    </message>
+    <message>
+        <source>MENU_Sierpinsky</source>
+        <translation>Sierpinsky</translation>
+    </message>
+    <message>
+        <source>RUN</source>
+        <translation>Run</translation>
+    </message>
+</context>
+<context>
+    <name>SierpinskyGUI_RunDlg</name>
+    <message>
+        <source>BASE_POINTS</source>
+        <translation>Base points</translation>
+    </message>
+    <message>
+        <source>CANCEL_BTN</source>
+        <translation>&amp;Cancel</translation>
+    </message>
+    <message>
+        <source>CAPTION</source>
+        <translation>Run Sierpinsky Algo</translation>
+    </message>
+    <message>
+        <source>DEFAULT</source>
+        <translation>Default</translation>
+    </message>
+    <message>
+        <source>ERR_ERROR</source>
+        <translation>Warning</translation>
+    </message>
+    <message>
+        <source>EXEC_ERROR</source>
+        <translation>Can&apos;t run execution!</translation>
+    </message>
+    <message>
+        <source>EXPORT_2_JPEG</source>
+        <translation>Export to JPEG</translation>
+    </message>
+    <message>
+        <source>EXPORT_2_MED</source>
+        <translation>Export to MED</translation>
+    </message>
+    <message>
+        <source>IMAGE_SIZE</source>
+        <translation>Image size:</translation>
+    </message>
+    <message>
+        <source>IMPORT_MED_2_VISU</source>
+        <translation>Import to Post-Pro</translation>
+    </message>
+    <message>
+        <source>JPEG_PARAMETERS_ERROR</source>
+        <translation>JPEG file name is not given or image size is 0.\nContinue?</translation>
+    </message>
+    <message>
+        <source>MED_PARAMETERS_ERROR</source>
+        <translation>MED file name is not given or mesh size is 0.\nContinue?</translation>
+    </message>
+    <message>
+        <source>MESH_SIZE</source>
+        <translation>Mesh size:</translation>
+    </message>
+    <message>
+        <source>NB_ITERATIONS</source>
+        <translation>Number of iterations:</translation>
+    </message>
+    <message>
+        <source>NO_BTN</source>
+        <translation>&amp;No</translation>
+    </message>
+    <message>
+        <source>OK_BTN</source>
+        <translation>&amp;OK</translation>
+    </message>
+    <message>
+        <source>RANDOM</source>
+        <translation>Random</translation>
+    </message>
+    <message>
+        <source>RESULTS</source>
+        <translation>Results</translation>
+    </message>
+    <message>
+        <source>START_BTN</source>
+        <translation>&amp;Start</translation>
+    </message>
+    <message>
+        <source>START_POINT</source>
+        <translation>Start point</translation>
+    </message>
+    <message>
+        <source>STOP_BTN</source>
+        <translation>&amp;Stop</translation>
+    </message>
+    <message>
+        <source>WRN_WARNING</source>
+        <translation>Warning</translation>
+    </message>
+    <message>
+        <source>YES_BTN</source>
+        <translation>&amp;Yes</translation>
+    </message>
+</context>
 </TS>
diff --git a/src/SierpinskyGUI/SIERPINSKY_msg_fr.ts b/src/SierpinskyGUI/SIERPINSKY_msg_fr.ts
new file mode 100755 (executable)
index 0000000..4f2fe08
--- /dev/null
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="fr_FR">
+<context>
+    <name>@default</name>
+    <message>
+        <source>EXPORT_JPEG_FILE</source>
+        <translation>Exporter un image JPEG</translation>
+    </message>
+    <message>
+        <source>EXPORT_MED_FILE</source>
+        <translation>Exporter un image MED</translation>
+    </message>
+    <message>
+        <source>JPEG_FILES</source>
+        <translation>Fichiers JPEG (*.jpg; *.jpeg)</translation>
+    </message>
+    <message>
+        <source>MED_FILES</source>
+        <translation>Fichiers MED (*.med)</translation>
+    </message>
+</context>
+<context>
+    <name>SierpinskyGUI</name>
+    <message>
+        <source>CAPTION</source>
+        <translation>Lancer la dialogue Sierpinsky</translation>
+    </message>
+    <message>
+        <source>MENU_Sierpinsky</source>
+        <translation>Sierpinsky</translation>
+    </message>
+    <message>
+        <source>RUN</source>
+        <translation>Lancer</translation>
+    </message>
+</context>
+<context>
+    <name>SierpinskyGUI_RunDlg</name>
+    <message>
+        <source>BASE_POINTS</source>
+        <translation>Points de Base</translation>
+    </message>
+    <message>
+        <source>CANCEL_BTN</source>
+        <translation>&amp;Annuler</translation>
+    </message>
+    <message>
+        <source>CAPTION</source>
+        <translation>Lancer l&apos;Algo Sierpinsky</translation>
+    </message>
+    <message>
+        <source>DEFAULT</source>
+        <translation>Défaut</translation>
+    </message>
+    <message>
+        <source>ERR_ERROR</source>
+        <translation>Avertissement</translation>
+    </message>
+    <message>
+        <source>EXEC_ERROR</source>
+        <translation>Impossible de commencer l&apos;exécution!</translation>
+    </message>
+    <message>
+        <source>EXPORT_2_JPEG</source>
+        <translation>Exporter à JPEG</translation>
+    </message>
+    <message>
+        <source>EXPORT_2_MED</source>
+        <translation>Exporter à MED</translation>
+    </message>
+    <message>
+        <source>IMAGE_SIZE</source>
+        <translation>Taille d&apos;Image:</translation>
+    </message>
+    <message>
+        <source>IMPORT_MED_2_VISU</source>
+        <translation>Importer à Post-Pro</translation>
+    </message>
+    <message>
+        <source>JPEG_PARAMETERS_ERROR</source>
+        <translation>Le nom du fichier JPEG n&apos;est pas indiqué ou la taille d&apos;image est 0. \n Continuer?</translation>
+    </message>
+    <message>
+        <source>MED_PARAMETERS_ERROR</source>
+        <translation>Le nom du fichier MED n&apos;est pas indiqué ou la taille d&apos;image est 0. \n Continuer?</translation>
+    </message>
+    <message>
+        <source>MESH_SIZE</source>
+        <translation>Taille du maillage:</translation>
+    </message>
+    <message>
+        <source>NB_ITERATIONS</source>
+        <translation>Nombre d&apos;Itérations:</translation>
+    </message>
+    <message>
+        <source>NO_BTN</source>
+        <translation>&amp;No</translation>
+    </message>
+    <message>
+        <source>OK_BTN</source>
+        <translation>&amp;OK</translation>
+    </message>
+    <message>
+        <source>RANDOM</source>
+        <translation>Aléatoire</translation>
+    </message>
+    <message>
+        <source>RESULTS</source>
+        <translation>Résultats</translation>
+    </message>
+    <message>
+        <source>START_BTN</source>
+        <translation>&amp;Commencer</translation>
+    </message>
+    <message>
+        <source>START_POINT</source>
+        <translation>Commencer un point</translation>
+    </message>
+    <message>
+        <source>STOP_BTN</source>
+        <translation>A&amp;rrêter</translation>
+    </message>
+    <message>
+        <source>WRN_WARNING</source>
+        <translation>Avertissement</translation>
+    </message>
+    <message>
+        <source>YES_BTN</source>
+        <translation>&amp;Yes</translation>
+    </message>
+</context>
+</TS>
index 0132c63200bb0305374529554bc340ff4996987d..df30623e7f8e9ce2cbb7208c3421ab004b00d287 100644 (file)
@@ -1,29 +1,32 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 ///////////////////////////////////////////////////////////
 // File    : SierpinskyGUI.cxx
 // Author  : Vadim SANDLER (OCN)
 // Created : 13/07/05
 ///////////////////////////////////////////////////////////
-//
+
 #include "SierpinskyGUI.h"
 
+#include <SIERPINSKY_version.h>
+
 #include <SUIT_MessageBox.h>
 #include <SUIT_ResourceMgr.h>
 #include <SUIT_Desktop.h>
@@ -36,7 +39,8 @@
  * Constructor
  */
 SierpinskyGUI::SierpinskyGUI() : 
-  SalomeApp_Module("Sierpinsky")
+  SalomeApp_Module("Sierpinsky"),
+  LightApp_Module("Sierpinsky")
 {
 }
 
@@ -47,7 +51,7 @@ SIERPINSKY_ORB::SIERPINSKY_ptr SierpinskyGUI::InitSIERPINSKYGen( SalomeApp_Appli
 {
   SIERPINSKY_ORB::SIERPINSKY_ptr clr;
   try{
-    Engines::Component_var comp = app->lcc()->FindOrLoad_Component( "FactoryServer","SIERPINSKY" );
+    Engines::EngineComponent_var comp = app->lcc()->FindOrLoad_Component( "FactoryServer","SIERPINSKY" );
     clr = SIERPINSKY_ORB::SIERPINSKY::_narrow(comp);
   }
   catch (CORBA::Exception&){
@@ -156,4 +160,9 @@ extern "C" {
   {
     return new SierpinskyGUI();
   }
+  
+  char* getModuleVersion()
+  {
+    return (char*)SIERPINSKY_VERSION_STR;
+  }
 }
index 3ad862503ad01a4125c9e24cae9c0164256537e4..b75019e270fed7762cb5f8622c8edb0b63e96db1 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 ///////////////////////////////////////////////////////////
 // File    : SierpinskyGUI.h
 // Author  : Vadim SANDLER (OCN)
index 6871e353925e5e4095c7b83c26c78eeb743b96e7..4cc8c298963465e63426c7603c7511d4a5816c07 100644 (file)
@@ -1,27 +1,28 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 ///////////////////////////////////////////////////////////
 // File    : SierpinskyGUI_RunDlg.cxx
 // Author  : Vadim SANDLER (OCN)
 // Created : 13/07/05
 ///////////////////////////////////////////////////////////
-//
+
 #include "SierpinskyGUI_RunDlg.h"
 #include "SierpinskyGUI.h"
 #include "SALOME_LifeCycleCORBA.hxx"
@@ -59,7 +60,7 @@ static RANDOMIZER_ORB::RANDOMIZER_var getRandomizerEngine()
   if( CORBA::is_nil( aGen ) ) {
     try{
       SALOME_LifeCycleCORBA aLCC(SalomeApp_Application::namingService());
-      Engines::Component_var aComponent = aLCC.FindOrLoad_Component("FactoryServerPy","RANDOMIZER");
+      Engines::EngineComponent_var aComponent = aLCC.FindOrLoad_Component("FactoryServerPy","RANDOMIZER");
       aGen = RANDOMIZER_ORB::RANDOMIZER::_narrow( aComponent );
     }
     catch (CORBA::Exception&){
@@ -81,7 +82,7 @@ static SIERPINSKY_ORB::SIERPINSKY_var getSierpinskyEngine()
   if( CORBA::is_nil( aGen ) ) {
     try{
       SALOME_LifeCycleCORBA aLCC(SalomeApp_Application::namingService());
-      Engines::Component_var aComponent = aLCC.FindOrLoad_Component("FactoryServer","SIERPINSKY");
+      Engines::EngineComponent_var aComponent = aLCC.FindOrLoad_Component("FactoryServer","SIERPINSKY");
       aGen = SIERPINSKY_ORB::SIERPINSKY::_narrow( aComponent );
     }
     catch (CORBA::Exception&){
@@ -103,7 +104,7 @@ static VISU::VISU_Gen_var getVisuEngine()
   if( CORBA::is_nil( aGen ) ) {
     try{
       SALOME_LifeCycleCORBA aLCC(SalomeApp_Application::namingService());
-      Engines::Component_var aComponent = aLCC.FindOrLoad_Component("FactoryServer","VISU");
+      Engines::EngineComponent_var aComponent = aLCC.FindOrLoad_Component("FactoryServer","VISU");
       aGen = VISU::VISU_Gen::_narrow( aComponent );
     }
     catch (CORBA::Exception&){
index 8b203457c13b36180196c859fc575134beebb59a..64c1b0313b9be5c250d295b8122155b56654143e 100644 (file)
@@ -1,21 +1,22 @@
-//  Copyright (C) 2005-2008  OPEN CASCADE
+// Copyright (C) 2005-2012  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.
+// 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.
+// 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
+// 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
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+
 ///////////////////////////////////////////////////////////
 // File    : SierpinskyGUI_RunDlg.h
 // Author  : Vadim SANDLER (OCN)