aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-xfce/xfwm4
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@googlemail.com>2012-08-27 08:36:50 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-08-27 14:41:59 +0200
commitb4d98cfc53994d71ce404a4534549ff4a9d4e672 (patch)
treee5e35c522fd5391d611b317bfbd18c257cce15a0 /meta-xfce/recipes-xfce/xfwm4
parent213f18c766af0e7abe0a8e85137214af770456d4 (diff)
downloadmeta-openembedded-contrib-b4d98cfc53994d71ce404a4534549ff4a9d4e672.tar.gz
xfwm4: cleanup update-alternatives deprecated code
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-xfce/recipes-xfce/xfwm4')
-rw-r--r--meta-xfce/recipes-xfce/xfwm4/xfwm4_4.8.3.bb8
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 299c7ad6be..304ff66165 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 \