--- /dev/null
+TEMPLATE = subdirs
+CONFIG += ordered
+
+SUBDIRS = src
fi
#
-# check lupdate presence (translation files compiler)
+# check lrelease presence (translation files compiler)
#
if test "x$qt_ok" = "xyes"
then
- if test -f ${QTDIR}/bin/lupdate
+ if test -f ${QTDIR}/bin/lrelease
then
- LUPDATE=${QTDIR}/bin/lupdate
+ LRELEASE=${QTDIR}/bin/lrelease
else
- AC_PATH_PROG(LUPDATE, lupdate)
+ AC_PATH_PROG(LRELEASE, lrelease)
fi
- if test "x$LUPDATE" = "x"
+ if test "x$LRELEASE" = "x"
then
qt_ok=no
- AC_MSG_RESULT(lupdate (Qt translation files compiler) is not in the PATH variable)
+ AC_MSG_RESULT(lrelease (Qt translation files compiler) is not in the PATH variable)
else
qt_ok=yes
- AC_MSG_RESULT(lupdate (Qt translation files compiler) is found)
+ AC_MSG_RESULT(lrelease (Qt translation files compiler) is found)
fi
fi
AC_SUBST(MOC)
AC_SUBST(UIC)
AC_SUBST(QRCC)
-AC_SUBST(LUPDATE)
+AC_SUBST(LRELEASE)
AC_SUBST(QT_ROOT)
AC_SUBST(QT_INCLUDES)
$(MOC) $< -o $@
# qm-files generation
-%.qm: resources/%.po
- $(MSG2QM) $< $@
+%.qm: resources/%.ts
+ $(LRELEASE) $< -qm $@
-EXTRA_DIST=$(MOC_FILES:%_moc.cxx=%.h) $(nodist_salomeres_DATA:%.qm=resources/%.po)
+EXTRA_DIST=$(MOC_FILES:%_moc.cxx=%.h) $(nodist_salomeres_DATA:%.qm=resources/%.ts)
mostlyclean-local:
rm -f @builddir@/*_moc.cxx
#
-AC_INIT([Salome2 Project GUI module], [3.2.2], [gboulant@CS], [salome])
+AC_INIT([Salome2 Project GUI module], [4.0.0], [gboulant@CS], [salome])
AC_CONFIG_AUX_DIR(salome_adm/unix/config_files)
AC_CANONICAL_HOST
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
-PACKAGE=salome
-AC_SUBST(PACKAGE)
+#VSR: commented: this auto-variable is set automatically by AC_INIT
+#PACKAGE=salome
+#AC_SUBST(PACKAGE)
-VERSION=4.0.0
-XVERSION=0x040000
-AC_SUBST(VERSION)
+#VSR: commented: this auto-variable is set automatically by AC_INIT
+#VERSION=4.0.0
+#VSR: commented: calculate XVERSION from VERSION
+#XVERSION=0x040000
+XVERSION=`echo $VERSION | awk -F. '{if(NF>0){maj=$1}else{maj=0};if(NF>1){min=$2}else{min=0};if(NF>2){rel=$3}else{rel=0};printf("0x%02d%02d%02d",maj,min,rel)}'`
AC_SUBST(XVERSION)
# set up MODULE_NAME variable for dynamic construction of directories (resources, etc.)
CHECK_QT
-echo
-echo ---------------------------------------------
-echo testing msg2qm
-echo ---------------------------------------------
-echo
-
-CHECK_MSG2QM
-
echo
echo ---------------------------------------------
echo testing VTK
if test "$GUI_DISABLE_CORBA" != "yes"; then
-variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok msg2qm_ok vtk_ok hdf5_ok
+variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok
omniORB_ok boost_ok occ_ok sip_ok pyqt_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok"
else
-variables="cc_ok lex_yacc_ok python_ok threads_ok OpenGL_ok qt_ok msg2qm_ok vtk_ok hdf5_ok boost_ok
+variables="cc_ok lex_yacc_ok python_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok boost_ok
occ_ok sip_ok pyqt_ok qwt_ok doxygen_ok graphviz_ok Kernel_ok"
fi
# Module : SALOME
# $Header$
-SUBDIRS = Qtx Style DDS QDS SUIT STD CAF CAM SUITApp LogWindow ObjBrowser Prs
+# VSR: this is the original packages list
+#SUBDIRS = Qtx Style DDS QDS SUIT STD CAF CAM SUITApp LogWindow ObjBrowser Prs
+# VSR: already migrated to Qt4 packages
+SUBDIRS = Qtx SUIT STD SUITApp LogWindow
if ENABLE_SALOMEOBJECT
- SUBDIRS += OBJECT
+# VSR: this is the original packages list
+# SUBDIRS += OBJECT
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
endif
if ENABLE_GLVIEWER
- SUBDIRS += GLViewer
+# VSR: this is the original packages list
+# SUBDIRS += GLViewer
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
endif
if ENABLE_VTKVIEWER
- SUBDIRS += VTKViewer
+# VSR: this is the original packages list
+# SUBDIRS += VTKViewer
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
if ENABLE_SALOMEOBJECT
- SUBDIRS += SVTK
+# VSR: this is the original packages list
+# SUBDIRS += SVTK
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
endif
endif
if ENABLE_OCCVIEWER
- SUBDIRS += OCCViewer
+# VSR: this is the original packages list
+# SUBDIRS += OCCViewer
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
if ENABLE_SALOMEOBJECT
- SUBDIRS += SOCC
+# VSR: this is the original packages list
+# SUBDIRS += SOCC
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
endif
endif
if ENABLE_PYCONSOLE
- SUBDIRS += PyInterp PythonConsole
+# VSR: this is the original packages list
+# SUBDIRS += PyInterp PythonConsole
+# VSR: already migrated to Qt4 packages
+ SUBDIRS += PyInterp PyConsole
endif
if ENABLE_PLOT2DVIEWER
- SUBDIRS += Plot2d
+# VSR: this is the original packages list
+# SUBDIRS += Plot2d
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
if ENABLE_SALOMEOBJECT
- SUBDIRS += SPlot2d
+# VSR: this is the original packages list
+# SUBDIRS += SPlot2d
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
endif
endif
if ENABLE_SUPERVGRAPHVIEWER
- SUBDIRS += SUPERVGraph
+# VSR: this is the original packages list
+# SUBDIRS += SUPERVGraph
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
endif
-SUBDIRS += LightApp ResExporter
+# VSR: this is the original packages list
+#SUBDIRS += LightApp ResExporter
+# VSR: already migrated to Qt4 packages
+SUBDIRS +=
if GUI_ENABLE_CORBA
- SUBDIRS += RegistryDisplay TOOLSGUI \
- Event Session SalomeApp SALOME_SWIG SALOME_PY SALOME_PYQT
+# VSR: this is the original packages list
+# SUBDIRS += RegistryDisplay TOOLSGUI \
+# Event Session SalomeApp SALOME_SWIG SALOME_PY SALOME_PYQT
+# VSR: already migrated to Qt4 packages
+ SUBDIRS +=
endif