wok rev 16103

ARM: add dwm, dmenu, mpc, nmpc
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 18 22:35:00 2014 +0100 (2014-03-18)
parents bdce2e1088df
children 1542ed37bed0
files dmenu/receipt dwm/receipt dwm/stuff/dwmbox libmpdclient-dev/receipt libmpdclient/receipt mpc/receipt ncmpc/receipt pango/receipt slim/receipt xorg-libXinerama-dev/receipt xorg-libXinerama/receipt
line diff
     1.1 --- a/dmenu/receipt	Tue Mar 18 20:06:52 2014 +0000
     1.2 +++ b/dmenu/receipt	Tue Mar 18 22:35:00 2014 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="dmenu"
     1.7 -VERSION="4.1.1"
     1.8 +VERSION="4.5"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="dynamic menu lauch bar"
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12 @@ -10,6 +10,7 @@
    1.13  WEB_SITE="http://tools.suckless.org/dmenu/"
    1.14  WGET_URL="http://dl.suckless.org/tools/$TARBALL"
    1.15  TAGS="launchbar"
    1.16 +HOST_ARCH="i486 arm"
    1.17  
    1.18  DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXinerama"
    1.19  BUILD_DEPENDS="xorg-libX11-dev xorg-libXinerama-dev"
    1.20 @@ -17,8 +18,7 @@
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24 -    cd $src
    1.25 -    make &&
    1.26 +    make CC=${HOST_SYSTEM}-gcc &&
    1.27      make DESTDIR=$DESTDIR install
    1.28  }
    1.29  
     2.1 --- a/dwm/receipt	Tue Mar 18 20:06:52 2014 +0000
     2.2 +++ b/dwm/receipt	Tue Mar 18 22:35:00 2014 +0100
     2.3 @@ -7,9 +7,10 @@
     2.4  MAINTAINER="pankso@slitaz.org"
     2.5  LICENSE="MIT"
     2.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.7 -WEB_SITE="http://www.suckless.org/dwm/"
     2.8 +WEB_SITE="http://dwm.suckless.org/"
     2.9  WGET_URL="http://dl.suckless.org/dwm/$TARBALL"
    2.10  TAGS="wm window-manager"
    2.11 +HOST_ARCH="i486 arm"
    2.12  
    2.13  DEPENDS="xorg-libX11 xorg-xsetroot"
    2.14  BUILD_DEPENDS="xorg-libX11-dev xorg-xproto xorg-xineramaproto \
    2.15 @@ -18,9 +19,8 @@
    2.16  # Rules to configure and make the package.
    2.17  compile_rules()
    2.18  {
    2.19 -	cd $src
    2.20 -	# From blue to brown and have lighter grey
    2.21 -	sed -i s/'#0066ff'/'#754800'/g config.def.h
    2.22 +	# From blue to grey and have lighter grey
    2.23 +	sed -i s/'#0066ff'/'#222222'/g config.def.h
    2.24  	sed -i s/'#cccccc'/'#f1efeb'/g config.def.h
    2.25  	# 6 tag-mask
    2.26  	sed -i s/', "7", "8", "9"'// config.def.h
    2.27 @@ -28,7 +28,7 @@
    2.28  	sed -i s/'1 << 8,'/'0,     '/ config.def.h
    2.29  	# [Shift]+[Alt]+[Enter]
    2.30  	sed -i s/uxterm/xterm/ config.def.h
    2.31 -	make
    2.32 +	make CC=${HOST_SYSTEM}-gcc
    2.33  }
    2.34  
    2.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.36 @@ -37,7 +37,6 @@
    2.37  	mkdir -p $fs/usr/bin
    2.38  	cp -a $src/dwm $fs/usr/bin
    2.39  	cp -a $stuff/dwm-session $fs/usr/bin
    2.40 -	cp -a $stuff/dwmbox $fs/usr/bin
    2.41  	chown 0.0 $fs/usr/bin/*
    2.42  }
    2.43  
     3.1 --- a/dwm/stuff/dwmbox	Tue Mar 18 20:06:52 2014 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,70 +0,0 @@
     3.4 -#!/bin/sh
     3.5 -#
     3.6 -# Tiny GTKdialog box to help stating and usinf dwm.
     3.7 -# (c) 2009 SliTaz GNU/Linux project - GNU gpl v3
     3.8 -#
     3.9 -
    3.10 -export CONFIG_DIR="~/.config/dwm"
    3.11 -export AUTOSTART_SCRIPT="${CONFIG_DIR}/autostart.sh"
    3.12 -
    3.13 -box()
    3.14 -{
    3.15 -	export BOX='
    3.16 -<window title="dwm" icon-name="video-display">
    3.17 -<vbox>
    3.18 -	<vbox>
    3.19 -		<text>
    3.20 -			<label>
    3.21 -"
    3.22 -Dynamic Window Manager: [Shift+Alt+ENTER] to open a terminal.
    3.23 -"
    3.24 -			</label>
    3.25 -		</text>
    3.26 -	</vbox>
    3.27 -	<hbox>
    3.28 -		<entry>
    3.29 -			<variable>RUN</variable>
    3.30 -		</entry>
    3.31 -		<button>
    3.32 -			<label>Run</label>
    3.33 -			<input file icon="forward"></input>
    3.34 -			<action>$RUN &</action>
    3.35 -		</button>
    3.36 -	</hbox>
    3.37 -	<hbox>
    3.38 -		<button>
    3.39 -			<label>Terminal</label>
    3.40 -			<input file icon="xterm"></input>
    3.41 -			<action>xterm &</action>
    3.42 -		</button>
    3.43 -		<button>
    3.44 -			<label>Autostarted apps</label>
    3.45 -			<input file icon="gtk-edit"></input>
    3.46 -			<action>xterm -e "nano $AUTOSTART_SCRIPT" &</action>
    3.47 -		</button>
    3.48 -		<button>
    3.49 -			<label>Close box</label>
    3.50 -			<input file icon="gtk-close"></input>	
    3.51 -			<action type="exit">exit</action>
    3.52 -		</button>
    3.53 -		<button>
    3.54 -			<label>Exit dwm</label>
    3.55 -			<input file icon="gtk-quit"></input>	
    3.56 -			<action>killall dwm</action>
    3.57 -		</button>
    3.58 -	</hbox>
    3.59 -</vbox>
    3.60 -</window>'
    3.61 -	gtkdialog --center --program=BOX
    3.62 -}
    3.63 -
    3.64 -case $1 in
    3.65 -	*_*)
    3.66 -		# Exec all function called by args (must have an underscore).
    3.67 -		$1 ;;
    3.68 -	*)
    3.69 -		sleep 1
    3.70 -		box ;;
    3.71 -esac
    3.72 -
    3.73 -exit 0
     4.1 --- a/libmpdclient-dev/receipt	Tue Mar 18 20:06:52 2014 +0000
     4.2 +++ b/libmpdclient-dev/receipt	Tue Mar 18 22:35:00 2014 +0100
     4.3 @@ -1,13 +1,14 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libmpdclient-dev"
     4.7 -VERSION="2.4"
     4.8 +VERSION="2.6"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="libmpdclient dev files."
    4.11  MAINTAINER="erjo@slitaz.org"
    4.12  LICENSE="BSD"
    4.13  WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
    4.14  WANTED="libmpdclient"
    4.15 +HOST_ARCH="i486 arm"
    4.16  
    4.17  DEPENDS="libmpdclient pkg-config"
    4.18  
     5.1 --- a/libmpdclient/receipt	Tue Mar 18 20:06:52 2014 +0000
     5.2 +++ b/libmpdclient/receipt	Tue Mar 18 22:35:00 2014 +0100
     5.3 @@ -1,14 +1,15 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="libmpdclient"
     5.7 -VERSION="2.4"
     5.8 +VERSION="2.6"
     5.9  CATEGORY="system-tools"
    5.10  SHORT_DESC="C & C++ API library for MPD."
    5.11  MAINTAINER="erjo@slitaz.org"
    5.12  LICENSE="BSD"
    5.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.14  WEB_SITE="http://mpd.wikia.com/wiki/ClientLib:libmpdclient"
    5.15 -WGET_URL="$SF_MIRROR/musicpd/$VERSION/$TARBALL"
    5.16 +WGET_URL="http://www.musicpd.org/download/$PACKAGE/2/$TARBALL"
    5.17 +HOST_ARCH="i486 arm"
    5.18  
    5.19  DEPENDS=""
    5.20  
    5.21 @@ -17,11 +18,8 @@
    5.22  {
    5.23  	cd $src
    5.24  	./configure \
    5.25 -		--prefix=/usr \
    5.26 -		--infodir=/usr/share/info \
    5.27 -		--mandir=/usr/share/man \
    5.28  		$CONFIGURE_ARGS &&
    5.29 -	make && make DESTDIR=$DESTDIR install
    5.30 +	make && make install
    5.31  }
    5.32  
    5.33  # Rules to gen a SliTaz package suitable for Tazpkg.
     6.1 --- a/mpc/receipt	Tue Mar 18 20:06:52 2014 +0000
     6.2 +++ b/mpc/receipt	Tue Mar 18 22:35:00 2014 +0100
     6.3 @@ -1,25 +1,23 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="mpc"
     6.7 -VERSION="0.20"
     6.8 +VERSION="0.25"
     6.9  CATEGORY="multimedia"
    6.10  SHORT_DESC="A command line tool to interface MPD."
    6.11  MAINTAINER="paul@slitaz.org"
    6.12  LICENSE="GPL2"
    6.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.14 -WEB_SITE="http://www.musicpd.org/mpc.shtml"
    6.15 -WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL"
    6.16 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    6.17 +WEB_SITE="http://www.musicpd.org/clients/mpc/"
    6.18 +WGET_URL="http://www.musicpd.org/download/mpc/0/$TARBALL"
    6.19 +HOST_ARCH="i486 arm"
    6.20  
    6.21  DEPENDS="mpd libmpdclient"
    6.22  BUILD_DEPENDS="libmpdclient-dev"
    6.23  
    6.24  compile_rules()
    6.25  {
    6.26 -	cd $src
    6.27 -	./configure --prefix=/usr --infodir=/usr/share/info \
    6.28 -	--mandir=/usr/share/man $CONFIGURE_ARGS
    6.29 -	make
    6.30 -	make DESTDIR=$DESTDIR install
    6.31 +	./configure $CONFIGURE_ARGS
    6.32 +	make && make install
    6.33  }
    6.34  
    6.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.36 @@ -27,6 +25,4 @@
    6.37  {
    6.38  	mkdir -p $fs/usr/share/mpc
    6.39  	cp -a $install/usr/bin $fs/usr
    6.40 -	cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share
    6.41  }
    6.42 -
     7.1 --- a/ncmpc/receipt	Tue Mar 18 20:06:52 2014 +0000
     7.2 +++ b/ncmpc/receipt	Tue Mar 18 22:35:00 2014 +0100
     7.3 @@ -1,25 +1,25 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="ncmpc"
     7.7 -VERSION="0.19"
     7.8 +VERSION="0.21"
     7.9  CATEGORY="multimedia"
    7.10  SHORT_DESC="A ncurses MPD client."
    7.11  MAINTAINER="paul@slitaz.org"
    7.12  LICENSE="GPL2"
    7.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    7.14 -WEB_SITE="http://hem.bredband.net/kaw/ncmpc/index.html"
    7.15 -WGET_URL="$SF_MIRROR/musicpd/$PACKAGE/$VERSION/$TARBALL"
    7.16 +WEB_SITE="http://www.musicpd.org/clients/ncmpc/"
    7.17 +WGET_URL="http://www.musicpd.org/download/ncmpc/0/$TARBALL"
    7.18  TAGS="music player"
    7.19 +HOST_ARCH="i486 arm"
    7.20  
    7.21  DEPENDS="mpd glib ncurses libmpdclient"
    7.22 -BUILD_DEPENDS="pkg-config gtk+-dev ncurses-dev libmpdclient-dev"
    7.23 +BUILD_DEPENDS="glib-dev ncurses-dev libmpdclient-dev"
    7.24  
    7.25  # Rules to configure and make the package.
    7.26  compile_rules()
    7.27  {
    7.28 -	cd $src
    7.29  	./configure \
    7.30 -	$CONFIGURE_ARGS &&
    7.31 +		$CONFIGURE_ARGS &&
    7.32  	make && make install
    7.33  }
    7.34  
    7.35 @@ -28,6 +28,5 @@
    7.36  {
    7.37  	mkdir -p $fs/usr/share/ncmpc
    7.38  	cp -a $install/usr/bin $fs/usr
    7.39 -	cp -a $install/usr/share/doc/$PACKAGE $fs/usr/share
    7.40  }
    7.41  
     8.1 --- a/pango/receipt	Tue Mar 18 20:06:52 2014 +0000
     8.2 +++ b/pango/receipt	Tue Mar 18 22:35:00 2014 +0100
     8.3 @@ -19,14 +19,10 @@
     8.4  
     8.5  # Handle cross compilation
     8.6  case "$ARCH" in
     8.7 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
     8.8  	arm*) export LDFLAGS="-L/cross/$ARCH/sysroot/usr/lib" ;;
     8.9  esac
    8.10  
    8.11 -# Handle cross compilation
    8.12 -case "$ARCH" in
    8.13 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev" ;;
    8.14 -esac
    8.15 -
    8.16  # Rules to configure and make the package.
    8.17  compile_rules()
    8.18  {
     9.1 --- a/slim/receipt	Tue Mar 18 20:06:52 2014 +0000
     9.2 +++ b/slim/receipt	Tue Mar 18 22:35:00 2014 +0100
     9.3 @@ -10,12 +10,16 @@
     9.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     9.5  WGET_URL="http://download.berlios.de/slim/$TARBALL"
     9.6  CONFIG_FILES="/etc/slim.conf"
     9.7 +HOST_ARCH="i486 arm"
     9.8  
     9.9 +RELATED="slim-pam slim-theme-default" # don't forget to upgrade them too
    9.10 +SUGGESTED="slim-theme-default slitaz-configs"
    9.11  DEPENDS="gcc-lib-base libjpeg libpng xorg-libXft xorg-libXmu"
    9.12 -SUGGESTED="slim-theme-default slitaz-configs"
    9.13 -BUILD_DEPENDS="cmake freetype-dev jpeg-dev libpng-dev xorg-libXft-dev \
    9.14 -xorg-libXmu-dev"
    9.15 -RELATED="slim-pam slim-theme-default" # don't forget to upgrade them too
    9.16 +BUILD_DEPENDS="freetype-dev jpeg-dev libpng-dev xorg-libXft-dev xorg-libXmu-dev"
    9.17 +
    9.18 +case "$ARCH" in
    9.19 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS cmake" ;;
    9.20 +esac
    9.21  
    9.22  # Rules to configure and make the package.
    9.23  compile_rules()
    10.1 --- a/xorg-libXinerama-dev/receipt	Tue Mar 18 20:06:52 2014 +0000
    10.2 +++ b/xorg-libXinerama-dev/receipt	Tue Mar 18 22:35:00 2014 +0100
    10.3 @@ -9,8 +9,9 @@
    10.4  WANTED="xorg-libXinerama"
    10.5  SOURCE="libXinerama"
    10.6  WEB_SITE="http://www.x.org/"
    10.7 +HOST_ARCH="i486 arm"
    10.8  
    10.9 -DEPENDS="xorg-libXinerama xorg-libXext-dev xorg-xineramaproto pkg-config"
   10.10 +DEPENDS="xorg-libXinerama xorg-libXext-dev xorg-xineramaproto"
   10.11  
   10.12  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.13  genpkg_rules()
    11.1 --- a/xorg-libXinerama/receipt	Tue Mar 18 20:06:52 2014 +0000
    11.2 +++ b/xorg-libXinerama/receipt	Tue Mar 18 22:35:00 2014 +0100
    11.3 @@ -10,7 +10,7 @@
    11.4  TARBALL="$SOURCE-$VERSION.tar.bz2"
    11.5  WEB_SITE="http://www.x.org/"
    11.6  WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    11.7 -#HOST_ARCH="i486 arm"
    11.8 +HOST_ARCH="i486 arm"
    11.9  
   11.10  DEPENDS="xorg-libXext"
   11.11  BUILD_DEPENDS="xorg-libXext-dev xorg-xineramaproto"