wok-tiny rev 101
Add keyboard, remove fr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 03 21:58:21 2015 +0100 (2015-11-03) |
parents | 48d2c4c7a227 |
children | 7cd5e798bfe2 |
files | dropbear-without-zlib/receipt dropbear/receipt fr/receipt hardware-ibm-6272/receipt keyboard/receipt module-3c509/receipt module-floppy/receipt module-hfsplus/receipt module-serial/receipt |
line diff
1.1 --- a/dropbear-without-zlib/receipt Sat Oct 31 16:32:19 2015 +0100 1.2 +++ b/dropbear-without-zlib/receipt Tue Nov 03 21:58:21 2015 +0100 1.3 @@ -11,7 +11,6 @@ 1.4 DEPENDS="libutil" 1.5 [ -n "$TARGET" ] || TARGET="i486" 1.6 BUILD_DEPENDS="dropbear uclibc-cross-compiler-$TARGET" 1.7 -SUGGESTED="sftp-server" 1.8 WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" 1.9 WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" 1.10 CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf"
2.1 --- a/dropbear/receipt Sat Oct 31 16:32:19 2015 +0100 2.2 +++ b/dropbear/receipt Tue Nov 03 21:58:21 2015 +0100 2.3 @@ -10,7 +10,6 @@ 2.4 DEPENDS="libutil zlib" 2.5 [ -n "$TARGET" ] || TARGET="i486" 2.6 BUILD_DEPENDS="uclibc-cross-compiler-$TARGET zlib-dev" 2.7 -SUGGESTED="sftp-server" 2.8 WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" 2.9 WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" 2.10 CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf"
3.1 --- a/fr/receipt Sat Oct 31 16:32:19 2015 +0100 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,40 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="fr" 3.7 -VERSION="1.0" 3.8 -CATEGORY="meta" 3.9 -SHORT_DESC="FR keyboard and locales" 3.10 -MAINTAINER="pascal.bellard@slitaz.org" 3.11 -LICENSE="GPL2" 3.12 -WEB_SITE="http://tiny.slitaz.org/" 3.13 -DEPENDS="base-tiny" 3.14 - 3.15 -# Rules to configure and make the package. 3.16 -compile_rules() 3.17 -{ 3.18 - mkdir -p $DESTDIR/etc $stuff 3.19 - cd $stuff 3.20 - echo "Europe/Paris" > $DESTDIR/etc/TZ 3.21 - cat > $DESTDIR/etc/locale.conf <<EOT 3.22 -LANG=fr_FR 3.23 -LC_ALL=fr_FR 3.24 -EOT 3.25 - while read pkg file ; do 3.26 - if [ ! -s $pkg*/fs$file ]; then 3.27 - tazpkg get $pkg 3.28 - tazpkg extract $pkg*.tazpkg 3.29 - fi 3.30 - mkdir -p $DESTDIR$(dirname $file) 3.31 - mv $pkg*/fs$file $DESTDIR$(dirname $file) || return 1 3.32 - done << EOT 3.33 -kbd-busybox /usr/share/kmap/fr-latin1.kmap 3.34 -EOT 3.35 - cd .. 3.36 - rm -rf $stuff 3.37 -} 3.38 - 3.39 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.40 -genpkg_rules() 3.41 -{ 3.42 - cp -a $install/. $fs/ 3.43 -}
4.1 --- a/hardware-ibm-6272/receipt Sat Oct 31 16:32:19 2015 +0100 4.2 +++ b/hardware-ibm-6272/receipt Tue Nov 03 21:58:21 2015 +0100 4.3 @@ -9,7 +9,7 @@ 4.4 WEB_SITE="http://www.slitaz.org/" 4.5 4.6 DEPENDS="isapnptools module-cs89x0" 4.7 -SUGGESTED="module-usb-storage" 4.8 +SUGGESTED="module-serial module-lp module-floppy" 4.9 4.10 # Post message when installing. 4.11 post_install()
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/keyboard/receipt Tue Nov 03 21:58:21 2015 +0100 5.3 @@ -0,0 +1,142 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="keyboard" 5.7 +VERSION="1.0" 5.8 +CATEGORY="meta" 5.9 +SHORT_DESC="keyboard, locales and timezone settings" 5.10 +MAINTAINER="pascal.bellard@slitaz.org" 5.11 +LICENSE="GPL2" 5.12 +WEB_SITE="http://tiny.slitaz.org/" 5.13 +DEPENDS="base-tiny" 5.14 + 5.15 +# Rules to configure and make the package. 5.16 +compile_rules() 5.17 +{ 5.18 + mkdir -p $DESTDIR/usr/share $stuff 5.19 + cd $stuff 5.20 + tazpkg get kbd-busybox 5.21 + tazpkg extract kbd-busybox* 5.22 + mv kbd-busybox*/fs/usr/share/kmap $DESTDIR/usr/share 5.23 + cd .. 5.24 + rm -rf $stuff 5.25 +} 5.26 + 5.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.28 +genpkg_rules() 5.29 +{ 5.30 + cp -a $install/. $fs/ 5.31 +} 5.32 + 5.33 +config_form() 5.34 +{ 5.35 + cat <<EOT 5.36 +<script type="text/javascript"> 5.37 + 5.38 +var locale = [], timezone = []; 5.39 +function setdefault(kbd) 5.40 +{ 5.41 + if (locale[kbd] != 'undefined') { 5.42 + document.getElementById("locale").value = locale[kbd]; 5.43 + } 5.44 + if (timezone[kbd] != 'undefined') { 5.45 + document.getElementById("timezone").value = timezone[kbd]; 5.46 + } 5.47 +} 5.48 + 5.49 +EOT 5.50 + awk 'BEGIN { n=0 } 5.51 +{ 5.52 + print "locale[\"" $1 "\"] = \"" $2 "\";" 5.53 + if ($3 != "-") print "timezone[\"" $1 "\"] = \"" $3 "\";" 5.54 + gsub("_"," ",$4) 5.55 + name[n] = $4 5.56 + kbd[n++] = $1 5.57 +} 5.58 +END { 5.59 + print "</script>" 5.60 + print "<table>" 5.61 + print "<tr><td>Keyboard</td>" 5.62 + print "<td><select name=\"KEYBOARD\" onChange=\"setdefault(value)\">" 5.63 + for (i=0; i < n; i++) 5.64 + print " <option value=\"" kbd[i] "\">" name[i] "</option>" 5.65 +}' <<EOT | sed "s|value=\"$KEYBOARD\"|& selected=\"selected\"|" 5.66 +br-abnt2 pt_BR America/Sao_Paulo Brasil_(abnt2) 5.67 +us-acentos pt_BR America/Sao_Paulo Brasil_(us-acentos) 5.68 +cz-lat2 cs_CZ Europe/Prague Cesky 5.69 +dk-latin1 da_DK Europe/Copenhagen Danso 5.70 +de-latin1 de_DE Europe/Berlin Deutsch 5.71 +de_CH-latin1 de_CH Europe/Zurich Deutsch_Schweiz 5.72 +sg-latin1 de_CH Europe/Zurich Deutsch_Schweiz_(sg) 5.73 +uk en_GB Europe/London English_UK 5.74 +us en_US America/New_York English_US 5.75 +us-acentos en_US America/New_York English_US_(acentos) 5.76 +dvorak en_US America/New_York English_US_(dvorak) 5.77 +dvorak-l en_US America/New_York English_US_(dvorak-l) 5.78 +dvorak-r en_US America/New_York English_US_(dvorak-r) 5.79 +es es_ES Europe/Madrid Espanol 5.80 +fr-latin1 fr_FR Europe/Paris Francais 5.81 +be-latin1 fr_BE Europe/Brussels Francais_Belgique 5.82 +cf fr_CA America/Montreal Francais_Canada 5.83 +fr_CH-latin1 fr_CH Europe/Zurich Francais_Suisse 5.84 +croat hr_HR Europe/Zagreb Hrvatski 5.85 +is-latin1 is_IS Atlantic/Reykjavik Islenska 5.86 +it it_IT Europe/Rome Italiano 5.87 +jp106 ja_JP Asia/Tokyo Japanese 5.88 +hu hu_HU Europe/Budapest Magyar 5.89 +nl2 nl_NL Europe/Amsterdam Nederlands 5.90 +no-latin1 nb_NO Europe/Oslo Norsk_(Bokmal) 5.91 +no-latin1 nn_NO Europe/Oslo Norsk_(Nynorsk) 5.92 +pl2 pl_PL Europe/Warsaw Polski 5.93 +pt-latin1 pt_PT Europe/Lisbon Portugues 5.94 +ru ru_RU Europe/Moscow Russian 5.95 +slovene sl_SI Europe/Ljubljan Slovenski 5.96 +fi-latin1 fi_FI Europe/Helsinki Suomi 5.97 +se-lat6 sv_SE Europe/Stockholm Svenska 5.98 +trq tr_TR Asia/Istanbul Turkce 5.99 +tr_q-latin5 tr_TR Asia/Istanbul Turkce_(latin5) 5.100 +EOT 5.101 + cat <<EOT 5.102 +</select></td> 5.103 +</tr> 5.104 +<tr> 5.105 +<td>Locale</td> 5.106 +<td><select name="LOCALE" id="locale"> 5.107 +EOT 5.108 + ( cd /usr/share/i18n/locales ; ls ??_* ) | \ 5.109 + sed "s|.*| <option>&</option>|;s|>$LOCALE<| selected=\"selected\"&|" 5.110 + cat <<EOT 5.111 +</select></td> 5.112 +</tr> 5.113 +<tr> 5.114 +<td>Timezone</td> 5.115 +<td><select name="TIMEZONE" id="timezone"> 5.116 +EOT 5.117 + ( cd /usr/share/zoneinfo ; find */ -type f ) | \ 5.118 + sed "s|.*| <option>&</option>|;s|>$TIMEZONE<| selected=\"selected\"&|" 5.119 + cat <<EOT 5.120 +</select></td> 5.121 +</tr> 5.122 +</table> 5.123 +EOT 5.124 +} 5.125 + 5.126 +post_install() 5.127 +{ 5.128 + for i in $1/usr/share/kmap/*.kmap ; do 5.129 + [ $i == $1/usr/share/kmap/$KEYBOARD.kmap ] || rm $i 5.130 + done 5.131 + if [ -n "$LOCALE" ]; then 5.132 + mkdir -p $1/usr/share/i18n/locales $1/etc 5.133 + cat > $1/etc/locale.conf <<EOT 5.134 +LANG=$LOCALE 5.135 +LC_ALL=$LOCALE 5.136 +EOT 5.137 + cp /usr/share/i18n/locales/$LOCALE $1/usr/share/i18n/locales 5.138 + fi 5.139 + if [ -n "$TIMEZONE" ]; then 5.140 + mkdir -p $1/usr/share/zoneinfo $1/etc 5.141 + echo "$TIMEZONE" > $1/etc/TZ 5.142 + ( cd /usr/share/zoneinfo; echo $TIMEZONE | cpio -o -H newc ) | \ 5.143 + ( cd $1/usr/share/zoneinfo ; cpio -id ) 5.144 + fi 5.145 +}
6.1 --- a/module-3c509/receipt Sat Oct 31 16:32:19 2015 +0100 6.2 +++ b/module-3c509/receipt Tue Nov 03 21:58:21 2015 +0100 6.3 @@ -3,7 +3,7 @@ 6.4 PACKAGE="module-3c509" 6.5 VERSION="2.6.14" 6.6 CATEGORY="base-system" 6.7 -SHORT_DESC="Kernel module for the 3c509 driver" 6.8 +SHORT_DESC="Kernel module for the 3c509 (3com Etherlink III) driver" 6.9 MAINTAINER="pascal.bellard@slitaz.org" 6.10 LICENSE="GPL2" 6.11 WEB_SITE="http://tiny.slitaz.org/"
7.1 --- a/module-floppy/receipt Sat Oct 31 16:32:19 2015 +0100 7.2 +++ b/module-floppy/receipt Tue Nov 03 21:58:21 2015 +0100 7.3 @@ -8,6 +8,7 @@ 7.4 LICENSE="GPL2" 7.5 WEB_SITE="http://tiny.slitaz.org/" 7.6 WANTED="linux" 7.7 +SUGGESTED="module-ext3 module-fat" 7.8 7.9 # Rules to gen a SliTaz package suitable for Tazpkg. 7.10 genpkg_rules()
8.1 --- a/module-hfsplus/receipt Sat Oct 31 16:32:19 2015 +0100 8.2 +++ b/module-hfsplus/receipt Tue Nov 03 21:58:21 2015 +0100 8.3 @@ -3,7 +3,7 @@ 8.4 PACKAGE="module-hfsplus" 8.5 VERSION="2.6.14" 8.6 CATEGORY="base-system" 8.7 -SHORT_DESC="Kernel module for the hfsplus filesystem" 8.8 +SHORT_DESC="Kernel module for the hfsplus (MacOS) filesystem" 8.9 MAINTAINER="pascal.bellard@slitaz.org" 8.10 LICENSE="GPL2" 8.11 WEB_SITE="http://tiny.slitaz.org/"
9.1 --- a/module-serial/receipt Sat Oct 31 16:32:19 2015 +0100 9.2 +++ b/module-serial/receipt Tue Nov 03 21:58:21 2015 +0100 9.3 @@ -3,7 +3,7 @@ 9.4 PACKAGE="module-serial" 9.5 VERSION="2.6.14" 9.6 CATEGORY="base-system" 9.7 -SHORT_DESC="Kernel module for the serial port" 9.8 +SHORT_DESC="Kernel module for the serial (RS232) port" 9.9 MAINTAINER="pascal.bellard@slitaz.org" 9.10 LICENSE="GPL2" 9.11 WEB_SITE="http://tiny.slitaz.org/"