aboutsummaryrefslogtreecommitdiffstats
path: root/packages/qt4
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-27 16:17:05 +0000
committerHolger Freyther <zecke@selfish.org>2007-12-27 16:17:05 +0000
commitf61e7fc91e6ee49c3a2124d38fc85dd12360ed40 (patch)
tree8b4a1efdbd3e8d81552ced9dbcae8a8d6601b65f /packages/qt4
parent4acfd704d0eb15143f1487ef728e6900dcdc460d (diff)
downloadopenembedded-f61e7fc91e6ee49c3a2124d38fc85dd12360ed40.tar.gz
packages/qt4/qtopia-core: Force building of tools, demos and examples
Diffstat (limited to 'packages/qt4')
-rw-r--r--packages/qt4/qtopia-core.inc3
-rw-r--r--packages/qt4/qtopia-core/build-tools.patch28
2 files changed, 30 insertions, 1 deletions
diff --git a/packages/qt4/qtopia-core.inc b/packages/qt4/qtopia-core.inc
index 9e4eebc92e..05727b7c90 100644
--- a/packages/qt4/qtopia-core.inc
+++ b/packages/qt4/qtopia-core.inc
@@ -10,7 +10,8 @@ SRC_URI = "ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-${PV}.ta
file://0001-cross-compile.patch;patch=1 \
file://0003-no-tools.patch;patch=1 \
file://0004-no-qmake.patch;patch=1 \
- file://0005-fix-mkspecs.patch;patch=1"
+ file://0005-fix-mkspecs.patch;patch=1 \
+ file://build-tools.patch;patch=1"
S = "${WORKDIR}/qtopia-core-opensource-src-${PV}"
diff --git a/packages/qt4/qtopia-core/build-tools.patch b/packages/qt4/qtopia-core/build-tools.patch
new file mode 100644
index 0000000000..54ad666374
--- /dev/null
+++ b/packages/qt4/qtopia-core/build-tools.patch
@@ -0,0 +1,28 @@
+Do not disable tools, examples and demos for the QWS build. Use brute-force
+to do this.
+
+Index: qtopia-core-opensource-src-4.3.3/configure
+===================================================================
+--- qtopia-core-opensource-src-4.3.3.orig/configure 2007-12-27 16:30:36.000000000 +0100
++++ qtopia-core-opensource-src-4.3.3/configure 2007-12-27 16:30:52.000000000 +0100
+@@ -2265,13 +2265,13 @@
+ CFG_BUILD_PARTS="$QT_DEFAULT_BUILD_PARTS"
+
+ # don't build tools by default when cross-compiling
+- if [ "$PLATFORM" != "$XPLATFORM" ]; then
+- CFG_BUILD_PARTS=`echo "$CFG_BUILD_PARTS" | sed "s, tools,,g"`
+- fi
+-fi
+-for nobuild in $CFG_NOBUILD_PARTS; do
+- CFG_BUILD_PARTS=`echo "$CFG_BUILD_PARTS" | sed "s, $nobuild,,g"`
+-done
++ #if [ "$PLATFORM" != "$XPLATFORM" ]; then
++ # CFG_BUILD_PARTS=`echo "$CFG_BUILD_PARTS" | sed "s, tools,,g"`
++ #fi
++fi
++#for nobuild in $CFG_NOBUILD_PARTS; do
++# CFG_BUILD_PARTS=`echo "$CFG_BUILD_PARTS" | sed "s, $nobuild,,g"`
++#done
+ if echo $CFG_BUILD_PARTS | grep -v libs >/dev/null 2>&1; then
+ # echo
+ # echo "WARNING: libs is a required part of the build."