# HG changeset patch # User Pascal Bellard # Date 1397822124 0 # Node ID fb3e7c61c4b205782a14d3d26fac37ed68380c86 # Parent 7ef7aa101bcc361ff3e17c63470fd7aee3fdc28b Add svkbd-fr diff -r 7ef7aa101bcc -r fb3e7c61c4b2 svkbd-fr/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/svkbd-fr/receipt Fri Apr 18 11:55:24 2014 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="svkbd-fr" +GITHASH="a5b40479e354ce11a1b009492da65ea562070cba" +VERSION="${GITHASH:0:7}" +CATEGORY="x-window" +SHORT_DESC="Simple virtual keyboard that suck less (FR Layout)." +MAINTAINER="pankso@slitaz.org" +LICENSE="BSD" +WEB_SITE="http://tools.suckless.org/svkbd" +HOST_ARCH="i486 arm" + +WANTED="svkbd" +DEPENDS="xorg-libX11 xorg-libXtst" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin/ + cp -a ${install}/usr/bin/${PACKAGE} $fs/usr/bin +} diff -r 7ef7aa101bcc -r fb3e7c61c4b2 svkbd-fr/stuff/svkbd-fr.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/svkbd-fr/stuff/svkbd-fr.desktop Fri Apr 18 11:55:24 2014 +0000 @@ -0,0 +1,7 @@ +[Desktop Entry] +Type=Application +Name=Svkbd Virtual Keyboard (FR) +Name[fr]=Clavier virtuel Svkbd (FR) +Icon=input-keyboard +Exec=svkbd-fr -d +Categories=Utility; diff -r 7ef7aa101bcc -r fb3e7c61c4b2 svkbd/receipt --- a/svkbd/receipt Fri Apr 18 14:08:36 2014 +0300 +++ b/svkbd/receipt Fri Apr 18 11:55:24 2014 +0000 @@ -18,8 +18,8 @@ # Rules to configure and make the package. compile_rules() { - cp -d ${stuff}/config.def.h . - for layout in de en ru + cp -d ${stuff}/*.h . + for layout in de en ru fr do make svkbd-${layout} CC=${HOST_SYSTEM}-gcc || return 1 done diff -r 7ef7aa101bcc -r fb3e7c61c4b2 svkbd/stuff/layout.fr.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/svkbd/stuff/layout.fr.h Fri Apr 18 11:55:24 2014 +0000 @@ -0,0 +1,71 @@ +static Key keys[] = { + { "&1", XK_ampersand, 1 }, + { "é2~", XK_eacute, 1 }, + { "\"3#", XK_quotedbl, 1 }, + { "'4{", XK_apostrophe, 1 }, + { "(5[", XK_parenleft, 1 }, + { "-6|", XK_minus, 1 }, + { "é7`", XK_egrave, 1 }, + { "_8\", XK_underscore, 1 }, + { "ç9^", XK_cedilla, 1 }, + { "à0@", XK_agrave, 1 }, + { ")°]", XK_parenright, 1 }, + { "=+}", XK_equal, 1 }, + { "<-", XK_BackSpace, 2 }, + { 0 }, /* New row */ + { "->|", XK_Tab, 1 }, + { "aA", XK_a, 1 }, + { "zZ", XK_z, 1 }, + { "eE€", XK_e, 1 }, + { "rR", XK_r, 1 }, + { "tT", XK_t, 1 }, + { "yY", XK_y, 1 }, + { "uU", XK_u, 1 }, + { "iI", XK_i, 1 }, + { "oO", XK_o, 1 }, + { "pP", XK_p, 1 }, + { "^", XK_caret, 1 }, + { "$£¤", XK_dollar, 1 }, + { "Return", XK_Return, 3 }, + { 0 }, /* New row */ + { 0, XK_Caps_Lock, 2 }, + { "qQ", XK_q, 1 }, + { "sS", XK_s, 1 }, + { "dD", XK_d, 1 }, + { "fF", XK_f, 1 }, + { "gG", XK_g, 1 }, + { "hH", XK_h, 1 }, + { "jJ", XK_j, 1 }, + { "kK", XK_k, 1 }, + { "lL", XK_l, 1 }, + { "mM", XK_m, 1 }, + { "ù%", XK_ugrave, 1 }, + { "*µ", XK_multiply, 1 }, + { "\\|", XK_backslash, 1 }, + { 0 }, /* New row */ + { 0, XK_Shift_L, 3 }, + { "wW", XK_w, 1 }, + { "xX", XK_x, 1 }, + { "cC", XK_c, 1 }, + { "vV", XK_v, 1 }, + { "bB", XK_b, 1 }, + { "nN", XK_n, 1 }, + { ",?", XK_comma, 1 }, + { ";.", XK_semicolon, 1 }, + { ":/", XK_colon, 1 }, + { "!§", XK_exclam, 1 }, + { 0, XK_Shift_R, 2 }, + { 0 }, /* New row */ + { "Ctrl", XK_Control_L, 2 }, + { "Alt", XK_Alt_L, 2 }, + { "", XK_space, 5 }, + { "Alt", XK_Alt_R, 2 }, + { "Ctrl", XK_Control_R, 2 }, + { "[X]", XK_Cancel, 1}, +}; + +Buttonmod buttonmods[] = { + { XK_Shift_L, Button2 }, + { XK_Alt_L, Button3 }, +}; +