summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-07-03 16:43:49 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-03 16:43:49 +0000
commitb6b2930ebf642a880b1862f60d29608c8a19193a (patch)
treeccce05a842e7635b908eceaa253f622bc8b1c972
parent416820f43a470a43cd3efe8fd8bf878e654c3bb8 (diff)
e-wm: misc fixes
* use u-a to register as x-window-manager * we have an scm, so no need to emulate it with '#'
-rw-r--r--packages/e17/e-wm_0.16.999.027.bb22
1 files changed, 5 insertions, 17 deletions
diff --git a/packages/e17/e-wm_0.16.999.027.bb b/packages/e17/e-wm_0.16.999.027.bb
index df78fbdcd0..5089ce23a4 100644
--- a/packages/e17/e-wm_0.16.999.027.bb
+++ b/packages/e17/e-wm_0.16.999.027.bb
@@ -3,20 +3,12 @@ DEPENDS = "evas-x11 ecore-x11 edje eet embryo e"
LICENSE = "MIT"
PR = "r3"
-inherit e
+inherit e update-alternatives
SRC_URI = "${E_URI}/enlightenment-${PV}.tar.gz \
file://fix-configure.patch;patch=1 \
file://Xsession.d/98enlightenment"
-# cvs://anonymous@thinktux.net/root;module=e17/apps/e/data/themes;date=20050926"
-# file://disable-splash.patch;patch=1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/default_entry.edc?rev=1.1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/images/focus.png?rev=1.1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/images/entry.png?rev=1.1 \
-# http://cvs.sourceforge.net/viewcvs.py/*checkout*/enlightenment/e17/apps/e/data/themes/images/entry_focus.png?rev=1.1"
-
-
S = "${WORKDIR}/enlightenment-${PV}"
PROFILE = "LOWRES_PDA"
@@ -35,10 +27,6 @@ FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir}"
do_compile_prepend() {
find ${S} -name Makefile | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:'
find ${S} -name Makefile | xargs sed -i 's:/usr/X11R6/include:${STAGING_INCDIR}:'
-# mv "${WORKDIR}/themes/default_entry.edc" "${S}/data/themes/"
-# mv "${WORKDIR}/themes/images/focus.png" "${S}/data/themes/images/"
-# mv "${WORKDIR}/themes/images/entry.png" "${S}/data/themes/images/"
-# mv "${WORKDIR}/themes/images/entry_focus.png" "${S}/data/themes/images/"
}
do_install_append() {
@@ -46,7 +34,7 @@ do_install_append() {
install -m 755 ${WORKDIR}/Xsession.d/98enlightenment ${D}/${sysconfdir}/X11/Xsession.d
}
-#pkg_postinst() {
-# enlightenment_remote -menu-autoscroll-margin-set 5
-# enlightenment_remote -menu-autoscroll-cursor-margin-set 5
-#} \ No newline at end of file
+ALTERNATIVE_PATH = "${bindir}/enlightenment"
+ALTERNATIVE_NAME = "x-window-manager"
+ALTERNATIVE_LINK = "${bindir}/x-window-manager"
+ALTERNATIVE_PRIORITY = "16"