From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f54.google.com (mail-wg0-f54.google.com [74.125.82.54]) by mail.openembedded.org (Postfix) with ESMTP id A8C0F609B2 for ; Thu, 8 Jan 2015 19:48:15 +0000 (UTC) Received: by mail-wg0-f54.google.com with SMTP id z12so4488369wgg.13 for ; Thu, 08 Jan 2015 11:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=C5IDtanJ7G6XYInfXtQk2kZ5W1gRkw+s91p9Qi/yC6c=; b=ssd1J6ZYEfqixEkRJSjcPvI4A4C7poe8pWtrX4lp8u+ER8TZ4bEA/lmdopf3uKwb/s 3KF0b0wxZ94ZdVl9B+VeAnrLYmVaqB7AgoU3/WsOWSsdgjwnidZPnW92zK+JZyllkUis WLXlEJJIQOP0TVeah0cfWZmq+z/Y6OdZPpW+QvII6z+DCweOzDkq8VkUOSXVZFnu7keC v2rbCrItFxp+nQUQJn272mQWqoJGNtWO/eV3oPP/YkziLMFXqB2eOHNXijjrBuY8vHod /qSbXvVD8Ji+dUW+/NLVNY0RXyTwlVl1OtC5lNLbSXeOafWTIfubDh+3b9FHTkLT4tVx 35Mw== X-Received: by 10.194.71.203 with SMTP id x11mr23035968wju.131.1420746495303; Thu, 08 Jan 2015 11:48:15 -0800 (PST) Received: from localhost (ip-89-176-104-3.net.upcbroadband.cz. [89.176.104.3]) by mx.google.com with ESMTPSA id bo3sm7341667wjb.44.2015.01.08.11.48.13 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jan 2015 11:48:14 -0800 (PST) From: Martin Jansa X-Google-Original-From: Martin Jansa Date: Thu, 8 Jan 2015 20:48:18 +0100 To: openembedded-devel@lists.openembedded.org Message-ID: <20150108194818.GM3972@jama> References: <20150108113605.GF3972@jama> MIME-Version: 1.0 In-Reply-To: <20150108113605.GF3972@jama> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: kkelly87 Subject: Re: [meta-qt5][PATCH] qttranslations: adding recipes for qt specific translations X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jan 2015 19:48:19 -0000 X-Groupsio-MsgNum: 53771 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9pS2hy4/DrI8BQlq" Content-Disposition: inline --9pS2hy4/DrI8BQlq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 08, 2015 at 12:36:05PM +0100, Martin Jansa wrote: > On Wed, Jan 07, 2015 at 03:05:15PM -0500, kkelly87 wrote: > > The meta-qt5 layer is missing a recipe for the qttranslation submodule = so qt specific items like > > the OK or Cancel button had no associated translations. This submission= is for master while my previous patch > > will work as a backport to dizzy. > >=20 > > Signed-off-by: Kevin Kelly > > --- > > recipes-qt/qt5/qttranslations.inc | 85 ++++++++++++++++++++++++++= ++++++++ > > recipes-qt/qt5/qttranslations_5.4.0.bb | 5 ++ > > recipes-qt/qt5/qttranslations_git.bb | 4 ++ > > 3 files changed, 94 insertions(+) > > create mode 100644 recipes-qt/qt5/qttranslations.inc > > create mode 100644 recipes-qt/qt5/qttranslations_5.4.0.bb > > create mode 100644 recipes-qt/qt5/qttranslations_git.bb > >=20 > > diff --git a/recipes-qt/qt5/qttranslations.inc b/recipes-qt/qt5/qttrans= lations.inc > > new file mode 100644 > > index 0000000..1aca7e2 > > --- /dev/null > > +++ b/recipes-qt/qt5/qttranslations.inc > > @@ -0,0 +1,85 @@ > > +require qt5.inc > > + > > +DEPENDS +=3D "qtbase" One more change in master-next.. this needs to have qttools-native dependency, otherwise fails like this: | lrelease /OE/build/oe-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/qttran= slations/5.4.0-r0/qttranslations-opensource-src-5.4.0/translations/assistan= t_de.ts | /bin/sh: /OE/build/oe-core/tmp-glibc/sysroots/x86_64-linux/usr/bin/qt5/lr= elease: No such file or directory | Makefile:792: recipe for target 'assistant_de.qm' failed | make[1]: *** [assistant_de.qm] Error 127 > > + > > +# older copyright year than what e.g. qtbase is using now >=20 > This comment isn't correct for 5.4, will fix when cherry-picking to > master-next. >=20 > > +LIC_FILES_CHKSUM =3D "file://LICENSE.LGPLv21;md5=3Dcff17b12416c896e10a= e2c17a64252e7 \ > > + file://LICENSE.LGPLv3;md5=3Dc1939be5579666be947371= bc8120425f \ > > + file://LGPL_EXCEPTION.txt;md5=3D0145c4d1b6f96a661c= 2c139dfb268fb6"=20 > > + > > +PACKAGES =3D. "${PN}-assistant \ > > + ${PN}-designer \ > > + ${PN}-linguist \ > > + ${PN}-qmlviewer \ > > + ${PN}-qtconnectivity \ > > + ${PN}-qtmultimedia \ > > + ${PN}-qtlocation \ > > + ${PN}-qtdeclarative \ > > + ${PN}-qtxmlpatterns \ > > + ${PN}-qtconfig \ > > + ${PN}-qtquick1 \ > > + ${PN}-qtscript \ > > + ${PN}-qtbase \ > > + ${PN}-qthelp \ > > + ${PN}-qt \ > > + " > > + > > +FILES_${PN}-assistant =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/assistant_*.qm \ > > + " >=20 > I've also fixed indentation (to use 4 spaces and " as first character) >=20 > > + > > +FILES_${PN}-designer =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/designer_*.qm \ > > + " > > + > > +FILES_${PN}-linguist =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/linguist_*.qm \ > > + " > > + > > +FILES_${PN}-qmlviewer =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qmlviewer_*.qm \ > > + " > > + > > +FILES_${PN}-qtconnectivity =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtconnectivity_*.qm \ > > + " > > + > > +FILES_${PN}-qtmultimedia =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtmultimedia_*.qm \ > > + " > > + > > +FILES_${PN}-qtlocation =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtlocation_*.qm \ > > + " > > + > > +FILES_${PN}-qtdeclarative =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtdeclarative_*.qm \ > > + " > > + > > +FILES_${PN}-qtxmlpatterns =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtxmlpatterns_*.qm \ > > + " > > + > > +FILES_${PN}-qtconfig =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtconfig_*.qm \ > > + " > > + > > +FILES_${PN}-qtquick1 =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtquick1_*.qm \ > > + " > > + > > +FILES_${PN}-qtscript =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtscript_*.qm \ > > + " > > + > > +FILES_${PN}-qtbase =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qtbase_*.qm \ > > + " > > + > > +FILES_${PN}-qthelp =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qt_help_*.qm \ > > + " > > + > > +FILES_${PN}-qt =3D " \ > > + ${OE_QMAKE_PATH_TRANSLATIONS}/qt_*.qm \ > > + " > > diff --git a/recipes-qt/qt5/qttranslations_5.4.0.bb b/recipes-qt/qt5/qt= translations_5.4.0.bb > > new file mode 100644 > > index 0000000..2e3a284 > > --- /dev/null > > +++ b/recipes-qt/qt5/qttranslations_5.4.0.bb > > @@ -0,0 +1,5 @@ > > +require qt5-${PV}.inc > > +require ${PN}.inc > > + > > +SRC_URI[md5sum] =3D "6462eeefae00f048418ed6e4571c4cc9" > > +SRC_URI[sha256sum] =3D "aca78d9178481a21a7af8571beb9109b38f0f71ba75cf3= b89ddf705962a3f98b" > > diff --git a/recipes-qt/qt5/qttranslations_git.bb b/recipes-qt/qt5/qttr= anslations_git.bb > > new file mode 100644 > > index 0000000..211b211 > > --- /dev/null > > +++ b/recipes-qt/qt5/qttranslations_git.bb > > @@ -0,0 +1,4 @@ > > +require qt5-git.inc > > +require ${PN}.inc > > + > > +SRCREV =3D "3aad4ab4718d4bf952275a07e406e93eb6a22eed" >=20 > This revision isn't in 5.4 branch but from 5.4.0, will change it to > b9481cffeb41ceb9363b7be850bd9cd172b313be to fix do_fetch. >=20 > Similar changes will be needed in dizzy version. >=20 > --=20 > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --=20 Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --9pS2hy4/DrI8BQlq Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlSu3wIACgkQN1Ujt2V2gBy4WQCfcCXJLtM2yaIX9vA4eHmx2YaE ktYAoJT/+vwqLGp3sKOrHycvHvTuivxd =DFBM -----END PGP SIGNATURE----- --9pS2hy4/DrI8BQlq--