From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: "Björn Krombholz" <b.krombholz@pironex.de>
Subject: Re: [meta-oe][PATCH 1/1] qwt-e: qwt 6.1.0 FTBFS fix for qt-embedded targets
Date: Fri, 11 Apr 2014 20:20:42 +0200 [thread overview]
Message-ID: <20140411182042.GU2132@jama> (raw)
In-Reply-To: <1397233423-26218-1-git-send-email-b.krombholz@pironex.de>
[-- Attachment #1: Type: text/plain, Size: 3692 bytes --]
On Fri, Apr 11, 2014 at 06:23:43PM +0200, Björn Krombholz wrote:
> - qwt 6.1.0 changed the handling of the QT_INFIX variable. Builds with any
> QT_INFIX defined will fail as the generated qmake TARGET is always
> libqwt.* ignoring the INFIX, but sub-projects like designer respect the
> INFIX variable.
> - add PR/INC_PR to force recompile.
We're not using PR/INC_PR anymore, it will recompile because of
signature change (OEBasicHash) and package version should be incremented
by PR service.
So please send v2 without adding PR/INC_PR.
> Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
> ---
> for yocto-1.4 branch, 1.5 is still on qwt 6.0.1
> meta-oe/recipes-qt/qwt/files/qwt-e_qt_infix.patch | 13 +++++++++++++
> meta-oe/recipes-qt/qwt/qwt-e_6.1.0.bb | 2 ++
> meta-oe/recipes-qt/qwt/qwt.inc | 5 ++++-
> meta-oe/recipes-qt/qwt/qwt_6.1.0.bb | 2 ++
> 4 files changed, 21 insertions(+), 1 deletion(-)
> create mode 100644 meta-oe/recipes-qt/qwt/files/qwt-e_qt_infix.patch
>
> diff --git a/meta-oe/recipes-qt/qwt/files/qwt-e_qt_infix.patch b/meta-oe/recipes-qt/qwt/files/qwt-e_qt_infix.patch
> new file mode 100644
> index 0000000..3a6fb64
> --- /dev/null
> +++ b/meta-oe/recipes-qt/qwt/files/qwt-e_qt_infix.patch
> @@ -0,0 +1,13 @@
> +Index: qwt-6.1.0/qwtfunctions.pri
> +===================================================================
> +--- qwt-6.1.0.orig/qwtfunctions.pri 2014-04-11 16:25:59.291152505 +0200
> ++++ qwt-6.1.0/qwtfunctions.pri 2014-04-11 16:26:25.749892402 +0200
> +@@ -12,7 +12,7 @@
> + defineReplace(qwtLibraryTarget) {
> +
> + unset(LIBRARY_NAME)
> +- LIBRARY_NAME = $$1
> ++ LIBRARY_NAME = $$1$${QT_LIBINFIX}
> +
> + mac:contains(QWT_CONFIG, QwtFramework) {
> +
> diff --git a/meta-oe/recipes-qt/qwt/qwt-e_6.1.0.bb b/meta-oe/recipes-qt/qwt/qwt-e_6.1.0.bb
> index 7694514..3d46a7a 100644
> --- a/meta-oe/recipes-qt/qwt/qwt-e_6.1.0.bb
> +++ b/meta-oe/recipes-qt/qwt/qwt-e_6.1.0.bb
> @@ -2,6 +2,8 @@ inherit qt4e
>
> require qwt.inc
>
> +PR = "${INC_PR}.0"
> +
> SRC_URI[qwt.md5sum] = "aef0437b37f191067a6a9dc01c30ba64"
> SRC_URI[qwt.sha256sum] = "a7e3d9f1db917d186a973c5f04a316bc9607c7c35794d7a16de323aba5e17402"
>
> diff --git a/meta-oe/recipes-qt/qwt/qwt.inc b/meta-oe/recipes-qt/qwt/qwt.inc
> index 0ac71bf..bc65db6 100644
> --- a/meta-oe/recipes-qt/qwt/qwt.inc
> +++ b/meta-oe/recipes-qt/qwt/qwt.inc
> @@ -5,8 +5,11 @@ SECTION = "libs"
> LICENSE = "QWTv1.0"
> LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88"
>
> +INC_PR = "r1"
> +
> SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt/6.1.0/qwt-${PV}.tar.bz2;name=qwt \
> - file://qwt6-fix-linking-with-ld-gold.patch"
> + file://qwt6-fix-linking-with-ld-gold.patch \
> + file://qwt-e_qt_infix.patch "
>
> S = "${WORKDIR}/qwt-${PV}"
>
> diff --git a/meta-oe/recipes-qt/qwt/qwt_6.1.0.bb b/meta-oe/recipes-qt/qwt/qwt_6.1.0.bb
> index 97a53a8..eb12c1a 100644
> --- a/meta-oe/recipes-qt/qwt/qwt_6.1.0.bb
> +++ b/meta-oe/recipes-qt/qwt/qwt_6.1.0.bb
> @@ -2,6 +2,8 @@ inherit qt4x11
>
> require qwt.inc
>
> +PR = "${INC_PR}.0"
> +
> SRC_URI[qwt.md5sum] = "aef0437b37f191067a6a9dc01c30ba64"
> SRC_URI[qwt.sha256sum] = "a7e3d9f1db917d186a973c5f04a316bc9607c7c35794d7a16de323aba5e17402"
>
> --
> 1.9.2
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
next prev parent reply other threads:[~2014-04-11 18:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-11 16:23 [meta-oe][PATCH 1/1] qwt-e: qwt 6.1.0 FTBFS fix for qt-embedded targets Björn Krombholz
2014-04-11 18:20 ` Martin Jansa [this message]
2014-04-14 13:28 ` Martin Jansa
2014-04-14 15:07 ` Björn Krombholz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140411182042.GU2132@jama \
--to=martin.jansa@gmail.com \
--cc=b.krombholz@pironex.de \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.