packages/qt4/: Share some more patches (no host includes, cross-compile) between...
authorHolger Freyther <zecke@selfish.org>
Wed, 26 Dec 2007 01:11:20 +0000 (01:11 +0000)
committerHolger Freyther <zecke@selfish.org>
Wed, 26 Dec 2007 01:11:20 +0000 (01:11 +0000)
    -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)

packages/qt4/files/.mtn2git_empty [new file with mode: 0644]
packages/qt4/files/0001-cross-compile.patch [moved from packages/qt4/qt4-x11-free-4.3.3/0001-cross-compile.patch with 100% similarity]
packages/qt4/files/0003-no-tools.patch [moved from packages/qt4/qt4-x11-free-4.3.3/0003-no-tools.patch with 100% similarity]
packages/qt4/files/0005-fix-mkspecs.patch [moved from packages/qt4/qt4-x11-free-4.3.3/0005-fix-mkspecs.patch with 100% similarity]
packages/qt4/qtopia-core-4.3.3/.mtn2git_empty [new file with mode: 0644]
packages/qt4/qtopia-core-4.3.3/0006-freetype-host-includes.patch [new file with mode: 0644]
packages/qt4/qtopia-core-4.3.3/0007-openssl-host-includes.patch [new file with mode: 0644]
packages/qt4/qtopia-core.inc
packages/qt4/qtopia-core/0004-no-qmake.patch [new file with mode: 0644]
packages/qt4/qtopia-core_4.3.3.bb

diff --git a/packages/qt4/files/.mtn2git_empty b/packages/qt4/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
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 (file)
index 0000000..e69de29
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 (file)
index 0000000..cc8e115
--- /dev/null
@@ -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 (file)
index 0000000..35b71d9
--- /dev/null
@@ -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
+
index 92d61b0..d21968c 100644 (file)
@@ -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 (file)
index 0000000..28f8d3a
--- /dev/null
@@ -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
+
index 65f0203..b903e2b 100644 (file)
@@ -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 "