--- admin/PlamoBuild-template-20170713 2017-07-13 13:07:00.000000000 +0900 +++ plamo/05_ext/gtk+/PlamoBuild.gtk+-3.14.15 2018-02-22 13:16:47.000000000 +0900 @@ -1,19 +1,20 @@ #!/bin/sh ###################################################################### -url="" +url="http://ftp.gnome.org/pub/gnome/sources/gtk+/3.14/gtk+-3.14.15.tar.xz" verify= digest= branch= commitid= -pkgbase= -vers= +pkgbase=gtk+ +vers=3.14.15 arch=`uname -m` -build=P1 +build=P3 src=$pkgbase-$vers patchfiles="" OPT_CONFIG="" -DOCS="README" +DOCS="ChangeLog README.commits README.win32 AUTHORS INSTALL NEWS + HACKING COPYING NEWS.pre-1-0 README" template=20170713 tmplurl=ftp://plamo.linet.gr.jp/pub/Plamo-src/admin ###################################################################### @@ -70,11 +71,48 @@ find $P ! -type l -newer i.st ! -newer i.et \ -exec touch -t `date '+%m%d0900'` {} \; compress + strip_libdir $P/usr/$libdir/gtk-3.0/3.0.0/immodules + strip_libdir $P/usr/$libdir/gtk-3.0/3.0.0/printbackends + touch -t `date '+%m%d0900'` \ + $P/usr/$libdir/gtk-3.0/3.0.0/{immodules,printbackends} setup_docdir convert_links + cat <<- EOF >> $P/install/doinst.sh + #%% begin initialize $pkg + gtk-query-immodules-3.0 --update-cache + glib-compile-schemas /usr/share/glib-2.0/schemas > /dev/null 2>&1 + touch /usr/share/glib-2.0/schemas/gschemas.compiled + gtk-update-icon-cache -f /usr/share/icons/hicolor > /dev/null 2>&1 + touch /usr/share/icons/hicolor/icon-theme.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-3.*` + 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 libgtk-3.*` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/$libdir -name libgailutil-3.*` + tar rvpf $pkg.tar -C $P usr/$libdir/gtk-3.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/locale -name *.mo` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/gir-1.0 -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P usr/share/themes/Default/gtk-3.0 + tar rvpf $pkg.tar -C $P usr/share/themes/Emacs/gtk-3.0 + tar rvpf $pkg.tar -C $P usr/share/gtk-3.0 + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/glib-2.0/schemas | tail -n+2` + tar rvpf $pkg.tar -C $P \ + `cd $P ; find usr/share/icons/hicolor -maxdepth 1 | tail -n+2` + tar rvpf $pkg.tar -C $P `cd $P ; find usr/share/applications | 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/aclocal | tail -n+2` + tar rvpf $pkg.tar -C $P etc/gtk-3.0 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 cleanup