--- admin/PlamoBuild-template-20161020 2016-10-20 00:36:22.000000000 +0900 +++ plamo/04_xapps/old/gdk_pixbuf-20170124/PlamoBuild.gdk_pixbuf-2.30.4 2017-01-24 09:51:26.000000000 +0900 @@ -1,15 +1,15 @@ #!/bin/sh ###################################################################### -url="" -pkgbase= -vers= +url="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.30/gdk-pixbuf-2.30.4.tar.xz" +pkgbase=gdk_pixbuf +vers=2.30.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P2 +src=gdk-pixbuf-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-introspection=yes --with-x11" +DOCS="NEWS README AUTHORS INSTALL ABOUT-NLS COPYING" template=20161020 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -279,6 +279,8 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders + touch -t `date '+%m%d0900'` $P/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders for i in `seq 0 $((${#DOCS[@]} - 1))` ; do for j in ${DOCS[$i]} ; do for k in ${S[$i]}/$j ; do @@ -311,9 +313,25 @@ ( cd $docdir ; find ${src[$i]} -type d -exec touch -r $W/{} {} \; ) done convert + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + gdk-pixbuf-query-loaders --update-cache + #%% end + EOF + touch -t `date '+%m%d0900'` $P/install/doinst.sh tar cvpf $pkg.tar -C $P `cd $P ; find usr/bin | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgdk_pixbuf-*` + tar rvpf $pkg.tar -C $P usr/$libdir/gdk-pixbuf-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/girepository-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgdk_pixbuf_xlib-*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P usr/include/gdk-pixbuf-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/gir-1.0 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P usr/share/gtk-doc/html/gdk-pixbuf tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/man/man1 | tail -n+2` 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