From: Martin Jansa <martin.jansa@gmail.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 06/13] gtk+: import native support from meta-oe
Date: Thu, 22 Mar 2012 11:04:40 +0100 [thread overview]
Message-ID: <20120322100439.GF4010@jama.jama.net> (raw)
In-Reply-To: <1332409922.9740.235.camel@ted>
[-- Attachment #1: Type: text/plain, Size: 3908 bytes --]
On Thu, Mar 22, 2012 at 09:52:02AM +0000, Richard Purdie wrote:
> On Thu, 2012-03-22 at 07:51 +0100, Martin Jansa wrote:
> > On Thu, Mar 22, 2012 at 12:02:44AM +0000, Richard Purdie wrote:
> > > On Thu, 2012-03-22 at 00:50 +0100, Martin Jansa wrote:
> > > > On Wed, Mar 21, 2012 at 11:11:16PM +0000, Richard Purdie wrote:
> > > > > On Wed, 2012-03-21 at 22:36 +0100, Martin Jansa wrote:
> > > > > > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > > > > > ---
> > > > > > meta/recipes-gnome/gtk+/gtk+.inc | 4 ++++
> > > > > > 1 files changed, 4 insertions(+), 0 deletions(-)
> > > > >
> > > > > I really don't like the message having a gtk+-native around sends out.
> > > > > Why do we need this?
> > > >
> > > > See cover letter if you haven't already.
> > >
> > > Sorry, I'd looked at it but I'd missed the key bit. I think I thought
> > > the URL was a pull URL and my eyes skimmed it.
> >
> > No problem,
> >
> > > To be honest I don't think the update-icon-cache is good enough reason
> > > to build a full gtk+-native. If we let these pieces in the dependencies
> > > have a tendency to grow and people have no incentive to try and fix
> > > these issues.
> >
> > Well agreed, but most of those natives are needed for librsvg-native
> > which in turn is used in navit build to generate icons (which I can
> > hardly replace with something thiner then librsvg and using e.g.
> > autodetected ksvgtopng from host is even worse for reproducible builds).
>
> librsvg-native I don't mind as much, I'm ok with taking those patches.
>
> > So for minimal gtk+-native I only need libx11-native and
> > libxrander-native, but the problem is that PACKAGECONFIG without that
> > fix ignores all -native depends and with fix it correctly adds -native
> > to all non-native deps added by PACKAGECONFIG
> > http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019348.html
>
> Right, I'm aware of that issue and sorry for not responding yet.
> Basically, I wanted to do some proper patch review and write a
> reasonable response to it and I've been lacking the time to do so.
>
> Firstly, I agree we need to fix it there is no question of that. The
> patch moving everything to base.bbclass concerns me though, not least as
> it undoes a lot of the work I've been trying to do with regard to
> abstracting the bbclassextend code into lib/oe/*.py. I therefore think
> an alternative approach is going to be needed but I've not managed to
> come up with that yet :(.
Ah I haven't noticed lib/oe/classextend.py, well because it's not used in
native/nativesdk handler only in multilib.
> > > I'd like to better understand why there is no other way to avoid this.
> >
> > I can look into gtk+3 build what else we need to provide to be able to
> > build without --enable-gtk2-dependency or how to disable
> > update-icon-cache during build so that people with gtk+ installed on
> > host and without get the same result package, but I'm not really
> > interested in gtk+3 so I was just fixing another build failure :/ so it
> > can take some time...
>
> This is one case I think we need to do the right thing and not take
> short cuts. I don't mind the extends for librsvg-native but I don't want
> to take gtk+-native or pango-native and any of the the dependencies only
> they need.
>
> I also agree we need to fix PACKAGECONFIG but I don't like the direction
> the patch takes and haven't had time to come up with an alternative. I
> wish I had more time and was able to give a better reply.
OK I'll keep this locally to keep gtk+-native building (it's nicer than
http://git.openembedded.org/meta-openembedded-contrib/commit/?h=shr&id=91890091cabbfe40705838ac787be898bae37805
work around) till you come up with better alternative.
Cheers,
--
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:[~2012-03-22 10:13 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 21:36 [PATCH 00/13] Merge native BBCLASSEXTENDs and SDK, PACKAGECONFIG fix Martin Jansa
2012-03-21 21:36 ` [PATCH 01/13] bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME Martin Jansa
2012-03-21 21:36 ` [PATCH 02/13] xev: move from meta-demoapps Martin Jansa
2012-03-21 21:36 ` [PATCH 03/13] classes: scons: add EXTRA_OESCONS Martin Jansa
2012-03-21 21:36 ` [PATCH 04/13] base.bbclass: extract *virtclass_map_dependencies logic from native/nativesdk bbclasses and call it from packageconfig Martin Jansa
2012-03-21 21:36 ` [PATCH 05/13] xorg: add more native BBCLASSEXTENDs for gtk+-native Martin Jansa
2012-03-21 21:36 ` [PATCH 06/13] gtk+: import native support from meta-oe Martin Jansa
2012-03-21 23:11 ` Richard Purdie
2012-03-21 23:50 ` Martin Jansa
2012-03-22 0:02 ` Richard Purdie
2012-03-22 6:51 ` Martin Jansa
2012-03-22 9:52 ` Richard Purdie
2012-03-22 10:04 ` Martin Jansa [this message]
2012-03-21 21:36 ` [PATCH 07/13] librsvg: " Martin Jansa
2012-03-21 21:36 ` [PATCH 08/13] pixman: add native support and perl-native to DEPENDS " Martin Jansa
2012-03-21 21:36 ` [PATCH 09/13] cairo: import native support " Martin Jansa
2012-03-21 21:36 ` [PATCH 10/13] tiff: " Martin Jansa
2012-03-21 21:36 ` [PATCH 11/13] libusb*: " Martin Jansa
2012-03-21 21:36 ` [PATCH 12/13] pango: import native support and --disable-introspection " Martin Jansa
2012-03-21 21:36 ` [PATCH 13/13] rootfs_ipk: replace 3 opkg-cl calls with one in get_package_filename Martin Jansa
2012-03-23 22:28 ` [PATCHv 00/10] Merge native BBCLASSEXTENDs and SDK fix Martin Jansa
2012-03-23 22:30 ` [PATCHv 01/10] bitbake.conf: use TUNE_PKGARCH instead of TARGET_ARCH in SDK_NAME Martin Jansa
2012-03-23 22:30 ` [PATCHv 02/10] xev: move from meta-demoapps Martin Jansa
2012-03-23 22:30 ` [PATCHv 03/10] classes: scons: add EXTRA_OESCONS Martin Jansa
2012-03-23 22:30 ` [PATCHv 04/10] librsvg: import native support from meta-oe Martin Jansa
2012-03-23 22:30 ` [PATCHv 05/10] pixman: add native support and perl-native to DEPENDS " Martin Jansa
2012-03-30 14:10 ` Richard Purdie
2012-03-30 14:22 ` Martin Jansa
2012-03-30 14:43 ` Richard Purdie
2012-03-23 22:30 ` [PATCHv 06/10] cairo: import native support " Martin Jansa
2012-03-23 22:30 ` [PATCHv 07/10] tiff: " Martin Jansa
2012-03-23 22:30 ` [PATCHv 08/10] libusb*: " Martin Jansa
2012-03-24 10:02 ` Richard Purdie
2012-03-24 10:56 ` Martin Jansa
2012-03-26 11:44 ` Richard Purdie
2012-03-26 12:19 ` Martin Jansa
2012-03-26 12:27 ` [PATCHv2 " Martin Jansa
2012-03-23 22:30 ` [PATCHv 09/10] pango: import native support and --disable-introspection " Martin Jansa
2012-03-23 22:30 ` [PATCHv 10/10] rootfs_ipk: replace 3 opkg-cl calls with one in get_package_filename Martin Jansa
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=20120322100439.GF4010@jama.jama.net \
--to=martin.jansa@gmail.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox