From fd19f6bf3d8b5bfa11600f83adb51e75c0404105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 24 Jun 2013 20:02:15 +0200 Subject: RPM Packaging: add other files for 3.5.13.2 --- redhat/dependencies/arts/kcmartsrc-pulseaudio | 4 + redhat/dependencies/tqca-tls/tqca-tls-qt3.patch | 105 ++++++++++++++++ .../tqca/tqca-1.0-fix_qt3_detection.patch | 132 +++++++++++++++++++++ 3 files changed, 241 insertions(+) create mode 100644 redhat/dependencies/arts/kcmartsrc-pulseaudio create mode 100644 redhat/dependencies/tqca-tls/tqca-tls-qt3.patch create mode 100644 redhat/dependencies/tqca/tqca-1.0-fix_qt3_detection.patch (limited to 'redhat/dependencies') diff --git a/redhat/dependencies/arts/kcmartsrc-pulseaudio b/redhat/dependencies/arts/kcmartsrc-pulseaudio new file mode 100644 index 000000000..1acb0a150 --- /dev/null +++ b/redhat/dependencies/arts/kcmartsrc-pulseaudio @@ -0,0 +1,4 @@ +[Arts] +Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f +NetworkTransparent=true +SuspendTime=1 diff --git a/redhat/dependencies/tqca-tls/tqca-tls-qt3.patch b/redhat/dependencies/tqca-tls/tqca-tls-qt3.patch new file mode 100644 index 000000000..4b01321ad --- /dev/null +++ b/redhat/dependencies/tqca-tls/tqca-tls-qt3.patch @@ -0,0 +1,105 @@ +--- tqca-tls-master/configure.qt 2012-06-20 03:30:48.000000000 +0200 ++++ tqca-tls-master/configure 2013-05-28 20:30:52.827808679 +0200 +@@ -60,7 +60,7 @@ + if [ "$QC_DEBUG" = "Y" ]; then + echo \$QTDIR not set... trying to find Qt manually + fi +- for p in /usr/lib/tqt /usr/share/tqt /usr/share/tqt3 /usr/local/lib/tqt /usr/local/share/tqt /usr/lib/tqt3 /usr/local/lib/tqt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/tqt /usr/local/lib64/tqt /usr/lib64/tqt3 /usr/local/lib64/tqt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do ++ for p in /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do + if [ -d "$p/mkspecs" ]; then + QTDIR=$p + break; +@@ -79,15 +79,15 @@ + fi + fi + +-if [ ! -x "$QTDIR/bin/tqmake" ]; then ++if [ ! -x "$QTDIR/bin/qmake" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo Warning: tqmake not in \$QTDIR/bin/tqmake ++ echo Warning: qmake not in \$QTDIR/bin/qmake + echo trying to find it in \$PATH + fi +- qm=`type -p tqmake` ++ qm=`type -p qmake` + if [ -x "$qm" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo tqmake found in $qm ++ echo qmake found in $qm + fi + else + echo fail +@@ -96,12 +96,12 @@ + echo or I missdetected \$QTDIR=$QTDIR + echo + echo Please set \$QTDIR manually and make sure that +- echo \$QTDIR/bin/tqmake exists. ++ echo \$QTDIR/bin/qmake exists. + echo + exit 1; + fi + else +- qm=$QTDIR/bin/tqmake ++ qm=$QTDIR/bin/qmake + fi + + gen_files() { +@@ -184,7 +184,9 @@ + conf->addLib("-lssl -lcrypto"); + + // Make sure tqtinterface can be found +- conf->addIncludePath("/usr/include/tqt"); ++ conf->addIncludePath("/opt/trinity/include/tqt"); ++ // Make sure tqt3 can be found ++ conf->addIncludePath("${QTINC:-${QTDIR}/include}"); + + return true; + } +@@ -476,7 +478,7 @@ + + TQString str; + str += "# qconf\n"; +- str += "QT_PATH_PLUGINS = " + TQString(tqInstallPathPlugins()) + '\n'; ++ str += "QT_PATH_PLUGINS = " + TQString(qInstallPathPlugins()) + '\n'; + if(!conf->DEFINES.isEmpty()) + str += "DEFINES += " + conf->DEFINES + '\n'; + if(!conf->INCLUDEPATH.isEmpty()) +@@ -511,7 +513,7 @@ + TEMPLATE = app + CONFIG += qt x11 thread console + TARGET = conf +-INCLUDEPATH += '/usr/include/tqt' ++INCLUDEPATH += '/opt/trinity/include/tqt' '${QTINC:-${QTDIR}/include}' + + DEFINES += X11_INC='"\$\$QMAKE_INCDIR_X11"' + DEFINES += X11_LIBDIR='"\$\$QMAKE_LIBDIR_X11"' +@@ -537,16 +539,16 @@ + ) + + if [ "$?" != "0" ]; then +- rm -rf .qconftemp ++# rm -rf .qconftemp + echo fail + echo + echo "There was an error compiling 'conf'. Be sure you have a proper" + echo "TQt 3.x Multithreaded (MT) build environment set up." +- if [ ! -f "$QTDIR/lib/libtqt-mt.so.3" ]; then +- if [ ! -f "$QTDIR/lib64/libtqt-mt.so.3" ]; then ++ if [ ! -f "${QTLIB:-${QTDIR}/lib}/libqt-mt.so.3" ]; then ++ if [ ! -f "${QTLIB:-${QTDIR}/lib64}/libqt-mt.so.3" ]; then + echo + echo "One possible reason is that you don't have" +- echo "libtqt-mt.so.3 installed in $QTDIR/lib/" ++ echo "libqt-mt.so.3 installed in $QTDIR/lib/" + echo "or $QTDIR/lib64/." + fi + fi +@@ -575,7 +577,7 @@ + if [ -x "./qcextra" ]; then + ./qcextra + fi +-# run tqmake ++# run qmake + if expr match "$DEB_BUILD_OPTIONS" ".*nostrip"; then + $qm QMAKE_STRIP=true qca-tls.pro + else diff --git a/redhat/dependencies/tqca/tqca-1.0-fix_qt3_detection.patch b/redhat/dependencies/tqca/tqca-1.0-fix_qt3_detection.patch new file mode 100644 index 000000000..0cb99b0e6 --- /dev/null +++ b/redhat/dependencies/tqca/tqca-1.0-fix_qt3_detection.patch @@ -0,0 +1,132 @@ +--- tqca.ORI/qca.pro 2012-04-24 17:24:02.760426575 -0400 ++++ tqca.P/qca.pro 2012-04-24 17:39:36.323825994 -0400 +@@ -21,6 +21,7 @@ + QCA_CPP = src + INCLUDEPATH += $$QCA_CPP + INCLUDEPATH += /usr/include/tqt ++INCLUDEPATH += /opt/trinity/include/tqt + + HEADERS += \ + $$QCA_CPP/qca.h \ +--- tqca-master/configure.qt 2012-06-20 03:30:19.000000000 +0200 ++++ tqca-master/configure 2013-05-28 19:44:10.821100155 +0200 +@@ -8,7 +8,7 @@ + + Main options: + --prefix=[path] Base path for build/install. Default: /usr/local +- --qtdir=[path] Directory where Qt is installed. ++ --qtdir=[path] Directory where [T]Qt is installed. + --help This help text. + + EOT +@@ -37,7 +37,7 @@ + + PREFIX=${PREFIX:-/usr/local} + +-echo "Configuring TQt Cryptographic Architecture (QCA) ..." ++echo "Configuring TQt Cryptographic Architecture (TQCA) ..." + + if [ "$QC_DEBUG" = "Y" ]; then + echo +@@ -52,7 +52,7 @@ + if [ "$QC_DEBUG" = "Y" ]; then + echo \$QTDIR not set... trying to find Qt manually + fi +- for p in /usr/lib/tqt /usr/share/tqt /usr/share/tqt3 /usr/local/lib/tqt /usr/local/share/tqt /usr/lib/tqt3 /usr/local/lib/tqt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/tqt /usr/local/lib64/tqt /usr/lib64/tqt3 /usr/local/lib64/tqt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do ++ for p in /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib/qt /usr/share/qt /usr/share/qt3 /usr/local/lib/qt /usr/local/share/qt /usr/lib/qt3 /usr/local/lib/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/lib64/qt /usr/local/lib64/qt /usr/lib64/qt3 /usr/local/lib64/qt3 /usr/X11R6/share/qt /usr/qt/3 ; do + if [ -d "$p/mkspecs" ]; then + QTDIR=$p + break; +@@ -62,7 +62,7 @@ + echo fail + echo + echo Unable to find Qt 'mkspecs'. Please set QTDIR +- echo manually. Perhaps you need to install Qt 3 ++ echo manually. Perhaps you need to install [T]Qt 3 + echo development utilities. You may download them either + echo from the vendor of your operating system or from + echo www.trolltech.com +@@ -71,15 +71,15 @@ + fi + fi + +-if [ ! -x "$QTDIR/bin/tqmake" ]; then ++if [ ! -x "$QTDIR/bin/qmake" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo Warning: tqmake not in \$QTDIR/bin/tqmake ++ echo Warning: qmake not in \$QTDIR/bin/qmake + echo trying to find it in \$PATH + fi +- qm=`type -p tqmake` ++ qm=`type -p qmake` + if [ -x "$qm" ]; then + if [ "$QC_DEBUG" = "Y" ]; then +- echo tqmake found in $qm ++ echo qmake found in $qm + fi + else + echo fail +@@ -88,12 +88,12 @@ + echo or I missdetected \$QTDIR=$QTDIR + echo + echo Please set \$QTDIR manually and make sure that +- echo \$QTDIR/bin/tqmake exists. ++ echo \$QTDIR/bin/qmake exists. + echo + exit 1; + fi + else +- qm=$QTDIR/bin/tqmake ++ qm=$QTDIR/bin/qmake + fi + + gen_files() { +@@ -382,7 +382,7 @@ + + TQString str; + str += "# qconf\n"; +- str += "QT_PATH_PLUGINS = " + TQString(tqInstallPathPlugins()) + '\n'; ++ str += "QT_PATH_PLUGINS = " + TQString(qInstallPathPlugins()) + '\n'; + if(!conf->DEFINES.isEmpty()) + str += "DEFINES += " + conf->DEFINES + '\n'; + if(!conf->INCLUDEPATH.isEmpty()) +@@ -417,7 +417,8 @@ + TEMPLATE = app + CONFIG += qt x11 thread console + TARGET = conf +-INCLUDEPATH += '/usr/include/tqt' ++INCLUDEPATH += '${QTINC:-${QTDIR}/include}' ++INCLUDEPATH += '/opt/trinity/include/tqt' + + DEFINES += X11_INC='"\$\$QMAKE_INCDIR_X11"' + DEFINES += X11_LIBDIR='"\$\$QMAKE_LIBDIR_X11"' +@@ -442,16 +443,16 @@ + ) + + if [ "$?" != "0" ]; then +- rm -rf .qconftemp ++# rm -rf .qconftemp + echo fail + echo + echo "There was an error compiling 'conf'. Be sure you have a proper" + echo "TQt 3.x Multithreaded (MT) build environment set up." +- if [ ! -f "$QTDIR/lib/libtqt-mt.so.3" ]; then +- if [ ! -f "$QTDIR/lib64/libtqt-mt.so.3" ]; then ++ if [ ! -f "$QTDIR/lib/libqt-mt.so.3" ]; then ++ if [ ! -f "$QTDIR/lib64/libqt-mt.so.3" ]; then + echo + echo "One possible reason is that you don't have" +- echo "libtqt-mt.so.3 installed in $QTDIR/lib/" ++ echo "libqt-mt.so.3 installed in $QTDIR/lib/" + echo "or $QTDIR/lib64/." + fi + fi +@@ -480,7 +481,7 @@ + if [ -x "./qcextra" ]; then + ./qcextra + fi +-# run tqmake ++# run qmake + $qm qca.pro + if [ "$?" != "0" ]; then + echo -- cgit v1.2.3