summaryrefslogtreecommitdiff
path: root/recipes/fluxbox
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/fluxbox
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/fluxbox')
-rw-r--r--recipes/fluxbox/fluxbox/apps.gpe.akita76
-rw-r--r--recipes/fluxbox/fluxbox/apps.gpe.default7
-rw-r--r--recipes/fluxbox/fluxbox/fluxbox-gpe-session48
-rw-r--r--recipes/fluxbox/fluxbox/fluxbox-gpe.session9
-rw-r--r--recipes/fluxbox/fluxbox/gpe-init.patch121
-rw-r--r--recipes/fluxbox/fluxbox/gpe-logout.fluxbox17
-rw-r--r--recipes/fluxbox/fluxbox/keylaunchrc.fluxbox28
-rw-r--r--recipes/fluxbox/fluxbox/keys.akita7
-rw-r--r--recipes/fluxbox/fluxbox/keys.default0
-rw-r--r--recipes/fluxbox/fluxbox/style.gpe-default137
-rw-r--r--recipes/fluxbox/fluxbox_0.99+1.0rc.bb80
-rw-r--r--recipes/fluxbox/fluxbox_svn.bb76
12 files changed, 606 insertions, 0 deletions
diff --git a/recipes/fluxbox/fluxbox/apps.gpe.akita b/recipes/fluxbox/fluxbox/apps.gpe.akita
new file mode 100644
index 0000000000..3c696fc283
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/apps.gpe.akita
@@ -0,0 +1,76 @@
+[app] (title=Panel 0)
+ [Deco] {NONE}
+ [Sticky] {yes}
+[end]
+[app] (title=Panel 1)
+ [Deco] {NONE}
+[end]
+[app] (title=rxvt)
+ [Dimensions] {635 440}
+[end]
+[app] (title=x-terminal-emulator)
+ [Dimensions] {635 440}
+[end]
+[app] (abiword)
+ [Dimensions] {635 440}
+ [Sticky] {no}
+[end]
+[app] (gpe-filemanager)
+ [Dimensions] {635 440}
+ [Sticky] {yes}
+[end]
+[app] (gpe-info)
+ [Dimensions] {424 336}
+[end]
+[app] (gpe-edit)
+ [Dimensions] {635 440}
+[end]
+[app] (gpe-calculator)
+ [Dimensions] {266 321}
+[end]
+[app] (main)
+ [Dimensions] {635 440}
+[end]
+[app] (Gnumeric)
+ [Dimensions] {635 440}
+[end]
+[app] (gpdf)
+ [Dimensions] {635 440}
+[end]
+[app] (main_window)
+ [Dimensions] {635 440}
+[end]
+[app] (gaim)
+ [Dimensions] {635 440}
+[end]
+[app] (gpe-calendar)
+ [Dimensions] {380 343}
+[end]
+[app] (gpe-mini-browser)
+ [Dimensions] {635 440}
+[end]
+[app] (figment)
+ [Dimensions] {635 440}
+[end]
+[app] (gpe-sketchbook)
+ [Dimensions] {471 314}
+[end]
+[app] (gpe-todo)
+ [Dimensions] {364 344}
+[end]
+[app] (gpe-contacts)
+ [Dimensions] {327 395}
+ [Position] (UPPERLEFT) {134 34}
+[end]
+[app] (gpe-conf)
+ [Dimensions] {380 400}
+ [Position] (UPPERLEFT) {93 34}
+[end]
+[app] (gpe-package)
+ [Dimensions] {635 440}
+ [Position] (UPPERLEFT) {0 0}
+[end]
+[app] (matchbox-panel-manager)
+ [Dimensions] {431 326}
+ [Position] (UPPERLEFT) {85 52}
+[end]
diff --git a/recipes/fluxbox/fluxbox/apps.gpe.default b/recipes/fluxbox/fluxbox/apps.gpe.default
new file mode 100644
index 0000000000..d7a0a83f22
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/apps.gpe.default
@@ -0,0 +1,7 @@
+[app] (title=Panel 0)
+ [Deco] {NONE}
+ [Sticky] {yes}
+[end]
+[app] (title=Panel 1)
+ [Deco] {NONE}
+[end]
diff --git a/recipes/fluxbox/fluxbox/fluxbox-gpe-session b/recipes/fluxbox/fluxbox/fluxbox-gpe-session
new file mode 100644
index 0000000000..520914a209
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/fluxbox-gpe-session
@@ -0,0 +1,48 @@
+#!/bin/sh
+#
+# Session script for fluxbox-gpe, heavily based on matchbox's session script
+#
+
+# Install "apps" file with defaults for GPE usage
+
+MACHINE="`cat /proc/cpuinfo | sed -n "/^Hardware/s/.*\:\ \(.*\)/\1/p"`"
+
+case $MACHINE in
+*Akita | *Spitz | *Borzoi | *Terrier)
+ APPS="apps.gpe.akita"
+ KEYS="keys.akita";;
+*)
+ APPS="apps.gpe.default"
+ KEYS="keys.default";;
+esac
+
+if test -e /usr/share/fluxbox/$APPS
+then
+ mkdir -p $HOME/.fluxbox
+ test -e $HOME/.fluxbox/apps || cp /usr/share/fluxbox/$APPS $HOME/.fluxbox/apps
+fi
+
+if test -e /usr/share/fluxbox/$KEYS
+then
+ mkdir -p $HOME/.fluxbox
+ test -e $HOME/.fluxbox/keys || cp /usr/share/fluxbox/$KEYS $HOME/.fluxbox/keys
+fi
+
+
+if [ -e $HOME/.fluxbox/session ]
+then
+exec $HOME/.fluxbox/session
+fi
+
+if [ -e /usr/share/fluxbox/session ]
+then
+exec /usr/share/fluxbox/session
+fi
+
+# Default files to run if $HOME/.matchbox/session or /etc/matchbox/session
+# dont exist.
+
+matchbox-desktop &
+matchbox-panel --orientation south -no-flip &
+sleep 5
+exec startfluxbox $@
diff --git a/recipes/fluxbox/fluxbox/fluxbox-gpe.session b/recipes/fluxbox/fluxbox/fluxbox-gpe.session
new file mode 100644
index 0000000000..16b7a2703a
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/fluxbox-gpe.session
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+XRES=`xdpyinfo | awk '/dimensions/ { print $2 }' | cut -dx -f1`
+
+matchbox-desktop &
+matchbox-panel --orientation south --no-flip&
+sleep 5
+exec startfluxbox $@
+
diff --git a/recipes/fluxbox/fluxbox/gpe-init.patch b/recipes/fluxbox/fluxbox/gpe-init.patch
new file mode 100644
index 0000000000..c9836923d8
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/gpe-init.patch
@@ -0,0 +1,121 @@
+--- fluxbox-1.0rc/data/init.in.orig 2006-07-02 20:45:39.119045500 +0200
++++ fluxbox-1.0rc/data/init.in 2006-07-02 20:45:43.715332750 +0200
+@@ -1,35 +1,95 @@
++session.screen0.slit.onTop: False
+ session.screen0.slit.placement: BottomRight
++session.screen0.slit.alpha: 255
++session.screen0.slit.onhead: 0
+ session.screen0.slit.direction: Vertical
+-session.screen0.slit.onTop: False
+-session.screen0.slit.autoHide: False
+-session.screen0.tab.placement: Top
++session.screen0.slit.layer: Dock
++session.screen0.slit.maxOver: false
++session.screen0.slit.autoHide: false
++session.screen0.menu.alpha: 255
++session.screen0.iconbar.iconTextPadding: 10l
++session.screen0.iconbar.alignment: Left
++session.screen0.iconbar.wheelMode: Screen
++session.screen0.iconbar.mode: Workspace
++session.screen0.iconbar.deiconifyMode: Follow
++session.screen0.iconbar.iconWidth: 70
++session.screen0.iconbar.usePixmap: true
++session.screen0.window.focus.alpha: 255
++session.screen0.window.unfocus.alpha: 255
++session.screen0.tab.height: 16
+ session.screen0.tab.alignment: Left
+ session.screen0.tab.rotatevertical: True
+-session.screen0.toolbar.onTop: False
+-session.screen0.toolbar.autoHide: False
+-session.screen0.toolbar.placement: BottomCenter
+-session.screen0.toolbar.widthPercent: 66
+-session.screen0.workspaceNames: one,two,three,four
++session.screen0.tab.placement: TopLeft
++session.screen0.tab.width: 64
++session.screen0.tabs.intitlebar: true
++session.screen0.titlebar.left: Stick
++session.screen0.titlebar.right: Minimize Maximize Close
++session.screen0.toolbar.tools: workspacename, prevworkspace, nextworkspace, iconbar, clock
++session.screen0.toolbar.visible: true
++session.screen0.toolbar.layer: Top
++session.screen0.toolbar.placement: TopCenter
++session.screen0.toolbar.onhead: 0
++session.screen0.toolbar.widthPercent: 69
++session.screen0.toolbar.onTop: true
++session.screen0.toolbar.height: 0
++session.screen0.toolbar.alpha: 254
++session.screen0.toolbar.autoHide: false
++session.screen0.toolbar.maxOver: true
++session.screen0.overlay.lineWidth: 1
++session.screen0.overlay.lineStyle: LineSolid
++session.screen0.overlay.joinStyle: JoinMiter
++session.screen0.overlay.capStyle: CapNotLast
++session.screen0.autoRaise: false
+ session.screen0.strftimeFormat: %k:%M
+-session.screen0.focusNewWindows: True
+-session.screen0.focusModel: ClickToFocus
+-session.screen0.fullMaximization: False
++session.screen0.clickRaises: true
++session.screen0.imageDither: false
++session.screen0.workspaces: 4
++session.screen0.menuDelay: 0
++session.screen0.focusNewWindows: true
++session.screen0.workspaceNames: one,two,three,four,
+ session.screen0.edgeSnapThreshold: 0
++session.screen0.menuDelayClose: 0
++session.screen0.windowScrollReverse: false
+ session.screen0.rowPlacementDirection: LeftToRight
+-session.screen0.workspaces: 4
+-session.screen0.focusLastWindow: True
++session.screen0.followModel: Ignore
++session.screen0.windowMenu:
++session.screen0.reversewheeling: false
++session.screen0.windowScrollAction:
++session.screen0.sloppywindowgrouping: true
++session.screen0.resizeMode: Bottom
+ session.screen0.colPlacementDirection: TopToBottom
++session.screen0.desktopwheeling: true
++session.screen0.tabFocusModel: ClickToTabFocus
++session.screen0.antialias: false
++session.screen0.focusLastWindow: true
+ session.screen0.windowPlacement: RowSmartPlacement
+-session.screen0.tab.width: 64
+-session.screen0.tab.height: 16
+-session.screen0.showwindowposition: true
+-session.opaqueMove: False
+-session.autoRaiseDelay: 250
++session.screen0.focusModel: ClickFocus
++session.screen0.opaqueMove: false
++session.screen0.workspacewarping: true
++session.screen0.menuMode: Delay
++session.screen0.decorateTransient: false
++session.screen0.showwindowposition: true
++session.screen0.rootCommand:
++session.screen0.fullMaximization: false
++session.focusTabMinWidth: 0
+ session.menuFile: ~/.fluxbox/menu
+-session.cacheLife: 5
+-session.styleFile: @default_style@
+-session.keyFile: ~/.fluxbox/keys
++session.imageDither: True
+ session.colorsPerChannel: 4
++session.tabPadding: 0
++session.styleFile: /usr/share/fluxbox/styles/gpe-default
++session.cacheMax: 200l
++session.autoRaiseDelay: 250
+ session.doubleClickInterval: 250
+-session.cacheMax: 200
+-session.imageDither: True
++session.tabsAttachArea: Window
++session.numLayers: 13
++session.keyFile: ~/.fluxbox/keys
++session.ignoreBorder: false
++session.appsFile: ~/.fluxbox/apps
++session.tabs: false
++session.useMod1: true
++session.slitlistFile: ~/.fluxbox/slitlist
++session.forcePseudoTransparency: false
++session.opaqueMove: False
++session.groupFile: ~/.fluxbox/groups
++session.cacheLife: 5l
++session.styleOverlay: ~/.fluxbox/overlay
diff --git a/recipes/fluxbox/fluxbox/gpe-logout.fluxbox b/recipes/fluxbox/fluxbox/gpe-logout.fluxbox
new file mode 100644
index 0000000000..29a6ab6ab3
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/gpe-logout.fluxbox
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+gpe-question --icon /usr/share/pixmaps/gpe-logout.png --question "<span weight='bold' size='larger'>Are you sure you want to log out?</span>
+
+Unsaved data from applications will be lost." --buttons !gtk-cancel "ok:Log out"
+
+# check for button number returned by gpe-question:
+if [ $? -eq 1 ]; then
+ echo "Logout.";
+ killall fluxbox
+fi
+# hack to run on simpad too
+ killall metacity;
+else
+ echo "Logout cancelled.";
+fi
+
diff --git a/recipes/fluxbox/fluxbox/keylaunchrc.fluxbox b/recipes/fluxbox/fluxbox/keylaunchrc.fluxbox
new file mode 100644
index 0000000000..921fa9fb1f
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/keylaunchrc.fluxbox
@@ -0,0 +1,28 @@
+key=....F9:-:gpe-calendar
+key=....F10:-:gpe-contacts
+key=....F13:-:sylpheed
+#key=....F12:-:~matchbox-remote -next
+#key=...*F12:-:~matchbox-remote -desktop
+#key=....F11:-:~matchbox-remote -menu
+#key=...*1:-:~zoom out
+#key=...*2:-:~zoom in
+key=...*3:-:~display-brightness.sh down
+key=...*4:-:~display-brightness.sh up
+
+# LCD Softkeys
+# Please note that the space _between_ two softkeys can be used, too ;)
+key=....F20:-:~matchbox-remote -next
+key=....F21:-:~matchbox-remote -desktop
+key=....F22:-:~matchbox-remote -prev
+key=....F23:-:sylpheed
+#key=....F24:-:
+key=....F25:-:gpe-contacts
+#key=....F26:-:
+key=....F27:-:gpe-calendar
+#key=....F28:-:
+key=....F29:-:gpe-mini-browser
+#key=....F30:-:
+
+# VT changing
+key=...*Left:-:~chvt 1
+key=...*Right:-:~chvt 3
diff --git a/recipes/fluxbox/fluxbox/keys.akita b/recipes/fluxbox/fluxbox/keys.akita
new file mode 100644
index 0000000000..ec84632597
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/keys.akita
@@ -0,0 +1,7 @@
+Mod1 Tab :NextWindow
+Mod1 Shift Tab :PrevWindow
+F12 :NextWindow 2
+F11 :ExecCommand matchbox-remote -menu
+Mod4 F11 :RootMenu
+Mod4 F12 :Minimize
+Mod1 r :Reconfigure
diff --git a/recipes/fluxbox/fluxbox/keys.default b/recipes/fluxbox/fluxbox/keys.default
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/keys.default
diff --git a/recipes/fluxbox/fluxbox/style.gpe-default b/recipes/fluxbox/fluxbox/style.gpe-default
new file mode 100644
index 0000000000..f94aaf7cdd
--- /dev/null
+++ b/recipes/fluxbox/fluxbox/style.gpe-default
@@ -0,0 +1,137 @@
+! meta
+! (c) joel carlbark 2003
+! please dont turn on aa with this style
+! make sure you have the font 'glisp' (or similar).
+
+toolbar: flat gradient vertical
+toolbar.color: #849ec6
+toolbar.colorTo: #526d8c
+
+toolbar.button: parentrelative
+toolbar.button.picColor: #d6d7e7
+
+toolbar.button.pressed: sunken solid
+toolbar.button.pressed.color: #526d8c
+toolbar.button.pressed.picColor: #000000
+
+! clock
+toolbar.clock: parentrelative
+toolbar.clock.textColor: white
+
+! shows workspace nr
+toolbar.label: parentrelative
+toolbar.label.textColor: white
+
+! current active window / toolbar
+toolbar.windowLabel: parentrelative
+toolbar.windowLabel.textColor: white
+
+! menu ---------
+menu.title: flat gradient vertical
+menu.title.color: #849ec6
+menu.title.colorTo: #526d8c
+menu.title.textColor: #d6d7e7
+
+menu.frame: flat gradient vertical
+menu.frame.color: #efefef
+menu.frame.colorTo: #c6c3c6
+menu.frame.textColor: black
+
+menu.hilite: flat solid
+menu.hilite.color: #849ec6
+menu.hilite.textColor: white
+
+menu.bullet: triangle
+menu.bullet.position: right
+
+! window --------------
+window.title.focus: flat gradient vertical
+window.title.focus.color: #849ec6
+window.title.focus.colorTo: #526d8c
+
+window.label.focus: parentrelative
+window.label.focus.textColor: white
+
+window.button.focus: flat gradient vertical
+window.button.focus.color: #849ec6
+window.button.focus.colorTo: #526d8c
+window.button.focus.picColor: #d6d7e7
+
+window.button.pressed: sunken solid
+window.button.pressed.color: #405060
+window.button.pressed.picColor: #000000
+
+window.handle.focus: flat gradient vertical
+window.handle.focus.color: #efefef
+window.handle.focus.colorTo: #c6c3c6
+
+window.grip.focus: flat gradient vertical
+window.grip.focus.color: #efefef
+window.grip.focus.colorTo: #c6c3c6
+
+window.frame.focus: flat solid
+window.frame.focus.color: white
+
+! unfocused
+window.title.unfocus: flat gradient vertical
+window.title.unfocus.color: #efefef
+window.title.unfocus.colorTo: #c6c3c6
+
+window.label.unfocus: parentrelative
+window.label.unfocus.textColor: #949694
+
+window.handle.unfocus: flat gradient vertical
+window.handle.unfocus.color: #efefef
+window.handle.unfocus.colorTo: #c6c3c6
+
+window.grip.unfocus: flat gradient vertical
+window.grip.unfocus.color: #efefef
+window.grip.unfocus.colorTo: #c6c3c6
+
+window.frame.unfocus: flat solid
+window.frame.unfocus.color: white
+
+window.button.unfocus: flat gradient vertical
+window.button.unfocus.color: #efefef
+window.button.unfocus.colorTo: #c6c3c6
+window.button.unfocus.picColor: #949694
+
+! tabs ------
+window.tab.justify: left
+
+window.tab.label.focus: flat gradient vertical
+window.tab.label.focus.color: #849ec6
+window.tab.label.focus.colorTo: #526d8c
+window.tab.label.focus.textColor: #d6d7e7
+
+window.tab.label.unfocus: flat gradient vertical
+window.tab.label.unfocus.color: #efefef
+window.tab.label.unfocus.colorTo: #c6c3c6
+window.tab.label.unfocus.textColor: #949694
+
+window.tab.borderWidth: 1
+window.tab.borderColor: #949694
+! -------
+
+toolbar.justify: left
+window.justify: center
+menu.title.justify: center
+menu.frame.justify: left
+
+borderColor: #000000
+borderWidth: 1
+bevelWidth: 1
+frameWidth: 1
+handleWidth: 4
+
+background: flat
+background.color: #d6d7e7
+
+#*font: Vera-4
+#toolbar.font: Vera-4
+
+toolbar*.font: Vera-6
+window.font: Vera-6
+menu.title.font: Vera-7
+menu.frame.font: Vera-7
+
diff --git a/recipes/fluxbox/fluxbox_0.99+1.0rc.bb b/recipes/fluxbox/fluxbox_0.99+1.0rc.bb
new file mode 100644
index 0000000000..d3bfda7595
--- /dev/null
+++ b/recipes/fluxbox/fluxbox_0.99+1.0rc.bb
@@ -0,0 +1,80 @@
+# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
+
+DESCRIPTION = "The Fluxbox WindowManager"
+HOMEPAGE = "http://fluxbox.sourceforge.net"
+LICENSE = "MIT"
+
+REALPV = "1.0rc"
+
+PV = "0.99+${REALPV}"
+PR = "r1"
+PE = "1"
+
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/fluxbox/fluxbox-${REALPV}.tar.gz \
+ file://gpe-init.patch;patch=1 \
+ file://apps.gpe.* \
+ file://style.gpe-default \
+ file://fluxbox-gpe-session \
+ file://fluxbox-gpe.session \
+ file://keys.* \
+ file://keylaunchrc.fluxbox \
+ file://gpe-logout.fluxbox"
+
+S = "${WORKDIR}/fluxbox-${REALPV}"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-xmb \
+ "
+
+do_install_append() {
+ install -d ${D}${bindir}
+ install -d ${D}${datadir}/fluxbox
+ install -d ${D}${datadir}/fluxbox/styles
+ install -d ${D}/etc
+
+ install -m 0644 ${WORKDIR}/apps.gpe.* ${D}${datadir}/fluxbox
+ install -m 0644 ${WORKDIR}/keys.* ${D}${datadir}/fluxbox
+ install -m 0755 ${WORKDIR}/fluxbox-gpe.session ${D}${datadir}/fluxbox/session
+ install -m 0644 ${WORKDIR}/style.gpe-default ${D}${datadir}/fluxbox/styles/gpe-default
+ install -m 0755 ${WORKDIR}/fluxbox-gpe-session ${D}${bindir}
+ install -m 0755 ${WORKDIR}/gpe-logout.fluxbox ${D}${bindir}
+ install -m 0644 ${WORKDIR}/keylaunchrc.fluxbox ${D}/etc
+}
+
+PACKAGES = "${PN}-dbg ${PN}-gpe ${PN}-styles ${PN}-doc ${PN}"
+
+DESCRIPTION_${PN}-styles = "The default styles for fluxbox"
+DESCRIPTION_${PN}-gpe = "The Fluxbox WindowManager for use with GPE"
+RDEPENDS_${PN}-gpe = "${PN}"
+
+FILES_${PN} = "${bindir} \
+ ${datadir}/fluxbox/init \
+ ${datadir}/fluxbox/keys \
+ ${datadir}/fluxbox/menu "
+
+FILES_${PN}-gpe = "${datadir}/fluxbox/apps.gpe* \
+ ${datadir}/fluxbox/keys.* \
+ ${bindir}/gpe-logout.fluxbox \
+ ${sysconfdir}/keylaunchrc.fluxbox \
+ ${datadir}/fluxbox/styles/gpe-default \
+ ${datadir}/fluxbox/session \
+ ${bindir}/fluxbox-gpe-session"
+
+FILES_${PN}-styles = "${datadir}/fluxbox/styles"
+
+FILES_${PN}-doc = "${datadir}/man"
+
+
+pkg_postinst_${PN}-gpe() {
+ update-alternatives --install ${bindir}/x-window-manager x-window-manager ${bindir}/fluxbox-gpe-session 15
+ update-alternatives --install ${bindir}/gpe-logout gpe-logout ${bindir}/gpe-logout.fluxbox 15
+ update-alternatives --install ${sysconfdir}keylaunchrc keylaunchrc ${sysconfdir}keylaunchrc.fluxbox 15
+}
+
+pkg_postrm_${PN}-gpe() {
+ update-alternatives --remove x-window-manager ${bindir}/fluxbox-gpe-session
+ update-alternatives --remove gpe-logout ${bindir}/gpe-logout.fluxbox
+ update-alternatives --remove keylaunchrc ${sysconfdir}keylaunchrc.fluxbox
+}
diff --git a/recipes/fluxbox/fluxbox_svn.bb b/recipes/fluxbox/fluxbox_svn.bb
new file mode 100644
index 0000000000..4bef6d82e2
--- /dev/null
+++ b/recipes/fluxbox/fluxbox_svn.bb
@@ -0,0 +1,76 @@
+# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
+
+DESCRIPTION = "The Fluxbox WindowManager"
+HOMEPAGE = "http://fluxbox.sourceforge.net"
+LICENSE = "MIT"
+
+PV = "0.99+svn${SRCDATE}"
+PR = "r1"
+PE = "1"
+
+SRC_URI = "svn://svn.berlios.de/fluxbox;module=trunk \
+ file://apps.gpe.* \
+ file://style.gpe-default \
+ file://fluxbox-gpe-session \
+ file://fluxbox-gpe.session \
+ file://keys.* \
+ file://keylaunchrc.fluxbox \
+ file://gpe-logout.fluxbox"
+
+S = "${WORKDIR}/trunk"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-xmb \
+ "
+
+do_install_append() {
+ install -d ${D}${bindir}
+ install -d ${D}${datadir}/fluxbox
+ install -d ${D}${datadir}/fluxbox/styles
+ install -d ${D}/etc
+
+ install -m 0644 ${WORKDIR}/apps.gpe.* ${D}${datadir}/fluxbox
+ install -m 0644 ${WORKDIR}/keys.* ${D}${datadir}/fluxbox
+ install -m 0755 ${WORKDIR}/fluxbox-gpe.session ${D}${datadir}/fluxbox/session
+ install -m 0644 ${WORKDIR}/style.gpe-default ${D}${datadir}/fluxbox/styles/gpe-default
+ install -m 0755 ${WORKDIR}/fluxbox-gpe-session ${D}${bindir}
+ install -m 0755 ${WORKDIR}/gpe-logout.fluxbox ${D}${bindir}
+ install -m 0644 ${WORKDIR}/keylaunchrc.fluxbox ${D}/etc
+}
+
+PACKAGES = "${PN}-dbg ${PN}-gpe ${PN}-styles ${PN}-doc ${PN}"
+
+DESCRIPTION_${PN}-styles = "The default styles for fluxbox"
+DESCRIPTION_${PN}-gpe = "The Fluxbox WindowManager for use with GPE"
+RDEPENDS_${PN}-gpe = "${PN}"
+
+FILES_${PN} = "${bindir} \
+ ${datadir}/fluxbox/init \
+ ${datadir}/fluxbox/keys \
+ ${datadir}/fluxbox/menu "
+
+FILES_${PN}-gpe = "${datadir}/fluxbox/apps.gpe* \
+ ${datadir}/fluxbox/keys.* \
+ ${bindir}/gpe-logout.fluxbox \
+ ${sysconfdir}keylaunchrc.fluxbox \
+ ${datadir}/fluxbox/styles/gpe-default \
+ ${datadir}/fluxbox/session \
+ ${bindir}/fluxbox-gpe-session"
+
+FILES_${PN}-styles = "${datadir}/fluxbox/styles"
+
+FILES_${PN}-doc = "${datadir}/man"
+
+
+pkg_postinst_${PN}-gpe() {
+ update-alternatives --install ${bindir}/x-window-manager x-window-manager ${bindir}/fluxbox-gpe-session 15
+ update-alternatives --install ${bindir}/gpe-logout gpe-logout ${bindir}/gpe-logout.fluxbox 15
+ update-alternatives --install ${sysconfdir}keylaunchrc keylaunchrc ${sysconfdir}keylaunchrc.fluxbox 15
+}
+
+pkg_postrm_${PN}-gpe() {
+ update-alternatives --remove x-window-manager ${bindir}/fluxbox-gpe-session
+ update-alternatives --remove gpe-logout ${bindir}/gpe-logout.fluxbox
+ update-alternatives --remove keylaunchrc ${sysconfdir}keylaunchrc.fluxbox
+}