gtk 2.6/2.8 vs 2.10
-----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-----
Quoted 5 lines · Koen Kooi
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
Quoted 6 lines · Graeme Gregory
Quoted 5 lines · Koen Kooi
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?
Quoted 7 lines
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
Quoted 6 lines · Koen Kooi
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_installfor 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.
Quoted 1 line
* 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