[oe] [meta-qt5][dylan][PATCH] qtwebkit 5.0.2: fix QA issue (bad RPATH)
Martin Jansa
martin.jansa at gmail.com
Mon Sep 23 08:06:51 UTC 2013
On Mon, Sep 23, 2013 at 12:29:36AM -0400, Trevor Woerner wrote:
> Building qtwebkit would cause a QA issue (which, in my distro, would cause a
> build error) such that QtWebPluginProcess and QtWebProcess would contain bad
> RPATHs which pointed into the build location. This fix adds a patch to not
> include the rpath.prf which leads to this problem.
Could you send patch for master/dora first and then backport it to
dylan? Otherwise I'll do it, but it will take a bit more time.
>
> Signed-off-by: Trevor Woerner <trevor.woerner at linaro.org>
> ---
> recipes-qt/qt5/qtwebkit-5.0.2/rpath.patch | 12 ++++++++++++
> recipes-qt/qt5/qtwebkit_5.0.2.bb | 3 +++
> 2 files changed, 15 insertions(+)
> create mode 100644 recipes-qt/qt5/qtwebkit-5.0.2/rpath.patch
>
> diff --git a/recipes-qt/qt5/qtwebkit-5.0.2/rpath.patch b/recipes-qt/qt5/qtwebkit-5.0.2/rpath.patch
> new file mode 100644
> index 0000000..f74a5cf
> --- /dev/null
> +++ b/recipes-qt/qt5/qtwebkit-5.0.2/rpath.patch
> @@ -0,0 +1,12 @@
> +diff -urN qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/features/unix/default_post.prf qtwebkit-opensource-src-5.0.2__new/Tools/qmake/mkspecs/features/unix/default_post.prf
> +--- qtwebkit-opensource-src-5.0.2/Tools/qmake/mkspecs/features/unix/default_post.prf 2013-04-08 20:11:53.000000000 -0400
> ++++ qtwebkit-opensource-src-5.0.2__new/Tools/qmake/mkspecs/features/unix/default_post.prf 2013-09-22 22:37:51.096270035 -0400
> +@@ -32,8 +32,6 @@
> + QMAKE_OBJECTIVE_CFLAGS += -Wno-c++11-extensions -Wno-c++0x-extensions
> + }
> +
> +-contains(TEMPLATE, app): CONFIG += rpath
> +-
> + isEqual(QT_ARCH,i386):CONFIG(debug, debug|release) {
> + # Make ld not cache the symbol tables of input files in memory to avoid memory exhaustion during the linking phase.
> + config_gnuld: QMAKE_LFLAGS += -Wl,--no-keep-memory
> diff --git a/recipes-qt/qt5/qtwebkit_5.0.2.bb b/recipes-qt/qt5/qtwebkit_5.0.2.bb
> index 4d2f34d..1cad62b 100644
> --- a/recipes-qt/qt5/qtwebkit_5.0.2.bb
> +++ b/recipes-qt/qt5/qtwebkit_5.0.2.bb
> @@ -2,6 +2,9 @@ require qt5-${PV}.inc
> require ${PN}.inc
>
> PR = "${INC_PR}.0"
> +SRC_URI += "\
> + file://rpath.patch\
> + "
>
> SRC_URI[md5sum] = "85aad9f287910c21c8464d7d1ea010a9"
> SRC_URI[sha256sum] = "6ff4038f8db68be51661d1a6646f510b26f6ebbecbdeefb76cd8361f808768f6"
> --
> 1.8.4.rc3.1.gc1ebd90
>
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130923/2221c58e/attachment-0002.sig>
More information about the Openembedded-devel
mailing list