[oe-commits] Andreas Müller : xfwm4: cleanup update-alternatives deprecated code

git at git.openembedded.org git at git.openembedded.org
Mon Aug 27 12:48:04 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: b4d98cfc53994d71ce404a4534549ff4a9d4e672
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=b4d98cfc53994d71ce404a4534549ff4a9d4e672

Author: Andreas Müller <schnitzeltony at googlemail.com>
Date:   Mon Aug 27 08:36:50 2012 +0000

xfwm4: cleanup update-alternatives deprecated code

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb b/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb
index 299c7ad..304ff66 100644
--- a/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb
+++ b/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb
@@ -3,6 +3,7 @@ SECTION = "x11/wm"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d791728a073bc009b4ffaf00b7599855"
 DEPENDS = "virtual/libx11 libxpm gtk+ libxfce4util libxfce4ui xfconf libwnck dbus-glib startup-notification"
+PR = "r1"
 
 inherit xfce update-alternatives
 
@@ -18,10 +19,9 @@ python populate_packages_prepend () {
 
 PACKAGES_DYNAMIC += "xfwm4-theme-*"
 
-ALTERNATIVE_NAME = "x-window-manager"
-ALTERNATIVE_LINK = "${bindir}/x-window-manager"
-ALTERNATIVE_PATH = "${bindir}/xfce4-session"
-ALTERNATIVE_PRIORITY = "30"
+ALTERNATIVE_${PN} = "x-window-manager"
+ALTERNATIVE_TARGET[x-window-manager] = "${bindir}/xfwm4"
+ALTERNATIVE_PRIORITY[x-window-manager] = "30"
 
 RDEPENDS_${PN} = "xfwm4-theme-default"
 FILES_${PN} += "${libdir}/xfce4/xfwm4/helper-dialog \





More information about the Openembedded-commits mailing list