--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gnome_parts.txz/gnome_vfs/PlamoBuild.gnome_vfs-2.24.4 2018-05-01 09:50:28.000000000 +0900 @@ -1,19 +1,22 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gnome-vfs/2.24/gnome-vfs-2.24.4.tar.bz2 + https://trac.macports.org/raw-attachment/ticket/38657/patch-port-glib2-2.6.31-and-up.diff + ftp://plamo.linet.gr.jp/pub/Plamo-src/plamo/05_ext/gnome_parts.txz/gnome_vfs/gnome-vfs2-g_memmove-no-more.patch" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gnome_vfs +vers=2.24.4 arch=`uname -m` -build=P1 -src=$pkgbase-$vers +build=P5 +src=gnome-vfs-$vers patchfiles="" -OPT_CONFIG="" -DOCS="README" +OPT_CONFIG="--enable-cdda" +DOCS="AUTHORS MAINTAINERS TODO HACKING README ChangeLog NEWS COPYING + INSTALL COPYING.LIB" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -37,6 +40,9 @@ if [ -d ${B[$i]} ] ; then rm -rf ${B[$i]} ; fi ; cp -a ${S[$i]} ${B[$i]} done apply_patches + cd $B + patch -Np0 -i $W/patch-port-glib2-2.6.31-and-up.diff + patch -Np1 -i $W/gnome-vfs2-g_memmove-no-more.patch for i in `seq 0 $((${#B[@]} - 1))` ; do cd ${B[$i]} if [ -x configure ] ; then @@ -70,11 +76,24 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gnome-vfs-2.0/modules + touch -t `date '+%m%d0900'` $P/usr/$libdir/gnome-vfs-2.0/modules setup_docdir convert_links 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/libexec | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgnomevfs-*` + tar rvpf $pkg.tar -C $P usr/$libdir/gnome-vfs-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir/pkgconfig | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/include -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/dbus-1/services | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gtk-doc/html -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/locale -name *.mo` + tar rvpf $pkg.tar -C $P etc/gnome-vfs-2.0 + tar rvpf $pkg.tar -C $P `cd $P ; find etc/gconf/schemas | 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 cleanup