# HG changeset patch # User Christophe Lincoln # Date 1204903413 -3600 # Node ID 820148214f2132e6ea63bab01753f56355d8f91e # Parent f0063c72cc748babbc91f51ee22472eb015385ee Now SliTaz have got a *box... Openbox (with obconf) diff -r f0063c72cc74 -r 820148214f21 obconf/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/obconf/receipt Fri Mar 07 16:23:33 2008 +0100 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="obconf" +VERSION="2.0.3" +CATEGORY="x-window" +SHORT_DESC="Openbox WM configuration interface." +MAINTAINER="pankso@slitaz.org" +DEPENDS="openbox gtk+ libglade" +BUILD_DEPENDS="xorg-dev gtk+-dev libglade-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://icculus.org/openbox/" +WGET_URL="http://icculus.org/openbox/obconf/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/obconf $fs/usr/share + cp -a $_pkg/usr/share/mime $fs/usr/share +} diff -r f0063c72cc74 -r 820148214f21 openbox-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openbox-dev/receipt Fri Mar 07 16:23:33 2008 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="openbox-dev" +VERSION="3.4.6.1" +CATEGORY="development" +SHORT_DESC="Ob devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="openbox" +WEB_SITE="http://icculus.org/openbox/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r f0063c72cc74 -r 820148214f21 openbox/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openbox/receipt Fri Mar 07 16:23:33 2008 +0100 @@ -0,0 +1,46 @@ +# SliTaz package receipt. + +PACKAGE="openbox" +VERSION="3.4.6.1" +CATEGORY="x-window" +SHORT_DESC="Small-footprint and standard compliant Window Manager." +MAINTAINER="pankso@slitaz.org" +DEPENDS="startup-notification pango glib xorg-libX11" +SUGGESTED="obconf hsetroot" +BUILD_DEPENDS="xorg-dev pango-dev glib-dev startup-notification-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://icculus.org/openbox/" +WGET_URL="http://icculus.org/openbox/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + chmod +x install-sh + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $_pkg/usr/share/themes $fs/usr/share + # We dont have GNOME or KDE + rm $fs/usr/bin/openbox-gnome-session + rm $fs/usr/bin/openbox-kde-session + rm $fs/usr/bin/gnome-panel-control + chmod 0755 $fs/usr/bin/openbox-session + # Menu config and autostart script. + mkdir -p $fs/etc/xdg + cp -a stuff/openbox $fs/etc/xdg + chown -R root.root $fs +} diff -r f0063c72cc74 -r 820148214f21 openbox/stuff/openbox/autostart.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openbox/stuff/openbox/autostart.sh Fri Mar 07 16:23:33 2008 +0100 @@ -0,0 +1,20 @@ +# This shell script is run before Openbox launches. +# Environment variables set here are passed to the Openbox session. + +BG=/usr/share/images/slitaz-yellowshadow-1024x768.png +#BG=$HOME/Images/background.png + +# Set a background color usin hsetroot (depends on imlib2) or xsetroot. +if which hsetroot >/dev/null; then + hsetroot -fill $BG & +else + if which xsetroot >/dev/null; then + xsetroot -solid "#222222" & + fi +fi + +# Login sound. +alsaplayer -i text /usr/share/sounds/login.ogg || continue & + +# Start the panel. +lxpanel || continue & diff -r f0063c72cc74 -r 820148214f21 openbox/stuff/openbox/menu.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openbox/stuff/openbox/menu.xml Fri Mar 07 16:23:33 2008 +0100 @@ -0,0 +1,76 @@ + + + + + + + xterm + + + firefox + + + leafpad + + + gpicview + + + + + + xcompmgr + + + xcompmgr -c + + + xcompmgr -c -f + + + + transset-df --actual --max 60 + + + transset-df --click --max 60 + + + + killall xcompmgr + + + + + + subox tazlitobox + + + subox "xterm -e tazusb writefs" + + + + + + + emelfm2 --one=~ + + + + + + + + + yesopenbox + obconf + + + + + + + + + + + diff -r f0063c72cc74 -r 820148214f21 openbox/stuff/openbox/rc.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/openbox/stuff/openbox/rc.xml Fri Mar 07 16:23:33 2008 +0100 @@ -0,0 +1,699 @@ + + + + + 10 + 20 + + + yes + + no + + yes + + no + + 200 + + no + + + + Smart + +
yes
+ + Any + +
+ + Ardoris + NLIMC + + yes + yes + + Sans + 10 + + Bold + + Normal + + + + Sans + 10 + + Bold + + Normal + + + + Sans + 10 + + Normal + + Normal + + + + Sans + 10 + + Normal + + Normal + + + + sans + 9 + + bold + + normal + + + + + + 4 + 1 + + + + 875 + + + + yes + Nonpixel + + Center + + + + 10 + + 10 + + + + + + 0 + 0 + 0 + 0 + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + C-g + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + no + no + + + + + 1 + + + + + 2 + + + + + 3 + + + + + 4 + + + + + + + + + + + + + + + + + client-menu + + + + + + + + + + + + yes + yes + + + + + + + true + Konqueror + + kfmclient openProfile filemanagement + + + + + 8 + + 200 + + 400 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + + + + + + top + + + + + + + + + + + left + + + + + + + + + + + right + + + + + + + + + + + bottom + + + + + + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-menu + + + + + + + client-menu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + client-list-combined-menu + + + + + root-menu + + + + + + + + + + + + + + + + + + + + + + menu.xml + 200 + + no + + 100 + + yes + + yes + + + + + +