]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
Minor changes
authorvsr <vsr@opencascade.com>
Tue, 16 Apr 2013 14:27:00 +0000 (14:27 +0000)
committervsr <vsr@opencascade.com>
Tue, 16 Apr 2013 14:27:00 +0000 (14:27 +0000)
config_files/PyQt.sh
config_files/qscintilla.sh

index 156194890c9ac60b1fbfa4c78b87523d197952bf..0f52d4b61db9693bb5bb87c97a08c1c2178f78d0 100755 (executable)
@@ -84,8 +84,7 @@ fi
 # apply patch for phonon module
 local patch_phonon_module=1
 if [ "${patch_phonon_module}" = "1" ] ; then
-    echo -n ".. Patching PyQt sources: fix problem with improper phonon detection..." && \
-       sed -i "s%new Phonon::VideoWidget()%(new Phonon::VideoWidget())->shapshot()%g" ${PRODUCT_SRC_DIR}/configure.py >& /dev/null
+    ( cd ${PRODUCT_SRC_DIR} && sed -i "s%new Phonon::VideoWidget()%(new Phonon::VideoWidget())->shapshot()%g" configure.py )
 fi
 
 # apply additional patch (if there's any)
index bcf7cc6ca74ef01647bd5aaccc4743d5da92a956..163c9b1e9259455817fad1990dfc5ab012ed19b8 100755 (executable)
@@ -15,7 +15,7 @@
 #
 # QSCINTILLA  version
 #
-QSCINTILLA_VERSION=2.7.0
+QSCINTILLA_VERSION=2.7
 
 check_version(){
 if [ -z "${QSCINTILLA_DIR}" ]; then
@@ -67,6 +67,20 @@ check_jb tar xfz ${SOURCE_DIR}/${PRODUCT}.tar.gz -C ${INST_ROOT}
 # apply patch (if there's any)
 ( test -f patches/${PRODUCT}.patch && cp patches/${PRODUCT}.patch ${PRODUCT_SRC_DIR} && cd ${PRODUCT_SRC_DIR} && patch -p1 < ${PRODUCT}.patch )
 
+# patch build procedure
+local patch_build_procedure=1
+if [ "${patch_build_procedure}" = "1" ] ; then
+    # patch installation folder
+    cd ${PRODUCT_SRC_DIR}/Qt4Qt5
+    sed -e "s%\(target.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}/lib%g" \
+       -e "s%\(header.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}/include%g" \
+       -e "s%\(trans.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}/translations%g" \
+       -e "s%\(qsci.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}%g" \
+       qscintilla.pro > qscintilla.pro.new
+    mv -f qscintilla.pro.new qscintilla.pro
+fi
+
+
 # to generate environment scripts
 try_preinstalled
 }
@@ -87,17 +101,6 @@ unset INSTALL_ROOT
 
 cd ${PRODUCT_SRC_DIR}/Qt4Qt5
 
-local patch_build_procedure=1
-if [ "${patch_build_procedure}" = "1" ] ; then
-    # patch installation folder
-    sed -e "s%\(target.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}/lib%g" \
-       -e "s%\(header.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}/include%g" \
-       -e "s%\(trans.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}/translations%g" \
-       -e "s%\(qsci.path[[:space:]]*=[[:space:]]*\).*%\1${PRODUCT_DIR}%g" \
-       qscintilla.pro > qscintilla.pro.new
-    mv -f qscintilla.pro.new qscintilla.pro
-fi
-
 qmake -o Makefile qscintilla.pro
 check_job ${PRODUCT_DIR}/MAKE.LOG make 
 check_job ${PRODUCT_DIR}/MAKEINSTALL.LOG make install