wok-6.x rev 16436
Add svkbd-fr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 18 11:55:24 2014 +0000 (2014-04-18) |
parents | 7ef7aa101bcc |
children | 7c96100e0a36 |
files | svkbd-fr/receipt svkbd-fr/stuff/svkbd-fr.desktop svkbd/receipt svkbd/stuff/layout.fr.h |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/svkbd-fr/receipt Fri Apr 18 11:55:24 2014 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="svkbd-fr" 1.7 +GITHASH="a5b40479e354ce11a1b009492da65ea562070cba" 1.8 +VERSION="${GITHASH:0:7}" 1.9 +CATEGORY="x-window" 1.10 +SHORT_DESC="Simple virtual keyboard that suck less (FR Layout)." 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +LICENSE="BSD" 1.13 +WEB_SITE="http://tools.suckless.org/svkbd" 1.14 +HOST_ARCH="i486 arm" 1.15 + 1.16 +WANTED="svkbd" 1.17 +DEPENDS="xorg-libX11 xorg-libXtst" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/bin/ 1.23 + cp -a ${install}/usr/bin/${PACKAGE} $fs/usr/bin 1.24 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/svkbd-fr/stuff/svkbd-fr.desktop Fri Apr 18 11:55:24 2014 +0000 2.3 @@ -0,0 +1,7 @@ 2.4 +[Desktop Entry] 2.5 +Type=Application 2.6 +Name=Svkbd Virtual Keyboard (FR) 2.7 +Name[fr]=Clavier virtuel Svkbd (FR) 2.8 +Icon=input-keyboard 2.9 +Exec=svkbd-fr -d 2.10 +Categories=Utility;
3.1 --- a/svkbd/receipt Fri Apr 18 14:08:36 2014 +0300 3.2 +++ b/svkbd/receipt Fri Apr 18 11:55:24 2014 +0000 3.3 @@ -18,8 +18,8 @@ 3.4 # Rules to configure and make the package. 3.5 compile_rules() 3.6 { 3.7 - cp -d ${stuff}/config.def.h . 3.8 - for layout in de en ru 3.9 + cp -d ${stuff}/*.h . 3.10 + for layout in de en ru fr 3.11 do 3.12 make svkbd-${layout} CC=${HOST_SYSTEM}-gcc || return 1 3.13 done
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/svkbd/stuff/layout.fr.h Fri Apr 18 11:55:24 2014 +0000 4.3 @@ -0,0 +1,71 @@ 4.4 +static Key keys[] = { 4.5 + { "&1", XK_ampersand, 1 }, 4.6 + { "é2~", XK_eacute, 1 }, 4.7 + { "\"3#", XK_quotedbl, 1 }, 4.8 + { "'4{", XK_apostrophe, 1 }, 4.9 + { "(5[", XK_parenleft, 1 }, 4.10 + { "-6|", XK_minus, 1 }, 4.11 + { "é7`", XK_egrave, 1 }, 4.12 + { "_8\", XK_underscore, 1 }, 4.13 + { "ç9^", XK_cedilla, 1 }, 4.14 + { "à0@", XK_agrave, 1 }, 4.15 + { ")°]", XK_parenright, 1 }, 4.16 + { "=+}", XK_equal, 1 }, 4.17 + { "<-", XK_BackSpace, 2 }, 4.18 + { 0 }, /* New row */ 4.19 + { "->|", XK_Tab, 1 }, 4.20 + { "aA", XK_a, 1 }, 4.21 + { "zZ", XK_z, 1 }, 4.22 + { "eE€", XK_e, 1 }, 4.23 + { "rR", XK_r, 1 }, 4.24 + { "tT", XK_t, 1 }, 4.25 + { "yY", XK_y, 1 }, 4.26 + { "uU", XK_u, 1 }, 4.27 + { "iI", XK_i, 1 }, 4.28 + { "oO", XK_o, 1 }, 4.29 + { "pP", XK_p, 1 }, 4.30 + { "^", XK_caret, 1 }, 4.31 + { "$£¤", XK_dollar, 1 }, 4.32 + { "Return", XK_Return, 3 }, 4.33 + { 0 }, /* New row */ 4.34 + { 0, XK_Caps_Lock, 2 }, 4.35 + { "qQ", XK_q, 1 }, 4.36 + { "sS", XK_s, 1 }, 4.37 + { "dD", XK_d, 1 }, 4.38 + { "fF", XK_f, 1 }, 4.39 + { "gG", XK_g, 1 }, 4.40 + { "hH", XK_h, 1 }, 4.41 + { "jJ", XK_j, 1 }, 4.42 + { "kK", XK_k, 1 }, 4.43 + { "lL", XK_l, 1 }, 4.44 + { "mM", XK_m, 1 }, 4.45 + { "ù%", XK_ugrave, 1 }, 4.46 + { "*µ", XK_multiply, 1 }, 4.47 + { "\\|", XK_backslash, 1 }, 4.48 + { 0 }, /* New row */ 4.49 + { 0, XK_Shift_L, 3 }, 4.50 + { "wW", XK_w, 1 }, 4.51 + { "xX", XK_x, 1 }, 4.52 + { "cC", XK_c, 1 }, 4.53 + { "vV", XK_v, 1 }, 4.54 + { "bB", XK_b, 1 }, 4.55 + { "nN", XK_n, 1 }, 4.56 + { ",?", XK_comma, 1 }, 4.57 + { ";.", XK_semicolon, 1 }, 4.58 + { ":/", XK_colon, 1 }, 4.59 + { "!§", XK_exclam, 1 }, 4.60 + { 0, XK_Shift_R, 2 }, 4.61 + { 0 }, /* New row */ 4.62 + { "Ctrl", XK_Control_L, 2 }, 4.63 + { "Alt", XK_Alt_L, 2 }, 4.64 + { "", XK_space, 5 }, 4.65 + { "Alt", XK_Alt_R, 2 }, 4.66 + { "Ctrl", XK_Control_R, 2 }, 4.67 + { "[X]", XK_Cancel, 1}, 4.68 +}; 4.69 + 4.70 +Buttonmod buttonmods[] = { 4.71 + { XK_Shift_L, Button2 }, 4.72 + { XK_Alt_L, Button3 }, 4.73 +}; 4.74 +