From: "Eric Bénard" <eric@eukrea.com>
To: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>,
Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: qt4-embedded - image size
Date: Mon, 10 Jun 2013 15:13:56 +0200 [thread overview]
Message-ID: <20130610151356.16549ecd@e6520eb> (raw)
In-Reply-To: <CAP71WjxNCrqyvu03V+qQY15y=2X7y_2m4Z9HOXFOJiH_VfbaJg@mail.gmail.com>
Le Mon, 10 Jun 2013 15:07:01 +0200,
Nicolas Dechesne <nicolas.dechesne@linaro.org> a écrit :
> On Mon, Jun 10, 2013 at 2:59 PM, Eric Bénard <eric@eukrea.com> wrote:
>
> > Hi Nicolas,
> >
> > Le Mon, 10 Jun 2013 14:10:15 +0200,
> > Nicolas Dechesne <nicolas.dechesne@linaro.org> a écrit :
> >
> > > On Mon, Jun 10, 2013 at 1:19 PM, John Stirling
> > > <ap.john.stirling@gmail.com>wrote:
> > >
> > > > You suggest just cutting it down to
> > > >
> > > > IMAGE_INSTALL += " \
> > > > 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 = " \
> > > 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 += " \
> > qt4-embedded \
> > "
> >
> > QT_INSTALL = " \
> > 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 = " \
> > qwt-e \
> > "
> >
> > IMAGE_INSTALL += "\
> > ${QT_INSTALL} \
> > ${QWT_INSTALL} \
> > "
> >
> > and I add this when I want the examples :
> > IMAGE_INSTALL += "\
> > qt4-embedded-demos qt4-embedded-examples qt-demo-init \
> > qwt-e-examples \
> > "
> > (qt-demo-init is a homemade init script).
> >
>
> hi Eric,
>
> 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
next prev parent reply other threads:[~2013-06-10 13:14 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-10 10:31 qt4-embedded - image size John Stirling
2013-06-10 10:55 ` Paul Eggleton
2013-06-10 11:19 ` John Stirling
2013-06-10 12:10 ` Nicolas Dechesne
2013-06-10 12:59 ` Eric Bénard
2013-06-10 13:07 ` Nicolas Dechesne
2013-06-10 13:13 ` Eric Bénard [this message]
2013-06-10 16:37 ` Paul Eggleton
2013-06-10 12:17 ` Paul Eggleton
2013-06-10 13:46 ` John Stirling
2013-06-10 14:03 ` Paul Eggleton
2013-06-10 16:20 ` John Stirling
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=20130610151356.16549ecd@e6520eb \
--to=eric@eukrea.com \
--cc=nicolas.dechesne@linaro.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.eggleton@linux.intel.com \
/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.