From 48b7945bf4ebae2bc4cb63e58082714af5472c73 Mon Sep 17 00:00:00 2001 From: Andrey Grozin Date: Tue, 2 Jun 2009 23:05:20 +0000 Subject: Version bump Package-Manager: portage-2.2_rc33/cvs/Linux i686 --- media-gfx/asymptote/ChangeLog | 11 +- media-gfx/asymptote/Manifest | 10 +- media-gfx/asymptote/asymptote-1.72.ebuild | 196 --------------------- media-gfx/asymptote/asymptote-1.75.ebuild | 196 +++++++++++++++++++++ .../files/asymptote-1.72-configure-ac.patch | 69 -------- .../asymptote/files/asymptote-1.72-xdg-utils.patch | 23 --- .../files/asymptote-1.75-configure-ac.patch | 32 ++++ .../asymptote/files/asymptote-1.75-xdg-utils.patch | 23 +++ 8 files changed, 266 insertions(+), 294 deletions(-) delete mode 100644 media-gfx/asymptote/asymptote-1.72.ebuild create mode 100644 media-gfx/asymptote/asymptote-1.75.ebuild delete mode 100644 media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch delete mode 100644 media-gfx/asymptote/files/asymptote-1.72-xdg-utils.patch create mode 100644 media-gfx/asymptote/files/asymptote-1.75-configure-ac.patch create mode 100644 media-gfx/asymptote/files/asymptote-1.75-xdg-utils.patch (limited to 'media-gfx') diff --git a/media-gfx/asymptote/ChangeLog b/media-gfx/asymptote/ChangeLog index ed8eddab775e..831aba0e0363 100644 --- a/media-gfx/asymptote/ChangeLog +++ b/media-gfx/asymptote/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for media-gfx/asymptote # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.46 2009/05/28 16:34:27 grozin Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.47 2009/06/02 23:05:20 grozin Exp $ + +*asymptote-1.75 (02 Jun 2009) + + 02 Jun 2009; Andrey Grozin -asymptote-1.72.ebuild, + -files/asymptote-1.72-configure-ac.patch, + -files/asymptote-1.72-xdg-utils.patch, +asymptote-1.75.ebuild, + +files/asymptote-1.75-configure-ac.patch, + +files/asymptote-1.75-xdg-utils.patch: + Version bump *asymptote-1.74 (28 May 2009) diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest index 483d937ccf8e..0584fda8dc85 100644 --- a/media-gfx/asymptote/Manifest +++ b/media-gfx/asymptote/Manifest @@ -3,15 +3,15 @@ AUX 64asymptote-gentoo.el 337 RMD160 423330249638e628cb0f7d0b8196042a34cffa03 SH AUX asy-ftd.vim 60 RMD160 a08d3dbd7535d3de0897dd73b00f8866a72db731 SHA1 426086e8ed8d9f45518df1380ab62703cd5f1e0d SHA256 c766fccb0e3e43a6fb78eaa56cf6c45398d48b08566ea4794726f4a6ae3c9dc1 AUX asymptote-1.29-configure-ac.patch 1443 RMD160 497a336b5b4155f7fb4f36f71f96c8a5a0ef3681 SHA1 d108963f7b75a9d8a185ff54e6eb40cf7d3d58ef SHA256 49109223e505d778a58824a30c3d58775b0ab47f653821e7ca262b22b566df4d AUX asymptote-1.29-makefile.patch 1932 RMD160 8461c1f74ced939209803b0e88aaad6022942cc1 SHA1 6d3c4d4618293776722dd351d3cbf3a644dddff4 SHA256 206b2c548627ba5bd40c9ab9278851834dbac99d10844bc7444bb7ad21ddf816 -AUX asymptote-1.72-configure-ac.patch 2727 RMD160 9d020fd2ad0423ad0d811ddba884454b69df3d25 SHA1 ce200cd06376f8608df28c7e9746fd40a7d9c642 SHA256 a711be2b5247cd1ce25f9e697e4a19209fcb36040111014c19fd8f0ccd153ed4 -AUX asymptote-1.72-xdg-utils.patch 727 RMD160 0ed173dacec874cab52344efa53d4dbf37d9adb2 SHA1 8be4803e46661fd075166bb9633fad4b84942cfe SHA256 7fac29964837cef12cb9d3c6f1ae452d6af5f1be5c8aa3c7b76db895f149ee23 AUX asymptote-1.74-configure-ac.patch 1769 RMD160 5f1ad38acb99f261e329735438f08bf961dd818e SHA1 13d8bb45259c56bbc95677ee687c9a82a0b06ef5 SHA256 677ce6f584ed3b7ef5fd4d367778b02dfc10900759a2abed9513301e2267ded1 AUX asymptote-1.74-xdg-utils.patch 727 RMD160 4e352066225f69a8f728e40293d1bae01019a347 SHA1 72d89a17f7ae5f719615d719f10761fd06f82e2d SHA256 d69d408722621aa2d0be460ac5a91b4465ecc1ffd9b7f12076315236ea8b5787 +AUX asymptote-1.75-configure-ac.patch 1106 RMD160 24545030a42cfa8c5339a27d1d6758f779d74571 SHA1 3ea438421911326b17b1498327dc5efa161d5c25 SHA256 df398a28611fc7a2d8e9bb78745083ccee62e7de56fdd9a8d0416eaec57f18e9 +AUX asymptote-1.75-xdg-utils.patch 721 RMD160 77ecfc0f48e6a0015b81072582e5b9d7742f6189 SHA1 f75d5b75f95ba6643874514729cb7cdea7aef1e3 SHA256 c6a6906447279a81ea6a034424375995df103e3f26bd3ef6bbc3d1d3abad7327 DIST asymptote-1.29.src.tgz 933266 RMD160 013a5f8f706159ea564811cd044a12fe4b6e58da SHA1 366a42e95796fe88863a2d82624e25630be8619e SHA256 2b4eea7b3a016295b4543e3d3c9fca80fa278fc2fb7824306130a2c37e602366 -DIST asymptote-1.72.src.tgz 1426592 RMD160 2b652d34dd4edfdc588fb2957b5919ee53f163a2 SHA1 1abdddcb5426cdabce55adca2fcaecef4b7838ed SHA256 25133c54f004a24b0b4848d522833006e9932cf59194ca9dae28dd4ae41857b2 DIST asymptote-1.74.src.tgz 1451255 RMD160 caef04487799d4ba89bfef866e4eb52fef379d70 SHA1 c548e48724a5e764b66ef9e7e7642e18a910ce1b SHA256 81cde8da8ef8ea6a96420135b932fe41d0a567d4463c3a8ea7c63b7667f5bfe6 +DIST asymptote-1.75.src.tgz 1456778 RMD160 4408edaa337972b7875457a26031239abb473539 SHA1 12820d8f215442985d8822ba8d1a05c96129a7b4 SHA256 037303da1a5240e5c3f5a0b376fca931c749ae433ceb3ca07a2e4982c600f0c6 EBUILD asymptote-1.29.ebuild 3491 RMD160 b14992d5aeeedd20f699c1c0c3aaa419bc2c3930 SHA1 bd68cb47a22ac889c9c25527dcff8a9ed8d615c4 SHA256 fd4f867553841368d2e2b19e623e796f89574ab2473efd0f23bfb5386db671cc -EBUILD asymptote-1.72.ebuild 4573 RMD160 0ae787895e358eb4f48bbc5a7ddb816411143592 SHA1 18a12abdcab0b688c83390cf1adf5fa7fc68f117 SHA256 7080cbdda96ecfaa212fe07e3469383da79e482cd6c3a40fbb5f03e5c67d788a EBUILD asymptote-1.74.ebuild 4575 RMD160 ea5ea0e34c15d0bdeb75f04f44e73e1afaef43dd SHA1 fc70220e8dd290341b1ce0a9913c78ccc743d7c5 SHA256 231d42bd9e7f93f897073a51fb4601125a8dae20f6f25cf0d4ca9bb17af4f9fb -MISC ChangeLog 13508 RMD160 a2fd9647f863c862e3d26a50141553aa08373960 SHA1 2facab650fc0b09d4da9ee8168058dfa7744ff11 SHA256 33d152767aee3bbed4b473ed4ef0d38747b03d4177683d703c183e6e50cc276d +EBUILD asymptote-1.75.ebuild 4577 RMD160 b8f427b60804753eb34b690c8e7c1922b3fb9e0b SHA1 17e6150ccef108e10dd5574bda0b5c28c48e6edd SHA256 57e911d4ef969f3707be4f48c67ea152fc22d3e49d1b80c66aa2dbb1422bfe20 +MISC ChangeLog 13822 RMD160 63187a80c098210c6e786f818bd84d8e158cf175 SHA1 407ed82878515a5ee2f4acb7e8b3200aa37a8a3e SHA256 7ca4affb542212bf21cc5081b3f9cafefde919e5cd31f1a42dfcf788df5cf05c MISC metadata.xml 869 RMD160 4719ac66d805256a91cf9c311ea75e6d53db256e SHA1 f00600bb09e08fd31ba4fa15414bd3d578a4f136 SHA256 41c4190d40edabcbed20b712c8dca48783e336c7cd14bff51015966b263865b5 diff --git a/media-gfx/asymptote/asymptote-1.72.ebuild b/media-gfx/asymptote/asymptote-1.72.ebuild deleted file mode 100644 index 66dbc6bcd62d..000000000000 --- a/media-gfx/asymptote/asymptote-1.72.ebuild +++ /dev/null @@ -1,196 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.72.ebuild,v 1.1 2009/05/16 15:02:05 grozin Exp $ -EAPI=2 -inherit eutils autotools elisp-common latex-package multilib python - -DESCRIPTION="A vector graphics language that provides a framework for technical drawing" -HOMEPAGE="http://asymptote.sourceforge.net/" -SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz" -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex python sigsegv vim-syntax X" - -RDEPEND=">=sys-libs/readline-4.3-r5 - >=sys-libs/ncurses-5.4-r5 - imagemagick? ( media-gfx/imagemagick[png] ) - sigsegv? ( dev-libs/libsigsegv ) - boehm-gc? ( >=dev-libs/boehm-gc-7.0[-nocxx,threads] ) - fftw? ( >=sci-libs/fftw-3.0.1 ) - gsl? ( sci-libs/gsl ) - X? ( x11-misc/xdg-utils dev-lang/python dev-python/imaging[tk] ) - python? ( dev-lang/python ) - latex? ( virtual/latex-base ) - emacs? ( virtual/emacs ) - vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" -DEPEND="${RDEPEND} - doc? ( dev-lang/perl virtual/texi2dvi virtual/latex-base media-gfx/imagemagick[png] )" - -TEXMF=/usr/share/texmf-site - -src_prepare() { - # Fixing fftwl, gsl, sigsegv enabling - epatch "${FILESDIR}/${P}-configure-ac.patch" - einfo "Patching configure.ac" - sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ - -i configure.ac \ - || die "sed configure.ac failed" - - # Changing pdf, ps, image viewers to xdg-open - epatch "${FILESDIR}/${P}-xdg-utils.patch" - - eautoreconf -} - -src_configure() { - # for the CPPFLAGS see - # http://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349 - econf CPPFLAGS=-DHAVE_SYS_TYPES_H \ - --disable-gc-debug \ - $(use_enable boehm-gc gc system) \ - $(use_with fftw) \ - $(use_with gsl) \ - $(use_with sigsegv) -} - -src_compile() { - emake || die "emake failed" - - cd doc - emake asy.1 || die "emake asy.1 failed" - if use doc; then - # info - einfo "Making info" - emake ${PN}.info || die "emake ${PN}.info failed" - # html - einfo "Making html docs" - emake ${PN}/index.html - einfo "Making FAQ" - cd FAQ - emake - cd .. - # pdf - einfo "Making pdf docs" - export VARTEXFONTS="${T}"/fonts - # see bug #260606 - emake -j1 asymptote.pdf - emake CAD.pdf - fi - cd .. - - if use emacs; then - einfo "Compiling emacs lisp files" - elisp-compile base/*.el || die "elisp-compile failed" - fi -} - -src_install() { - # the program - exeinto /usr/bin - doexe asy - - # .asy files - insinto /usr/share/${PN} - doins base/*.asy - - # documentation - dodoc BUGS ChangeLog README ReleaseNotes TODO - doman doc/asy.1 - - # X GUI - if use X; then - exeinto /usr/share/${PN}/GUI - doexe GUI/xasy.py - rm GUI/xasy.py - insinto /usr/share/${PN}/GUI - doins GUI/*.py - dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy - doman doc/xasy.1x - fi - - # examples - if use examples; then - insinto /usr/share/${PN}/examples - doins examples/*.asy \ - examples/*.eps \ - doc/*.asy \ - doc/*.csv \ - doc/*.dat \ - doc/extra/*.asy - if use X; then - doins GUI/*.asy - fi - insinto /usr/share/${PN}/examples/animations - doins examples/animations/*.asy - fi - - # LaTeX style - if use latex; then - cd doc - insinto ${TEXMF}/tex/latex/${PN} - doins ${PN}.sty asycolors.sty - if use examples; then - insinto /usr/share/${PN}/examples - doins latexusage.tex - fi - cd .. - fi - - # asymptote.py - if use python; then - python_version - insinto /usr/$(get_libdir)/python${PYVER}/site-packages - doins base/${PN}.py - fi - - # emacs mode - if use emacs; then - elisp-install ${PN} base/*.el base/*.elc - elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el - fi - - # vim syntax - if use vim-syntax; then - insinto /usr/share/vim/vimfiles/syntax - doins base/asy.vim - insinto /usr/share/vim/vimfiles/ftdetect - doins "${FILESDIR}"/asy-ftd.vim - fi - - # extra documentation - if use doc; then - cd doc - doinfo ${PN}.info* - dohtml ${PN}/* - cd FAQ - dodoc asy-faq.ascii - doinfo asy-faq.info - insinto /usr/share/doc/${PF}/html/FAQ - doins asy-faq.html/* - cd .. - insinto /usr/share/doc/${PF} - doins ${PN}.pdf CAD.pdf - fi -} - -pkg_postinst() { - if use python; then - python_version - python_mod_compile \ - /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}.py - fi - - use latex && latex-package_rehash - - use emacs && elisp-site-regen - - elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer' - elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer' -} - -pkg_postrm() { - use latex && latex-package_rehash - use emacs && elisp-site-regen - use python && python_mod_cleanup -} diff --git a/media-gfx/asymptote/asymptote-1.75.ebuild b/media-gfx/asymptote/asymptote-1.75.ebuild new file mode 100644 index 000000000000..cde53f132281 --- /dev/null +++ b/media-gfx/asymptote/asymptote-1.75.ebuild @@ -0,0 +1,196 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.75.ebuild,v 1.1 2009/06/02 23:05:20 grozin Exp $ +EAPI=2 +inherit eutils autotools elisp-common latex-package multilib python + +DESCRIPTION="A vector graphics language that provides a framework for technical drawing" +HOMEPAGE="http://asymptote.sourceforge.net/" +SRC_URI="mirror://sourceforge/asymptote/${P}.src.tgz" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+boehm-gc doc emacs examples fftw gsl +imagemagick latex python sigsegv vim-syntax X" + +RDEPEND=">=sys-libs/readline-4.3-r5 + >=sys-libs/ncurses-5.4-r5 + imagemagick? ( media-gfx/imagemagick[png] ) + sigsegv? ( dev-libs/libsigsegv ) + boehm-gc? ( >=dev-libs/boehm-gc-7.0[-nocxx,threads] ) + fftw? ( >=sci-libs/fftw-3.0.1 ) + gsl? ( sci-libs/gsl ) + X? ( x11-misc/xdg-utils dev-lang/python dev-python/imaging[tk] ) + python? ( dev-lang/python ) + latex? ( virtual/latex-base ) + emacs? ( virtual/emacs ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )" +DEPEND="${RDEPEND} + doc? ( dev-lang/perl virtual/texi2dvi virtual/latex-base media-gfx/imagemagick[png] )" + +TEXMF=/usr/share/texmf-site + +src_prepare() { + # Fixing fftwl, gsl, sigsegv enabling + epatch "${FILESDIR}/${P}-configure-ac.patch" + einfo "Patching configure.ac" + sed -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \ + -i configure.ac \ + || die "sed configure.ac failed" + + # Changing pdf, ps, image viewers to xdg-open + epatch "${FILESDIR}/${P}-xdg-utils.patch" + + eautoreconf +} + +src_configure() { + # for the CPPFLAGS see + # http://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349 + econf CPPFLAGS=-DHAVE_SYS_TYPES_H \ + --disable-gc-debug \ + $(use_enable boehm-gc gc system) \ + $(use_enable fftw) \ + $(use_enable gsl) \ + $(use_with sigsegv) +} + +src_compile() { + emake || die "emake failed" + + cd doc + emake asy.1 || die "emake asy.1 failed" + if use doc; then + # info + einfo "Making info" + emake ${PN}.info || die "emake ${PN}.info failed" + # html + einfo "Making html docs" + emake ${PN}/index.html + einfo "Making FAQ" + cd FAQ + emake + cd .. + # pdf + einfo "Making pdf docs" + export VARTEXFONTS="${T}"/fonts + # see bug #260606 + emake -j1 asymptote.pdf + emake CAD.pdf + fi + cd .. + + if use emacs; then + einfo "Compiling emacs lisp files" + elisp-compile base/*.el || die "elisp-compile failed" + fi +} + +src_install() { + # the program + exeinto /usr/bin + doexe asy + + # .asy files + insinto /usr/share/${PN} + doins base/*.asy + + # documentation + dodoc BUGS ChangeLog README ReleaseNotes TODO + doman doc/asy.1 + + # X GUI + if use X; then + exeinto /usr/share/${PN}/GUI + doexe GUI/xasy.py + rm GUI/xasy.py + insinto /usr/share/${PN}/GUI + doins GUI/*.py + dosym /usr/share/${PN}/GUI/xasy.py /usr/bin/xasy + doman doc/xasy.1x + fi + + # examples + if use examples; then + insinto /usr/share/${PN}/examples + doins examples/*.asy \ + examples/*.eps \ + doc/*.asy \ + doc/*.csv \ + doc/*.dat \ + doc/extra/*.asy + if use X; then + doins GUI/*.asy + fi + insinto /usr/share/${PN}/examples/animations + doins examples/animations/*.asy + fi + + # LaTeX style + if use latex; then + cd doc + insinto ${TEXMF}/tex/latex/${PN} + doins ${PN}.sty asycolors.sty + if use examples; then + insinto /usr/share/${PN}/examples + doins latexusage.tex + fi + cd .. + fi + + # asymptote.py + if use python; then + python_version + insinto /usr/$(get_libdir)/python${PYVER}/site-packages + doins base/${PN}.py + fi + + # emacs mode + if use emacs; then + elisp-install ${PN} base/*.el base/*.elc + elisp-site-file-install "${FILESDIR}"/64${PN}-gentoo.el + fi + + # vim syntax + if use vim-syntax; then + insinto /usr/share/vim/vimfiles/syntax + doins base/asy.vim + insinto /usr/share/vim/vimfiles/ftdetect + doins "${FILESDIR}"/asy-ftd.vim + fi + + # extra documentation + if use doc; then + cd doc + doinfo ${PN}.info* + dohtml ${PN}/* + cd FAQ + dodoc asy-faq.ascii + doinfo asy-faq.info + insinto /usr/share/doc/${PF}/html/FAQ + doins asy-faq.html/* + cd .. + insinto /usr/share/doc/${PF} + doins ${PN}.pdf CAD.pdf + fi +} + +pkg_postinst() { + if use python; then + python_version + python_mod_compile \ + /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}.py + fi + + use latex && latex-package_rehash + + use emacs && elisp-site-regen + + elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer' + elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer' +} + +pkg_postrm() { + use latex && latex-package_rehash + use emacs && elisp-site-regen + use python && python_mod_cleanup +} diff --git a/media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch deleted file mode 100644 index 84196db76173..000000000000 --- a/media-gfx/asymptote/files/asymptote-1.72-configure-ac.patch +++ /dev/null @@ -1,69 +0,0 @@ -Index: asymptote-1.72/configure.ac -=================================================================== ---- asymptote-1.72.orig/configure.ac -+++ asymptote-1.72/configure.ac -@@ -88,10 +88,16 @@ if test "$GXX" = yes ; then - fi - fi - --AC_CHECK_HEADER(fftw3.h, -- AC_CHECK_LIB([fftw3], fftw_execute,, -+AC_ARG_WITH([fftw], -+ [ --with-fftw use fftw3], -+ [with_fftw=$withval], -+ [with_fftw="no"]) -+if test "$with_fftw" = "yes"; then -+AC_CHECK_HEADER([fftw3.h], -+ AC_CHECK_LIB([fftw3], [fftw_execute],, - AC_MSG_NOTICE([*** Could not find libfftw3: will compile without optional fast Fourier transforms. ***])), - AC_MSG_NOTICE([*** Header file fftw3.h not found: will compile without optional fast Fourier transforms. ***])) -+fi - - GCVERSION=gc-7.1 - -@@ -128,7 +134,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then - fi - CPPFLAGS_SAVE=$CPPFLAGS - CPPFLAGS=$CPPFLAGS" $INCL" -- AC_CHECK_HEADER(gc.h, -+ AC_CHECK_HEADER([gc/gc.h], - AC_CHECK_LIB([gc],[GC_malloc],[ - LIBS=$LIBS"-lgc " - AC_MSG_NOTICE([enabling system $GCNAME])],[ -@@ -195,7 +201,16 @@ AC_CHECK_LIB([ncurses], [setupterm], [AC - AC_CHECK_LIB([m], [sqrt]) - AC_CHECK_LIB([z], [deflate]) - AC_CHECK_LIB([pthread], [pthread_create]) --AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]) -+ -+AC_ARG_WITH(sigsegv, -+ [ --with-sigsegv use libsigsegv], -+ [with_sigsegv=$withval], -+ [with_sigsegv="no"]) -+if test "$with_sigsegv" = "yes"; then -+AC_CHECK_HEADER([sigsegv.h], -+ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]), -+ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***])) -+fi - - AC_CHECK_LIB([readline], [rl_completion_matches],, - AC_MSG_NOTICE(*** Could not find GNU readline 4.2 or later: will compile without readline support ***)) -@@ -212,11 +227,17 @@ AC_COMPILE_IFELSE(AC_LANG_PROGRAM([#incl - [Define if you have a working header file])], - AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***])) - --AC_CHECK_HEADER(gsl/gsl_sf.h, -+AC_ARG_WITH(gsl, -+ [ --with-gsl use gsl libraries], -+ [with_gsl=$withval], -+ [with_gsl="no"]) -+if test "$with_gsl" = "yes"; then -+AC_CHECK_HEADER([gsl/gsl_sf.h], - AC_CHECK_LIB([gsl], gsl_sf_Si, [AC_DEFINE(HAVE_LIBGSL, 1, - [Define to 1 if you have the 'gsl' library (-lgsl). ]) LIBS=$LIBS"-lgsl -lgslcblas "], - AC_MSG_NOTICE([*** Could not find libgsl: will compile without optional special functions. ***]),[-lgslcblas]), - AC_MSG_NOTICE([*** Header file gsl_sf.h not found: will compile without optional special functions. ***])) -+fi - - case "$OSTYPE" in - cygwin) AC_CHECK_HEADER(GL/glut.h, diff --git a/media-gfx/asymptote/files/asymptote-1.72-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-1.72-xdg-utils.patch deleted file mode 100644 index 9613f9e352ba..000000000000 --- a/media-gfx/asymptote/files/asymptote-1.72-xdg-utils.patch +++ /dev/null @@ -1,23 +0,0 @@ -Index: asymptote-1.72/settings.cc -=================================================================== ---- asymptote-1.72.orig/settings.cc -+++ asymptote-1.72/settings.cc -@@ -81,15 +81,15 @@ const bool haveglut=false; - bool msdos=false; - const char *HOME="HOME"; - const char pathSeparator=':'; --string defaultPSViewer="gv"; -+string defaultPSViewer="xdg-open"; - #ifdef __APPLE__ - string defaultPDFViewer="open"; - #else --string defaultPDFViewer="acroread"; -+string defaultPDFViewer="xdg-open"; - #endif - string defaultGhostscript="gs"; - string defaultPython; --string defaultDisplay="display"; -+string defaultDisplay="xdg-open"; - string systemDir=ASYMPTOTE_SYSDIR; - const string docdir=ASYMPTOTE_DOCDIR; - void queryRegistry() {} diff --git a/media-gfx/asymptote/files/asymptote-1.75-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.75-configure-ac.patch new file mode 100644 index 000000000000..c9d3dd2bb833 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-1.75-configure-ac.patch @@ -0,0 +1,32 @@ +Index: asymptote-1.75/configure.ac +=================================================================== +--- asymptote-1.75.orig/configure.ac ++++ asymptote-1.75/configure.ac +@@ -145,7 +145,7 @@ if test "x$ac_cv_use_gc" != "xno" ; then + fi + CPPFLAGS_SAVE=$CPPFLAGS + CPPFLAGS=$CPPFLAGS" $INCL" +- AC_CHECK_HEADER(gc.h, ++ AC_CHECK_HEADER([gc/gc.h], + AC_CHECK_LIB([gc],[GC_malloc],[ + LIBS=$LIBS"-lgc " + AC_MSG_NOTICE([enabling system $GCNAME])],[ +@@ -212,7 +212,17 @@ AC_CHECK_LIB([ncurses], [setupterm], [AC + AC_CHECK_LIB([m], [sqrt]) + AC_CHECK_LIB([z], [deflate]) + AC_CHECK_LIB([pthread], [pthread_create]) +-AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]) ++ ++AC_ARG_WITH(sigsegv, ++ [ --with-sigsegv use libsigsegv], ++ [with_sigsegv=$withval], ++ [with_sigsegv="no"]) ++if test "$with_sigsegv" = "yes"; then ++AC_CHECK_HEADER([sigsegv.h], ++ AC_CHECK_LIB([sigsegv], [stackoverflow_install_handler]), ++ AC_MSG_NOTICE([*** Header file sigsegv.h not found ***])) ++fi ++ + AC_CHECK_LIB([rt], [sched_yield]) + + AC_ARG_ENABLE(readline, diff --git a/media-gfx/asymptote/files/asymptote-1.75-xdg-utils.patch b/media-gfx/asymptote/files/asymptote-1.75-xdg-utils.patch new file mode 100644 index 000000000000..fcd1e23fd6ca --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-1.75-xdg-utils.patch @@ -0,0 +1,23 @@ +Index: asymptote-1.75/settings.cc +=================================================================== +--- asymptote-1.75.orig/settings.cc ++++ asymptote-1.75/settings.cc +@@ -81,15 +81,15 @@ const bool haveglut=false; + bool msdos=false; + const char *HOME="HOME"; + const char pathSeparator=':'; +-string defaultPSViewer="gv"; ++string defaultPSViewer="xdg-open"; + #ifdef __APPLE__ + string defaultPDFViewer="open"; + #else +-string defaultPDFViewer="acroread"; ++string defaultPDFViewer="xdg-open"; + #endif + string defaultGhostscript="gs"; + string defaultPython; +-string defaultDisplay="display"; ++string defaultDisplay="xdg-open"; + string systemDir=ASYMPTOTE_SYSDIR; + string docdir=ASYMPTOTE_DOCDIR; + void queryRegistry() {} -- cgit v1.2.3-65-gdbad