wok-next rev 16427

Add svkbd (realy nice and so small virtual keyboard) and up surf from suckless
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 10:51:46 2014 +0200 (2014-04-18)
parents cec338a724ee
children d51a214c13b7
files surf/receipt svkbd-de/receipt svkbd-de/stuff/svkbd-de.desktop svkbd-ru/receipt svkbd-ru/stuff/svkbd-ru.desktop svkbd/receipt svkbd/stuff/applications/svkbd-en.desktop svkbd/stuff/config.def.h
line diff
     1.1 --- a/surf/receipt	Fri Apr 18 08:00:01 2014 +0000
     1.2 +++ b/surf/receipt	Fri Apr 18 10:51:46 2014 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="surf"
     1.7 -VERSION="0.4.1"
     1.8 +VERSION="0.6"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Surf is a simple web browser based on WebKit/GTK+"
    1.11  MAINTAINER="mallory@sweetpeople.org"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/svkbd-de/receipt	Fri Apr 18 10:51:46 2014 +0200
     2.3 @@ -0,0 +1,20 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="svkbd-de"
     2.7 +VERSION="git-1"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Simple virtual keyboard that suck less (DE Layout)."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="BSD"
    2.12 +WEB_SITE="http://tools.suckless.org/svkbd"
    2.13 +HOST_ARCH="i486 arm"
    2.14 +
    2.15 +WANTED="svkbd"
    2.16 +DEPENDS="xorg-libX11 xorg-libXtst"
    2.17 +
    2.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 +genpkg_rules()
    2.20 +{
    2.21 +	mkdir -p $fs/usr/bin/
    2.22 +	cp -a ${install}/usr/bin/${PACKAGE} $fs/usr/bin
    2.23 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/svkbd-de/stuff/svkbd-de.desktop	Fri Apr 18 10:51:46 2014 +0200
     3.3 @@ -0,0 +1,6 @@
     3.4 +[Desktop Entry]
     3.5 +Type=Application
     3.6 +Name=Svkbd Virtual Keyboard (DE)
     3.7 +Icon=input-keyboard
     3.8 +Exec=svkbd-en -d
     3.9 +Categories=Utility;
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/svkbd-ru/receipt	Fri Apr 18 10:51:46 2014 +0200
     4.3 @@ -0,0 +1,20 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="svkbd-ru"
     4.7 +VERSION="git-1"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="Simple virtual keyboard that suck less (RU Layout)."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +LICENSE="BSD"
    4.12 +WEB_SITE="http://tools.suckless.org/svkbd"
    4.13 +HOST_ARCH="i486 arm"
    4.14 +
    4.15 +WANTED="svkbd"
    4.16 +DEPENDS="xorg-libX11 xorg-libXtst"
    4.17 +
    4.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.19 +genpkg_rules()
    4.20 +{
    4.21 +	mkdir -p $fs/usr/bin/
    4.22 +	cp -a ${install}/usr/bin/${PACKAGE} $fs/usr/bin
    4.23 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/svkbd-ru/stuff/svkbd-ru.desktop	Fri Apr 18 10:51:46 2014 +0200
     5.3 @@ -0,0 +1,6 @@
     5.4 +[Desktop Entry]
     5.5 +Type=Application
     5.6 +Name=Svkbd Virtual Keyboard (RU)
     5.7 +Icon=input-keyboard
     5.8 +Exec=svkbd-en -d
     5.9 +Categories=Utility;
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/svkbd/receipt	Fri Apr 18 10:51:46 2014 +0200
     6.3 @@ -0,0 +1,35 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="svkbd"
     6.7 +VERSION="git-1"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="Simple virtual keyboard that suck less (EN Layout)."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +LICENSE="BSD"
    6.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.13 +WEB_SITE="http://tools.suckless.org/svkbd"
    6.14 +WGET_URL="git|http://git.suckless.org/svkbd"
    6.15 +HOST_ARCH="i486 arm"
    6.16 +
    6.17 +DEPENDS="xorg-libX11 xorg-libXtst"
    6.18 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst-dev"
    6.19 +
    6.20 +# Rules to configure and make the package.
    6.21 +compile_rules()
    6.22 +{ 
    6.23 +	cp -d ${stuff}/config.def.h .
    6.24 +	for layout in de en ru
    6.25 +	do
    6.26 +		make svkbd-${layout} CC=${HOST_SYSTEM}-gcc || return 1
    6.27 +	done
    6.28 +	# We may need to sed config.def.h to set correct font for RU ???
    6.29 +	#make svkbd-ru CC=${HOST_SYSTEM}-gcc
    6.30 +	make install DESTDIR=${DESTDIR} PREFIX="/usr"
    6.31 +}
    6.32 +
    6.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.34 +genpkg_rules()
    6.35 +{
    6.36 +	mkdir -p $fs/usr/bin
    6.37 +	cp -a ${install}/usr/bin/${PACKAGE}-en $fs/usr/bin
    6.38 +}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/svkbd/stuff/applications/svkbd-en.desktop	Fri Apr 18 10:51:46 2014 +0200
     7.3 @@ -0,0 +1,6 @@
     7.4 +[Desktop Entry]
     7.5 +Type=Application
     7.6 +Name=Svkbd Virtual Keyboard
     7.7 +Icon=input-keyboard
     7.8 +Exec=svkbd-en -d
     7.9 +Categories=Utility;
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/svkbd/stuff/config.def.h	Fri Apr 18 10:51:46 2014 +0200
     8.3 @@ -0,0 +1,9 @@
     8.4 +static const Bool wmborder = True;
     8.5 +static const char font[] = "-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1";
     8.6 +static const char normbgcolor[] = "#dfdfdf";
     8.7 +static const char normfgcolor[] = "#000000";
     8.8 +static const char pressbgcolor[] = "#111111";
     8.9 +static const char pressfgcolor[] = "#ffffff";
    8.10 +static const char highlightbgcolor[] = "#111111";
    8.11 +static const char highlightfgcolor[] = "#ffffff";
    8.12 +