[oe] [PATCH 88/90] openbox: fix PR format and use new update-alternatives syntax
Martin Jansa
martin.jansa at gmail.com
Tue Dec 11 01:00:00 UTC 2012
* fixes:
NOTE: recipe openbox-3.5.0-1: task do_package: Started
WARNING: openbox: Use of ALTERNATIVE_NAME is deprecated, see
update-alternatives.bbclass for more info.
* bump PE if you care about upgrade path from wrong PR, introduced in
commit 3becce8504033dfac7c497fa12675f873a5df9e0
Author: Mario Domenech Goulart <mario at ossystems.com.br>
Date: Mon Dec 3 16:03:23 2012 +0000
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb b/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb
index a2c5a66..1fe2e17 100644
--- a/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb
+++ b/meta-oe/recipes-graphics/openbox/openbox_3.5.0.bb
@@ -9,14 +9,13 @@ SRC_URI = "http://icculus.org/openbox/releases/openbox-${PV}.tar.gz"
SRC_URI[md5sum] = "00441b53cf14c03566c8e82643544ff9"
SRC_URI[sha256sum] = "6fa90016530b3aa6102e254079461977439398531fb23e7ec076ff2c140fea0a"
-PR = "1"
+PR = "r2"
inherit autotools gettext update-alternatives
-ALTERNATIVE_PATH = "${bindir}/openbox"
-ALTERNATIVE_NAME = "x-window-manager"
-ALTERNATIVE_LINK = "${bindir}/x-window-manager"
-ALTERNATIVE_PRIORITY = "10"
+ALTERNATIVE_${PN}-core = "x-window-manager"
+ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/openbox"
+ALTERNATIVE_PRIORITY[x-window-manager] = "10"
EXTRA_OECONF += "--with-plugins=none"
--
1.8.0
More information about the Openembedded-devel
mailing list