wok rev 16429

Add tabbed + st from suckless and improve volumeicon integration
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 12:25:38 2014 +0200 (2014-04-18)
parents d51a214c13b7
children ad0058d03f19
files feh/receipt st/receipt st/stuff/st.desktop tabbed/receipt volumeicon/receipt volumeicon/stuff/autostart/volumeicon.desktop volumeicon/stuff/skel/.config/volumeicon/volumeicon
line diff
     1.1 --- a/feh/receipt	Fri Apr 18 12:50:13 2014 +0300
     1.2 +++ b/feh/receipt	Fri Apr 18 12:25:38 2014 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="2.10"
     1.5  CATEGORY="graphics"
     1.6  SHORT_DESC="Lightweight and powerful image viewer and composer"
     1.7 -MAINTAINER="mallory@sweetpeople.org"
     1.8 +MAINTAINER="pankso@slitaz.org"
     1.9  LICENSE="MIT"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://derf.homelinux.org/~derf/projects/feh/"
    1.12 @@ -20,9 +20,14 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd $src
    1.17  	sed -i -e 's:/usr/local:/usr:g' config.mk &&
    1.18 -	make && make DESTDIR=$DESTDIR install
    1.19 +	make && make DESTDIR=$DESTDIR install &&
    1.20 +	# Fix path to icon and remove from menu since it need a param to
    1.21 +	# load images.
    1.22 +	sed -i \
    1.23 +		-e s'#/home/slitaz/wok/feh/install##' \
    1.24 +		-e '/Categories.*/'d \
    1.25 +		$DESTDIR/usr/share/applications/feh.desktop || return 1
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/st/receipt	Fri Apr 18 12:25:38 2014 +0200
     2.3 @@ -0,0 +1,35 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="st"
     2.7 +VERSION="0.5"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="St is a simple terminal implementation for X."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="BSD"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="http://st.suckless.org/"
    2.14 +WGET_URL="http://dl.suckless.org/st/$TARBALL"
    2.15 +#HOST_ARCH="i486 arm"
    2.16 +
    2.17 +DEPENDS="xorg-libX11 xorg-libXft fontconfig freetype ncursesw-extra"
    2.18 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev fontconfig-dev \
    2.19 +freetype-dev"
    2.20 +
    2.21 +# Rules to configure and make the package.
    2.22 +compile_rules()
    2.23 +{
    2.24 +	make CC=${HOST_SYSTEM}-gcc
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
    2.31 +	cp -a ${src}/${PACKAGE} $fs/usr/bin
    2.32 +	cp ${src}/st.info $fs/usr/share/${PACKAGE}
    2.33 +}
    2.34 +
    2.35 +post_install()
    2.36 +{
    2.37 +	chroot $1/ tic -s /usr/share/${PACKAGE}/st.info
    2.38 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/st/stuff/st.desktop	Fri Apr 18 12:25:38 2014 +0200
     3.3 @@ -0,0 +1,6 @@
     3.4 +[Desktop Entry]
     3.5 +Type=Application
     3.6 +Name=St X Terminal
     3.7 +Icon=xterm
     3.8 +Exec=st
     3.9 +Categories=System;
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/tabbed/receipt	Fri Apr 18 12:25:38 2014 +0200
     4.3 @@ -0,0 +1,36 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="tabbed"
     4.7 +VERSION="0.6"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="Simple generic tabbed fronted to xembed aware applications."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +LICENSE="BSD"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.13 +WEB_SITE="http://tools.suckless.org/tabbed/"
    4.14 +WGET_URL="http://dl.suckless.org/tools/$TARBALL"
    4.15 +HOST_ARCH="i486 arm"
    4.16 +
    4.17 +DEPENDS="xorg-libX11 xorg-xwininfo"
    4.18 +BUILD_DEPENDS="xorg-libX11-dev"
    4.19 +
    4.20 +# Rules to configure and make the package.
    4.21 +compile_rules()
    4.22 +{
    4.23 +	case "$ARCH" in
    4.24 +		arm*)
    4.25 +			sysroot="/cross/$ARCH/sysroot"
    4.26 +			sed -i \
    4.27 +				-e s"#LIBS =.*#LIBS = -L$sysroot/usr/lib -lc -lX11#" \
    4.28 +				-e s"#INCS =.*#INCS = -I. -I$sysroot/usr/include#" \
    4.29 +				config.mk || return 1 
    4.30 +	esac
    4.31 +	make CC=${HOST_SYSTEM}-gcc
    4.32 +}
    4.33 +
    4.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.35 +genpkg_rules()
    4.36 +{
    4.37 +	mkdir -p $fs/usr/bin $fs/usr/share/${PACKAGE}
    4.38 +	cp -a ${src}/${PACKAGE} $fs/usr/bin
    4.39 +}
     5.1 --- a/volumeicon/receipt	Fri Apr 18 12:50:13 2014 +0300
     5.2 +++ b/volumeicon/receipt	Fri Apr 18 12:25:38 2014 +0200
     5.3 @@ -9,6 +9,7 @@
     5.4  WEB_SITE="http://softwarebakery.com/maato/volumeicon.html"
     5.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     5.6  WGET_URL="http://softwarebakery.com/maato/files/$PACKAGE/$TARBALL"
     5.7 +HOST_ARCH="i486 arm"
     5.8  
     5.9  DEPENDS="gtk+ alsa-lib libnotify"
    5.10  BUILD_DEPENDS="gtk+-dev alsa-lib-dev libnotify-dev"
    5.11 @@ -18,12 +19,16 @@
    5.12  {
    5.13  	patch -p0 < $stuff/alsa_backend.patch
    5.14  	./configure --enable-notify $CONFIGURE_ARGS && 
    5.15 -	make && 
    5.16 -	make install
    5.17 +	make && make install
    5.18  }
    5.19  
    5.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.21  genpkg_rules()
    5.22  {
    5.23 -	cp -a $install/* $fs
    5.24 +	mkdir -p $fs/etc/xdg
    5.25 +	cp -rf ${stuff}/autostart $fs/etc/xdg
    5.26 +	cp -rf ${stuff}/skel $fs/etc
    5.27 +	cp -rf $install/* $fs
    5.28 +	rm -rf $fs/usr/share/${PACKAGE}/icons/*Gnone
    5.29 +	rm -rf $fs/usr/share/${PACKAGE}/icons/tango
    5.30  }
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/volumeicon/stuff/autostart/volumeicon.desktop	Fri Apr 18 12:25:38 2014 +0200
     6.3 @@ -0,0 +1,6 @@
     6.4 +[Desktop Entry]
     6.5 +Type=Application
     6.6 +Name=Audio Volume mamangement
     6.7 +Name[fr]=Gestion du volume audio
     6.8 +Exec=volumeicon
     6.9 +NotShowIn=XFCE;Razor;
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/volumeicon/stuff/skel/.config/volumeicon/volumeicon	Fri Apr 18 12:25:38 2014 +0200
     7.3 @@ -0,0 +1,19 @@
     7.4 +[StatusIcon]
     7.5 +stepsize=5
     7.6 +lmb_slider=false
     7.7 +mmb_mute=false
     7.8 +use_horizontal_slider=false
     7.9 +show_sound_level=false
    7.10 +onclick=xterm -e 'alsamixer'
    7.11 +theme=Default
    7.12 +
    7.13 +[Hotkeys]
    7.14 +up_enabled=true
    7.15 +down_enabled=true
    7.16 +mute_enabled=true
    7.17 +up=XF86AudioRaiseVolume
    7.18 +down=XF86AudioLowerVolume
    7.19 +mute=XF86AudioMute
    7.20 +
    7.21 +[Alsa]
    7.22 +card=default