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/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 ${GUI_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
+#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
# ____________________________________________________________________
# autom4te.cache (directory)
echo "====================================================== aclocal"
-aclocal -I adm_local/unix/config_files -I salome_adm/unix/config_files || exit 1
+aclocal -I adm_local/unix/config_files \
+ -I ${KERNEL_ROOT_DIR}/salome_adm/unix/config_files \
+ -I ${GUI_ROOT_DIR}/adm_local/unix/config_files || exit 1
# ____________________________________________________________________
# libtoolize creates some configuration files (ltmain.sh,
# Created from configure.in.base
#
-AC_INIT([Salome2 Project PYHELLO module], [4.0.0], [gboulant@CS], [salome])
+AC_INIT([Salome2 Project PYHELLO module], [4.1.1], [webmaster.salome@opencascade.com], [salome])
AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
-PACKAGE=salome
-AC_SUBST(PACKAGE)
-
-VERSION=4.0.0
-XVERSION=0x040000
-AC_SUBST(VERSION)
+XVERSION=`echo $VERSION | awk -F. '{printf("0x%02x%02x%02x",$1,$2,$3)}'`
AC_SUBST(XVERSION)
# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
dist_salomeres_DATA = \
PYHELLO.png \
ExecPYHELLO.png \
- SalomeApp.xml
+ SalomeApp.xml \
+ PYHELLO_en.xml
nodist_salomeres_DATA = PYHELLOCatalog.xml
import SALOMEDS
import SALOMEDS_Attributes_idl
+import PYHELLO_ORB
+
################################################
# module name
__MODULE_NAME__ = "PYHELLO"
# --- get PYHELLO engine ---
def _getEngine():
- import PYHELLO_ORB
engine = lcc.FindOrLoadComponent( "FactoryServerPy", __MODULE_NAME__ )
return engine
attr = builder.FindOrCreateAttribute( father, "AttributeLocalID" )
attr.SetValue( __MODULE_ID__ )
try:
- ### The following line is commented because it causes crashes ! ###
- ### builder.DefineComponentInstance( father, _getEngine() )
+ builder.DefineComponentInstance( father, _getEngine() )
pass
except:
pass
attr.SetValue( "Object " + str( __id__ ) )
attr = builder.FindOrCreateAttribute( object, "AttributeLocalID" )
attr.SetValue( __OBJECT_ID__ )
- sgPyQt.updateObjBrowser()
+ sg.updateObjBrowser(True)
pass
# ----------------------- #
sobj = iter.Value()
iter.Next()
builder.RemoveObjectWithChildren( sobj )
- sgPyQt.updateObjBrowser()
+ sg.updateObjBrowser(True)
pass
# ----------------------- #
if ( sobj ):
builder = study.NewBuilder()
builder.RemoveObject( sobj )
- sgPyQt.updateObjBrowser()
+ sg.updateObjBrowser(True)
pass
# ----------------------- #