diff options
Diffstat (limited to 'meta-oe/recipes-qt/qt4/files')
24 files changed, 0 insertions, 1169 deletions
diff --git a/meta-oe/recipes-qt/qt4/files/0001-cross-compile.patch b/meta-oe/recipes-qt/qt4/files/0001-cross-compile.patch deleted file mode 100644 index 053be06e54..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0001-cross-compile.patch +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | Add configure option "crossarch" for cross compiling | ||
| 2 | |||
| 3 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 4 | |||
| 5 | Index: qt-embedded-linux-opensource-src-4.4.3/configure | ||
| 6 | =================================================================== | ||
| 7 | --- qt-embedded-linux-opensource-src-4.4.3.orig/configure 2009-03-26 17:02:45.000000000 +0100 | ||
| 8 | +++ qt-embedded-linux-opensource-src-4.4.3/configure 2009-03-26 17:03:43.000000000 +0100 | ||
| 9 | @@ -726,7 +726,7 @@ | ||
| 10 | UNKNOWN_ARG=yes | ||
| 11 | fi | ||
| 12 | ;; | ||
| 13 | - -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config) | ||
| 14 | + -prefix|-docdir|-headerdir|-plugindir|-datadir|-libdir|-bindir|-translationdir|-sysconfdir|-examplesdir|-demosdir|-depths|-make|-nomake|-platform|-xplatform|-buildkey|-sdk|-arch|-host-arch|-mysql_config|-crossarch) | ||
| 15 | VAR=`echo $1 | sed "s,^-\(.*\),\1,"` | ||
| 16 | shift | ||
| 17 | VAL="$1" | ||
| 18 | @@ -1143,6 +1143,9 @@ | ||
| 19 | xplatform) | ||
| 20 | XPLATFORM="$VAL" | ||
| 21 | ;; | ||
| 22 | + crossarch) | ||
| 23 | + CROSSARCH="$VAL" | ||
| 24 | + ;; | ||
| 25 | debug-and-release) | ||
| 26 | if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then | ||
| 27 | CFG_DEBUG_RELEASE="$VAL" | ||
| 28 | @@ -2405,6 +2408,8 @@ | ||
| 29 | CFG_ARCH=$CFG_HOST_ARCH | ||
| 30 | fi | ||
| 31 | |||
| 32 | +CFG_ARCH="$CROSSARCH" | ||
| 33 | + | ||
| 34 | if [ -d "$relpath/src/corelib/arch/$CFG_ARCH" ]; then | ||
| 35 | if [ "$OPT_VERBOSE" = "yes" ]; then | ||
| 36 | echo " '$CFG_ARCH' is supported" | ||
diff --git a/meta-oe/recipes-qt/qt4/files/0001-fix-mkspecs.patch b/meta-oe/recipes-qt/qt4/files/0001-fix-mkspecs.patch deleted file mode 100644 index 0fccb57c04..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0001-fix-mkspecs.patch +++ /dev/null | |||
| @@ -1,102 +0,0 @@ | |||
| 1 | --- /tmp/g++.conf 2008-07-08 10:32:18.000000000 +0200 | ||
| 2 | +++ qt-embedded-linux-opensource-src-4.4.0/mkspecs/common/g++.conf 2008-07-08 10:34:15.000000000 +0200 | ||
| 3 | @@ -2,12 +2,12 @@ | ||
| 4 | # qmake configuration for common gcc | ||
| 5 | # | ||
| 6 | |||
| 7 | -QMAKE_CC = gcc | ||
| 8 | -QMAKE_CFLAGS += -pipe | ||
| 9 | +QMAKE_CC = $(OE_QMAKE_CC) | ||
| 10 | +QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS) | ||
| 11 | QMAKE_CFLAGS_DEPS += -M | ||
| 12 | QMAKE_CFLAGS_WARN_ON += -Wall -W | ||
| 13 | QMAKE_CFLAGS_WARN_OFF += -w | ||
| 14 | -QMAKE_CFLAGS_RELEASE += -O2 | ||
| 15 | +QMAKE_CFLAGS_RELEASE += | ||
| 16 | QMAKE_CFLAGS_DEBUG += -g | ||
| 17 | QMAKE_CFLAGS_SHLIB += -fPIC | ||
| 18 | QMAKE_CFLAGS_STATIC_LIB += -fPIC | ||
| 19 | @@ -16,8 +16,8 @@ | ||
| 20 | QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
| 21 | QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} | ||
| 22 | |||
| 23 | -QMAKE_CXX = g++ | ||
| 24 | -QMAKE_CXXFLAGS += $$QMAKE_CFLAGS | ||
| 25 | +QMAKE_CXX = $(OE_QMAKE_CXX) | ||
| 26 | +QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) | ||
| 27 | QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS | ||
| 28 | QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON | ||
| 29 | QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF | ||
| 30 | @@ -30,9 +30,9 @@ | ||
| 31 | QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
| 32 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE | ||
| 33 | |||
| 34 | -QMAKE_LINK = g++ | ||
| 35 | -QMAKE_LINK_SHLIB = g++ | ||
| 36 | -QMAKE_LFLAGS += | ||
| 37 | +QMAKE_LINK = $(OE_QMAKE_LINK) | ||
| 38 | +QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
| 39 | +QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) | ||
| 40 | QMAKE_LFLAGS_RELEASE += | ||
| 41 | QMAKE_LFLAGS_DEBUG += | ||
| 42 | QMAKE_LFLAGS_APP += | ||
| 43 | @@ -41,7 +41,7 @@ | ||
| 44 | QMAKE_LFLAGS_SONAME += -Wl,-soname, | ||
| 45 | QMAKE_LFLAGS_THREAD += | ||
| 46 | QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined | ||
| 47 | -QMAKE_RPATH = -Wl,-rpath, | ||
| 48 | +QMAKE_RPATH = -Wl,-rpath-link, | ||
| 49 | |||
| 50 | QMAKE_PCH_OUTPUT_EXT = .gch | ||
| 51 | |||
| 52 | --- /tmp/linux.conf 2008-07-08 10:32:18.000000000 +0200 | ||
| 53 | +++ qt-embedded-linux-opensource-src-4.4.0/mkspecs/common/linux.conf 2008-07-08 10:38:37.000000000 +0200 | ||
| 54 | @@ -7,26 +7,28 @@ | ||
| 55 | |||
| 56 | QMAKE_INCDIR = | ||
| 57 | QMAKE_LIBDIR = | ||
| 58 | -QMAKE_INCDIR_X11 = /usr/X11R6/include | ||
| 59 | -QMAKE_LIBDIR_X11 = /usr/X11R6/lib | ||
| 60 | -QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS] | ||
| 61 | -QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS] | ||
| 62 | -QMAKE_INCDIR_OPENGL = /usr/X11R6/include | ||
| 63 | -QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib | ||
| 64 | +QMAKE_INCDIR_X11 = | ||
| 65 | +QMAKE_LIBDIR_X11 = | ||
| 66 | +QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) | ||
| 67 | +QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) | ||
| 68 | +QMAKE_INCDIR_OPENGL = | ||
| 69 | +QMAKE_LIBDIR_OPENGL = | ||
| 70 | + | ||
| 71 | |||
| 72 | QMAKE_LIBS = | ||
| 73 | QMAKE_LIBS_DYNLOAD = -ldl | ||
| 74 | -QMAKE_LIBS_X11 = -lXext -lX11 -lm | ||
| 75 | -QMAKE_LIBS_X11SM = -lSM -lICE | ||
| 76 | +QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) | ||
| 77 | +QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) | ||
| 78 | QMAKE_LIBS_NIS = -lnsl | ||
| 79 | QMAKE_LIBS_OPENGL = -lGLU -lGL | ||
| 80 | QMAKE_LIBS_OPENGL_QT = -lGL | ||
| 81 | QMAKE_LIBS_THREAD = -lpthread | ||
| 82 | |||
| 83 | -QMAKE_MOC = $$[QT_INSTALL_BINS]/moc | ||
| 84 | -QMAKE_UIC = $$[QT_INSTALL_BINS]/uic | ||
| 85 | +QMAKE_MOC = $(OE_QMAKE_MOC) | ||
| 86 | +QMAKE_UIC = $(OE_QMAKE_UIC) | ||
| 87 | +QMAKE_RCC = $(OE_QMAKE_RCC) | ||
| 88 | |||
| 89 | -QMAKE_AR = ar cqs | ||
| 90 | +QMAKE_AR = $(OE_QMAKE_AR) cqs | ||
| 91 | QMAKE_OBJCOPY = objcopy | ||
| 92 | QMAKE_RANLIB = | ||
| 93 | |||
| 94 | @@ -39,7 +40,7 @@ | ||
| 95 | QMAKE_MOVE = mv -f | ||
| 96 | QMAKE_DEL_FILE = rm -f | ||
| 97 | QMAKE_DEL_DIR = rmdir | ||
| 98 | -QMAKE_STRIP = strip | ||
| 99 | +QMAKE_STRIP = $(OE_QMAKE_STRIP) | ||
| 100 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded | ||
| 101 | QMAKE_CHK_DIR_EXISTS = test -d | ||
| 102 | QMAKE_MKDIR = mkdir -p | ||
diff --git a/meta-oe/recipes-qt/qt4/files/0002-fix-resinit-declaration.patch b/meta-oe/recipes-qt/qt4/files/0002-fix-resinit-declaration.patch deleted file mode 100644 index be4d5c0e22..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0002-fix-resinit-declaration.patch +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | From acfeb18aa94bad6b2066e91cd15570889baaa252 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Michael Krelin <hacker@klever.net> | ||
| 3 | Date: Sat, 2 Jun 2007 16:04:01 +0200 | ||
| 4 | Subject: [PATCH] fix resinit declaration | ||
| 5 | |||
| 6 | --- | ||
| 7 | src/qt3support/network/q3dns.cpp | 2 +- | ||
| 8 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 9 | |||
| 10 | Index: qt-embedded-linux-opensource-src-4.4.3/src/qt3support/network/q3dns.cpp | ||
| 11 | =================================================================== | ||
| 12 | --- qt-embedded-linux-opensource-src-4.4.3.orig/src/qt3support/network/q3dns.cpp 2008-09-27 11:01:28.000000000 +0200 | ||
| 13 | +++ qt-embedded-linux-opensource-src-4.4.3/src/qt3support/network/q3dns.cpp 2009-03-26 17:04:05.000000000 +0100 | ||
| 14 | @@ -44,7 +44,7 @@ | ||
| 15 | # include <netinet/in.h> | ||
| 16 | # include <arpa/nameser.h> | ||
| 17 | # include <resolv.h> | ||
| 18 | -extern "C" int res_init(); | ||
| 19 | +extern "C" int res_init() throw(); | ||
| 20 | #endif | ||
| 21 | |||
| 22 | // POSIX Large File Support redefines open -> open64 | ||
diff --git a/meta-oe/recipes-qt/qt4/files/0004-no-qmake.patch b/meta-oe/recipes-qt/qt4/files/0004-no-qmake.patch deleted file mode 100644 index a58b19f904..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0004-no-qmake.patch +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | From f5a73ce944240de9013cc23288c115e8213add5e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Michael Krelin <hacker@klever.net> | ||
| 3 | Date: Sat, 2 Jun 2007 16:06:59 +0200 | ||
| 4 | Subject: [PATCH] no qmake | ||
| 5 | |||
| 6 | qmake is already built in qt4-tools-native, so disable it | ||
| 7 | |||
| 8 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | configure | 2 +- | ||
| 12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 13 | |||
| 14 | Index: qt-embedded-linux-opensource-src-4.4.3/configure | ||
| 15 | =================================================================== | ||
| 16 | --- qt-embedded-linux-opensource-src-4.4.3.orig/configure 2009-03-26 17:03:43.000000000 +0100 | ||
| 17 | +++ qt-embedded-linux-opensource-src-4.4.3/configure 2009-03-26 17:04:17.000000000 +0100 | ||
| 18 | @@ -3786,7 +3786,7 @@ | ||
| 19 | } | ||
| 20 | |||
| 21 | # build qmake | ||
| 22 | -if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | ||
| 23 | +if false; then ###[ '!' -f "$outpath/bin/qmake" ]; | ||
| 24 | echo "Creating qmake. Please wait..." | ||
| 25 | |||
| 26 | OLD_QCONFIG_H= | ||
diff --git a/meta-oe/recipes-qt/qt4/files/0006-freetype-host-includes.patch b/meta-oe/recipes-qt/qt4/files/0006-freetype-host-includes.patch deleted file mode 100644 index 081d8992ef..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0006-freetype-host-includes.patch +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | From c9ab62bd9a56643574b3ae6e59e0ca776d4860d2 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Michael Krelin <hacker@klever.net> | ||
| 3 | Date: Mon, 4 Jun 2007 14:48:50 +0200 | ||
| 4 | Subject: [PATCH] freetype host includes | ||
| 5 | |||
| 6 | Host include path should not be used in corss compiling case. | ||
| 7 | |||
| 8 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | config.tests/unix/freetype/freetype.pri | 2 +- | ||
| 12 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
| 13 | |||
| 14 | Index: qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri | ||
| 15 | =================================================================== | ||
| 16 | --- qt-embedded-linux-opensource-src-4.5.0.orig/config.tests/unix/freetype/freetype.pri 2009-02-25 22:32:32.000000000 +0100 | ||
| 17 | +++ qt-embedded-linux-opensource-src-4.5.0/config.tests/unix/freetype/freetype.pri 2009-03-26 17:14:16.000000000 +0100 | ||
| 18 | @@ -1,5 +1,5 @@ | ||
| 19 | !cross_compile { | ||
| 20 | - TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH | ||
| 21 | + TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH | ||
| 22 | # LSB doesn't allow using headers from /include or /usr/include | ||
| 23 | linux-lsb-g++:TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH | ||
| 24 | for(p, TRY_INCLUDEPATHS) { | ||
diff --git a/meta-oe/recipes-qt/qt4/files/0008-qt-lib-infix.patch b/meta-oe/recipes-qt/qt4/files/0008-qt-lib-infix.patch deleted file mode 100644 index a1b89124dd..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0008-qt-lib-infix.patch +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | Add lib infix to distinguish different qt compile version: e.g. "E" for embedded, "" for X11 | ||
| 2 | |||
| 3 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 4 | |||
| 5 | --- /tmp/uitools.prf 2009-12-01 18:38:22.000000000 +0100 | ||
| 6 | +++ qt-everywhere-opensource-src-4.6.0/mkspecs/features/uitools.prf 2009-12-01 18:58:16.000000000 +0100 | ||
| 7 | @@ -3,11 +3,11 @@ | ||
| 8 | |||
| 9 | # Include the correct version of the UiLoader library | ||
| 10 | symbian: QTUITOOLS_LINKAGE = -lQtUiTools.lib | ||
| 11 | -else: QTUITOOLS_LINKAGE = -lQtUiTools | ||
| 12 | +else: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX} | ||
| 13 | |||
| 14 | CONFIG(debug, debug|release) { | ||
| 15 | - mac: QTUITOOLS_LINKAGE = -lQtUiTools_debug | ||
| 16 | - win32: QTUITOOLS_LINKAGE = -lQtUiToolsd | ||
| 17 | + mac: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}_debug | ||
| 18 | + win32: QTUITOOLS_LINKAGE = -lQtUiTools$${QT_LIBINFIX}d | ||
| 19 | } | ||
| 20 | LIBS += $$QTUITOOLS_LINKAGE | ||
| 21 | |||
| 22 | --- /tmp/uitools.pro 2009-12-01 18:40:28.000000000 +0100 | ||
| 23 | +++ qt-everywhere-opensource-src-4.6.0/tools/designer/src/uitools/uitools.pro 2009-12-01 18:59:18.000000000 +0100 | ||
| 24 | @@ -1,5 +1,5 @@ | ||
| 25 | TEMPLATE = lib | ||
| 26 | -TARGET = $$qtLibraryTarget(QtUiTools) | ||
| 27 | +TARGET = QtUiTools | ||
| 28 | QT += xml | ||
| 29 | CONFIG += qt staticlib | ||
| 30 | DESTDIR = ../../../../lib | ||
| 31 | @@ -43,3 +43,5 @@ | ||
| 32 | QMAKE_PKGCONFIG_DESTDIR = pkgconfig | ||
| 33 | QMAKE_PKGCONFIG_REQUIRES += QtXml | ||
| 34 | } | ||
| 35 | + | ||
| 36 | +TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end | ||
diff --git a/meta-oe/recipes-qt/qt4/files/0009-support-2bpp.patch b/meta-oe/recipes-qt/qt4/files/0009-support-2bpp.patch deleted file mode 100644 index cf44ea8214..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0009-support-2bpp.patch +++ /dev/null | |||
| @@ -1,299 +0,0 @@ | |||
| 1 | Add 2bpp support | ||
| 2 | |||
| 3 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 4 | |||
| 5 | diff -urN qt-embedded-linux-opensource-src-4.4.3.orig/configure qt-embedded-linux-opensource-src-4.4.3/configure | ||
| 6 | --- qt-embedded-linux-opensource-src-4.4.3.orig/configure 2008-09-27 11:01:23.000000000 +0200 | ||
| 7 | +++ qt-embedded-linux-opensource-src-4.4.3/configure 2009-01-14 14:30:53.000000000 +0100 | ||
| 8 | @@ -5045,6 +5045,7 @@ | ||
| 9 | echo "Choose pixel-depths to support:" | ||
| 10 | echo | ||
| 11 | echo " 1. 1bpp, black/white" | ||
| 12 | + echo " 2. 2bpp, grayscale" | ||
| 13 | echo " 4. 4bpp, grayscale" | ||
| 14 | echo " 8. 8bpp, paletted" | ||
| 15 | echo " 12. 12bpp, rgb 4-4-4" | ||
| 16 | @@ -5063,11 +5064,11 @@ | ||
| 17 | fi | ||
| 18 | if [ -n "$CFG_QWS_DEPTHS" -a "$PLATFORM_QWS" = "yes" ]; then | ||
| 19 | if [ "$CFG_QWS_DEPTHS" = "all" ]; then | ||
| 20 | - CFG_QWS_DEPTHS="1 4 8 12 15 16 18 24 32 generic" | ||
| 21 | + CFG_QWS_DEPTHS="1 2 4 8 12 15 16 18 24 32 generic" | ||
| 22 | fi | ||
| 23 | for D in `echo "$CFG_QWS_DEPTHS" | sed -e 's/,/ /g'`; do | ||
| 24 | case $D in | ||
| 25 | - 1|4|8|12|15|16|18|24|32) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_$D";; | ||
| 26 | + 1|2|4|8|12|15|16|18|24|32) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_$D";; | ||
| 27 | generic) QCONFIG_FLAGS="$QCONFIG_FLAGS QT_QWS_DEPTH_GENERIC";; | ||
| 28 | esac | ||
| 29 | done | ||
| 30 | diff -urN qt-embedded-linux-opensource-src-4.4.3.orig/src/gui/embedded/qscreenlinuxfb_qws.cpp qt-embedded-linux-opensource-src-4.4.3/src/gui/embedded/qscreenlinuxfb_qws.cpp | ||
| 31 | --- qt-embedded-linux-opensource-src-4.4.3.orig/src/gui/embedded/qscreenlinuxfb_qws.cpp 2008-09-27 11:01:28.000000000 +0200 | ||
| 32 | +++ qt-embedded-linux-opensource-src-4.4.3/src/gui/embedded/qscreenlinuxfb_qws.cpp 2009-01-14 17:22:34.000000000 +0100 | ||
| 33 | @@ -404,8 +404,8 @@ | ||
| 34 | setupOffScreen(); | ||
| 35 | |||
| 36 | // Now read in palette | ||
| 37 | - if((vinfo.bits_per_pixel==8) || (vinfo.bits_per_pixel==4)) { | ||
| 38 | - screencols= (vinfo.bits_per_pixel==8) ? 256 : 16; | ||
| 39 | + if((vinfo.bits_per_pixel==8) || (vinfo.bits_per_pixel==4) || (vinfo.bits_per_pixel==2)) { | ||
| 40 | + screencols= 1 << vinfo.bits_per_pixel; | ||
| 41 | int loopc; | ||
| 42 | fb_cmap startcmap; | ||
| 43 | startcmap.start=0; | ||
| 44 | diff -urN qt-embedded-linux-opensource-src-4.4.3.orig/src/gui/embedded/qscreen_qws.cpp qt-embedded-linux-opensource-src-4.4.3/src/gui/embedded/qscreen_qws.cpp | ||
| 45 | --- qt-embedded-linux-opensource-src-4.4.3.orig/src/gui/embedded/qscreen_qws.cpp 2008-09-27 11:01:28.000000000 +0200 | ||
| 46 | +++ qt-embedded-linux-opensource-src-4.4.3/src/gui/embedded/qscreen_qws.cpp 2009-01-14 17:22:44.000000000 +0100 | ||
| 47 | @@ -444,6 +444,58 @@ | ||
| 48 | } | ||
| 49 | #endif // QT_QWS_DEPTH_4 | ||
| 50 | |||
| 51 | +#ifdef QT_QWS_DEPTH_2 | ||
| 52 | +static inline void qt_rectfill_gray2(quint8 *dest, quint8 value, | ||
| 53 | + int x, int y, int width, int height, | ||
| 54 | + int stride) | ||
| 55 | +{ | ||
| 56 | + const int pixelsPerByte = 4; | ||
| 57 | + const int alignWidth = qMin(width, (4 - (x & 3)) & 3); | ||
| 58 | + const int doAlign = (alignWidth > 0 ? 1 : 0); | ||
| 59 | + const int alignStart = pixelsPerByte - 1 - (x & 3); | ||
| 60 | + const int alignStop = alignStart - (alignWidth - 1); | ||
| 61 | + const quint8 alignMask = ((1 << (2 * alignWidth)) - 1) << (2 * alignStop); | ||
| 62 | + const int tailWidth = (width - alignWidth) & 3; | ||
| 63 | + const int doTail = (tailWidth > 0 ? 1 : 0); | ||
| 64 | + const quint8 tailMask = (1 << (2 * (pixelsPerByte - tailWidth))) - 1; | ||
| 65 | + const int width8 = (width - alignWidth) / pixelsPerByte; | ||
| 66 | + | ||
| 67 | + dest += y * stride + x / pixelsPerByte; | ||
| 68 | + stride -= (doAlign + width8); | ||
| 69 | + | ||
| 70 | + for (int j = 0; j < height; ++j) { | ||
| 71 | + if (doAlign) { | ||
| 72 | + *dest = (*dest & ~alignMask) | (value & alignMask); | ||
| 73 | + ++dest; | ||
| 74 | + } | ||
| 75 | + if (width8) { | ||
| 76 | + qt_memfill<quint8>(dest, value, width8); | ||
| 77 | + dest += width8; | ||
| 78 | + } | ||
| 79 | + if (doTail) | ||
| 80 | + *dest = (*dest & tailMask) | (value & ~tailMask); | ||
| 81 | + dest += stride; | ||
| 82 | + } | ||
| 83 | +} | ||
| 84 | + | ||
| 85 | +static void solidFill_gray2(QScreen *screen, const QColor &color, | ||
| 86 | + const QRegion ®ion) | ||
| 87 | +{ | ||
| 88 | + quint8 *dest = reinterpret_cast<quint8*>(screen->base()); | ||
| 89 | + const quint8 c = qGray(color.rgba()) >> 6; | ||
| 90 | + const quint8 c8 = (c << 6) | (c << 4) | (c << 2) | c; | ||
| 91 | + | ||
| 92 | + const int stride = screen->linestep(); | ||
| 93 | + const QVector<QRect> rects = region.rects(); | ||
| 94 | + | ||
| 95 | + for (int i = 0; i < rects.size(); ++i) { | ||
| 96 | + const QRect r = rects.at(i); | ||
| 97 | + qt_rectfill_gray2(dest, c8, r.x(), r.y(), r.width(), r.height(), | ||
| 98 | + stride); | ||
| 99 | + } | ||
| 100 | +} | ||
| 101 | +#endif // QT_QWS_DEPTH_2 | ||
| 102 | + | ||
| 103 | #ifdef QT_QWS_DEPTH_1 | ||
| 104 | static inline void qt_rectfill_mono(quint8 *dest, quint8 value, | ||
| 105 | int x, int y, int width, int height, | ||
| 106 | @@ -551,6 +603,11 @@ | ||
| 107 | screen->d_ptr->solidFill = solidFill_gray4; | ||
| 108 | break; | ||
| 109 | #endif | ||
| 110 | +#ifdef QT_QWS_DEPTH_2 | ||
| 111 | + case 2: | ||
| 112 | + screen->d_ptr->solidFill = solidFill_gray2; | ||
| 113 | + break; | ||
| 114 | +#endif | ||
| 115 | #ifdef QT_QWS_DEPTH_1 | ||
| 116 | case 1: | ||
| 117 | screen->d_ptr->solidFill = solidFill_mono; | ||
| 118 | @@ -958,6 +1015,149 @@ | ||
| 119 | } | ||
| 120 | #endif // QT_QWS_DEPTH_4 | ||
| 121 | |||
| 122 | +#ifdef QT_QWS_DEPTH_2 | ||
| 123 | + | ||
| 124 | +struct qgray2 { quint8 dummy; } Q_PACKED; | ||
| 125 | + | ||
| 126 | +template <typename SRC> | ||
| 127 | +static inline quint8 qt_convertToGray2(SRC color); | ||
| 128 | + | ||
| 129 | +template <> | ||
| 130 | +inline quint8 qt_convertToGray2(quint32 color) | ||
| 131 | +{ | ||
| 132 | + return qGray(color) >> 6; | ||
| 133 | +} | ||
| 134 | + | ||
| 135 | +template <> | ||
| 136 | +inline quint8 qt_convertToGray2(quint16 color) | ||
| 137 | +{ | ||
| 138 | + const int r = (color & 0xf800) >> 11; | ||
| 139 | + const int g = (color & 0x07e0) >> 6; // only keep 5 bit | ||
| 140 | + const int b = (color & 0x001f); | ||
| 141 | + return (r * 11 + g * 16 + b * 5) >> 8; | ||
| 142 | +} | ||
| 143 | + | ||
| 144 | +template <> | ||
| 145 | +inline quint8 qt_convertToGray2(qrgb444 color) | ||
| 146 | +{ | ||
| 147 | + return qt_convertToGray2(quint32(color)); | ||
| 148 | +} | ||
| 149 | + | ||
| 150 | +template <> | ||
| 151 | +inline quint8 qt_convertToGray2(qargb4444 color) | ||
| 152 | +{ | ||
| 153 | + return qt_convertToGray2(quint32(color)); | ||
| 154 | +} | ||
| 155 | + | ||
| 156 | +template <typename SRC> | ||
| 157 | +static inline void qt_rectconvert_gray2(qgray2 *dest2, const SRC *src, | ||
| 158 | + int x, int y, int width, int height, | ||
| 159 | + int dstStride, int srcStride) | ||
| 160 | +{ | ||
| 161 | + const int pixelsPerByte = 4; | ||
| 162 | + quint8 *dest8 = reinterpret_cast<quint8*>(dest2) | ||
| 163 | + + y * dstStride + x / pixelsPerByte; | ||
| 164 | + const int alignWidth = qMin(width, (4 - (x & 3)) & 3); | ||
| 165 | + const int doAlign = (alignWidth > 0 ? 1 : 0); | ||
| 166 | + const int alignStart = pixelsPerByte - 1 - (x & 3); | ||
| 167 | + const int alignStop = alignStart - (alignWidth - 1); | ||
| 168 | + const quint8 alignMask = ((1 << (2 * alignWidth)) - 1) << (2 * alignStop); | ||
| 169 | + const int tailWidth = (width - alignWidth) & 3; | ||
| 170 | + const int doTail = (tailWidth > 0 ? 1 : 0); | ||
| 171 | + const quint8 tailMask = (1 << (2 * (pixelsPerByte - tailWidth))) - 1; | ||
| 172 | + const int width8 = (width - alignWidth) / pixelsPerByte; | ||
| 173 | + | ||
| 174 | + srcStride = srcStride / sizeof(SRC) - (width8 * pixelsPerByte + alignWidth); | ||
| 175 | + dstStride -= (width8 + doAlign); | ||
| 176 | + | ||
| 177 | + for (int j = 0; j < height; ++j) { | ||
| 178 | + if (doAlign) { | ||
| 179 | + quint8 d = *dest8 & ~alignMask; | ||
| 180 | + for (int i = alignStart; i >= alignStop; --i) | ||
| 181 | + d |= qt_convertToGray2<SRC>(*src++) << (2 * i); | ||
| 182 | + *dest8++ = d; | ||
| 183 | + } | ||
| 184 | + for (int i = 0; i < width8; ++i) { | ||
| 185 | + *dest8 = (qt_convertToGray2<SRC>(src[0]) << 6) | ||
| 186 | + | (qt_convertToGray2<SRC>(src[1]) << 4) | ||
| 187 | + | (qt_convertToGray2<SRC>(src[2]) << 2) | ||
| 188 | + | (qt_convertToGray2<SRC>(src[3])); | ||
| 189 | + src += 4; | ||
| 190 | + ++dest8; | ||
| 191 | + } | ||
| 192 | + if (doTail) { | ||
| 193 | + quint8 d = *dest8 & tailMask; | ||
| 194 | + switch (tailWidth) { | ||
| 195 | + case 3: d |= qt_convertToGray2<SRC>(src[2]) << 2; | ||
| 196 | + case 2: d |= qt_convertToGray2<SRC>(src[1]) << 4; | ||
| 197 | + case 1: d |= qt_convertToGray2<SRC>(src[0]) << 6; | ||
| 198 | + } | ||
| 199 | + *dest8 = d; | ||
| 200 | + } | ||
| 201 | + | ||
| 202 | + dest8 += dstStride; | ||
| 203 | + src += srcStride; | ||
| 204 | + } | ||
| 205 | +} | ||
| 206 | + | ||
| 207 | +template <> | ||
| 208 | +void qt_rectconvert(qgray2 *dest, const quint32 *src, | ||
| 209 | + int x, int y, int width, int height, | ||
| 210 | + int dstStride, int srcStride) | ||
| 211 | +{ | ||
| 212 | + qt_rectconvert_gray2<quint32>(dest, src, x, y, width, height, | ||
| 213 | + dstStride, srcStride); | ||
| 214 | +} | ||
| 215 | + | ||
| 216 | +template <> | ||
| 217 | +void qt_rectconvert(qgray2 *dest, const quint16 *src, | ||
| 218 | + int x, int y, int width, int height, | ||
| 219 | + int dstStride, int srcStride) | ||
| 220 | +{ | ||
| 221 | + qt_rectconvert_gray2<quint16>(dest, src, x, y, width, height, | ||
| 222 | + dstStride, srcStride); | ||
| 223 | +} | ||
| 224 | + | ||
| 225 | +template <> | ||
| 226 | +void qt_rectconvert(qgray2 *dest, const qrgb444 *src, | ||
| 227 | + int x, int y, int width, int height, | ||
| 228 | + int dstStride, int srcStride) | ||
| 229 | +{ | ||
| 230 | + qt_rectconvert_gray2<qrgb444>(dest, src, x, y, width, height, | ||
| 231 | + dstStride, srcStride); | ||
| 232 | +} | ||
| 233 | + | ||
| 234 | +template <> | ||
| 235 | +void qt_rectconvert(qgray2 *dest, const qargb4444 *src, | ||
| 236 | + int x, int y, int width, int height, | ||
| 237 | + int dstStride, int srcStride) | ||
| 238 | +{ | ||
| 239 | + qt_rectconvert_gray2<qargb4444>(dest, src, x, y, width, height, | ||
| 240 | + dstStride, srcStride); | ||
| 241 | +} | ||
| 242 | + | ||
| 243 | +static void blit_2(QScreen *screen, const QImage &image, | ||
| 244 | + const QPoint &topLeft, const QRegion ®ion) | ||
| 245 | +{ | ||
| 246 | + switch (image.format()) { | ||
| 247 | + case QImage::Format_ARGB32_Premultiplied: | ||
| 248 | + blit_template<qgray2, quint32>(screen, image, topLeft, region); | ||
| 249 | + return; | ||
| 250 | + case QImage::Format_RGB16: | ||
| 251 | + blit_template<qgray2, quint16>(screen, image, topLeft, region); | ||
| 252 | + return; | ||
| 253 | + case QImage::Format_RGB444: | ||
| 254 | + blit_template<qgray2, qrgb444>(screen, image, topLeft, region); | ||
| 255 | + return; | ||
| 256 | + case QImage::Format_ARGB4444_Premultiplied: | ||
| 257 | + blit_template<qgray2, qargb4444>(screen, image, topLeft, region); | ||
| 258 | + return; | ||
| 259 | + default: | ||
| 260 | + qCritical("blit_2(): Image format %d not supported!", image.format()); | ||
| 261 | + } | ||
| 262 | +} | ||
| 263 | +#endif // QT_QWS_DEPTH_2 | ||
| 264 | + | ||
| 265 | #ifdef QT_QWS_DEPTH_1 | ||
| 266 | |||
| 267 | struct qmono { quint8 dummy; } Q_PACKED; | ||
| 268 | @@ -1206,6 +1406,11 @@ | ||
| 269 | screen->d_ptr->blit = blit_4; | ||
| 270 | break; | ||
| 271 | #endif | ||
| 272 | +#ifdef QT_QWS_DEPTH_2 | ||
| 273 | + case 2: | ||
| 274 | + screen->d_ptr->blit = blit_2; | ||
| 275 | + break; | ||
| 276 | +#endif | ||
| 277 | #ifdef QT_QWS_DEPTH_1 | ||
| 278 | case 1: | ||
| 279 | screen->d_ptr->blit = blit_1; | ||
| 280 | @@ -2056,6 +2261,8 @@ | ||
| 281 | } | ||
| 282 | } else if (d == 4) { | ||
| 283 | ret = qGray(r, g, b) >> 4; | ||
| 284 | + } else if (d == 2) { | ||
| 285 | + ret = qGray(r, g, b) >> 6; | ||
| 286 | } else if (d == 1) { | ||
| 287 | ret = qGray(r, g, b) >= 128; | ||
| 288 | } else { | ||
| 289 | @@ -2126,6 +2333,10 @@ | ||
| 290 | } else if(d==1) { | ||
| 291 | return true; | ||
| 292 | #endif | ||
| 293 | +#ifdef QT_QWS_DEPTH_2 | ||
| 294 | + } else if(d==2) { | ||
| 295 | + return true; | ||
| 296 | +#endif | ||
| 297 | #ifdef QT_QWS_DEPTH_4 | ||
| 298 | } else if(d==4) { | ||
| 299 | return true; | ||
diff --git a/meta-oe/recipes-qt/qt4/files/0010-no-simpledecoration-example.patch b/meta-oe/recipes-qt/qt4/files/0010-no-simpledecoration-example.patch deleted file mode 100644 index e52736926f..0000000000 --- a/meta-oe/recipes-qt/qt4/files/0010-no-simpledecoration-example.patch +++ /dev/null | |||
| @@ -1,14 +0,0 @@ | |||
| 1 | |||
| 2 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 3 | |||
| 4 | --- /tmp/qws.pro 2009-12-10 19:30:08.000000000 +0100 | ||
| 5 | +++ qt-everywhere-opensource-src-4.6.0/examples/qws/qws.pro 2009-12-10 19:30:21.000000000 +0100 | ||
| 6 | @@ -1,7 +1,7 @@ | ||
| 7 | TEMPLATE = subdirs | ||
| 8 | # no /dev/fbX | ||
| 9 | !qnx:!vxworks:SUBDIRS = framebuffer | ||
| 10 | -SUBDIRS += mousecalibration simpledecoration | ||
| 11 | +SUBDIRS += mousecalibration | ||
| 12 | |||
| 13 | # install | ||
| 14 | sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS README *.pro | ||
diff --git a/meta-oe/recipes-qt/qt4/files/common.pro b/meta-oe/recipes-qt/qt4/files/common.pro deleted file mode 100644 index 382d93f5d1..0000000000 --- a/meta-oe/recipes-qt/qt4/files/common.pro +++ /dev/null | |||
| @@ -1,108 +0,0 @@ | |||
| 1 | #==================================================================================== | ||
| 2 | # common.pro (C) 2004 Michael 'Mickey' Lauer <mickey@Vanille.de> | ||
| 3 | #==================================================================================== | ||
| 4 | # | ||
| 5 | # Purpose: This file contains qmake scope rules of common usage | ||
| 6 | # | ||
| 7 | # Example: When building a qmake based application using libsdl, | ||
| 8 | # use CONFIG+=sdl to add the proper include and library | ||
| 9 | # paths and definitions to the resulting Makefile | ||
| 10 | # | ||
| 11 | # | ||
| 12 | # General problem: One has to decide between evaluation at makefile generation time | ||
| 13 | # and evaluation at makefile processing time. | ||
| 14 | # The following example illustrates the difference: | ||
| 15 | # | ||
| 16 | # Evaluation at makefile processing time: | ||
| 17 | # | ||
| 18 | # sdl { | ||
| 19 | # QMAKE_CFLAGS += `sdl-config --cflags` | ||
| 20 | # LIBS += `sdl-config --libs` | ||
| 21 | # } | ||
| 22 | # | ||
| 23 | # Evalutation at makefile generation time: | ||
| 24 | # | ||
| 25 | # sdl { | ||
| 26 | # QMAKE_CFLAGS += $$system( sdl-config --cflags ) | ||
| 27 | # LIBS += `sdl-config --libs` | ||
| 28 | # } | ||
| 29 | # | ||
| 30 | # For now I use version 2 which is a bit faster | ||
| 31 | # See the fine qmake manual for more details | ||
| 32 | # | ||
| 33 | # | ||
| 34 | |||
| 35 | #============================================================================= | ||
| 36 | # pthread scope for multithreaded applications | ||
| 37 | # | ||
| 38 | |||
| 39 | pthread { | ||
| 40 | LIBS += -lpthread | ||
| 41 | } | ||
| 42 | |||
| 43 | #============================================================================= | ||
| 44 | # sdl scopes for applications using the Simple Direct Media Layer (SDL) | ||
| 45 | # | ||
| 46 | |||
| 47 | sdl { | ||
| 48 | QMAKE_CXXFLAGS += $$system( sdl-config --cflags ) | ||
| 49 | DEFINES += USE_SDL QTOPIA | ||
| 50 | LIBS += $$system( sdl-config --libs ) | ||
| 51 | } | ||
| 52 | |||
| 53 | sdl-mixer { | ||
| 54 | LIBS += -lSDL_mixer | ||
| 55 | } | ||
| 56 | |||
| 57 | sdl-image { | ||
| 58 | LIBS += -lSDL_image | ||
| 59 | } | ||
| 60 | |||
| 61 | sdl-font { | ||
| 62 | LIBS += -lSDL_ttf | ||
| 63 | } | ||
| 64 | |||
| 65 | #============================================================================= | ||
| 66 | # | ||
| 67 | # | ||
| 68 | |||
| 69 | opie { | ||
| 70 | DEFINES += QWS | ||
| 71 | } | ||
| 72 | |||
| 73 | opiecore { | ||
| 74 | LIBS += -lopiecore2 | ||
| 75 | } | ||
| 76 | |||
| 77 | opieui { | ||
| 78 | CONFIG += opiecore | ||
| 79 | LIBS += -lopieui2 | ||
| 80 | } | ||
| 81 | |||
| 82 | opienet { | ||
| 83 | CONFIG += opiecore | ||
| 84 | LIBS += -lopienet2 | ||
| 85 | } | ||
| 86 | |||
| 87 | opiepim { | ||
| 88 | CONFIG += opiecore | ||
| 89 | LIBS += -lopiepim2 | ||
| 90 | } | ||
| 91 | |||
| 92 | opiedb { | ||
| 93 | CONFIG += opiecore | ||
| 94 | LIBS += -lopiedb2 | ||
| 95 | } | ||
| 96 | |||
| 97 | opiemm { | ||
| 98 | CONFIG += opiecore | ||
| 99 | LIBS += -lopiemm2 | ||
| 100 | } | ||
| 101 | |||
| 102 | #============================================================================= | ||
| 103 | # | ||
| 104 | # | ||
| 105 | |||
| 106 | #============================================================================= | ||
| 107 | # | ||
| 108 | # | ||
diff --git a/meta-oe/recipes-qt/qt4/files/compile.test-lflags.patch b/meta-oe/recipes-qt/qt4/files/compile.test-lflags.patch deleted file mode 100644 index e4b256b0ce..0000000000 --- a/meta-oe/recipes-qt/qt4/files/compile.test-lflags.patch +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | Index: qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test | ||
| 2 | =================================================================== | ||
| 3 | --- qt-everywhere-opensource-src-4.6.3.orig/config.tests/unix/compile.test 2010-06-02 06:03:18.000000000 +0400 | ||
| 4 | +++ qt-everywhere-opensource-src-4.6.3/config.tests/unix/compile.test 2010-10-04 17:35:07.587783460 +0400 | ||
| 5 | @@ -11,7 +11,7 @@ | ||
| 6 | EXE=`basename "$6"` | ||
| 7 | DESCRIPTION=$7 | ||
| 8 | shift 7 | ||
| 9 | -LFLAGS="" | ||
| 10 | +LFLAGS="$LDFLAGS" | ||
| 11 | INCLUDEPATH="" | ||
| 12 | CXXFLAGS="" | ||
| 13 | MAC_ARCH_CXXFLAGS="" | ||
diff --git a/meta-oe/recipes-qt/qt4/files/configure-lflags.patch b/meta-oe/recipes-qt/qt4/files/configure-lflags.patch deleted file mode 100644 index df195494ee..0000000000 --- a/meta-oe/recipes-qt/qt4/files/configure-lflags.patch +++ /dev/null | |||
| @@ -1,13 +0,0 @@ | |||
| 1 | Index: qtopia-core-opensource-src-4.3.3/configure | ||
| 2 | =================================================================== | ||
| 3 | --- qtopia-core-opensource-src-4.3.3.orig/configure 2008-01-14 08:53:51.000000000 +0000 | ||
| 4 | +++ qtopia-core-opensource-src-4.3.3/configure 2008-01-14 08:54:07.000000000 +0000 | ||
| 5 | @@ -447,7 +447,7 @@ | ||
| 6 | # initalize variables | ||
| 7 | #------------------------------------------------------------------------------- | ||
| 8 | |||
| 9 | -SYSTEM_VARIABLES="CC CXX CFLAGS CXXFLAGS LDFLAGS" | ||
| 10 | +SYSTEM_VARIABLES="CC CXX CFLAGS CXXFLAGS LDFLAGS LFLAGS" | ||
| 11 | for varname in $SYSTEM_VARIABLES; do | ||
| 12 | cmd=`echo \ | ||
| 13 | 'if [ -n "\$'${varname}'" ]; then | ||
diff --git a/meta-oe/recipes-qt/qt4/files/configure-paths.patch b/meta-oe/recipes-qt/qt4/files/configure-paths.patch deleted file mode 100644 index c9259a1159..0000000000 --- a/meta-oe/recipes-qt/qt4/files/configure-paths.patch +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | Index: qt-everywhere-opensource-src-4.6.3/configure | ||
| 2 | =================================================================== | ||
| 3 | --- qt-everywhere-opensource-src-4.6.3.orig/configure 2011-01-10 15:47:37.100607001 +0000 | ||
| 4 | +++ qt-everywhere-opensource-src-4.6.3/configure 2011-01-10 15:49:14.576606999 +0000 | ||
| 5 | @@ -7198,11 +7198,11 @@ | ||
| 6 | QMAKE_MOC_SRC = \$\$QT_BUILD_TREE/src/moc | ||
| 7 | |||
| 8 | #local paths that cannot be queried from the QT_INSTALL_* properties while building QTDIR | ||
| 9 | -QMAKE_MOC = \$\$QT_BUILD_TREE/bin/moc | ||
| 10 | -QMAKE_UIC = \$\$QT_BUILD_TREE/bin/uic | ||
| 11 | -QMAKE_UIC3 = \$\$QT_BUILD_TREE/bin/uic3 | ||
| 12 | -QMAKE_RCC = \$\$QT_BUILD_TREE/bin/rcc | ||
| 13 | -QMAKE_QDBUSXML2CPP = \$\$QT_BUILD_TREE/bin/qdbusxml2cpp | ||
| 14 | +QMAKE_MOC = \${OE_QMAKE_MOC} | ||
| 15 | +QMAKE_UIC = \${OE_QMAKE_UIC} | ||
| 16 | +QMAKE_UIC3 = \${OE_QMAKE_UIC3} | ||
| 17 | +QMAKE_RCC = \${OE_QMAKE_RCC} | ||
| 18 | +QMAKE_QDBUSXML2CPP = \${OE_QMAKE_QDBUSXML2CPP} | ||
| 19 | QMAKE_INCDIR_QT = \$\$QT_BUILD_TREE/include | ||
| 20 | QMAKE_LIBDIR_QT = \$\$QT_BUILD_TREE/lib | ||
| 21 | |||
diff --git a/meta-oe/recipes-qt/qt4/files/fix-config-tests.patch b/meta-oe/recipes-qt/qt4/files/fix-config-tests.patch deleted file mode 100644 index 21054555bc..0000000000 --- a/meta-oe/recipes-qt/qt4/files/fix-config-tests.patch +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | Fix invocation in case of "ccache some-compiler-gcc". As the command "ccache some-compiler-gcc" will not exist but "ccache" will. | ||
| 2 | |||
| 3 | both visibility and relocs were affected. | ||
| 4 | |||
| 5 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 6 | |||
| 7 | Index: qt-x11-opensource-src-4.5.2/config.tests/unix/bsymbolic_functions.test | ||
| 8 | =================================================================== | ||
| 9 | --- qt-x11-opensource-src-4.5.2.orig/config.tests/unix/bsymbolic_functions.test 2009-08-01 08:01:11.000000000 +0200 | ||
| 10 | +++ qt-x11-opensource-src-4.5.2/config.tests/unix/bsymbolic_functions.test 2009-08-01 08:01:16.000000000 +0200 | ||
| 11 | @@ -8,7 +8,7 @@ | ||
| 12 | int main() { return 0; } | ||
| 13 | EOF | ||
| 14 | |||
| 15 | -"$COMPILER" -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c >/dev/null 2>&1 && BSYMBOLIC_FUNCTIONS_SUPPORT=yes | ||
| 16 | +$COMPILER -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c >/dev/null 2>&1 && BSYMBOLIC_FUNCTIONS_SUPPORT=yes | ||
| 17 | rm -f bsymbolic_functions.c libtest.so | ||
| 18 | |||
| 19 | # done | ||
| 20 | Index: qt-x11-opensource-src-4.5.2/config.tests/unix/fvisibility.test | ||
| 21 | =================================================================== | ||
| 22 | --- qt-x11-opensource-src-4.5.2.orig/config.tests/unix/fvisibility.test 2009-06-20 06:57:50.000000000 +0200 | ||
| 23 | +++ qt-x11-opensource-src-4.5.2/config.tests/unix/fvisibility.test 2009-08-01 07:59:05.000000000 +0200 | ||
| 24 | @@ -15,9 +15,9 @@ | ||
| 25 | EOF | ||
| 26 | |||
| 27 | if [ "$VERBOSE" = "yes" ] ; then | ||
| 28 | - "$COMPILER" -c -fvisibility=hidden fvisibility.c && FVISIBILITY_SUPPORT=yes | ||
| 29 | + $COMPILER -c -fvisibility=hidden fvisibility.c && FVISIBILITY_SUPPORT=yes | ||
| 30 | else | ||
| 31 | - "$COMPILER" -c -fvisibility=hidden fvisibility.c >/dev/null 2>&1 && FVISIBILITY_SUPPORT=yes | ||
| 32 | + $COMPILER -c -fvisibility=hidden fvisibility.c >/dev/null 2>&1 && FVISIBILITY_SUPPORT=yes | ||
| 33 | fi | ||
| 34 | rm -f fvisibility.c fvisibility.o | ||
| 35 | } | ||
| 36 | |||
diff --git a/meta-oe/recipes-qt/qt4/files/g++.conf b/meta-oe/recipes-qt/qt4/files/g++.conf deleted file mode 100644 index 4cd76e62ea..0000000000 --- a/meta-oe/recipes-qt/qt4/files/g++.conf +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | # | ||
| 2 | # qmake configuration for common gcc | ||
| 3 | # | ||
| 4 | |||
| 5 | QMAKE_CC = $(OE_QMAKE_CC) | ||
| 6 | QMAKE_CFLAGS += -pipe $(OE_QMAKE_CFLAGS) | ||
| 7 | QMAKE_CFLAGS_DEPS += -M | ||
| 8 | QMAKE_CFLAGS_WARN_ON += -Wall -W | ||
| 9 | QMAKE_CFLAGS_WARN_OFF += -w | ||
| 10 | QMAKE_CFLAGS_RELEASE += | ||
| 11 | QMAKE_CFLAGS_DEBUG += -g | ||
| 12 | QMAKE_CFLAGS_SHLIB += -fPIC | ||
| 13 | QMAKE_CFLAGS_STATIC_LIB += -fPIC | ||
| 14 | QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses | ||
| 15 | QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden | ||
| 16 | QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
| 17 | QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} | ||
| 18 | |||
| 19 | QMAKE_CXX = $(OE_QMAKE_CXX) | ||
| 20 | QMAKE_CXXFLAGS += $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) | ||
| 21 | QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS | ||
| 22 | QMAKE_CXXFLAGS_WARN_ON += $$QMAKE_CFLAGS_WARN_ON | ||
| 23 | QMAKE_CXXFLAGS_WARN_OFF += $$QMAKE_CFLAGS_WARN_OFF | ||
| 24 | QMAKE_CXXFLAGS_RELEASE += $$QMAKE_CFLAGS_RELEASE | ||
| 25 | QMAKE_CXXFLAGS_DEBUG += $$QMAKE_CFLAGS_DEBUG | ||
| 26 | QMAKE_CXXFLAGS_SHLIB += $$QMAKE_CFLAGS_SHLIB | ||
| 27 | QMAKE_CXXFLAGS_STATIC_LIB += $$QMAKE_CFLAGS_STATIC_LIB | ||
| 28 | QMAKE_CXXFLAGS_YACC += $$QMAKE_CFLAGS_YACC | ||
| 29 | QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden | ||
| 30 | QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
| 31 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE | ||
| 32 | |||
| 33 | QMAKE_LINK = $(OE_QMAKE_LINK) | ||
| 34 | QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
| 35 | QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) | ||
| 36 | QMAKE_LFLAGS_RELEASE += | ||
| 37 | QMAKE_LFLAGS_DEBUG += | ||
| 38 | QMAKE_LFLAGS_APP += | ||
| 39 | QMAKE_LFLAGS_SHLIB += -shared | ||
| 40 | QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB | ||
| 41 | QMAKE_LFLAGS_SONAME += -Wl,-soname, | ||
| 42 | QMAKE_LFLAGS_THREAD += | ||
| 43 | QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined | ||
| 44 | QMAKE_RPATH = -Wl,-rpath-link, | ||
| 45 | |||
| 46 | QMAKE_PCH_OUTPUT_EXT = .gch | ||
| 47 | |||
| 48 | # -Bsymbolic-functions (ld) support | ||
| 49 | QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions | ||
| 50 | QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list, | ||
| 51 | |||
| 52 | # for the SDK | ||
| 53 | isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) | ||
diff --git a/meta-oe/recipes-qt/qt4/files/hack-out-pg_config.patch b/meta-oe/recipes-qt/qt4/files/hack-out-pg_config.patch deleted file mode 100644 index 650ed7745e..0000000000 --- a/meta-oe/recipes-qt/qt4/files/hack-out-pg_config.patch +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | Hack to not use the pg_config of the host system which will add /usr/include | ||
| 2 | |||
| 3 | pg_config is a native binary so using that when cross compiling | ||
| 4 | will always fail. The commented out fix would do, but for OE | ||
| 5 | our -platform and -xplatform is the same so we are actually not | ||
| 6 | really cross compiling. Just comment out the test, we are passing | ||
| 7 | the location to the postgres headers and if they are okay we | ||
| 8 | will padd. | ||
| 9 | |||
| 10 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 11 | |||
| 12 | Index: qt-embedded-linux-opensource-src-4.5.2/configure | ||
| 13 | =================================================================== | ||
| 14 | --- qt-embedded-linux-opensource-src-4.5.2.orig/configure 2009-08-10 03:03:04.000000000 +0200 | ||
| 15 | +++ qt-embedded-linux-opensource-src-4.5.2/configure 2009-08-10 03:58:11.000000000 +0200 | ||
| 16 | @@ -4401,10 +4402,10 @@ | ||
| 17 | ;; | ||
| 18 | psql) | ||
| 19 | if [ "$CFG_SQL_psql" != "no" ]; then | ||
| 20 | - if "$WHICH" pg_config >/dev/null 2>&1; then | ||
| 21 | - QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null` | ||
| 22 | - QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null` | ||
| 23 | - fi | ||
| 24 | +# if [ "$QT_CROSS_COMPILE" = "no" ] && "$WHICH" pg_config >/dev/null 2>&1; then | ||
| 25 | +# QT_CFLAGS_PSQL=`pg_config --includedir 2>/dev/null` | ||
| 26 | +# QT_LFLAGS_PSQL=`pg_config --libdir 2>/dev/null` | ||
| 27 | +# fi | ||
| 28 | [ -z "$QT_CFLAGS_PSQL" ] || QT_CFLAGS_PSQL="-I$QT_CFLAGS_PSQL" | ||
| 29 | [ -z "$QT_LFLAGS_PSQL" ] || QT_LFLAGS_PSQL="-L$QT_LFLAGS_PSQL" | ||
| 30 | if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/psql "PostgreSQL" $QT_LFLAGS_PSQL $L_FLAGS $QT_CFLAGS_PSQL $I_FLAGS $l_FLAGS $MAC_ARCHS_COMMANDLINE; then | ||
diff --git a/meta-oe/recipes-qt/qt4/files/linux-oe-qmake.conf b/meta-oe/recipes-qt/qt4/files/linux-oe-qmake.conf deleted file mode 100644 index 205b693fda..0000000000 --- a/meta-oe/recipes-qt/qt4/files/linux-oe-qmake.conf +++ /dev/null | |||
| @@ -1,82 +0,0 @@ | |||
| 1 | # | ||
| 2 | # qmake configuration for linux-oe-g++ / OpenEmbedded Build System / http://openembedded.org | ||
| 3 | # | ||
| 4 | |||
| 5 | MAKEFILE_GENERATOR = UNIX | ||
| 6 | TEMPLATE = app | ||
| 7 | CONFIG += qt warn_on release | ||
| 8 | |||
| 9 | QMAKE_CC = $(OE_QMAKE_CC) | ||
| 10 | QMAKE_LEX = flex | ||
| 11 | QMAKE_LEXFLAGS = | ||
| 12 | QMAKE_YACC = yacc | ||
| 13 | QMAKE_YACCFLAGS = -d | ||
| 14 | QMAKE_CFLAGS = -pipe $(OE_QMAKE_CFLAGS) $(CFLAGS_EXTRA) | ||
| 15 | QMAKE_CFLAGS_WARN_ON = -Wall -W | ||
| 16 | QMAKE_CFLAGS_WARN_OFF = | ||
| 17 | QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2) | ||
| 18 | QMAKE_CFLAGS_DEBUG = -g | ||
| 19 | QMAKE_CFLAGS_SHLIB = -fPIC | ||
| 20 | QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses | ||
| 21 | QMAKE_CFLAGS_THREAD = -D_REENTRANT | ||
| 22 | |||
| 23 | QMAKE_CXX = $(OE_QMAKE_CXX) | ||
| 24 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) $(CXXFLAGS_EXTRA) | ||
| 25 | QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON | ||
| 26 | QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF | ||
| 27 | QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE | ||
| 28 | QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG | ||
| 29 | QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB | ||
| 30 | QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC | ||
| 31 | QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD | ||
| 32 | |||
| 33 | QMAKE_INCDIR = | ||
| 34 | QMAKE_LIBDIR = | ||
| 35 | QMAKE_INCDIR_X11 = | ||
| 36 | QMAKE_LIBDIR_X11 = | ||
| 37 | QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) | ||
| 38 | QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) | ||
| 39 | QMAKE_INCDIR_OPENGL = | ||
| 40 | QMAKE_LIBDIR_OPENGL = | ||
| 41 | |||
| 42 | QMAKE_LINK = $(OE_QMAKE_LINK) | ||
| 43 | QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
| 44 | QMAKE_LFLAGS = $(OE_QMAKE_LDFLAGS) $(LFLAGS_EXTRA) | ||
| 45 | QMAKE_LFLAGS_RELEASE = | ||
| 46 | QMAKE_LFLAGS_DEBUG = | ||
| 47 | QMAKE_LFLAGS_SHLIB = -shared | ||
| 48 | QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB | ||
| 49 | QMAKE_LFLAGS_SONAME = -Wl,-soname, | ||
| 50 | QMAKE_LFLAGS_THREAD = | ||
| 51 | QMAKE_RPATH = -Wl,-rpath-link, | ||
| 52 | |||
| 53 | QMAKE_LIBS = $(LIBS_EXTRA) | ||
| 54 | QMAKE_LIBS_DYNLOAD = -ldl | ||
| 55 | QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) | ||
| 56 | QMAKE_LIBS_X11SM = | ||
| 57 | QMAKE_LIBS_QT = -l$(OE_QMAKE_LIBS_QT) | ||
| 58 | QMAKE_LIBS_QT_THREAD = -l$(OE_QMAKE_LIBS_QT)-mt | ||
| 59 | QMAKE_LIBS_OPENGL = $(OE_QMAKE_LIBS_OPENGL) | ||
| 60 | QMAKE_LIBS_OPENGL_QT = $(OE_QMAKE_LIBS_OPENGL_QT) | ||
| 61 | QMAKE_LIBS_THREAD = -lpthread | ||
| 62 | |||
| 63 | QMAKE_MOC = $(OE_QMAKE_MOC) | ||
| 64 | QMAKE_UIC = $(OE_QMAKE_UIC) | ||
| 65 | |||
| 66 | QMAKE_AR = $(OE_QMAKE_AR) cqs | ||
| 67 | QMAKE_RANLIB = | ||
| 68 | |||
| 69 | QMAKE_TAR = tar -cf | ||
| 70 | QMAKE_GZIP = gzip -9f | ||
| 71 | |||
| 72 | QMAKE_COPY = cp -f | ||
| 73 | QMAKE_COPY_FILE = $(COPY) | ||
| 74 | QMAKE_COPY_DIR = $(COPY) -r | ||
| 75 | QMAKE_MOVE = mv -f | ||
| 76 | QMAKE_DEL_FILE = rm -f | ||
| 77 | QMAKE_DEL_DIR = rmdir | ||
| 78 | QMAKE_STRIP = $(OE_QMAKE_STRIP) | ||
| 79 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded | ||
| 80 | QMAKE_CHK_DIR_EXISTS = test -d | ||
| 81 | QMAKE_MKDIR = mkdir -p | ||
| 82 | |||
diff --git a/meta-oe/recipes-qt/qt4/files/linux.conf b/meta-oe/recipes-qt/qt4/files/linux.conf deleted file mode 100644 index 90b8d65aba..0000000000 --- a/meta-oe/recipes-qt/qt4/files/linux.conf +++ /dev/null | |||
| @@ -1,54 +0,0 @@ | |||
| 1 | # | ||
| 2 | # qmake configuration for common linux | ||
| 3 | # | ||
| 4 | |||
| 5 | QMAKE_CFLAGS_THREAD += -D_REENTRANT | ||
| 6 | QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD | ||
| 7 | |||
| 8 | QMAKE_INCDIR = | ||
| 9 | QMAKE_LIBDIR = | ||
| 10 | QMAKE_INCDIR_X11 = | ||
| 11 | QMAKE_LIBDIR_X11 = | ||
| 12 | QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) | ||
| 13 | QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) | ||
| 14 | QMAKE_INCDIR_OPENGL = | ||
| 15 | QMAKE_LIBDIR_OPENGL = | ||
| 16 | |||
| 17 | |||
| 18 | QMAKE_LIBS = | ||
| 19 | QMAKE_LIBS_DYNLOAD = -ldl | ||
| 20 | QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) | ||
| 21 | QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) | ||
| 22 | QMAKE_LIBS_NIS = -lnsl | ||
| 23 | QMAKE_LIBS_OPENGL = -lGLU -lGL | ||
| 24 | QMAKE_LIBS_OPENGL_QT = -lGL | ||
| 25 | QMAKE_LIBS_THREAD = -lpthread | ||
| 26 | |||
| 27 | QMAKE_MOC = $(OE_QMAKE_MOC) | ||
| 28 | QMAKE_UIC = $(OE_QMAKE_UIC) | ||
| 29 | QMAKE_UIC3 = $(OE_QMAKE_UIC3) | ||
| 30 | QMAKE_RCC = $(OE_QMAKE_RCC) | ||
| 31 | QMAKE_QDBUSCPP2XML = $(OE_QMAKE_QDBUSCPP2XML) | ||
| 32 | QMAKE_QDBUSXML2CPP = $(OE_QMAKE_QDBUSXML2CPP) | ||
| 33 | |||
| 34 | QMAKE_AR = $(OE_QMAKE_AR) cqs | ||
| 35 | QMAKE_OBJCOPY = objcopy | ||
| 36 | QMAKE_RANLIB = | ||
| 37 | |||
| 38 | QMAKE_TAR = tar -cf | ||
| 39 | QMAKE_GZIP = gzip -9f | ||
| 40 | |||
| 41 | QMAKE_COPY = cp -f | ||
| 42 | QMAKE_COPY_FILE = $(COPY) | ||
| 43 | QMAKE_COPY_DIR = $(COPY) -r | ||
| 44 | QMAKE_MOVE = mv -f | ||
| 45 | QMAKE_DEL_FILE = rm -f | ||
| 46 | QMAKE_DEL_DIR = rmdir | ||
| 47 | QMAKE_STRIP = $(OE_QMAKE_STRIP) | ||
| 48 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded | ||
| 49 | QMAKE_CHK_DIR_EXISTS = test -d | ||
| 50 | QMAKE_MKDIR = mkdir -p | ||
| 51 | QMAKE_INSTALL_FILE = install -m 644 -p | ||
| 52 | QMAKE_INSTALL_PROGRAM = install -m 755 -p | ||
| 53 | |||
| 54 | include(unix.conf) | ||
diff --git a/meta-oe/recipes-qt/qt4/files/mips-relocate.patch b/meta-oe/recipes-qt/qt4/files/mips-relocate.patch deleted file mode 100644 index 2fde9a0dcf..0000000000 --- a/meta-oe/recipes-qt/qt4/files/mips-relocate.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | Disable the LDFLAGS "-Bsymbolic-functions" for mips | ||
| 2 | |||
| 3 | "-Bsymbolic-functions" flag makes ld to bind the global function symbol of shared library at compiling time, thus reduce the runtime relocation cost. | ||
| 4 | |||
| 5 | However, this flag in binutil 2.20 cause QT4 mips building failure, which is "final link failed: Bad value" error in libQtWebKit.so linking stage. If downgrad to binutil 2.19, this error disappears. further investigation showes commit http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/scripttempl/mips.sc.diff?r1=1.2&r2=1.3&cvsroot=src cause this error. | ||
| 6 | |||
| 7 | So this patch disable this flag for QT4 mips. If future binutils version fix this issue, this patch can be safely removed. | ||
| 8 | |||
| 9 | Signed-off-by: Yu Ke <ke.yu@intel.com> | ||
| 10 | |||
| 11 | diff --git a/configure b/configure | ||
| 12 | index ca14279..5db9926 100755 | ||
| 13 | --- a/configure | ||
| 14 | +++ b/configure | ||
| 15 | @@ -3035,6 +3035,13 @@ if [ "$CFG_REDUCE_RELOCATIONS" != "no" ]; then | ||
| 16 | fi | ||
| 17 | fi | ||
| 18 | |||
| 19 | +# Temporily disable -Bsymbolic-functions for mips, because libQtWebKit can not pass the build | ||
| 20 | +# if has -Bsymbolic-functions and binutil 2.20 | ||
| 21 | +# -Bsymbolic-functions is OK in binutil 2.19 | ||
| 22 | +if [ "$CFG_ARCH" = "mips" ]; then | ||
| 23 | + CFG_REDUCE_RELOCATIONS=no | ||
| 24 | +fi | ||
| 25 | + | ||
| 26 | # auto-detect GNU make support | ||
| 27 | if [ "$CFG_USE_GNUMAKE" = "auto" ] && "$MAKE" -v | grep "GNU Make" >/dev/null 2>&1; then | ||
| 28 | CFG_USE_GNUMAKE=yes | ||
diff --git a/meta-oe/recipes-qt/qt4/files/qmake-exists-check.patch b/meta-oe/recipes-qt/qt4/files/qmake-exists-check.patch deleted file mode 100644 index cc73837e53..0000000000 --- a/meta-oe/recipes-qt/qt4/files/qmake-exists-check.patch +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | qt4-tools-nativesdk: avoid rebuilding qmake | ||
| 2 | |||
| 3 | qt4-tools-nativesdk patch to avoids building qmake in configure if it already exists | ||
| 4 | (as it will, since we symlink it in from the native sysroot in do_configure) | ||
| 5 | |||
| 6 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
| 7 | |||
| 8 | --- qt-everywhere-opensource-src-4.6.3.orig/configure 2011-01-10 12:01:56.260607001 +0000 | ||
| 9 | +++ qt-everywhere-opensource-src-4.6.3/configure 2011-01-10 12:02:20.584607015 +0000 | ||
| 10 | @@ -4286,7 +4286,7 @@ | ||
| 11 | } | ||
| 12 | |||
| 13 | # build qmake | ||
| 14 | -if true; then ###[ '!' -f "$outpath/bin/qmake" ]; | ||
| 15 | +if [ '!' -f "$outpath/bin/qmake" ]; then | ||
| 16 | echo "Creating qmake. Please wait..." | ||
| 17 | |||
| 18 | OLD_QCONFIG_H= | ||
diff --git a/meta-oe/recipes-qt/qt4/files/qmake-hack.diff b/meta-oe/recipes-qt/qt4/files/qmake-hack.diff deleted file mode 100644 index 290f54052b..0000000000 --- a/meta-oe/recipes-qt/qt4/files/qmake-hack.diff +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | --- /tmp/configure 2010-02-10 15:41:58.000000000 +0100 | ||
| 2 | +++ qt-embedded-linux-opensource-src-4.4.3/configure 2010-02-10 15:42:01.000000000 +0100 | ||
| 3 | @@ -3946,6 +3946,12 @@ | ||
| 4 | [ '!' -z "$QCONFIG_H" ] && mv -f "$QCONFIG_H" "$QMAKE_QCONFIG_H" #move qmake's qconfig.h to qconfig.h.qmake | ||
| 5 | [ '!' -z "$OLD_QCONFIG_H" ] && mv -f "${OLD_QCONFIG_H}.old" "$OLD_QCONFIG_H" #put back qconfig.h | ||
| 6 | [ "$QMAKE_BUILD_ERROR" = "yes" ] && exit 2 | ||
| 7 | + | ||
| 8 | +# OE | ||
| 9 | +if [ x$CROSSHACK = xtrue ] ; then | ||
| 10 | + echo "Exiting now, since we have what we want: a qmake binary" | ||
| 11 | + exit 0 | ||
| 12 | +fi | ||
| 13 | fi # Build qmake | ||
| 14 | |||
| 15 | #------------------------------------------------------------------------------- | ||
diff --git a/meta-oe/recipes-qt/qt4/files/qt-config.patch b/meta-oe/recipes-qt/qt4/files/qt-config.patch deleted file mode 100644 index a31e7b3e2a..0000000000 --- a/meta-oe/recipes-qt/qt4/files/qt-config.patch +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | |||
| 2 | Ported from OE by: Yu Ke <ke.yu@intel.com> | ||
| 3 | |||
| 4 | --- /tmp/qlibraryinfo.cpp 2008-08-02 17:16:41.000000000 +0200 | ||
| 5 | +++ qt-embedded-linux-opensource-src-4.4.1/src/corelib/global/qlibraryinfo.cpp 2008-08-02 17:17:42.000000000 +0200 | ||
| 6 | @@ -47,6 +47,7 @@ | ||
| 7 | QT_BEGIN_NAMESPACE | ||
| 8 | extern QString qmake_libraryInfoFile(); | ||
| 9 | QT_END_NAMESPACE | ||
| 10 | +#include <stdlib.h> | ||
| 11 | #else | ||
| 12 | # include "qcoreapplication.h" | ||
| 13 | #endif | ||
| 14 | @@ -113,6 +114,10 @@ | ||
| 15 | #ifdef QT_BUILD_QMAKE | ||
| 16 | if(!QFile::exists(qtconfig)) | ||
| 17 | qtconfig = qmake_libraryInfoFile(); | ||
| 18 | + if (!QFile::exists(qtconfig)) { | ||
| 19 | + QByteArray config = getenv("QT_CONF_PATH"); | ||
| 20 | + qtconfig = QFile::decodeName(config); | ||
| 21 | + } | ||
| 22 | #else | ||
| 23 | if (!QFile::exists(qtconfig) && QCoreApplication::instance()) { | ||
| 24 | #ifdef Q_OS_MAC | ||
diff --git a/meta-oe/recipes-qt/qt4/files/qte.sh b/meta-oe/recipes-qt/qt4/files/qte.sh deleted file mode 100644 index 21d6ecbd6a..0000000000 --- a/meta-oe/recipes-qt/qt4/files/qte.sh +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | if [ -e /dev/input/touchscreen0 ] | ||
| 4 | then | ||
| 5 | QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0 | ||
| 6 | export QWS_MOUSE_PROTO | ||
| 7 | fi | ||
diff --git a/meta-oe/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch b/meta-oe/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch deleted file mode 100644 index 1d250d8a98..0000000000 --- a/meta-oe/recipes-qt/qt4/files/qthelp-lib-qtclucene.patch +++ /dev/null | |||
| @@ -1,86 +0,0 @@ | |||
| 1 | qt-embedded: fix linker error in do_compile | ||
| 2 | |||
| 3 | This patch ensures that we link to libQtCLucene where required (i.e. when | ||
| 4 | linking to libQtHelp) avoiding a linker error. | ||
| 5 | |||
| 6 | Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> | ||
| 7 | |||
| 8 | Index: qt-everywhere-opensource-src-4.6.3/demos/qtdemo/qtdemo.pro | ||
| 9 | =================================================================== | ||
| 10 | --- qt-everywhere-opensource-src-4.6.3.orig/demos/qtdemo/qtdemo.pro 2011-01-11 16:06:47.382828004 +0000 | ||
| 11 | +++ qt-everywhere-opensource-src-4.6.3/demos/qtdemo/qtdemo.pro 2011-01-11 16:10:06.906828001 +0000 | ||
| 12 | @@ -76,3 +76,10 @@ | ||
| 13 | sources.files = $$SOURCES $$HEADERS $$FORMS $$RESOURCES qtdemo.pro images xml *.ico *.icns *.rc *.plist | ||
| 14 | sources.path = $$[QT_INSTALL_DEMOS]/qtdemo | ||
| 15 | |||
| 16 | +qclucene = QtCLucene$${QT_LIBINFIX} | ||
| 17 | +if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { | ||
| 18 | + mac:qclucene = $${qclucene}_debug | ||
| 19 | + win32:qclucene = $${qclucene}d | ||
| 20 | +} | ||
| 21 | +linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene | ||
| 22 | +LIBS_PRIVATE += -l$$qclucene | ||
| 23 | Index: qt-everywhere-opensource-src-4.6.3/examples/help/contextsensitivehelp/contextsensitivehelp.pro | ||
| 24 | =================================================================== | ||
| 25 | --- qt-everywhere-opensource-src-4.6.3.orig/examples/help/contextsensitivehelp/contextsensitivehelp.pro 2011-01-11 16:05:56.598828002 +0000 | ||
| 26 | +++ qt-everywhere-opensource-src-4.6.3/examples/help/contextsensitivehelp/contextsensitivehelp.pro 2011-01-11 16:09:57.762828002 +0000 | ||
| 27 | @@ -18,3 +18,11 @@ | ||
| 28 | INSTALLS += target sources | ||
| 29 | |||
| 30 | symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri) | ||
| 31 | + | ||
| 32 | +qclucene = QtCLucene$${QT_LIBINFIX} | ||
| 33 | +if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { | ||
| 34 | + mac:qclucene = $${qclucene}_debug | ||
| 35 | + win32:qclucene = $${qclucene}d | ||
| 36 | +} | ||
| 37 | +linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene | ||
| 38 | +LIBS_PRIVATE += -l$$qclucene | ||
| 39 | Index: qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/assistant/assistant.pro | ||
| 40 | =================================================================== | ||
| 41 | --- qt-everywhere-opensource-src-4.6.3.orig/tools/assistant/tools/assistant/assistant.pro 2011-01-11 14:56:50.902828001 +0000 | ||
| 42 | +++ qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/assistant/assistant.pro 2011-01-11 16:09:39.914828003 +0000 | ||
| 43 | @@ -85,3 +85,11 @@ | ||
| 44 | DEFINES += USE_STATIC_SQLITE_PLUGIN | ||
| 45 | } | ||
| 46 | } | ||
| 47 | + | ||
| 48 | +qclucene = QtCLucene$${QT_LIBINFIX} | ||
| 49 | +if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { | ||
| 50 | + mac:qclucene = $${qclucene}_debug | ||
| 51 | + win32:qclucene = $${qclucene}d | ||
| 52 | +} | ||
| 53 | +linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene | ||
| 54 | +LIBS_PRIVATE += -l$$qclucene | ||
| 55 | Index: qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro | ||
| 56 | =================================================================== | ||
| 57 | --- qt-everywhere-opensource-src-4.6.3.orig/tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro 2011-01-11 14:56:50.918828002 +0000 | ||
| 58 | +++ qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qcollectiongenerator/qcollectiongenerator.pro 2011-01-11 16:09:44.538828001 +0000 | ||
| 59 | @@ -12,3 +12,11 @@ | ||
| 60 | main.cpp | ||
| 61 | |||
| 62 | HEADERS += ../shared/helpgenerator.h | ||
| 63 | + | ||
| 64 | +qclucene = QtCLucene$${QT_LIBINFIX} | ||
| 65 | +if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { | ||
| 66 | + mac:qclucene = $${qclucene}_debug | ||
| 67 | + win32:qclucene = $${qclucene}d | ||
| 68 | +} | ||
| 69 | +linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene | ||
| 70 | +LIBS_PRIVATE += -l$$qclucene | ||
| 71 | Index: qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro | ||
| 72 | =================================================================== | ||
| 73 | --- qt-everywhere-opensource-src-4.6.3.orig/tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro 2011-01-11 14:56:50.930828002 +0000 | ||
| 74 | +++ qt-everywhere-opensource-src-4.6.3/tools/assistant/tools/qhelpgenerator/qhelpgenerator.pro 2011-01-11 16:09:50.274828003 +0000 | ||
| 75 | @@ -12,3 +12,11 @@ | ||
| 76 | main.cpp | ||
| 77 | |||
| 78 | HEADERS += ../shared/helpgenerator.h | ||
| 79 | + | ||
| 80 | +qclucene = QtCLucene$${QT_LIBINFIX} | ||
| 81 | +if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { | ||
| 82 | + mac:qclucene = $${qclucene}_debug | ||
| 83 | + win32:qclucene = $${qclucene}d | ||
| 84 | +} | ||
| 85 | +linux-lsb-g++:LIBS_PRIVATE += --lsb-shared-libs=$$qclucene | ||
| 86 | +LIBS_PRIVATE += -l$$qclucene | ||
diff --git a/meta-oe/recipes-qt/qt4/files/use-lflags-last.patch b/meta-oe/recipes-qt/qt4/files/use-lflags-last.patch deleted file mode 100644 index 4197dbbf64..0000000000 --- a/meta-oe/recipes-qt/qt4/files/use-lflags-last.patch +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | Index: qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp | ||
| 2 | =================================================================== | ||
| 3 | --- qtopia-core-opensource-src-4.3.1.orig/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:45:26.000000000 +0200 | ||
| 4 | +++ qtopia-core-opensource-src-4.3.1/qmake/generators/unix/unixmake2.cpp 2007-10-07 13:57:09.000000000 +0200 | ||
| 5 | @@ -416,7 +416,7 @@ | ||
| 6 | t << "\n\t" << mkdir_p_asstring(destdir) << "\n\t"; | ||
| 7 | if(!project->isEmpty("QMAKE_PRE_LINK")) | ||
| 8 | t << var("QMAKE_PRE_LINK") << "\n\t"; | ||
| 9 | - t << "$(LINK) $(LFLAGS) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS)"; | ||
| 10 | + t << "$(LINK) -o $(TARGET) " << incr_deps << " " << incr_objs << " $(OBJCOMP) $(LIBS) $(LFLAGS)"; | ||
| 11 | if(!project->isEmpty("QMAKE_POST_LINK")) | ||
| 12 | t << "\n\t" << var("QMAKE_POST_LINK"); | ||
| 13 | t << endl << endl; | ||
| 14 | @@ -430,7 +430,7 @@ | ||
| 15 | t << mkdir_p_asstring(destdir) << "\n\t"; | ||
| 16 | if(!project->isEmpty("QMAKE_PRE_LINK")) | ||
| 17 | t << var("QMAKE_PRE_LINK") << "\n\t"; | ||
| 18 | - t << "$(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS)"; | ||
| 19 | + t << "$(LINK) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) $(LFLAGS)"; | ||
| 20 | if(!project->isEmpty("QMAKE_POST_LINK")) | ||
| 21 | t << "\n\t" << var("QMAKE_POST_LINK"); | ||
| 22 | t << endl << endl; | ||
