Date: Thursday, September 10, 2015 @ 06:51:07 Author: allan Revision: 245675
archrelease: copy trunk to staging-i686, staging-x86_64 Added: asymptote/repos/staging-i686/ asymptote/repos/staging-i686/PKGBUILD (from rev 245674, asymptote/trunk/PKGBUILD) asymptote/repos/staging-i686/fix-ghostscript-9.15.diff (from rev 245674, asymptote/trunk/fix-ghostscript-9.15.diff) asymptote/repos/staging-i686/texlive.install (from rev 245674, asymptote/trunk/texlive.install) asymptote/repos/staging-x86_64/ asymptote/repos/staging-x86_64/PKGBUILD (from rev 245674, asymptote/trunk/PKGBUILD) asymptote/repos/staging-x86_64/fix-ghostscript-9.15.diff (from rev 245674, asymptote/trunk/fix-ghostscript-9.15.diff) asymptote/repos/staging-x86_64/texlive.install (from rev 245674, asymptote/trunk/texlive.install) ------------------------------------------+ staging-i686/PKGBUILD | 55 +++++++++++++++++++++++++++++ staging-i686/fix-ghostscript-9.15.diff | 31 ++++++++++++++++ staging-i686/texlive.install | 20 ++++++++++ staging-x86_64/PKGBUILD | 55 +++++++++++++++++++++++++++++ staging-x86_64/fix-ghostscript-9.15.diff | 31 ++++++++++++++++ staging-x86_64/texlive.install | 20 ++++++++++ 6 files changed, 212 insertions(+) Copied: asymptote/repos/staging-i686/PKGBUILD (from rev 245674, asymptote/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2015-09-10 04:51:07 UTC (rev 245675) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Contributor: bender02 at gmx dot com + +pkgname=asymptote +pkgver=2.32 +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" + "fix-ghostscript-9.15.diff") +install=texlive.install +sha1sums=('18a4c22a89014ce18caf958a152b971ea39a77f0' + '7060daca4180659a9a13844110f15b89c3c24bf6') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np0 -i "${srcdir}/fix-ghostscript-9.15.diff" +} + +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 245674, asymptote/trunk/fix-ghostscript-9.15.diff) =================================================================== --- staging-i686/fix-ghostscript-9.15.diff (rev 0) +++ staging-i686/fix-ghostscript-9.15.diff 2015-09-10 04:51:07 UTC (rev 245675) @@ -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 245674, asymptote/trunk/texlive.install) =================================================================== --- staging-i686/texlive.install (rev 0) +++ staging-i686/texlive.install 2015-09-10 04:51:07 UTC (rev 245675) @@ -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 245674, asymptote/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2015-09-10 04:51:07 UTC (rev 245675) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Rémy Oudompheng <r...@archlinux.org> +# Contributor: Firmicus <francois.archlinux.org> +# Contributor: bender02 at gmx dot com + +pkgname=asymptote +pkgver=2.32 +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" + "fix-ghostscript-9.15.diff") +install=texlive.install +sha1sums=('18a4c22a89014ce18caf958a152b971ea39a77f0' + '7060daca4180659a9a13844110f15b89c3c24bf6') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + patch -Np0 -i "${srcdir}/fix-ghostscript-9.15.diff" +} + +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 245674, 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-09-10 04:51:07 UTC (rev 245675) @@ -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 245674, asymptote/trunk/texlive.install) =================================================================== --- staging-x86_64/texlive.install (rev 0) +++ staging-x86_64/texlive.install 2015-09-10 04:51:07 UTC (rev 245675) @@ -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 +}