summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2007-12-26 01:11:20 +0000
committerHolger Freyther <zecke@selfish.org>2007-12-26 01:11:20 +0000
commit6d217fe3d65950bba512bdb5b606d1209f2d7506 (patch)
tree04eadef484d4fe7a8e80eebd1a24a138d3293e31 /packages
parent5867852a8e90a31151acdd555a313ce660d4573c (diff)
packages/qt4/: Share some more patches (no host includes, cross-compile) between Embedded and X11
-Use the CROSSARCH hack/patch on QtopiaCore as well -Do not search /usr/include for freetype and openssl on Qt as well -Do not build a qmake version (needed a diversion due different configure scripts)
Diffstat (limited to 'packages')
-rw-r--r--packages/qt4/files/.mtn2git_empty0
-rw-r--r--packages/qt4/files/0001-cross-compile.patch (renamed from packages/qt4/qt4-x11-free-4.3.3/0001-cross-compile.patch)0
-rw-r--r--packages/qt4/files/0003-no-tools.patch (renamed from packages/qt4/qt4-x11-free-4.3.3/0003-no-tools.patch)0
-rw-r--r--packages/qt4/files/0005-fix-mkspecs.patch (renamed from packages/qt4/qt4-x11-free-4.3.3/0005-fix-mkspecs.patch)0
-rw-r--r--packages/qt4/qtopia-core-4.3.3/.mtn2git_empty0
-rw-r--r--packages/qt4/qtopia-core-4.3.3/0006-freetype-host-includes.patch23
-rw-r--r--packages/qt4/qtopia-core-4.3.3/0007-openssl-host-includes.patch23
-rw-r--r--packages/qt4/qtopia-core.inc1
-rw-r--r--packages/qt4/qtopia-core/0004-no-qmake.patch25
-rw-r--r--packages/qt4/qtopia-core_4.3.3.bb3
10 files changed, 75 insertions, 0 deletions
diff --git a/packages/qt4/files/.mtn2git_empty b/packages/qt4/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qt4/files/.mtn2git_empty
diff --git a/packages/qt4/qt4-x11-free-4.3.3/0001-cross-compile.patch b/packages/qt4/files/0001-cross-compile.patch
index 6e2b8e755e..6e2b8e755e 100644
--- a/packages/qt4/qt4-x11-free-4.3.3/0001-cross-compile.patch
+++ b/packages/qt4/files/0001-cross-compile.patch
diff --git a/packages/qt4/qt4-x11-free-4.3.3/0003-no-tools.patch b/packages/qt4/files/0003-no-tools.patch
index 5412c90377..5412c90377 100644
--- a/packages/qt4/qt4-x11-free-4.3.3/0003-no-tools.patch
+++ b/packages/qt4/files/0003-no-tools.patch
diff --git a/packages/qt4/qt4-x11-free-4.3.3/0005-fix-mkspecs.patch b/packages/qt4/files/0005-fix-mkspecs.patch
index 93692699dc..93692699dc 100644
--- a/packages/qt4/qt4-x11-free-4.3.3/0005-fix-mkspecs.patch
+++ b/packages/qt4/files/0005-fix-mkspecs.patch
diff --git a/packages/qt4/qtopia-core-4.3.3/.mtn2git_empty b/packages/qt4/qtopia-core-4.3.3/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/qt4/qtopia-core-4.3.3/.mtn2git_empty
diff --git a/packages/qt4/qtopia-core-4.3.3/0006-freetype-host-includes.patch b/packages/qt4/qtopia-core-4.3.3/0006-freetype-host-includes.patch
new file mode 100644
index 0000000000..cc8e115fee
--- /dev/null
+++ b/packages/qt4/qtopia-core-4.3.3/0006-freetype-host-includes.patch
@@ -0,0 +1,23 @@
+From c9ab62bd9a56643574b3ae6e59e0ca776d4860d2 Mon Sep 17 00:00:00 2001
+From: Michael Krelin <hacker@klever.net>
+Date: Mon, 4 Jun 2007 14:48:50 +0200
+Subject: [PATCH] freetype host includes
+
+---
+ config.tests/unix/freetype/freetype.pri | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/config.tests/unix/freetype/freetype.pri b/config.tests/unix/freetype/freetype.pri
+index 84974bf..ab9a6f2 100644
+--- a/config.tests/unix/freetype/freetype.pri
++++ b/config.tests/unix/freetype/freetype.pri
+@@ -1,5 +1,5 @@
+ !cross_compile {
+- TRY_INCLUDEPATHS = /include /usr/include $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH
++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$QMAKE_INCDIR_X11 $$INCLUDEPATH
+ for(p, TRY_INCLUDEPATHS) {
+ p = $$join(p, "", "", "/freetype2")
+ exists($$p):INCLUDEPATH *= $$p
+--
+1.5.0.7
+
diff --git a/packages/qt4/qtopia-core-4.3.3/0007-openssl-host-includes.patch b/packages/qt4/qtopia-core-4.3.3/0007-openssl-host-includes.patch
new file mode 100644
index 0000000000..35b71d9694
--- /dev/null
+++ b/packages/qt4/qtopia-core-4.3.3/0007-openssl-host-includes.patch
@@ -0,0 +1,23 @@
+From d45943adb443ad4b85ca4504952dee743c675e1e Mon Sep 17 00:00:00 2001
+From: Michael Krelin <hacker@klever.net>
+Date: Mon, 4 Jun 2007 14:58:34 +0200
+Subject: [PATCH] openssl host includes
+
+---
+ config.tests/unix/openssl/openssl.pri | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/config.tests/unix/openssl/openssl.pri b/config.tests/unix/openssl/openssl.pri
+index 756e5fe..19b4061 100644
+--- a/config.tests/unix/openssl/openssl.pri
++++ b/config.tests/unix/openssl/openssl.pri
+@@ -1,5 +1,5 @@
+ !cross_compile {
+- TRY_INCLUDEPATHS = /include /usr/include /usr/local/include $$QMAKE_INCDIR $$INCLUDEPATH
++ TRY_INCLUDEPATHS = $$QMAKE_INCDIR $$INCLUDEPATH
+ for(p, TRY_INCLUDEPATHS) {
+ pp = $$join(p, "", "", "/openssl")
+ exists($$pp):INCLUDEPATH *= $$p
+--
+1.5.0.7
+
diff --git a/packages/qt4/qtopia-core.inc b/packages/qt4/qtopia-core.inc
index 92d61b0776..d21968cc4b 100644
--- a/packages/qt4/qtopia-core.inc
+++ b/packages/qt4/qtopia-core.inc
@@ -6,6 +6,7 @@ HOMEPAGE = "http://www.trolltech.com"
DEPENDS += "tslib"
SRC_URI = "ftp://ftp.trolltech.com/qt/source/qtopia-core-opensource-src-${PV}.tar.gz \
+ 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"
diff --git a/packages/qt4/qtopia-core/0004-no-qmake.patch b/packages/qt4/qtopia-core/0004-no-qmake.patch
new file mode 100644
index 0000000000..28f8d3ad9d
--- /dev/null
+++ b/packages/qt4/qtopia-core/0004-no-qmake.patch
@@ -0,0 +1,25 @@
+From f5a73ce944240de9013cc23288c115e8213add5e Mon Sep 17 00:00:00 2001
+From: Michael Krelin <hacker@klever.net>
+Date: Sat, 2 Jun 2007 16:06:59 +0200
+Subject: [PATCH] no qmake
+
+---
+ configure | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure b/configure
+index b3c2a52..1901e57 100755
+--- a/configure
++++ b/configure
+@@ -3517,7 +3517,7 @@ END {
+ }
+
+ # build qmake
+-if true; then ###[ '!' -f "$outpath/bin/qmake" ];
++if false; then ###[ '!' -f "$outpath/bin/qmake" ];
+ echo "Creating qmake. Please wait..."
+
+ OLD_QCONFIG_H=
+--
+1.5.0.7
+
diff --git a/packages/qt4/qtopia-core_4.3.3.bb b/packages/qt4/qtopia-core_4.3.3.bb
index 65f0203ea0..b903e2b06a 100644
--- a/packages/qt4/qtopia-core_4.3.3.bb
+++ b/packages/qt4/qtopia-core_4.3.3.bb
@@ -1 +1,4 @@
require qtopia-core.inc
+SRC_URI += " \
+ file://0006-freetype-host-includes.patch;patch=1 \
+ file://0007-openssl-host-includes.patch;patch=1 "