From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by mail.openembedded.org (Postfix) with ESMTP id EE93B6A2F4 for ; Mon, 10 Jun 2013 13:14:05 +0000 (UTC) Received: from e6520eb (pac33-2-82-240-38-71.fbx.proxad.net [82.240.38.71]) (Authenticated sender: eukrea) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 39E314B022A; Mon, 10 Jun 2013 15:13:58 +0200 (CEST) Date: Mon, 10 Jun 2013 15:13:56 +0200 From: Eric =?UTF-8?B?QsOpbmFyZA==?= To: Nicolas Dechesne Message-ID: <20130610151356.16549ecd@e6520eb> In-Reply-To: References: <2326207.iuBVrRrsbt@helios> <20130610145952.779c05a0@e6520eb> Organization: =?UTF-8?B?RXVrcsOpYQ==?= Electromatique X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: Paul Eggleton , Patches and discussions about the oe-core layer Subject: Re: qt4-embedded - image size X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jun 2013 13:14:07 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Mon, 10 Jun 2013 15:07:01 +0200, Nicolas Dechesne a =C3=A9crit : > On Mon, Jun 10, 2013 at 2:59 PM, Eric B=C3=A9nard wrote: >=20 > > Hi Nicolas, > > > > Le Mon, 10 Jun 2013 14:10:15 +0200, > > Nicolas Dechesne a =C3=A9crit : > > > > > On Mon, Jun 10, 2013 at 1:19 PM, John Stirling > > > wrote: > > > > > > > You suggest just cutting it down to > > > > > > > > IMAGE_INSTALL +=3D " \ > > > > qtui \ > > > > " > > > > and it should work itself out ? > > > > > > > > this will work but if you need plugins they will be missing as only the > > linked libraries will be automatically integrated. > > > > > > > > hi, i have observed the same issue, and I used the following > > 'workaround': > > > > > > BAD_RECOMMENDATIONS =3D " \ > > > qt4-embedded-demos \ > > > qt4-embedded-examples \ > > > qt4-embedded-demos-doc \ > > > qt4-embedded-tools \ > > > qt4-embedded-assistant \ > > > " > > > which I added in my image recipe, that would ensure that the packages > > which > > > are RECOMMENDS don't get installed in the final image. > > > > > > I would be happy to use another (nicer?) method, too. > > > > > > check packagegroup-core-qt4e.bb and remove : > > qt4-embedded-demos \ > > qt4-embedded-examples \ > > qt-demo-init \ > > qt4-embedded-assistant \ > > > > (and also the plugins & libs you may not need) > > > > FWIW I'm using this to build a quite full featured qt4e base image : > > RDEPENDS_append +=3D " \ > > qt4-embedded \ > > " > > > > QT_INSTALL =3D " \ > > libqt-embedded3support4 \ > > libqt-embeddedclucene4 \ > > libqt-embeddedcore4 \ > > libqt-embeddedgui4 \ > > libqt-embeddednetwork4 \ > > libqt-embeddedsvg4 \ > > libqt-embeddedsql4 \ > > libqt-embeddedxml4 \ > > libqt-embeddedxmlpatterns4 \ > > libqt-embeddedwebkit4 \ > > libqt-embeddedscripttools4 \ > > libqt-embeddedtest4 \ > > libqt-embeddedmultimedia4 \ > > libqt-embeddedhelp4 \ > > libqt-embeddeddeclarative4 \ > > libqt-embeddeddbus4 \ > > libqt-embeddedphonon4 \ > > \ > > qt4-embedded-fonts-ttf-vera \ > > qt4-embedded-fonts-ttf-dejavu \ > > qt4-embedded-plugin-mousedriver-tslib \ > > qt4-embedded-plugin-sqldriver-sqlite2 \ > > qt4-embedded-plugin-sqldriver-sqlite \ > > qt4-embedded-plugin-phonon-backend-gstreamer \ > > qt4-embedded-plugin-iconengine-svgicon \ > > qt4-embedded-plugin-imageformat-gif \ > > qt4-embedded-plugin-imageformat-ico \ > > qt4-embedded-plugin-imageformat-jpeg \ > > qt4-embedded-plugin-imageformat-mng \ > > qt4-embedded-plugin-imageformat-svg \ > > qt4-embedded-plugin-imageformat-tiff \ > > sqlite3 \ > > " > > > > QWT_INSTALL =3D " \ > > qwt-e \ > > " > > > > IMAGE_INSTALL +=3D "\ > > ${QT_INSTALL} \ > > ${QWT_INSTALL} \ > > " > > > > and I add this when I want the examples : > > IMAGE_INSTALL +=3D "\ > > qt4-embedded-demos qt4-embedded-examples qt-demo-init \ > > qwt-e-examples \ > > " > > (qt-demo-init is a homemade init script). > > >=20 > hi Eric, >=20 > thanks for your answer. so, yes I kind of figured out I could do that. But > in fact I was hoping that re-using the existing packagegroup from oe-core > *should* be the right thing to do, instead of re-implementing another one. > and perhaps the packagegroup being called core-qt4e should be restricted = to > 'core' components, and we could have 1 (or more) additional packagegroups > that could be pulled into images, instead? otherwise what's the point of > having a 'core QT4e packagegroup' if it's not suitable for any real usage? true, I'll cook & test a split of the packagegroup to make the examples & demos optional Eric