[ooo-build-commit] patches/dev300
René Engelhard
rene at kemper.freedesktop.org
Fri Sep 18 14:50:55 PDT 2009
patches/dev300/apply | 1
patches/dev300/kde4-configure2.diff | 74 ++++++++++++++++++++++++++++++++++++
2 files changed, 75 insertions(+)
New commits:
commit 567f7062c32be8b2288b7f461adadcc286f54bdc
Author: Petr Mladek <pmladek at suse.cz>
Date: Wed Sep 16 16:35:12 2009 +0200
non-conflicting conf. variables for KDE3 and KDE4 (i#105127, bnc#539035)
* patches/dev300/kde4-configure2.diff:
* patches/dev300/apply: rename KDE variables to QT4INC QT4DIR QT4LIB KDE4DIR,
to avoid conflict with KDE3 setting; these variables point to a non-standard
KDE4 installation dir
diff --git a/patches/dev300/apply b/patches/dev300/apply
index 798bde3..7ebc8d5 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -2095,6 +2095,7 @@ kde4-oxygen-icons.diff
[ KDE4 < dev300-m60 ]
kde4-fpicker-fix-toOUString.diff, i#104526
+kde4-configure2.diff, i#105127, bnc#539035, pmladek
[ KDE4Experimental ]
# Not yet ported to co-exist with the KDE3 stuff
diff --git a/patches/dev300/kde4-configure2.diff b/patches/dev300/kde4-configure2.diff
new file mode 100644
index 0000000..fde4098
--- /dev/null
+++ b/patches/dev300/kde4-configure2.diff
@@ -0,0 +1,74 @@
+--- configure.in.old 2009-08-26 12:25:16.000000000 +0200
++++ configure.in 2009-09-15 14:09:26.000000000 +0200
+@@ -6158,8 +6158,8 @@ KDE4_CFLAGS=""
+ KDE4_LIBS=""
+ MOC4="moc"
+ if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = "TRUE" ; then
+- qt_incdirs="$QTINC $QTDIR /usr/include/qt4 /usr/include $x_includes"
+- qt_libdirs="$QTLIB /usr/lib $x_libraries"
++ qt_incdirs="$QT4INC $QT4DIR $QTINC $QTDIR /usr/include/qt4 /usr/include $x_includes"
++ qt_libdirs="$QT4LIB $QTLIB /usr/lib $x_libraries"
+
+ kde_incdirs="/usr/include $x_includes"
+ kde_libdirs="/usr/lib $x_libraries"
+@@ -6169,6 +6169,15 @@ if test "$test_kde4" = "yes" -a "$ENABLE
+ kde_libdirs="$kde_libdirs /usr/lib64 /usr/lib64/kde4"
+ fi
+
++ if test -n "$KDE4DIR" ; then
++ kde_incdirs="$KDE4DIR/include $kde_incdirs"
++ if test "$build_cpu" != "x86_64" ; then
++ kde_libdirs="$KDE4DIR/lib $kde_libdirs"
++ else
++ kde_libdirs="$KDE4DIR/lib64 $KDE4DIR/lib $kde_libdirs"
++ fi
++ fi
++
+ qt_test_include="Qt/qobject.h"
+ qt_test_library="libQtCore.so"
+ kde_test_include="ksharedptr.h"
+@@ -6185,7 +6194,7 @@ if test "$test_kde4" = "yes" -a "$ENABLE
+
+ AC_MSG_RESULT([$qt_header_dir])
+ if test "x$qt_header_dir" = "xno" ; then
+- AC_MSG_ERROR([Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QTDIR before running "configure".])
++ AC_MSG_ERROR([Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".])
+ fi
+
+ AC_MSG_CHECKING([for Qt4 libraries])
+@@ -6200,14 +6209,14 @@ if test "$test_kde4" = "yes" -a "$ENABLE
+ AC_MSG_RESULT([$qt_lib_dir])
+
+ if test "x$qt_lib_dir" = "xno" ; then
+- AC_MSG_ERROR([Qt4 libraries not found. Please specify the root of your Qt4 installation by exporting QTDIR before running "configure".])
++ AC_MSG_ERROR([Qt4 libraries not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".])
+ fi
+
+ dnl Check for Meta Object Compiler
+- AC_PATH_PROG( MOC4, moc, no, [$PATH:$QTDIR/bin] )
++ AC_PATH_PROG( MOC4, moc, no, [$PATH:$QT4DIR/bin] )
+ if test "$MOC4" = "no" ; then
+ AC_MSG_ERROR([Qt Meta Object Compiler not found. Please specify
+-the root of your Qt installation by exporting QTDIR before running "configure".])
++the root of your Qt installation by exporting QT4DIR before running "configure".])
+ fi
+
+ dnl Check for KDE4 headers
+@@ -6221,7 +6230,7 @@ the root of your Qt installation by expo
+ done
+ AC_MSG_RESULT([$kde_incdir])
+ if test "x$kde_incdir" = "xno" ; then
+- AC_MSG_ERROR([KDE4 headers not found. Please specify the root of your KDE4 installation by exporting KDEDIR before running "configure".])
++ AC_MSG_ERROR([KDE4 headers not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".])
+ fi
+
+ dnl Check for KDE4 libraries
+@@ -6236,7 +6245,7 @@ the root of your Qt installation by expo
+
+ AC_MSG_RESULT([$kde_libdir])
+ if test "x$kde_libdir" = "xno" ; then
+- AC_MSG_ERROR([KDE4 libraries not found. Please specify the root of your KDE4 installation by exporting KDEDIR before running "configure".])
++ AC_MSG_ERROR([KDE4 libraries not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".])
+ fi
+
+ KDE4_CFLAGS="`pkg-config --cflags QtCore` `pkg-config --cflags QtGui` -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT"
More information about the ooo-build-commit
mailing list