# HG changeset patch # User Pascal Bellard # Date 1251715772 -7200 # Node ID e97ec0509d5cfb93d08463f19701c1e2901aa95f # Parent 7fc1484fc7cc6f7714a7b2566208d47bbd518b57 Add xvkbd (thanks paul) diff -r 7fc1484fc7cc -r e97ec0509d5c xvkbd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xvkbd/receipt Mon Aug 31 12:49:32 2009 +0200 @@ -0,0 +1,48 @@ +# SliTaz package receipt. + +PACKAGE="xvkbd" +VERSION="3.0" +CATEGORY="x-window" +SHORT_DESC="virtual (graphical) keyboard program for X Window System." +MAINTAINER="paul@slitaz.org" +DEPENDS="" +BUILD_DEPENDS="xorg-imake xorg-cf-files xorg-libXt-dev xorg-libX11-dev \ +xorg-xproto xorg-libSM-dev xorg-libXaw-dev xorg-libICE-dev xorg-libXp-dev \ +xorg-libXtst-dev xorg-xextproto xorg-inputproto xorg-libXmu-dev" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://homepage3.nifty.com/tsato/xvkbd/" +WGET_URL="${WEB_SITE}$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + + # remove Xaw3d + sed -i '/#define XAW3D/d' Imakefile + xmkmf && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/etc/X11 + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/* $fs/usr/lib + cp -a $_pkg/etc/X11/* $fs/etc/X11 + # Add .desktop file + cp -a stuff/* $fs +} + +post_install() +{ + # .Xdefaults file + cat >> /home/tux/.Xdefaults << EOT + +! xvkbd settings +! +xvkbd*Font: -misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1 +EOT +} + diff -r 7fc1484fc7cc -r e97ec0509d5c xvkbd/stuff/usr/share/applications/xvkbd.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xvkbd/stuff/usr/share/applications/xvkbd.desktop Mon Aug 31 12:49:32 2009 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Virtual keyboard +GenericName=Virtual Keyboard +Comment=Virtual Keyboard for X Window System +Exec=xvkbd +Icon=xvkbd.png +Type=Application +Categories=GTK;Utility;