--- admin/PlamoBuild-template-20161020 2016-10-20 00:36:22.000000000 +0900 +++ plamo/02_x11/TTfont.txz/old/fontconfig-20170124/PlamoBuild.fontconfig-2.11.1 2017-01-24 11:32:37.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.1.tar.bz2" +pkgbase=fontconfig +vers=2.11.1 arch=`uname -m` -build=P1 +build=P2 src=$pkgbase-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--disable-docs" +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" template=20161020 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -274,6 +274,191 @@ make install DESTDIR=$P fi done + install -d $P/etc/template/Source/.config/fontconfig + cat <<- "EOF" | unexpand \ + > $P/etc/template/Source/.config/fontconfig/fonts.conf + + + + + + + + + + + + serif + + + + + + Nimbus Roman No9 L + IPAPMincho + + + + + + + sans-serif + + + + + + Nimbus Sans L + IPAPGothic + VL PGothic + + + + + + + monospace + + + + + + + + + + + + Bitstream Vera Sans Mono + FS Gothic + + + + + + + + + + + + + + + + + + + + + + + + + + + FS Mincho + + + FS Gothic + + + IPAMincho + + + IPAPMincho + + + IPAGothic + + + IPAPGothic + + + IPAUIGothic + + + VL Gothic + + + VL PGothic + + + MS Mincho + + + MS PMincho + + + MS Gothic + + + MS PGothic + + + MS UI Gothic + + + + medium + + + + roman + + + + + + + 12 + + + + + + + 16 + + + + true + + + + false + + + + + + EOF touch $W/i.et cd $W find $P ! -type l -newer i.st ! -newer i.et \ @@ -311,9 +496,19 @@ ( cd $docdir ; find ${src[$i]} -type d -exec touch -r $W/{} {} \; ) done convert + prune_symlink $P/etc/fonts/conf.d + touch -t `date '+%m%d0900'` $P/etc/fonts/conf.d tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` - tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/$libdir ! -name pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/fontconfig + tar rvpf $pkg.tar -C $P usr/share/fontconfig + tar rvpf $pkg.tar -C $P usr/share/xml/fontconfig + tar rvpf $pkg.tar -C $P var/cache/fontconfig + tar rvpf $pkg.tar -C $P etc/fonts + tar rvpf $pkg.tar -C $P etc/template/Source/.config/fontconfig tar rvpf $pkg.tar -C $P usr/share/doc/$src + tar rvpf $pkg.tar -C $P install/doinst.sh touch -t `date '+%m%d0900'` $pkg.tar ; xz $pkg.tar ; touch $pkg.tar.xz mv $pkg.tar.xz $pkg.txz read -p "Do you want to keep work files? [y/N] " ans