summaryrefslogtreecommitdiff
path: root/packages/fluxbox/fluxbox_0.99+1.0rc.bb
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-07-05 09:06:31 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-05 09:06:31 +0000
commitbd2c5704650c9bf4c6cbcfd080e0caa9a669c091 (patch)
tree2148328564906e95d130ff18f26fe865e5b97011 /packages/fluxbox/fluxbox_0.99+1.0rc.bb
parentf9b065b24861e44a30b815186f4d1ebe5193a073 (diff)
fluxbox: Add custom keylaunchrc, gpe-logout and key-bindings
Diffstat (limited to 'packages/fluxbox/fluxbox_0.99+1.0rc.bb')
-rw-r--r--packages/fluxbox/fluxbox_0.99+1.0rc.bb18
1 files changed, 16 insertions, 2 deletions
diff --git a/packages/fluxbox/fluxbox_0.99+1.0rc.bb b/packages/fluxbox/fluxbox_0.99+1.0rc.bb
index 5cb05d96d5..0b03ffa9ee 100644
--- a/packages/fluxbox/fluxbox_0.99+1.0rc.bb
+++ b/packages/fluxbox/fluxbox_0.99+1.0rc.bb
@@ -10,7 +10,7 @@ MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
HOMEPAGE = "http://fluxbox.sourceforge.net"
LICENSE = "MIT"
REALPV = "1.0rc"
-PR = "r2"
+PR = "r3"
######################################################################################
@@ -23,7 +23,10 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/fluxbox/fluxbox-${REALPV}.tar.gz \
file://apps.gpe.* \
file://style.gpe-default \
file://fluxbox-gpe-session \
- file://fluxbox-gpe.session"
+ file://fluxbox-gpe.session \
+ file://keys.* \
+ file://keylaunchrc.fluxbox \
+ file://gpe-logout.fluxbox"
######################################################################################
@@ -41,6 +44,9 @@ FILES_${PN} = "/usr/bin \
/usr/share/fluxbox/menu "
FILES_${PN}-gpe = "/usr/share/fluxbox/apps.gpe* \
+ /usr/share/fluxbox/keys.* \
+ /usr/bin/gpe-logout.fluxbox \
+ /etc/keylaunchrc.fluxbox \
/usr/share/fluxbox/styles/gpe-default \
/usr/share/fluxbox/session \
/usr/bin/fluxbox-gpe-session"
@@ -64,19 +70,27 @@ do_install_append() {
install -d ${D}/usr/bin
install -d ${D}/usr/share/fluxbox
install -d ${D}/usr/share/fluxbox/styles
+ install -d ${D}/etc
install -m 0644 ${WORKDIR}/apps.gpe.* ${D}/usr/share/fluxbox
+ install -m 0644 ${WORKDIR}/keys.* ${D}/usr/share/fluxbox
install -m 0755 ${WORKDIR}/fluxbox-gpe.session ${D}/usr/share/fluxbox/session
install -m 0644 ${WORKDIR}/style.gpe-default ${D}/usr/share/fluxbox/styles/gpe-default
install -m 0755 ${WORKDIR}/fluxbox-gpe-session ${D}/usr/bin
+ install -m 0755 ${WORKDIR}/gpe-logout.fluxbox ${D}/usr/bin
+ install -m 0644 ${WORKDIR}/keylaunchrc.fluxbox ${D}/etc
}
######################################################################################
pkg_postinst_${PN}-gpe() {
update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/fluxbox-gpe-session 15
+ update-alternatives --install /usr/bin/gpe-logout gpe-logout /usr/bin/gpe-logout.fluxbox 15
+ update-alternatives --install /etc/keylaunchrc keylaunchrc /etc/keylaunchrc.fluxbox 15
}
pkg_postrm_${PN}-gpe() {
update-alternatives --remove x-window-manager /usr/bin/fluxbox-gpe-session
+ update-alternatives --remove gpe-logout /usr/bin/gpe-logout.fluxbox
+ update-alternatives --remove keylaunchrc /etc/keylaunchrc.fluxbox
}