wok-stable rev 3573
Update: apply patch once. ssmtp: fix post_install link target path. scim: fix chroot in post_install.
pa
pa
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Fri Jun 26 00:18:25 2009 +0800 (2009-06-26) |
parents | 396565ec47b2 |
children | 27dbd5251d69 36d46c4dcee0 |
files | emesene/receipt gajim/receipt gmrun/receipt scim-pinyin/receipt scim/receipt ssmtp/receipt |
line diff
1.1 --- a/emesene/receipt Thu Jun 25 17:22:57 2009 +0200 1.2 +++ b/emesene/receipt Fri Jun 26 00:18:25 2009 +0800 1.3 @@ -14,7 +14,14 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - patch -p1 < ../stuff/slitaz-openbox.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 +slitaz-openbox.patch 1.15 +EOT 1.16 } 1.17 1.18
2.1 --- a/gajim/receipt Thu Jun 25 17:22:57 2009 +0200 2.2 +++ b/gajim/receipt Fri Jun 26 00:18:25 2009 +0800 2.3 @@ -15,7 +15,14 @@ 2.4 compile_rules() 2.5 { 2.6 cd $src 2.7 - patch -p1 < ../stuff/host_srv.patch && 2.8 + while read file; do 2.9 + [ -f done.$file ] && continue 2.10 + echo "Apply $file..." 2.11 + patch -p1 < ../stuff/$file || return 1 2.12 + touch done.$file 2.13 + done <<EOT 2.14 +host_srv.patch 2.15 +EOT 2.16 ./configure --prefix=/usr \ 2.17 --mandir=/usr/share/man \ 2.18 $CONFIGURE_ARGS &&
3.1 --- a/gmrun/receipt Thu Jun 25 17:22:57 2009 +0200 3.2 +++ b/gmrun/receipt Fri Jun 26 00:18:25 2009 +0800 3.3 @@ -15,7 +15,14 @@ 3.4 compile_rules() 3.5 { 3.6 cd $src 3.7 - patch -p1 -i ../stuff/gmrun-0.9.2-gcc43.patch && 3.8 + while read file; do 3.9 + [ -f done.$file ] && continue 3.10 + echo "Apply $file..." 3.11 + patch -p1 < ../stuff/$file || return 1 3.12 + touch done.$file 3.13 + done <<EOT 3.14 +gmrun-0.9.2-gcc43.patch 3.15 +EOT 3.16 ./configure --prefix=/usr \ 3.17 $CONFIGURE_ARGS && 3.18 make &&
4.1 --- a/scim-pinyin/receipt Thu Jun 25 17:22:57 2009 +0200 4.2 +++ b/scim-pinyin/receipt Fri Jun 26 00:18:25 2009 +0800 4.3 @@ -16,7 +16,14 @@ 4.4 compile_rules() 4.5 { 4.6 cd $src 4.7 - patch -p1 < ../stuff/cstring-gcc43.patch && 4.8 + while read file; do 4.9 + [ -f done.$file ] && continue 4.10 + echo "Apply $file..." 4.11 + patch -p1 < ../stuff/$file || return 1 4.12 + touch done.$file 4.13 + done <<EOT 4.14 +cstring-gcc43.patch 4.15 +EOT 4.16 ./configure --prefix=/usr \ 4.17 --mandir=/usr/share/man \ 4.18 --infodir=/usr/share/info \
5.1 --- a/scim/receipt Thu Jun 25 17:22:57 2009 +0200 5.2 +++ b/scim/receipt Fri Jun 26 00:18:25 2009 +0800 5.3 @@ -14,7 +14,14 @@ 5.4 compile_rules() 5.5 { 5.6 cd $src 5.7 - patch -p1 < ../stuff/scim-glibc-2.10.patch && 5.8 + while read file; do 5.9 + [ -f done.$file ] && continue 5.10 + echo "Apply $file..." 5.11 + patch -p1 < ../stuff/$file || return 1 5.12 + touch done.$file 5.13 + done <<EOT 5.14 +scim-glibc-2.10.patch 5.15 +EOT 5.16 ./configure --prefix=/usr \ 5.17 --sysconfdir=/etc \ 5.18 --with-x \ 5.19 @@ -45,7 +52,7 @@ 5.20 { 5.21 echo "Processing post-install commands..." 5.22 echo -n "Updating gtk.immodules... " 5.23 - /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules 5.24 + chroot "$1/" /usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules 5.25 echo "done." 5.26 cat <<EOT 5.27 In order to start scim and use chinese after boot time,
6.1 --- a/ssmtp/receipt Thu Jun 25 17:22:57 2009 +0200 6.2 +++ b/ssmtp/receipt Fri Jun 26 00:18:25 2009 +0800 6.3 @@ -43,9 +43,9 @@ 6.4 local root 6.5 root=$1 6.6 echo "Processing post-install commands..." 6.7 - ln -sf $root/usr/sbin/ssmtp $root/usr/sbin/sendmail 6.8 - ln -sf $root/usr/sbin/ssmtp $root/usr/sbin/newaliases 6.9 - ln -sf $root/usr/sbin/ssmtp $root/usr/sbin/mailq 6.10 + ln -sf /usr/sbin/ssmtp $root/usr/sbin/sendmail 6.11 + ln -sf /usr/sbin/ssmtp $root/usr/sbin/newaliases 6.12 + ln -sf /usr/sbin/ssmtp $root/usr/sbin/mailq 6.13 } 6.14 6.15 post_remove()