[OE-core] DEFAULT_PREFERENCE = -1

Martin Jansa martin.jansa at gmail.com
Thu Jan 26 16:03:57 UTC 2012


On Thu, Jan 26, 2012 at 03:55:45PM +0100, Frans Meulenbroeks wrote:
> Dear all,
> 
> Triggered by the discussion on oe devel on splitting meta-oe I decided to
> do some quick greps on who uses DEFAULT_PREFERENCE in oe-core and meta-oe.
> 
> Below are the results.
> My questions:
> - are recipes with D_P = -1 good enough to enter oe core and/or meta oe.

yes, it allows people/layer maintainers to decide which version they
want easily

> - is it desirable to have a D_P -1 in an inc file (as happens in
> mesa-dri.inc)

see below

> 
> Best regards, Frans.
> 
> PS: I found the -2 ones especially odd. This seems only useful if there is
> someone else already with a -1, which might make the recipe even more
> questionable.

see below

> frans at frans-desktop:~/workspace$ grep -r DEFAULT_PREFERENCE
> openembedded-core

> openembedded-core/meta/recipes-qt/qt4/qt4-embedded_4.8.0.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-qt/qt4/qt4-x11-free_4.8.0.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-qt/qt4/qt4-tools-nativesdk_4.8.0.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-qt/qt4/qt4-native_4.8.0.bb:DEFAULT_PREFERENCE
> = "-1"

this is fine as there is stable 4.7.4 and some people already started to
use 4.8.0 by their choice (which is easier to do with P_V then
adding/removing some fancy qt-4.8 layer).

> openembedded-core/meta/recipes-graphics/libmatchbox/libmatchbox_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-graphics/mutter/mutter_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-graphics/xcb/libxcb_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-graphics/xcb/xcb-proto_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-graphics/clutter/cogl_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-graphics/clutter/clutter_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-graphics/mesa/mesa-dri_git.bb:DEFAULT_PREFERENCE
> = "-2"

if someone really wants to use development version of it, why force him
to use different layer? and -2 is because other mesa-dri versions have
-1 from .inc.

> openembedded-core/meta/recipes-graphics/mesa/mesa-dri.inc:DEFAULT_PREFERENCE
> = "-1"

this is because there are other virtual/libgl providers and this was
used to demote mesa-dri as provider for it

> openembedded-core/meta/recipes-graphics/mesa/qemugl_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-graphics/mesa/mesa-xlib_git.bb:DEFAULT_PREFERENCE
> = "-2"
> openembedded-core/meta/recipes-devtools/opkg/opkg-nogpg_svn.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-devtools/opkg/opkg-nogpg_0.1.8.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-devtools/qemu/qemu_git.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-devtools/subversion/subversion_1.7.2.bb:DEFAULT_PREFERENCE
> = "-1"

Because people need to think before switching from 1.6 to 1.7 because of
tarballs of svn checkouts are not compatible.

> openembedded-core/meta/recipes-devtools/binutils/binutils_csl-arm-2008q1.bb:DEFAULT_PREFERENCE
> = "-1"
> openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:DEFAULT_PREFERENCE
> = "-1"
> frans at frans-desktop:~/workspace$ grep -r DEFAULT_PREFERENCE
> meta-openembedded/
> meta-openembedded/meta-efl/recipes-support/libsoup/libsoup-2.4_2.37.2.bb:DEFAULT_PREFERENCE
> = "-1"

explained in previous thread.

> meta-openembedded/meta-efl/recipes-efl/efl/eet_svn.bb:DEFAULT_PREFERENCE =
> "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/eina_svn.bb:DEFAULT_PREFERENCE =
> "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/edbus_svn.bb:DEFAULT_PREFERENCE
> = "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/efreet_svn.bb:DEFAULT_PREFERENCE
> = "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/edje_svn.bb:DEFAULT_PREFERENCE =
> "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/embryo_svn.bb:DEFAULT_PREFERENCE
> = "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/eeze_svn.bb:DEFAULT_PREFERENCE =
> "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/evas_svn.bb:DEFAULT_PREFERENCE =
> "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/eio_svn.bb:DEFAULT_PREFERENCE =
> "-1"
> meta-openembedded/meta-efl/recipes-efl/efl/ecore_svn.bb:DEFAULT_PREFERENCE
> = "-1"

Because there were recipes for released versions and there will be
again, so it makes sense to use releases by default if they are not
lacking behind much - like they do now.

> meta-openembedded/meta-oe/recipes-core/udev/udev_175.bb:DEFAULT_PREFERENCE
> = "-1"
> meta-openembedded/meta-oe/recipes-graphics/tslib/tslib_git.bb:DEFAULT_PREFERENCE
> = "-1"
> meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_0.6.8.bb:DEFAULT_PREFERENCE
> = "-1"
> meta-openembedded/contrib/oe-stylize.py:    'DEFAULT_PREFERENCE',
> meta-openembedded/meta-gnome/recipes-gnome/gnome-panel/gnome-panel3_3.0.2.bb:DEFAULT_PREFERENCE
> = "-1"
> meta-openembedded/meta-gnome/recipes-gnome/gobject-introspection/gobject-introspection_git.bb:DEFAULT_PREFERENCE
> = "-1"

> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120126/779a12b6/attachment-0002.sig>


More information about the Openembedded-core mailing list