qtbase: refresh patches
authorMartin Jansa <Martin.Jansa@gmail.com>
Tue, 28 May 2013 10:47:20 +0000 (12:47 +0200)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:44:39 +0000 (08:44 -0800)
* all patches applied in recipes should be also applied in
  https://github.com/meta-qt5/qtbase branches to make it
  easier to upgrade to new version without loosing any
  patches
* apply:
  0013-Disable-mkv8snapshot.patch
  0014-enables-tslib-device-to-be-read-from-env-variable.patch
  0015-qtbase-allow-build-of-examples.patch
  also for git version, only
  0016-configure-add-tslib-support.patch
  is now 5.0.2 specific (similar patch already applied in stable branch)

(From meta-qt5 rev: 1496c6ba34bf95bce67504c72edace1bc2c0a64e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
34 files changed:
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0003-Add-external-hostbindir-option.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0004-qt_functions-temporary-remove-isEmpty-check.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0005-qmake-is-already-built-in-qtbase-native.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0006-Allow-building-a-separate-qmake-for-the-target.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0008-qt_module-Fix-pkgconfig-replacement.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0009-qt_module-Fix-paths-in-.prl-files.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0010-wayland-scanner-disable-silent-rules.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0013-Disable-mkv8snapshot.patch [moved from meta-qt5/recipes-qt/qt5/qtbase/0004-Disable-mkv8snapshot.patch with 82% similarity]
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0014-enables-tslib-device-to-be-read-from-env-variable.patch [moved from meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0001-enables-tslib-device-to-be-read-from-env-variable.patch with 88% similarity]
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0015-qtbase-allow-build-of-examples.patch [moved from meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0001-qtbase-allow-build-of-examples.patch with 92% similarity]
meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0016-configure-add-tslib-support.patch [moved from meta-qt5/recipes-qt/qt5/qtbase-5.0.2/0001-configure-add-tslib-support.patch with 86% similarity]
meta-qt5/recipes-qt/qt5/qtbase-git/0001-Add-linux-oe-g-platform.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0003-Add-external-hostbindir-option.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0004-qt_functions-temporary-remove-isEmpty-check.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0005-qmake-is-already-built-in-qtbase-native.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0006-Allow-building-a-separate-qmake-for-the-target.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0007-configureapp-Prefix-default-LIBDIRS-and-INCDIRS-with.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0008-qt_module-Fix-pkgconfig-replacement.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0009-qt_module-Fix-paths-in-.prl-files.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0010-wayland-scanner-disable-silent-rules.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch
meta-qt5/recipes-qt/qt5/qtbase-git/0013-Disable-mkv8snapshot.patch [new file with mode: 0644]
meta-qt5/recipes-qt/qt5/qtbase-git/0014-enables-tslib-device-to-be-read-from-env-variable.patch [new file with mode: 0644]
meta-qt5/recipes-qt/qt5/qtbase-git/0015-qtbase-allow-build-of-examples.patch [new file with mode: 0644]
meta-qt5/recipes-qt/qt5/qtbase-native.inc
meta-qt5/recipes-qt/qt5/qtbase.inc
meta-qt5/recipes-qt/qt5/qtbase_5.0.2.bb

index eaa6451..1d74b3f 100644 (file)
@@ -1,7 +1,7 @@
 From d64321c240cbb949b9e55e2cd448c78bf9865c56 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Mon, 15 Apr 2013 04:29:32 +0200
-Subject: [PATCH 01/12] Add linux-oe-g++ platform
+Subject: [PATCH 01/16] Add linux-oe-g++ platform
 
 * This qmake.conf unlike other platforms reads most variables from
   shell environment, because it's easier for qt recipes to export
index 38aeb22..e741ca1 100644 (file)
@@ -1,7 +1,7 @@
 From 542325db6c9e9e2ffc2390b8eb1f8b16e674ca41 Mon Sep 17 00:00:00 2001
 From: Holger Freyther <zecke@selfish.org>
 Date: Wed, 26 Sep 2012 17:22:30 +0200
-Subject: [PATCH 02/12] qlibraryinfo: allow to set qt.conf from the outside
+Subject: [PATCH 02/16] qlibraryinfo: allow to set qt.conf from the outside
  using the environment
 
 Allow to set a qt.conf from the outside using the environment. This allows
index cd63c44..2ade179 100644 (file)
@@ -1,7 +1,7 @@
 From 943c30aa55fbf1e330e7c987e989ddbd656e69c0 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sat, 6 Apr 2013 13:15:07 +0200
-Subject: [PATCH 03/12] Add -external-hostbindir option
+Subject: [PATCH 03/16] Add -external-hostbindir option
 
 * when cross-compiling it's sometimes useful to use existing tools from machine
   (or in OpenEmbedded built with separate native recipe) when building for target
index 7941ef9..572d25c 100644 (file)
@@ -1,7 +1,7 @@
 From 2a3c7bb40de7ae8f060e69bdaa77522172101f00 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Wed, 17 Apr 2013 18:06:25 +0200
-Subject: [PATCH 04/12] qt_functions: temporary remove isEmpty check
+Subject: [PATCH 04/16] qt_functions: temporary remove isEmpty check
 
 * now we assume that every build will provide QT_EXTERNAL_HOST_BINS value
 * isEmpty works correctly only with qmake variables (e.g. $$FOO -
index d2418fc..b2121cf 100644 (file)
@@ -1,7 +1,7 @@
 From 7b37f7fa8c68c1807eeb45936154a42c34cda666 Mon Sep 17 00:00:00 2001
 From: Michael Krelin <hacker@klever.net>
 Date: Mon, 29 Oct 2012 20:07:49 -0700
-Subject: [PATCH 05/12] qmake is already built in qtbase-native
+Subject: [PATCH 05/16] qmake is already built in qtbase-native
 
 Ported from OE by: Yu Ke <ke.yu@intel.com>
 Upstream-Status: Inappropriate [configuration]
index fe03edc..9733314 100644 (file)
@@ -1,7 +1,7 @@
 From 76537aca4118f5f7c336b7d17594c9644b6272b5 Mon Sep 17 00:00:00 2001
 From: Paul Eggleton <paul.eggleton@linux.intel.com>
 Date: Mon, 29 Oct 2012 20:26:36 -0700
-Subject: [PATCH 06/12] Allow building a separate qmake for the target
+Subject: [PATCH 06/16] Allow building a separate qmake for the target
 
 Upstream-Status: Inappropriate [config]
 
index 3cfe8c3..0eb735c 100644 (file)
@@ -1,7 +1,7 @@
 From a1d0c7fb8fd689af7d3616ecf5d6aaf5ffd84bc9 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sat, 27 Apr 2013 22:33:33 +0200
-Subject: [PATCH 07/12] configureapp: Prefix default LIBDIRS and INCDIRS with
+Subject: [PATCH 07/16] configureapp: Prefix default LIBDIRS and INCDIRS with
  SYSROOT
 
 Upstream-Status: Pending
index d7c8d35..dee753b 100644 (file)
@@ -1,7 +1,7 @@
 From 8a97079c1b17f27256a4a816e5cc85344c29ac6f Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sat, 27 Apr 2013 23:15:37 +0200
-Subject: [PATCH 08/12] qt_module: Fix pkgconfig replacement
+Subject: [PATCH 08/16] qt_module: Fix pkgconfig replacement
 
 * in situation like this:
   QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm
index 13112c4..b7f6483 100644 (file)
@@ -1,7 +1,7 @@
 From a70d48880e27586efe5f6aa195385207abf3cead Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sun, 28 Apr 2013 12:56:55 +0200
-Subject: [PATCH 09/12] qt_module: Fix paths in .prl files
+Subject: [PATCH 09/16] qt_module: Fix paths in .prl files
 
 * qmake does not prefix them with QT_SYSROOT when using them
   so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE
index cac2bfe..1e8bfb7 100644 (file)
@@ -1,7 +1,7 @@
 From 505bbe468956de2fdf2f27e8905582fe438d3b35 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sun, 5 May 2013 11:18:34 +0200
-Subject: [PATCH 10/12] wayland-scanner: disable silent rules
+Subject: [PATCH 10/16] wayland-scanner: disable silent rules
 
 * for some reason "$$qtwayland-server-header.commands" on second line gets expanded as -server-header.commands
 
index 9436e39..1cb7e00 100644 (file)
@@ -1,7 +1,7 @@
 From a2439736a0efb80aea1746b0aada551ff63ad7e6 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Wed, 8 May 2013 23:54:35 +0200
-Subject: [PATCH 11/12] configure: don't export SYSTEM_VARIABLES to .qmake.vars
+Subject: [PATCH 11/16] configure: don't export SYSTEM_VARIABLES to .qmake.vars
 
 * linux-oe-g++ should handle this correctly and exporting LD as QMAKE_LINK is
   causing issues as we need g++ to be used as linker
index fe891df..3346566 100644 (file)
@@ -1,7 +1,7 @@
 From dd7756dd5a3c3eb677c3bacce257c1c8bbf03098 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Thu, 9 May 2013 10:06:50 +0200
-Subject: [PATCH 12/12] configure.prf: Allow to add extra arguments to make
+Subject: [PATCH 12/16] configure.prf: Allow to add extra arguments to make
 
 * sometimes we would like to add -e or define some variable and respect it from both
   Makefiles used in configure tests and also Makefiles to build the application
@@ -1,7 +1,7 @@
-From 2719aaabbf29a0f28638e5d67f4d68d548b593a7 Mon Sep 17 00:00:00 2001
+From 78b716520396b5317a8b91dbca183483bea8b1d2 Mon Sep 17 00:00:00 2001
 From: Mikko Levonmaa <mikko.levonmaa@palm.com>
 Date: Tue, 8 Jan 2013 15:58:29 -0800
-Subject: [PATCH] Disable mkv8snapshot
+Subject: [PATCH 13/16] Disable mkv8snapshot
 
 It seems to generate code that throws SIGILL, so disabling it
 
@@ -25,15 +25,15 @@ Program received signal SIGILL, Illegal instruction.
 
 Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
 ---
- configure |    2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure b/configure
-index 89246c8..b7d1cb5 100755
+index 34074ee..ac09bbf 100755
 --- a/configure
 +++ b/configure
-@@ -779,7 +779,7 @@ CFG_BUILD_PARTS=""
- CFG_NOBUILD_PARTS=""
+@@ -799,7 +799,7 @@ CFG_NOBUILD_PARTS=""
+ CFG_SKIP_MODULES=""
  CFG_RELEASE_QMAKE=no
  CFG_AUDIO_BACKEND=auto
 -CFG_V8SNAPSHOT=auto
@@ -42,5 +42,5 @@ index 89246c8..b7d1cb5 100755
  CFG_JAVASCRIPTCORE_JIT=auto
  CFG_PKGCONFIG=auto
 -- 
-1.7.4.1
+1.8.2.1
 
@@ -1,7 +1,7 @@
-From cb7d4b978d7b29e3f4ef5dba1ca1319ccd289a0d Mon Sep 17 00:00:00 2001
+From f8336efd143109c3478e5548360248f99b645548 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
 Date: Mon, 27 May 2013 18:32:37 +0200
-Subject: [PATCH] enables tslib device to be read from env variable
+Subject: [PATCH 14/16] enables tslib device to be read from env variable
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -30,5 +30,5 @@ index 6986fd5..2ed4a69 100644
          device = specification.toLocal8Bit();
  
 -- 
-1.8.1.4
+1.8.2.1
 
@@ -1,7 +1,7 @@
-From 66558b78b5ff8c8ae9fa00a33d1d89285b8e3a00 Mon Sep 17 00:00:00 2001
+From a21c676a69388cd8cdf0bb28184de2bee58def0e Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
 Date: Sat, 25 May 2013 17:34:32 +0200
-Subject: [PATCH] qtbase: allow build of examples
+Subject: [PATCH 15/16] qtbase: allow build of examples
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -45,5 +45,5 @@ index 479a16a..ca1b0c7 100644
 -    }
  }
 -- 
-1.8.1.4
+1.8.2.1
 
@@ -1,7 +1,7 @@
-From b4edefdc1fb5ba67b202fad7df5a8def554d16fd Mon Sep 17 00:00:00 2001
+From 3038a3c7678867f8a7a30de7973d0eca8c0d737f Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
 Date: Mon, 27 May 2013 18:45:03 +0200
-Subject: [PATCH] configure: add tslib support
+Subject: [PATCH 16/16] configure: add tslib support
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
@@ -13,10 +13,10 @@ Signed-off-by: Eric Bénard <eric@eukrea.com>
  2 files changed, 28 insertions(+)
 
 diff --git a/configure b/configure
-index 2ea1ea4..727fed9 100755
+index ac09bbf..f1252a0 100755
 --- a/configure
 +++ b/configure
-@@ -810,6 +810,7 @@ CFG_KMS=auto
+@@ -829,6 +829,7 @@ CFG_KMS=auto
  CFG_LIBUDEV=auto
  CFG_OBSOLETE_WAYLAND=no
  CFG_EVDEV=auto
@@ -24,7 +24,7 @@ index 2ea1ea4..727fed9 100755
  CFG_NIS=auto
  CFG_CUPS=auto
  CFG_ICONV=auto
-@@ -1782,6 +1783,13 @@ while [ "$#" -gt 0 ]; do
+@@ -1805,6 +1806,13 @@ while [ "$#" -gt 0 ]; do
              UNKNOWN_OPT=yes
          fi
          ;;
@@ -38,7 +38,7 @@ index 2ea1ea4..727fed9 100755
      cups)
          if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
              CFG_CUPS="$VAL"
-@@ -4775,6 +4783,22 @@ if [ "$CFG_EVDEV" = "no" ]; then
+@@ -4815,6 +4823,22 @@ if [ "$CFG_EVDEV" = "no" ]; then
      QMakeVar add DEFINES QT_NO_EVDEV
  fi
  
@@ -74,5 +74,5 @@ index 078db2f..18a8295 100644
 +    SUBDIRS += tslib
 +}
 -- 
-1.8.1.4
+1.8.2.1
 
index f55d474..942cc9c 100644 (file)
@@ -1,7 +1,7 @@
 From e45d617fd823f683ed426d09fd8b6edefb9517ab Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Mon, 15 Apr 2013 04:29:32 +0200
-Subject: [PATCH 01/12] Add linux-oe-g++ platform
+Subject: [PATCH 01/15] Add linux-oe-g++ platform
 
 * This qmake.conf unlike other platforms reads most variables from
   shell environment, because it's easier for qt recipes to export
index 0725347..e1087f2 100644 (file)
@@ -1,7 +1,7 @@
 From 4da4d9606efc8d3109296906e5b13814499ae698 Mon Sep 17 00:00:00 2001
 From: Holger Freyther <zecke@selfish.org>
 Date: Wed, 26 Sep 2012 17:22:30 +0200
-Subject: [PATCH 02/12] qlibraryinfo: allow to set qt.conf from the outside
+Subject: [PATCH 02/15] qlibraryinfo: allow to set qt.conf from the outside
  using the environment
 
 Allow to set a qt.conf from the outside using the environment. This allows
index 2a64291..0b98683 100644 (file)
@@ -1,7 +1,7 @@
 From c9bf00e21ae398575adf4411e67b35cdf44920e5 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sat, 6 Apr 2013 13:15:07 +0200
-Subject: [PATCH 03/12] Add -external-hostbindir option
+Subject: [PATCH 03/15] Add -external-hostbindir option
 
 * when cross-compiling it's sometimes useful to use existing tools from machine
   (or in OpenEmbedded built with separate native recipe) when building for target
index 6e69454..77b1c41 100644 (file)
@@ -1,7 +1,7 @@
 From e561978ab73e72d7b088c9927fb6a87d2eff6833 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Wed, 17 Apr 2013 18:06:25 +0200
-Subject: [PATCH 04/12] qt_functions: temporary remove isEmpty check
+Subject: [PATCH 04/15] qt_functions: temporary remove isEmpty check
 
 * now we assume that every build will provide QT_EXTERNAL_HOST_BINS value
 * isEmpty works correctly only with qmake variables (e.g. $$FOO -
index febefb8..d95e0b4 100644 (file)
@@ -1,7 +1,7 @@
 From f42c4156c3e056e9fd2d6b0542662d705efb2722 Mon Sep 17 00:00:00 2001
 From: Michael Krelin <hacker@klever.net>
 Date: Mon, 29 Oct 2012 20:07:49 -0700
-Subject: [PATCH 05/12] qmake is already built in qtbase-native
+Subject: [PATCH 05/15] qmake is already built in qtbase-native
 
 Ported from OE by: Yu Ke <ke.yu@intel.com>
 Upstream-Status: Inappropriate [configuration]
index 4d04c7c..a877846 100644 (file)
@@ -1,7 +1,7 @@
 From 8be64919365240728dcce02fac44e5018aaec191 Mon Sep 17 00:00:00 2001
 From: Paul Eggleton <paul.eggleton@linux.intel.com>
 Date: Mon, 29 Oct 2012 20:26:36 -0700
-Subject: [PATCH 06/12] Allow building a separate qmake for the target
+Subject: [PATCH 06/15] Allow building a separate qmake for the target
 
 Upstream-Status: Inappropriate [config]
 
index a1129f7..f873aae 100644 (file)
@@ -1,7 +1,7 @@
 From 98d14c01a92c5caad2bb0e0b4a097ae11d83b58e Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sat, 27 Apr 2013 22:33:33 +0200
-Subject: [PATCH 07/12] configureapp: Prefix default LIBDIRS and INCDIRS with
+Subject: [PATCH 07/15] configureapp: Prefix default LIBDIRS and INCDIRS with
  SYSROOT
 
 Upstream-Status: Pending
index 1b3c185..4d15ee0 100644 (file)
@@ -1,7 +1,7 @@
 From 1ac376893b75c36cc1ee6465e814546e2215354e Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sat, 27 Apr 2013 23:15:37 +0200
-Subject: [PATCH 08/12] qt_module: Fix pkgconfig replacement
+Subject: [PATCH 08/15] qt_module: Fix pkgconfig replacement
 
 * in situation like this:
   QT_SYSROOT:/OE/oe-core/tmp-eglibc/sysroots/qemuarm
index 1d68efc..8a3ef3c 100644 (file)
@@ -1,7 +1,7 @@
 From 111583f7a46871d130ac1c6688972ebf98452af4 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sun, 28 Apr 2013 12:56:55 +0200
-Subject: [PATCH 09/12] qt_module: Fix paths in .prl files
+Subject: [PATCH 09/15] qt_module: Fix paths in .prl files
 
 * qmake does not prefix them with QT_SYSROOT when using them
   so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE
index cac9bef..5b14c81 100644 (file)
@@ -1,7 +1,7 @@
 From 1224e23a7990ac877265a2736827a98c300a8bf7 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Sun, 5 May 2013 11:18:34 +0200
-Subject: [PATCH 10/12] wayland-scanner: disable silent rules
+Subject: [PATCH 10/15] wayland-scanner: disable silent rules
 
 * for some reason "$$qtwayland-server-header.commands" on second line gets expanded as -server-header.commands
 
index fda6498..2c2360e 100644 (file)
@@ -1,7 +1,7 @@
 From 9ffc6dba623bb44e1787f4e4af13af03f9f7a0d2 Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Wed, 8 May 2013 23:54:35 +0200
-Subject: [PATCH 11/12] configure: don't export SYSTEM_VARIABLES to .qmake.vars
+Subject: [PATCH 11/15] configure: don't export SYSTEM_VARIABLES to .qmake.vars
 
 * linux-oe-g++ should handle this correctly and exporting LD as QMAKE_LINK is
   causing issues as we need g++ to be used as linker
index 7bcfd7f..e6602b4 100644 (file)
@@ -1,7 +1,7 @@
 From 7389b5556de11258d3084ede10c12859353fb13b Mon Sep 17 00:00:00 2001
 From: Martin Jansa <Martin.Jansa@gmail.com>
 Date: Thu, 9 May 2013 10:06:50 +0200
-Subject: [PATCH 12/12] configure.prf: Allow to add extra arguments to make
+Subject: [PATCH 12/15] configure.prf: Allow to add extra arguments to make
 
 * sometimes we would like to add -e or define some variable and respect it from both
   Makefiles used in configure tests and also Makefiles to build the application
diff --git a/meta-qt5/recipes-qt/qt5/qtbase-git/0013-Disable-mkv8snapshot.patch b/meta-qt5/recipes-qt/qt5/qtbase-git/0013-Disable-mkv8snapshot.patch
new file mode 100644 (file)
index 0000000..cd0c059
--- /dev/null
@@ -0,0 +1,47 @@
+From c3e47eeb4dec8348c3a9f2cf9044c568c5334070 Mon Sep 17 00:00:00 2001
+From: Mikko Levonmaa <mikko.levonmaa@palm.com>
+Date: Tue, 8 Jan 2013 15:58:29 -0800
+Subject: [PATCH 13/15] Disable mkv8snapshot
+
+It seems to generate code that throws SIGILL, so disabling it
+
+Program received signal SIGILL, Illegal instruction.
+0x26312c60 in ?? ()
+(gdb) bt
+    function=..., receiver=..., argc=1978934572, args=0x7efff254,
+    has_pending_exception=0x7efff277, qml=...)
+    at ../3rdparty/v8/src/execution.cc:125
+    argc=1, argv=0x7efff254, pending_exception=0x7efff277,
+    convert_receiver=false, qml=...) at ../3rdparty/v8/src/execution.cc:194
+    receiver=<optimized out>, argc=<optimized out>, argv=<optimized out>,
+    pending_exception=0x7efff277, convert_receiver=false)
+    at ../3rdparty/v8/src/execution.cc:161
+    data=<optimized out>, exc=0x7efff277)
+    at ../3rdparty/v8/src/execution.cc:734
+    at ../3rdparty/v8/src/api.cc:4742
+    at qml/v8/qv8contextwrapper.cpp:155
+    ownership=<optimized out>) at qml/v8/qv8engine.cpp:155
+    parent=<optimized out>) at qml/v8/qjsengine.cpp:192
+
+Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ configure | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 9ca23a4..96965b6 100755
+--- a/configure
++++ b/configure
+@@ -899,7 +899,7 @@ CFG_NOBUILD_PARTS=""
+ CFG_SKIP_MODULES=""
+ CFG_RELEASE_QMAKE=no
+ CFG_AUDIO_BACKEND=auto
+-CFG_V8SNAPSHOT=auto
++CFG_V8SNAPSHOT=no
+ CFG_QML_DEBUG=yes
+ CFG_JAVASCRIPTCORE_JIT=auto
+ CFG_PKGCONFIG=auto
+-- 
+1.8.2.1
+
diff --git a/meta-qt5/recipes-qt/qt5/qtbase-git/0014-enables-tslib-device-to-be-read-from-env-variable.patch b/meta-qt5/recipes-qt/qt5/qtbase-git/0014-enables-tslib-device-to-be-read-from-env-variable.patch
new file mode 100644 (file)
index 0000000..e55ac7a
--- /dev/null
@@ -0,0 +1,35 @@
+From 8d037dfbe0b9cffa098c3de7010651590c1d6e6c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
+Date: Mon, 27 May 2013 18:32:37 +0200
+Subject: [PATCH 14/15] enables tslib device to be read from env variable
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+from :
+https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/tslib.patch
+
+Signed-off-by: Eric Bénard <eric@eukrea.com>
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ src/plugins/generic/tslib/qtslib.cpp | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+diff --git a/src/plugins/generic/tslib/qtslib.cpp b/src/plugins/generic/tslib/qtslib.cpp
+index 6986fd5..2ed4a69 100644
+--- a/src/plugins/generic/tslib/qtslib.cpp
++++ b/src/plugins/generic/tslib/qtslib.cpp
+@@ -64,7 +64,9 @@ QTsLibMouseHandler::QTsLibMouseHandler(const QString &key,
+     qDebug() << "QTsLibMouseHandler" << key << specification;
+     setObjectName(QLatin1String("TSLib Mouse Handler"));
+-    QByteArray device = "/dev/input/event1";
++    QByteArray device = qgetenv("TSLIB_TSDEVICE");
++    if(device.isEmpty())
++       device = "/dev/input/event1";
+     if (specification.startsWith("/dev/"))
+         device = specification.toLocal8Bit();
+-- 
+1.8.2.1
+
diff --git a/meta-qt5/recipes-qt/qt5/qtbase-git/0015-qtbase-allow-build-of-examples.patch b/meta-qt5/recipes-qt/qt5/qtbase-git/0015-qtbase-allow-build-of-examples.patch
new file mode 100644 (file)
index 0000000..45a49a6
--- /dev/null
@@ -0,0 +1,49 @@
+From 3d83f570e081e23a6cf6d0ccf57ad8db34c5ca3e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com>
+Date: Sat, 25 May 2013 17:34:32 +0200
+Subject: [PATCH 15/15] qtbase: allow build of examples
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+this revert the following commit :
+
+commit 2b397f985e4ef6ae5c0571a928bb1320fb048c61
+Author: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
+Date:   Fri Dec 21 19:36:12 2012 +0100
+
+    do not actually build examples in production builds
+
+    -developer-build enables an actual build of examples, based on the
+    assumption that developers want to test it (it can be still disabled
+    with -nomake examples). regular users otoh want only the examples
+    sources installed.
+
+    Change-Id: Ifc6a108099929175a3960480802b271a758fdd38
+    Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
+
+Signed-off-by: Eric Bénard <eric@eukrea.com>
+---
+ mkspecs/features/qt_example_installs.prf | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf
+index 479a16a..ca1b0c7 100644
+--- a/mkspecs/features/qt_example_installs.prf
++++ b/mkspecs/features/qt_example_installs.prf
+@@ -92,12 +92,4 @@ probase = $$relative_path($$_PRO_FILE_PWD_, $$dirname(_QMAKE_CONF_)/examples)
+         allfiles -= doc
+         !isEmpty(allfiles): warning("remaining files in $$_PRO_FILE_PWD_: $$allfiles")
+     }
+-
+-    # Do not actually build the examples in production builds with -prefix
+-    !equals(TEMPLATE, subdirs):prefix_build:!contains(QT_CONFIG, private_tests) {
+-        TEMPLATE = aux
+-        CONFIG -= have_target qt staticlib dll
+-        SOURCES =
+-        INSTALLS -= target
+-    }
+ }
+-- 
+1.8.2.1
+
index b50d446..70a3072 100644 (file)
@@ -24,6 +24,9 @@ SRC_URI += " \
     file://0010-wayland-scanner-disable-silent-rules.patch \
     file://0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch \
     file://0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
+    file://0013-Disable-mkv8snapshot.patch \
+    file://0014-enables-tslib-device-to-be-read-from-env-variable.patch \
+    file://0015-qtbase-allow-build-of-examples.patch \
 "
 
 # specific for native version
index f286274..0df3b2a 100644 (file)
@@ -13,6 +13,9 @@ SRC_URI += " \
     file://0010-wayland-scanner-disable-silent-rules.patch \
     file://0011-configure-don-t-export-SYSTEM_VARIABLES-to-.qmake.va.patch \
     file://0012-configure.prf-Allow-to-add-extra-arguments-to-make.patch \
+    file://0013-Disable-mkv8snapshot.patch \
+    file://0014-enables-tslib-device-to-be-read-from-env-variable.patch \
+    file://0015-qtbase-allow-build-of-examples.patch \
 "
 
 DEPENDS += "qtbase-native freetype jpeg libpng zlib openssl glib-2.0 ${ICU} udev ${XCB_DEPENDS} ${GL_DEPENDS} ${TSLIB_DEPENDS}"
index 2cd94dd..c93c012 100644 (file)
@@ -3,11 +3,9 @@ require ${PN}.inc
 
 PR = "${INC_PR}.0"
 
-SRC_URI += "file://0004-Disable-mkv8snapshot.patch \
-    file://0001-qtbase-allow-build-of-examples.patch \
-    file://0001-enables-tslib-device-to-be-read-from-env-variable.patch \
-    file://0001-configure-add-tslib-support.patch \
-    "
+SRC_URI += " \
+    file://0016-configure-add-tslib-support.patch \
+"
 
 SRC_URI[md5sum] = "a4fec8ed03867c4ee4fe5a46001a11f0"
 SRC_URI[sha256sum] = "31851ee2f844c100554506a9a446d4b6abb5270bca799c2a683e5f937456a9c8"