# HG changeset patch # User Pascal Bellard # Date 1446584301 -3600 # Node ID c9e797b1bf361cdcc322b3521072caa45ea5213a # Parent 48d2c4c7a227a319240d137b552e606a5ef5795d Add keyboard, remove fr diff -r 48d2c4c7a227 -r c9e797b1bf36 dropbear-without-zlib/receipt --- a/dropbear-without-zlib/receipt Sat Oct 31 16:32:19 2015 +0100 +++ b/dropbear-without-zlib/receipt Tue Nov 03 21:58:21 2015 +0100 @@ -11,7 +11,6 @@ DEPENDS="libutil" [ -n "$TARGET" ] || TARGET="i486" BUILD_DEPENDS="dropbear uclibc-cross-compiler-$TARGET" -SUGGESTED="sftp-server" WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf" diff -r 48d2c4c7a227 -r c9e797b1bf36 dropbear/receipt --- a/dropbear/receipt Sat Oct 31 16:32:19 2015 +0100 +++ b/dropbear/receipt Tue Nov 03 21:58:21 2015 +0100 @@ -10,7 +10,6 @@ DEPENDS="libutil zlib" [ -n "$TARGET" ] || TARGET="i486" BUILD_DEPENDS="uclibc-cross-compiler-$TARGET zlib-dev" -SUGGESTED="sftp-server" WEB_SITE="http://matt.ucc.asn.au/dropbear/dropbear.html" WGET_URL="http://matt.ucc.asn.au/dropbear/releases/$TARBALL" CONFIG_FILES="/etc/dropbear /etc/daemons.conf /etc/rcS.conf" diff -r 48d2c4c7a227 -r c9e797b1bf36 fr/receipt --- a/fr/receipt Sat Oct 31 16:32:19 2015 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,40 +0,0 @@ -# SliTaz package receipt. - -PACKAGE="fr" -VERSION="1.0" -CATEGORY="meta" -SHORT_DESC="FR keyboard and locales" -MAINTAINER="pascal.bellard@slitaz.org" -LICENSE="GPL2" -WEB_SITE="http://tiny.slitaz.org/" -DEPENDS="base-tiny" - -# Rules to configure and make the package. -compile_rules() -{ - mkdir -p $DESTDIR/etc $stuff - cd $stuff - echo "Europe/Paris" > $DESTDIR/etc/TZ - cat > $DESTDIR/etc/locale.conf < + +var locale = [], timezone = []; +function setdefault(kbd) +{ + if (locale[kbd] != 'undefined') { + document.getElementById("locale").value = locale[kbd]; + } + if (timezone[kbd] != 'undefined') { + document.getElementById("timezone").value = timezone[kbd]; + } +} + +EOT + awk 'BEGIN { n=0 } +{ + print "locale[\"" $1 "\"] = \"" $2 "\";" + if ($3 != "-") print "timezone[\"" $1 "\"] = \"" $3 "\";" + gsub("_"," ",$4) + name[n] = $4 + kbd[n++] = $1 +} +END { + print "" + print "" + print "" + print " + + + + + + + + + +
Keyboard
Locale
Timezone
+EOT +} + +post_install() +{ + for i in $1/usr/share/kmap/*.kmap ; do + [ $i == $1/usr/share/kmap/$KEYBOARD.kmap ] || rm $i + done + if [ -n "$LOCALE" ]; then + mkdir -p $1/usr/share/i18n/locales $1/etc + cat > $1/etc/locale.conf < $1/etc/TZ + ( cd /usr/share/zoneinfo; echo $TIMEZONE | cpio -o -H newc ) | \ + ( cd $1/usr/share/zoneinfo ; cpio -id ) + fi +} diff -r 48d2c4c7a227 -r c9e797b1bf36 module-3c509/receipt --- a/module-3c509/receipt Sat Oct 31 16:32:19 2015 +0100 +++ b/module-3c509/receipt Tue Nov 03 21:58:21 2015 +0100 @@ -3,7 +3,7 @@ PACKAGE="module-3c509" VERSION="2.6.14" CATEGORY="base-system" -SHORT_DESC="Kernel module for the 3c509 driver" +SHORT_DESC="Kernel module for the 3c509 (3com Etherlink III) driver" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://tiny.slitaz.org/" diff -r 48d2c4c7a227 -r c9e797b1bf36 module-floppy/receipt --- a/module-floppy/receipt Sat Oct 31 16:32:19 2015 +0100 +++ b/module-floppy/receipt Tue Nov 03 21:58:21 2015 +0100 @@ -8,6 +8,7 @@ LICENSE="GPL2" WEB_SITE="http://tiny.slitaz.org/" WANTED="linux" +SUGGESTED="module-ext3 module-fat" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 48d2c4c7a227 -r c9e797b1bf36 module-hfsplus/receipt --- a/module-hfsplus/receipt Sat Oct 31 16:32:19 2015 +0100 +++ b/module-hfsplus/receipt Tue Nov 03 21:58:21 2015 +0100 @@ -3,7 +3,7 @@ PACKAGE="module-hfsplus" VERSION="2.6.14" CATEGORY="base-system" -SHORT_DESC="Kernel module for the hfsplus filesystem" +SHORT_DESC="Kernel module for the hfsplus (MacOS) filesystem" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://tiny.slitaz.org/" diff -r 48d2c4c7a227 -r c9e797b1bf36 module-serial/receipt --- a/module-serial/receipt Sat Oct 31 16:32:19 2015 +0100 +++ b/module-serial/receipt Tue Nov 03 21:58:21 2015 +0100 @@ -3,7 +3,7 @@ PACKAGE="module-serial" VERSION="2.6.14" CATEGORY="base-system" -SHORT_DESC="Kernel module for the serial port" +SHORT_DESC="Kernel module for the serial (RS232) port" MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" WEB_SITE="http://tiny.slitaz.org/"