Date: Sunday, December 6, 2015 @ 22:46:10 Author: foutrelis Revision: 253033
archrelease: copy trunk to staging-i686, staging-x86_64 Added: asymptote/repos/staging-i686/ asymptote/repos/staging-i686/PKGBUILD (from rev 253032, asymptote/trunk/PKGBUILD) asymptote/repos/staging-i686/fix-ghostscript-9.15.diff (from rev 253032, asymptote/trunk/fix-ghostscript-9.15.diff) asymptote/repos/staging-i686/texlive.install (from rev 253032, asymptote/trunk/texlive.install) asymptote/repos/staging-x86_64/ asymptote/repos/staging-x86_64/PKGBUILD (from rev 253032, asymptote/trunk/PKGBUILD) asymptote/repos/staging-x86_64/fix-ghostscript-9.15.diff (from rev 253032, asymptote/trunk/fix-ghostscript-9.15.diff) asymptote/repos/staging-x86_64/texlive.install (from rev 253032, asymptote/trunk/texlive.install) ------------------------------------------+ staging-i686/PKGBUILD | 47 +++++++++++++++++++++++++++++ staging-i686/fix-ghostscript-9.15.diff | 31 +++++++++++++++++++ staging-i686/texlive.install | 20 ++++++++++++ staging-x86_64/PKGBUILD | 47 +++++++++++++++++++++++++++++ staging-x86_64/fix-ghostscript-9.15.diff | 31 +++++++++++++++++++ staging-x86_64/texlive.install | 20 ++++++++++++ 6 files changed, 196 insertions(+) Copied: asymptote/repos/staging-i686/PKGBUILD (from rev 253032, asymptote/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-12-06 21:46:10 UTC (rev 253033) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Contributor: bender02 at gmx dot com + +pkgname=asymptote +pkgver=2.35 +pkgrel=2 +pkgdesc="A vector graphics language (like metapost)" +arch=('i686' 'x86_64') +url="http://asymptote.sourceforge.net/" +license=("GPL3") +depends=('texlive-core' 'gc' 'freeglut' 'glu' 'gsl' 'fftw' 'libsigsegv') +makedepends=('ghostscript' 'imagemagick' + 'mesa' # For OpenGL headers + 'texlive-plainextra' # For texinfo + ) +optdepends=('python2: for the xasy GUI' + 'python2-pillow: for the xasy GUI' + 'tix: for the xasy GUI') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz") +install=texlive.install +sha1sums=('32c85307042a337b2e426f6f2c6a489b21a4fbfb') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --enable-gc=/usr \ + --prefix=/usr \ + --with-latex=/usr/share/texmf/tex/latex \ + --with-context=/usr/share/texmf/tex/context \ + --enable-offscreen + make all +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check-all +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -j1 DESTDIR="${pkgdir}" install-all + sed -i -e 's@env python@env python2@' ${pkgdir}/usr/share/asymptote/GUI/*.py + # this dir contains png files that are already embedded in the pdf documentation: + rm -rf ${pkgdir}/usr/share/info/asymptote +} Copied: asymptote/repos/staging-i686/fix-ghostscript-9.15.diff (from rev 253032, asymptote/trunk/fix-ghostscript-9.15.diff) =================================================================== --- staging-i686/fix-ghostscript-9.15.diff (rev 0) +++ staging-i686/fix-ghostscript-9.15.diff 2015-12-06 21:46:10 UTC (rev 253033) @@ -0,0 +1,31 @@ +Index: runlabel.in +=================================================================== +--- runlabel.in (revision 5685) ++++ runlabel.in (working copy) +@@ -111,7 +111,7 @@ + #else + const string null="/dev/null"; + #endif +- cmd.push_back("-sDEVICE=epswrite"); ++ cmd.push_back("-sDEVICE=eps2write"); + cmd.push_back("-sOutputFile="+null); + cmd.push_back(stripDir(psname)); + iopipestream gs(cmd,"gs","Ghostscript"); +@@ -309,7 +309,7 @@ + cmd.push_back("-dNOPAUSE"); + cmd.push_back("-dBATCH"); + if(safe) cmd.push_back("-dSAFER"); +- cmd.push_back("-sDEVICE=epswrite"); ++ cmd.push_back("-sDEVICE=eps2write"); + cmd.push_back("-sOutputFile=-"); + cmd.push_back(pdfname); + iopipestream gs(cmd,"gs","Ghostscript"); +@@ -398,7 +398,7 @@ + cmd2.push_back("-dBATCH"); + cmd2.push_back("-P"); + if(safe) cmd2.push_back("-dSAFER"); +- cmd2.push_back("-sDEVICE=epswrite"); ++ cmd2.push_back("-sDEVICE=eps2write"); + cmd2.push_back("-sOutputFile=-"); + cmd2.push_back("-"); + iopipestream gs(cmd2,"gs","Ghostscript"); Copied: asymptote/repos/staging-i686/texlive.install (from rev 253032, asymptote/trunk/texlive.install) =================================================================== --- staging-i686/texlive.install (rev 0) +++ staging-i686/texlive.install 2015-12-06 21:46:10 UTC (rev 253033) @@ -0,0 +1,20 @@ +info_dir=usr/share/info + +post_install() { + install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir + echo ">>> updating the filename database for texlive..." + mktexlsr --quiet usr/share/texmf +} + +post_upgrade() { + post_install +} + +pre_remove() { + install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir +} + +post_remove() { + echo ">>> updating the filename database for texlive..." + mktexlsr --quiet usr/share/texmf +} Copied: asymptote/repos/staging-x86_64/PKGBUILD (from rev 253032, asymptote/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-12-06 21:46:10 UTC (rev 253033) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Contributor: bender02 at gmx dot com + +pkgname=asymptote +pkgver=2.35 +pkgrel=2 +pkgdesc="A vector graphics language (like metapost)" +arch=('i686' 'x86_64') +url="http://asymptote.sourceforge.net/" +license=("GPL3") +depends=('texlive-core' 'gc' 'freeglut' 'glu' 'gsl' 'fftw' 'libsigsegv') +makedepends=('ghostscript' 'imagemagick' + 'mesa' # For OpenGL headers + 'texlive-plainextra' # For texinfo + ) +optdepends=('python2: for the xasy GUI' + 'python2-pillow: for the xasy GUI' + 'tix: for the xasy GUI') +source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tgz") +install=texlive.install +sha1sums=('32c85307042a337b2e426f6f2c6a489b21a4fbfb') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./configure --enable-gc=/usr \ + --prefix=/usr \ + --with-latex=/usr/share/texmf/tex/latex \ + --with-context=/usr/share/texmf/tex/context \ + --enable-offscreen + make all +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check-all +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make -j1 DESTDIR="${pkgdir}" install-all + sed -i -e 's@env python@env python2@' ${pkgdir}/usr/share/asymptote/GUI/*.py + # this dir contains png files that are already embedded in the pdf documentation: + rm -rf ${pkgdir}/usr/share/info/asymptote +} Copied: asymptote/repos/staging-x86_64/fix-ghostscript-9.15.diff (from rev 253032, asymptote/trunk/fix-ghostscript-9.15.diff) =================================================================== --- staging-x86_64/fix-ghostscript-9.15.diff (rev 0) +++ staging-x86_64/fix-ghostscript-9.15.diff 2015-12-06 21:46:10 UTC (rev 253033) @@ -0,0 +1,31 @@ +Index: runlabel.in +=================================================================== +--- runlabel.in (revision 5685) ++++ runlabel.in (working copy) +@@ -111,7 +111,7 @@ + #else + const string null="/dev/null"; + #endif +- cmd.push_back("-sDEVICE=epswrite"); ++ cmd.push_back("-sDEVICE=eps2write"); + cmd.push_back("-sOutputFile="+null); + cmd.push_back(stripDir(psname)); + iopipestream gs(cmd,"gs","Ghostscript"); +@@ -309,7 +309,7 @@ + cmd.push_back("-dNOPAUSE"); + cmd.push_back("-dBATCH"); + if(safe) cmd.push_back("-dSAFER"); +- cmd.push_back("-sDEVICE=epswrite"); ++ cmd.push_back("-sDEVICE=eps2write"); + cmd.push_back("-sOutputFile=-"); + cmd.push_back(pdfname); + iopipestream gs(cmd,"gs","Ghostscript"); +@@ -398,7 +398,7 @@ + cmd2.push_back("-dBATCH"); + cmd2.push_back("-P"); + if(safe) cmd2.push_back("-dSAFER"); +- cmd2.push_back("-sDEVICE=epswrite"); ++ cmd2.push_back("-sDEVICE=eps2write"); + cmd2.push_back("-sOutputFile=-"); + cmd2.push_back("-"); + iopipestream gs(cmd2,"gs","Ghostscript"); Copied: asymptote/repos/staging-x86_64/texlive.install (from rev 253032, asymptote/trunk/texlive.install) =================================================================== --- staging-x86_64/texlive.install (rev 0) +++ staging-x86_64/texlive.install 2015-12-06 21:46:10 UTC (rev 253033) @@ -0,0 +1,20 @@ +info_dir=usr/share/info + +post_install() { + install-info ${info_dir}/asy-faq.info.gz ${info_dir}/dir + echo ">>> updating the filename database for texlive..." + mktexlsr --quiet usr/share/texmf +} + +post_upgrade() { + post_install +} + +pre_remove() { + install-info --delete ${info_dir}/asy-faq.info.gz ${info_dir}/dir +} + +post_remove() { + echo ">>> updating the filename database for texlive..." + mktexlsr --quiet usr/share/texmf +}