diff options
author | Brian Feldman <green@FreeBSD.org> | 2000-08-09 20:00:49 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 2000-08-09 20:00:49 +0000 |
commit | 0c5235d255d9bee9d82fc278a7473df8ef3f00e2 (patch) | |
tree | 3e75c9302fd40c920b7474ac12a8ee2bdd610041 /net-im/licq | |
parent | Update to 0.6.1. (diff) |
Get rid of the patch to qt-gui's "configure" and replace it with
patching "configure.in" and "aclocal.m4". Disable XScreenSaver
support in the QT GUI since libXss is not a shared library in any
version of X we have.
Notes
Notes:
svn path=/head/; revision=31460
Diffstat (limited to 'net-im/licq')
-rw-r--r-- | net-im/licq/Makefile | 2 | ||||
-rw-r--r-- | net-im/licq/files/patch-aa | 67 | ||||
-rw-r--r-- | net-im/licq/files/patch-ae | 41 |
3 files changed, 54 insertions, 56 deletions
diff --git a/net-im/licq/Makefile b/net-im/licq/Makefile index d63eeaa1e9c8..bce2962f7a07 100644 --- a/net-im/licq/Makefile +++ b/net-im/licq/Makefile @@ -33,6 +33,7 @@ DATAFILES= ${DATANAME}${EXTRACT_SUFX} DATADIR= ${WRKDIR}/${DATANAME} post-configure: + @(cd ${WRKSRC}/plugins/qt-gui && ${AUTOCONF}) @(cd ${WRKSRC}/plugins/qt-gui && \ if ! ${SETENV} CC="${CC}" CXX="${CXX}" \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ @@ -40,6 +41,7 @@ post-configure: INSTALL_DATA="${INSTALL_DATA}" \ INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \ + QTBASE="${X11BASE}" \ ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} \ --enable-spoofing; then \ ${ECHO} "===> Script \"${CONFIGURE_SCRIPT}\" failed: here are the contents of \"${CONFIGURE_LOG}\""; \ diff --git a/net-im/licq/files/patch-aa b/net-im/licq/files/patch-aa index dd494d48d937..fd53298e4563 100644 --- a/net-im/licq/files/patch-aa +++ b/net-im/licq/files/patch-aa @@ -1,56 +1,11 @@ ---- plugins/qt-gui/configure.orig Tue Jul 11 18:54:28 2000 -+++ plugins/qt-gui/configure Mon Jul 24 03:40:56 2000 -@@ -4138,7 +4138,7 @@ - fi - - for qt_dir in $qt_library_dirs; do -- for qt_check_lib in $qt_dir/libqt.so.2; do -+ for qt_check_lib in $qt_dir/libqt2.so.3; do - if test -r $qt_check_lib; then - ac_qt_libraries=$qt_dir - break 2 -@@ -4158,7 +4158,7 @@ - have_qt_lib="no" - else - have_qt_lib="yes" -- output=`eval "strings $ac_cv_lib_qtlib/libqt.so | grep -l QCString"` -+ output=`eval "strings $ac_cv_lib_qtlib/libqt2.so | grep -l QCString"` - if test -z "$output"; then - { echo "configure: error: - The Qt lib directory "$ac_cv_lib_qtlib" -@@ -4172,7 +4172,7 @@ - Please check your installation. - - Use the --with-qt-libraries option if we found the wrong Qt lib. -- " 1>&2; exit 1; } -+ " 1>&2; } - fi - fi - -@@ -4226,7 +4226,7 @@ - /usr/X11/include/qt \ - /usr/X11/include/X11/qt \ - /usr/X11R6/include \ -- /usr/X11R6/include/qt \ -+ /usr/X11R6/include/qt2 \ - /usr/X11R6/include/X11/qt \ - /usr/X11/lib/qt/include" - -@@ -4318,7 +4318,7 @@ - fi - - # Extract the first word of "moc", so it can be a program name with args. --set dummy moc; ac_word=$2 -+set dummy moc2; ac_word=$2 - echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 - echo "configure:4324: checking for $ac_word" >&5 - if eval "test \"`echo '$''{'ac_cv_path_MOC'+set}'`\" = set"; then -@@ -4343,7 +4343,7 @@ - fi - done - IFS="$ac_save_ifs" -- test -z "$ac_cv_path_MOC" && ac_cv_path_MOC="$QTDIR/bin/moc" -+ test -z "$ac_cv_path_MOC" && ac_cv_path_MOC="$QTDIR/bin/moc2" - ;; - esac - fi +--- plugins/qt-gui/configure.in.orig Wed Aug 9 14:07:59 2000 ++++ plugins/qt-gui/configure.in Wed Aug 9 14:15:46 2000 +@@ -51,8 +51,6 @@ + LICQ_CHECK_X11HEADERS + + XSS_LIBS="no" +-AC_CHECK_X_LIB(Xext, XScreenSaverRegister,[XSS_LIBS=""],[], [-lX11 -lXext -lm]) +-AC_CHECK_X_LIB(Xss, XScreenSaverRegister,[XSS_LIBS="-lXss"],[],[-lX11 -lXext -lm]) + if test \! "$XSS_LIBS" = "no"; then + AC_CHECK_X_HEADER(X11/extensions/scrnsaver.h,[AC_DEFINE(USE_SCRNSAVER)]) + else diff --git a/net-im/licq/files/patch-ae b/net-im/licq/files/patch-ae new file mode 100644 index 000000000000..ce5e40b135cc --- /dev/null +++ b/net-im/licq/files/patch-ae @@ -0,0 +1,41 @@ +--- plugins/qt-gui/aclocal.m4.orig Tue Jul 11 18:54:25 2000 ++++ plugins/qt-gui/aclocal.m4 Wed Aug 9 14:53:40 2000 +@@ -59,7 +59,7 @@ + fi + + for qt_dir in $qt_library_dirs; do +- for qt_check_lib in $qt_dir/libqt.so.2; do ++ for qt_check_lib in $qt_dir/libqt2.so.3; do + if test -r $qt_check_lib; then + ac_qt_libraries=$qt_dir + break 2 +@@ -79,17 +79,12 @@ + else + have_qt_lib="yes" + dnl Check if we have the right lib +- output=`eval "strings $ac_cv_lib_qtlib/libqt.so | grep -l QCString"` ++ output=`eval "strings $ac_cv_lib_qtlib/libqt2.so | grep -l QCString"` + if test -z "$output"; then + AC_MSG_ERROR([ + The Qt lib directory "$ac_cv_lib_qtlib" + found by configure doesn't contain a Qt 2.1.x library. + +- To overcome special features of the GNU ld (aka bugs), the +- libqt.so file _needs_ to point to libqt.so.2 which needs +- to point to a Qt 2.1 library. +- (this is only needed during compiling and linking, not at runtime) +- + Please check your installation. + + Use the --with-qt-libraries option if we found the wrong Qt lib. +@@ -196,8 +191,8 @@ + + AC_PATH_PROG( + MOC, +- moc, +- $QTDIR/bin/moc, ++ moc2, ++ $QTDIR/bin/moc2, + $QTDIR/bin:/usr/lib/qt2/bin:/usr/bin:/usr/X11R6/bin:/usr/lib/qt/bin:/usr/local/qt/bin:$PATH + ) + else |