All of lore.kernel.org
 help / color / mirror / Atom feed
* gtk 2.6/2.8 vs 2.10
@ 2006-09-05  8:28 Koen Kooi
  2006-09-05  8:49 ` Graeme Gregory
  2006-09-05  9:37 ` Richard Purdie
  0 siblings, 2 replies; 4+ messages in thread
From: Koen Kooi @ 2006-09-05  8:28 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

A while ago gtk 2.10 was added to OE with a negative default preference since not all the
patches have been forward ported yet. Gtk 2.10 also bumped their ABI version to 2.10,
which leads to some interesting problems:

* do_install for packages dependant on gtk+ breaks since ${libdir}/gtk-2.0/2.4.0/ is now
${libdir}/gtk-2.0/2.10.0/
* some package build against 2.8 but not against 2.10 and vice versa

A lot of these problems can be solved with 'preferred-gtk-2.8-versions.inc', but ideally
we'd want a way to get the gtk PV from inside other recipes (e.g. gtk-engines).

Does anyone have a good idea on how to handle all this?

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFE/TUZMkyGM64RGpERAq9tAKCVdIPsK2OeEDbS2O5ClutsTZaTHgCdGNPz
UykeTPjT7Z5bCfrdKGPZGsM=
=ElKm
-----END PGP SIGNATURE-----



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gtk 2.6/2.8 vs 2.10
  2006-09-05  8:28 gtk 2.6/2.8 vs 2.10 Koen Kooi
@ 2006-09-05  8:49 ` Graeme Gregory
  2006-09-05  9:34   ` Richard Purdie
  2006-09-05  9:37 ` Richard Purdie
  1 sibling, 1 reply; 4+ messages in thread
From: Graeme Gregory @ 2006-09-05  8:49 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Sep 05, 2006 at 10:28:09AM +0200, Koen Kooi wrote:
> A lot of these problems can be solved with 'preferred-gtk-2.8-versions.inc', but ideally
> we'd want a way to get the gtk PV from inside other recipes (e.g. gtk-engines).
> 
> Does anyone have a good idea on how to handle all this?
> 
I just checked my gtk+-2.10.0 and gtk+-2.0.pc contans the following
line.

gtk_binary_version=2.10.0

If this exists for all gtk+ we could parse ths file in install and set
${LIBV} with it.

G




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gtk 2.6/2.8 vs 2.10
  2006-09-05  8:49 ` Graeme Gregory
@ 2006-09-05  9:34   ` Richard Purdie
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2006-09-05  9:34 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

On Tue, 2006-09-05 at 09:49 +0100, Graeme Gregory wrote:
> On Tue, Sep 05, 2006 at 10:28:09AM +0200, Koen Kooi wrote:
> > A lot of these problems can be solved with 'preferred-gtk-2.8-versions.inc', but ideally
> > we'd want a way to get the gtk PV from inside other recipes (e.g. gtk-engines).
> > 
> > Does anyone have a good idea on how to handle all this?
> > 
> I just checked my gtk+-2.10.0 and gtk+-2.0.pc contans the following
> line.
> 
> gtk_binary_version=2.10.0
> 
> If this exists for all gtk+ we could parse ths file in install and set
> ${LIBV} with it.

It exists for 2.8.9 so this approach looks promising. Also note the
string is not PV as its 2.4.0 for 2.8.9 so whilst PV would provide some
help, it doesn't really solve this problem.

Cheers,

Richard




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gtk 2.6/2.8 vs 2.10
  2006-09-05  8:28 gtk 2.6/2.8 vs 2.10 Koen Kooi
  2006-09-05  8:49 ` Graeme Gregory
@ 2006-09-05  9:37 ` Richard Purdie
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2006-09-05  9:37 UTC (permalink / raw)
  To: Using the OpenEmbedded metadata to build Linux Distributions

On Tue, 2006-09-05 at 10:28 +0200, Koen Kooi wrote:
> A while ago gtk 2.10 was added to OE with a negative default preference since not all the
> patches have been forward ported yet. Gtk 2.10 also bumped their ABI version to 2.10,
> which leads to some interesting problems:
> 
> * do_install for packages dependant on gtk+ breaks since ${libdir}/gtk-2.0/2.4.0/ is now
> ${libdir}/gtk-2.0/2.10.0/

I think Graeme's solution should solve this.

> * some package build against 2.8 but not against 2.10 and vice versa

These need versioned DEPENDS eg. DEPENDS = "gtk+ (>= 2.10.0)". Could
someone try and see if it breaks anything with the current bitbake? I'd
like to see the metadata starting to contain this data, even if bitbake
itself doesn't use it yet so when we do implement it, it should all just
work...

Cheers,

Richard




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-05  9:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-05  8:28 gtk 2.6/2.8 vs 2.10 Koen Kooi
2006-09-05  8:49 ` Graeme Gregory
2006-09-05  9:34   ` Richard Purdie
2006-09-05  9:37 ` Richard Purdie

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.