summaryrefslogtreecommitdiff
path: root/packages/fluxbox
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-07-02 19:23:08 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-02 19:23:08 +0000
commit538548f125d52702713a8f8fe25c57b321d25bfe (patch)
treeaf54c254b5aab10dd4a1d6922dd26e4ec3b73cd1 /packages/fluxbox
parent2a879a41ae068dbd9c2d43b355ff65e492b7be77 (diff)
fluxbox: Add fluxbox-gpe, a GPE session using the fluxbox windowmanager and toolbar.
Diffstat (limited to 'packages/fluxbox')
-rw-r--r--packages/fluxbox/.mtn2git_empty0
-rw-r--r--packages/fluxbox/fluxbox-gpe/.mtn2git_empty0
-rw-r--r--packages/fluxbox/fluxbox-gpe/apps.gpe13
-rw-r--r--packages/fluxbox/fluxbox-gpe/fluxbox-gpe-session30
-rw-r--r--packages/fluxbox/fluxbox-gpe/fluxbox-gpe.session9
-rw-r--r--packages/fluxbox/fluxbox-gpe/gpe-init.patch121
-rw-r--r--packages/fluxbox/fluxbox-gpe/style.gpe-default137
-rw-r--r--packages/fluxbox/fluxbox-gpe_1.0rc.bb77
8 files changed, 387 insertions, 0 deletions
diff --git a/packages/fluxbox/.mtn2git_empty b/packages/fluxbox/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fluxbox/.mtn2git_empty
diff --git a/packages/fluxbox/fluxbox-gpe/.mtn2git_empty b/packages/fluxbox/fluxbox-gpe/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/fluxbox/fluxbox-gpe/.mtn2git_empty
diff --git a/packages/fluxbox/fluxbox-gpe/apps.gpe b/packages/fluxbox/fluxbox-gpe/apps.gpe
new file mode 100644
index 0000000000..24d095f0fc
--- /dev/null
+++ b/packages/fluxbox/fluxbox-gpe/apps.gpe
@@ -0,0 +1,13 @@
+[app] (title=Panel 0)
+ [Deco] {NONE}
+[end]
+[app] (title=Panel 1)
+ [Deco] {NONE}
+[end]
+[app] (title=rxvt)
+ [Dimensions] {635 440}
+[end]
+[app] (title=x-terminal-emulator)
+ [Dimensions] {635 440}
+[end]
+
diff --git a/packages/fluxbox/fluxbox-gpe/fluxbox-gpe-session b/packages/fluxbox/fluxbox-gpe/fluxbox-gpe-session
new file mode 100644
index 0000000000..ca0afea35d
--- /dev/null
+++ b/packages/fluxbox/fluxbox-gpe/fluxbox-gpe-session
@@ -0,0 +1,30 @@
+#!/bin/sh
+#
+# Session script for fluxbox-gpe, heavily based on matchbox's session script
+#
+
+# Install "apps" file with defaults for GPE usage
+if test -e /usr/share/fluxbox/apps.gpe
+then
+ mkdir -p $HOME/.fluxbox
+ test -e $HOME/.fluxbox/apps || cp /usr/share/fluxbox/apps.gpe $HOME/.fluxbox/apps
+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/packages/fluxbox/fluxbox-gpe/fluxbox-gpe.session b/packages/fluxbox/fluxbox-gpe/fluxbox-gpe.session
new file mode 100644
index 0000000000..16b7a2703a
--- /dev/null
+++ b/packages/fluxbox/fluxbox-gpe/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/packages/fluxbox/fluxbox-gpe/gpe-init.patch b/packages/fluxbox/fluxbox-gpe/gpe-init.patch
new file mode 100644
index 0000000000..c9836923d8
--- /dev/null
+++ b/packages/fluxbox/fluxbox-gpe/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/packages/fluxbox/fluxbox-gpe/style.gpe-default b/packages/fluxbox/fluxbox-gpe/style.gpe-default
new file mode 100644
index 0000000000..f94aaf7cdd
--- /dev/null
+++ b/packages/fluxbox/fluxbox-gpe/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/packages/fluxbox/fluxbox-gpe_1.0rc.bb b/packages/fluxbox/fluxbox-gpe_1.0rc.bb
new file mode 100644
index 0000000000..6becbe365d
--- /dev/null
+++ b/packages/fluxbox/fluxbox-gpe_1.0rc.bb
@@ -0,0 +1,77 @@
+#
+# Copyright Matthias Hentges <devel@hentges.net> (c) 2006
+# License: MIT (see http://www.opensource.org/licenses/mit-license.php for a copy of the license)
+#
+# Filename: fluxbox-gpe_1.0rc.bb
+# Date: 01-Jul-06
+
+DESCRIPTION = "The Fluxbox WindowManager for use with GPE"
+MAINTAINER = "Matthias 'CoreDump' Hentges <oe@hentges.net>"
+HOMEPAGE = "http://fluxbox.sourceforge.net"
+LICENSE = "MIT"
+RCONFLICTS = "fluxbox"
+
+######################################################################################
+
+PR = "r0"
+S = "${WORKDIR}/fluxbox-${PV}"
+
+######################################################################################
+
+SRC_URI = "http://switch.dl.sourceforge.net/sourceforge/fluxbox/fluxbox-${PV}.tar.gz \
+ file://gpe-init.patch;patch=1\
+ file://apps.gpe \
+ file://style.gpe-default \
+ file://fluxbox-gpe-session \
+ file://fluxbox-gpe.session"
+
+######################################################################################
+
+PACKAGES = "${PN} ${PN}-styles"
+
+DESCRIPTION_${PN}-styles = "The default styles for fluxbox"
+
+######################################################################################
+
+FILES_${PN} = "/usr/bin \
+ /usr/share/fluxbox/init \
+ /usr/share/fluxbox/keys \
+ /usr/share/fluxbox/menu \
+ /usr/share/fluxbox/apps.gpe \
+ /usr/share/fluxbox/session \
+ /usr/share/fluxbox/styles/gpe-default"
+
+FILES_${PN}-styles = "/usr/share/fluxbox/styles"
+
+######################################################################################
+
+inherit autotools
+
+######################################################################################
+
+EXTRA_OECONF = "--disable-xmb \
+ "
+
+######################################################################################
+
+do_install_append() {
+ install -d ${D}/usr/bin
+ install -d ${D}/usr/share/fluxbox
+ install -d ${D}/usr/share/fluxbox/styles
+
+ install -m 0644 ${WORKDIR}/apps.gpe ${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
+}
+
+######################################################################################
+
+pkg_postinst_${PN}() {
+ update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/fluxbox-gpe-session 15
+}
+
+pkg_postrm_${PN}() {
+ update-alternatives --remove x-window-manager /usr/bin/fluxbox-gpe-session
+}
+