wok-next diff scim/receipt @ rev 3588
linux: add sound snd_hada_intel is in-kernel too
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sat Jun 27 15:30:51 2009 +0000 (2009-06-27) |
parents | 8b3ae6a93757 |
children | d14d3403f408 |
line diff
1.1 --- a/scim/receipt Mon Jun 22 13:37:35 2009 +0800 1.2 +++ b/scim/receipt Sat Jun 27 15:30:51 2009 +0000 1.3 @@ -14,7 +14,14 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - patch -p1 < ../stuff/scim-glibc-2.10.patch && 1.8 + while read file; do 1.9 + [ -f done.$file ] && continue 1.10 + echo "Apply $file..." 1.11 + patch -p1 < ../stuff/$file || return 1 1.12 + touch done.$file 1.13 + done <<EOT 1.14 +scim-glibc-2.10.patch 1.15 +EOT 1.16 ./configure --prefix=/usr \ 1.17 --sysconfdir=/etc \ 1.18 --with-x \ 1.19 @@ -45,7 +52,7 @@ 1.20 { 1.21 echo "Processing post-install commands..." 1.22 echo -n "Updating gtk.immodules... " 1.23 - /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules 1.24 + chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules 1.25 echo "done." 1.26 cat <<EOT 1.27 In order to start scim and use chinese after boot time,