wok-next rev 11886
fluxbox: Improve package integration
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 28 14:36:10 2012 +0100 (2012-02-28) |
parents | b7568c3f7659 |
children | 1af043c699da |
files | fluxbox/receipt fluxbox/stuff/slitaz.menu fluxbox/stuff/startup |
line diff
1.1 --- a/fluxbox/receipt Tue Feb 28 14:35:10 2012 +0100 1.2 +++ b/fluxbox/receipt Tue Feb 28 14:36:10 2012 +0100 1.3 @@ -1,37 +1,41 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="fluxbox" 1.7 -VERSION="1.3.1" 1.8 +VERSION="1.3.2" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Fluxbox is a windowmanager for X. It is very light on resources and easy to handle but yet full of features." 1.11 -MAINTAINER="mallory@sweetpeople.org" 1.12 -DEPENDS="fontconfig imlib2 xorg-libICE xorg-libSM xorg-libX11 \ 1.13 -xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft xorg-libXinerama \ 1.14 -xorg-libXpm xorg-libXrandr xorg-libXrender gcc-lib-base" 1.15 +SHORT_DESC="Fluxbox is a light and fast window manager for X." 1.16 +MAINTAINER="pankso@slitaz.org" 1.17 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 WEB_SITE="http://www.fluxbox.org/" 1.19 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.20 TAGS="wm window-manager" 1.21 1.22 +DEPENDS="xorg fontconfig imlib2" 1.23 +BUILD_DEPENDS="xorg fontconfig imlib2" 1.24 + 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 cd $src 1.29 - patch -p1 < $stuff/fluxbox-gcc-4.3.3.diff 1.30 - ./configure \ 1.31 - --prefix=/usr \ 1.32 - --infodir=/usr/share/info \ 1.33 - --mandir=/usr/share/man \ 1.34 - $CONFIGURE_ARGS && 1.35 - make && make DESTDIR=$PWD/_pkg install 1.36 + #patch -p1 < $stuff/fluxbox-gcc-4.3.3.diff 1.37 + ./configure $CONFIGURE_ARGS && 1.38 + make && make install 1.39 } 1.40 1.41 # Rules to gen a SliTaz package suitable for Tazpkg. 1.42 genpkg_rules() 1.43 { 1.44 - mkdir -p $fs/usr 1.45 - cp -a $_pkg/usr/bin $fs/usr 1.46 - cp -a $_pkg/usr/share $fs/usr 1.47 + mkdir -p $fs/usr/share/fluxbox/styles 1.48 + cp -a $install/usr/bin $fs/usr 1.49 + for f in apps keys overlay windowmenu init menu 1.50 + do 1.51 + cp -a $install/usr/share/fluxbox/$f $fs/usr/share/fluxbox 1.52 + done 1.53 + for s in Shade Flux bloe Results 1.54 + do 1.55 + cp -a $install/usr/share/fluxbox/styles/$s \ 1.56 + $fs/usr/share/fluxbox/styles 1.57 + done 1.58 } 1.59 1.60 post_install()
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/fluxbox/stuff/slitaz.menu Tue Feb 28 14:36:10 2012 +0100 2.3 @@ -0,0 +1,32 @@ 2.4 +# SliTaz GNU/Linux Fluxbox default menu. 2.5 +# 2.6 +[begin] (Fluxbox) 2.7 +[encoding] {UTF-8} 2.8 + [exec] (Xterm) {xterm} 2.9 + [exec] (Midori) {midori} 2.10 + [exec] (Run) {fbrun} 2.11 +[submenu] (Terminals) 2.12 + [exec] (Xterm) {xterm} 2.13 + [exec] (Sakura) {sakura} 2.14 +[end] 2.15 +[workspaces] (Workspace List) 2.16 +[submenu] (Fluxbox menu) 2.17 + [config] (Configure) 2.18 +[submenu] (System Styles) {Choose a style...} 2.19 + [stylesdir] (/usr/share/fluxbox/styles) 2.20 +[end] 2.21 +[submenu] (User Styles) {Choose a style...} 2.22 + [stylesdir] (~/.fluxbox/styles) 2.23 +[end] 2.24 +[submenu] (Window Managers) 2.25 + [restart] (openbox) {openbox} 2.26 +[end] 2.27 + [commanddialog] (Fluxbox Command) 2.28 + [reconfig] (Reload config) 2.29 + [restart] (Restart) 2.30 + 2.31 +[end] 2.32 +[separator] 2.33 +[exit] (Exit) 2.34 +[endencoding] 2.35 +[end]
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/fluxbox/stuff/startup Tue Feb 28 14:36:10 2012 +0100 3.3 @@ -0,0 +1,14 @@ 3.4 +#!/bin/sh 3.5 +# 3.6 +# SliTaz GNU/Linux Fluxbox start up script. 3.7 +# 3.8 + 3.9 +# DBUS message bus (automount removable devices) 3.10 +dbus-launch --sh-syntax --exit-with-session & 3.11 + 3.12 +# Start PCmanFM as daemon for Wallpaper and desktop icons. 3.13 +pcmanfm -d & 3.14 + 3.15 +# Now we start fluxbox itself. To keep a log you can use: 3.16 +# exec fluxbox -log "/home/pankso/.fluxbox/log" 3.17 +exec fluxbox