summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Stadler <centic@gentoo.org>2007-06-01 06:49:17 +0000
committerDominik Stadler <centic@gentoo.org>2007-06-01 06:49:17 +0000
commit74303234915e627ed2c03c585d7292185c8c2224 (patch)
tree12da81fd345946265aab48a31e0ef449f9d4ef06 /media-gfx/asymptote
parentStable on amd64 for bug #180021. (diff)
downloadhistorical-74303234915e627ed2c03c585d7292185c8c2224.tar.gz
historical-74303234915e627ed2c03c585d7292185c8c2224.tar.bz2
historical-74303234915e627ed2c03c585d7292185c8c2224.zip
Version bump to 1.29, fixes Bug 178464, thanks to Gerhard D and Neil Alldrin for providing the updated ebuilds.
Package-Manager: portage-2.1.2.9
Diffstat (limited to 'media-gfx/asymptote')
-rw-r--r--media-gfx/asymptote/ChangeLog10
-rw-r--r--media-gfx/asymptote/Manifest34
-rw-r--r--media-gfx/asymptote/asymptote-1.29.ebuild128
-rw-r--r--media-gfx/asymptote/files/asymptote-1.29-configure-ac.patch37
-rw-r--r--media-gfx/asymptote/files/asymptote-1.29-makefile.patch63
-rw-r--r--media-gfx/asymptote/files/digest-asymptote-1.293
6 files changed, 260 insertions, 15 deletions
diff --git a/media-gfx/asymptote/ChangeLog b/media-gfx/asymptote/ChangeLog
index 1f8c76806f65..6511d08f4be1 100644
--- a/media-gfx/asymptote/ChangeLog
+++ b/media-gfx/asymptote/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-gfx/asymptote
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.8 2007/04/30 21:14:19 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.9 2007/06/01 06:49:17 centic Exp $
+
+*asymptote-1.29 (01 Jun 2007)
+
+ 01 Jun 2007; <dstadler@gentoo.org>
+ +files/asymptote-1.29-configure-ac.patch,
+ +files/asymptote-1.29-makefile.patch, +asymptote-1.29.ebuild:
+ Version bump to 1.29, fixes Bug 178464, thanks to Gerhard D and Neil Alldrin
+ for providing the updated ebuilds
30 Apr 2007; Marius Mauch <genone@gentoo.org> asymptote-1.20.ebuild,
asymptote-1.21.ebuild, asymptote-1.26.ebuild:
diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest
index 6dc5e4d7e611..7d81cf9e11fd 100644
--- a/media-gfx/asymptote/Manifest
+++ b/media-gfx/asymptote/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 64asy-gentoo.el 168 RMD160 ce644cf20e9d57918cb0f983a2e6fed729132664 SHA1 4f935343e996ce19696e979609e0873326aa5c0e SHA256 336e53de3b83eaad0c8c1c9151cb34c78a236e7aac55e1a85d72428d47970e58
MD5 d279cb94daf6c88f7044b516cfac852b files/64asy-gentoo.el 168
RMD160 ce644cf20e9d57918cb0f983a2e6fed729132664 files/64asy-gentoo.el 168
@@ -29,9 +26,18 @@ AUX asymptote-1.26-makefile.patch 1951 RMD160 998a1a7b2bacce3e828153663878621f04
MD5 c54984c03cd5f4d204d78179007b837b files/asymptote-1.26-makefile.patch 1951
RMD160 998a1a7b2bacce3e828153663878621f04808ac5 files/asymptote-1.26-makefile.patch 1951
SHA256 6bc3bdf255c04dbd326cc424727d3e726ac1fc19f993fde10eb551957a61ba8f files/asymptote-1.26-makefile.patch 1951
+AUX asymptote-1.29-configure-ac.patch 1443 RMD160 497a336b5b4155f7fb4f36f71f96c8a5a0ef3681 SHA1 d108963f7b75a9d8a185ff54e6eb40cf7d3d58ef SHA256 49109223e505d778a58824a30c3d58775b0ab47f653821e7ca262b22b566df4d
+MD5 ff95ee3e8b80c2bdc9a997466656b093 files/asymptote-1.29-configure-ac.patch 1443
+RMD160 497a336b5b4155f7fb4f36f71f96c8a5a0ef3681 files/asymptote-1.29-configure-ac.patch 1443
+SHA256 49109223e505d778a58824a30c3d58775b0ab47f653821e7ca262b22b566df4d files/asymptote-1.29-configure-ac.patch 1443
+AUX asymptote-1.29-makefile.patch 1932 RMD160 8461c1f74ced939209803b0e88aaad6022942cc1 SHA1 6d3c4d4618293776722dd351d3cbf3a644dddff4 SHA256 206b2c548627ba5bd40c9ab9278851834dbac99d10844bc7444bb7ad21ddf816
+MD5 bccf90e0888b0e705a634210659651d6 files/asymptote-1.29-makefile.patch 1932
+RMD160 8461c1f74ced939209803b0e88aaad6022942cc1 files/asymptote-1.29-makefile.patch 1932
+SHA256 206b2c548627ba5bd40c9ab9278851834dbac99d10844bc7444bb7ad21ddf816 files/asymptote-1.29-makefile.patch 1932
DIST asymptote-1.20.tar.gz 937426 RMD160 9b51fbc66152e4ec89a53e8e3743cf68f3a2d868 SHA1 78608d9de339feeb7366b6258552155ecbbc73e5 SHA256 860e7b28c3bace3786e7dace9b458437eddb78382fc13e943bf6ff42c06ca2ca
DIST asymptote-1.21.tar.gz 969726 RMD160 0b669ea9b6afb657199c9243534710079fd34f27 SHA1 9498324035e20d7d5eb445842da5a6351bd27fed SHA256 d07cb00bd7a7df1430d4e133d38d3d41917e0c24cd651c7799546543de96619b
DIST asymptote-1.26.src.tgz 930703 RMD160 5c791beea7819c10b1b38af564e6bfbb73ce2964 SHA1 9503721850d7007496765201c1e938808d377e21 SHA256 727d3f6f3ce21d68d19177ddfaddccbef84a8c2fe3c79ec476b8cc2e5b7d1e80
+DIST asymptote-1.29.src.tgz 933266 RMD160 013a5f8f706159ea564811cd044a12fe4b6e58da SHA1 366a42e95796fe88863a2d82624e25630be8619e SHA256 2b4eea7b3a016295b4543e3d3c9fca80fa278fc2fb7824306130a2c37e602366
EBUILD asymptote-1.20.ebuild 3402 RMD160 e134194c00f2589d6003afe3957b3bbfb16d09a9 SHA1 e4002f78d96d46613e82f34f89d9ea132bdc4469 SHA256 5af508b81fc12b0544299e53bd347a092eecb8120251cc06ee2ef3393c871af4
MD5 e6644e1e44cf68f0c91a9bef11dd05f9 asymptote-1.20.ebuild 3402
RMD160 e134194c00f2589d6003afe3957b3bbfb16d09a9 asymptote-1.20.ebuild 3402
@@ -44,10 +50,14 @@ EBUILD asymptote-1.26.ebuild 3410 RMD160 12439ccfbe2f029649413732d3e589c4aa7d926
MD5 902b9974f94e1d7a3c77fef9c3bbee3b asymptote-1.26.ebuild 3410
RMD160 12439ccfbe2f029649413732d3e589c4aa7d926a asymptote-1.26.ebuild 3410
SHA256 47712c6a055ac24cbb2cbb59ff8feaedf5705a2524f2f5d0652ddced18f3aee2 asymptote-1.26.ebuild 3410
-MISC ChangeLog 1952 RMD160 e5aa5dbd1543bbefd273e697f7e4477136fabc32 SHA1 b59117d2a4f41d13e2583f25fa9f932677971aac SHA256 67ca2c5adb671ca3f16ff45cd99fa153e6e8d9160fd618e9b8f1892dd1fb5868
-MD5 fd4b725f2439982c4ffff17998b27802 ChangeLog 1952
-RMD160 e5aa5dbd1543bbefd273e697f7e4477136fabc32 ChangeLog 1952
-SHA256 67ca2c5adb671ca3f16ff45cd99fa153e6e8d9160fd618e9b8f1892dd1fb5868 ChangeLog 1952
+EBUILD asymptote-1.29.ebuild 3457 RMD160 3d7eddef496f4798aea61007704ec3690abb3bc8 SHA1 5b2936fd9b3824b4891d0f2e3ccff151b5a0c01a SHA256 7dd168ab069c2c1a87c7aaa4a7aefed866b437e5ebab377425a27a5c371cd3b2
+MD5 3cd11ccecbcf8041920dc6362f060c46 asymptote-1.29.ebuild 3457
+RMD160 3d7eddef496f4798aea61007704ec3690abb3bc8 asymptote-1.29.ebuild 3457
+SHA256 7dd168ab069c2c1a87c7aaa4a7aefed866b437e5ebab377425a27a5c371cd3b2 asymptote-1.29.ebuild 3457
+MISC ChangeLog 2244 RMD160 faaa95df2cef7de659729ed6f6c62de35ef2be3b SHA1 770b056f309dbe7265e76af763c71751e8afddda SHA256 adede682404a043d0b6de18a98f04eb30f2eca406ee92a731d621fe0519f3be6
+MD5 63e49a7fb8c47b9ddc2927d87688766a ChangeLog 2244
+RMD160 faaa95df2cef7de659729ed6f6c62de35ef2be3b ChangeLog 2244
+SHA256 adede682404a043d0b6de18a98f04eb30f2eca406ee92a731d621fe0519f3be6 ChangeLog 2244
MISC metadata.xml 683 RMD160 5e6874dc58a60453426c9442cfa0a71950363247 SHA1 4efe58b121bd6003ea233cf585556f1c15d55b45 SHA256 1846addfcf39add4671318cc114b66017d8ea9d944f2ff0b0e590970c52e8394
MD5 80c00e59c5b5ce93eddc10f4bb686ae4 metadata.xml 683
RMD160 5e6874dc58a60453426c9442cfa0a71950363247 metadata.xml 683
@@ -61,10 +71,6 @@ SHA256 b42554a0fc668fdb3a275ea3c5973351245de80297b74c23654ebbd29d1b3566 files/di
MD5 8327b5ef3651d9bfe78311c65b042e7e files/digest-asymptote-1.26 247
RMD160 77d3bdc9f8f4c335c3d3c0ff8f676c3abd063ff3 files/digest-asymptote-1.26 247
SHA256 1ff209c79dd3162dac1fa24a2b3d296d7198f8a04f563f7991a4709fa700f9ea files/digest-asymptote-1.26 247
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFGNlx66J2i8a8J4okRAmBJAKC6iZu5sM4ROpLY4zRoEQvcwl3tkgCfXvRk
-SzkXgjNfZZhWUoATxQp7LSg=
-=w2TJ
------END PGP SIGNATURE-----
+MD5 95ca2fb8a2dc969c1e739691fd2860b1 files/digest-asymptote-1.29 247
+RMD160 7044a6cd6b2e85e96ca411d78b08468725b7b738 files/digest-asymptote-1.29 247
+SHA256 30658824767a0f1608fbc03d0d62aff010ff89d71d92ce17fc1ff1d8db8827a0 files/digest-asymptote-1.29 247
diff --git a/media-gfx/asymptote/asymptote-1.29.ebuild b/media-gfx/asymptote/asymptote-1.29.ebuild
new file mode 100644
index 000000000000..4fd3a03df2c7
--- /dev/null
+++ b/media-gfx/asymptote/asymptote-1.29.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.29.ebuild,v 1.1 2007/06/01 06:49:17 centic Exp $
+
+inherit eutils elisp-common
+
+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-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="boehm-gc doc fftw emacs gsl vim-syntax"
+
+RDEPEND=">=sys-libs/readline-4.3-r5
+ >=sys-libs/ncurses-5.4-r5
+ dev-libs/libsigsegv
+ boehm-gc? ( >=dev-libs/boehm-gc-6.7 )
+ virtual/tetex
+ fftw? ( >=sci-libs/fftw-3.0.1 )
+ emacs? ( virtual/emacs )
+ gsl? ( sci-libs/gsl )
+ vim-syntax? ( app-editors/vim )"
+DEPEND="${RDEPEND}
+ >=sys-devel/autoconf-2.5
+ >=sys-devel/bison-1.875
+ >=sys-devel/flex-2.5.4a-r5
+ doc? ( >=media-gfx/imagemagick-6.1.3.2
+ virtual/ghostscript
+ >=sys-apps/texinfo-4.7-r1 )"
+
+pkg_setup() {
+ # checking if Boehm garbage collector was compiled with c++ support
+ if use boehm-gc ; then
+ if ! built_with_use dev-libs/boehm-gc nocxx ; then
+ einfo "dev-libs/boehm-gc has been compiled with nocxx use flag disabled"
+ else
+ echo
+ eerror "You have to rebuild dev-libs/boehm-gc enabling c++ support"
+ die
+ fi
+ fi
+
+ if ! built_with_use dev-lang/python tk; then
+ eerror "Please reemerge dev-lang/python with 'tk' support or xasy will"
+ eerror "not work. In order to fix this, execute the following:"
+ eerror "echo \"dev-lang/python tk\" >> /etc/portage/package.use"
+ eerror "and reemerge dev-lang/python before emerging asymptote."
+ die "requires dev-lang/python with use-flag 'tk'!!"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ # Fixing fftw and gsl enabling
+ epatch ${FILESDIR}/${P}-configure-ac.patch
+ einfo "Patching configure.ac"
+ sed -i \
+ -e "s:Datadir/doc/asymptote:Datadir/doc/${PF}:" \
+ configure.ac || die "sed configure.ac failed"
+
+ einfo "Building configure"
+ WANT_AUTOCONF=2.5 autoconf
+
+ epatch ${FILESDIR}/${P}-makefile.patch
+}
+
+src_compile() {
+ for dir in `find /var/cache/fonts -type d`; do addwrite ${dir}; done
+
+ # for the CPPFLAGS see http://sourceforge.net/forum/forum.php?thread_id=1683277&forum_id=409349
+ myconf="--with-latex=/usr/share/texmf/tex/latex --disable-gc-debug CPPFLAGS=-DHAVE_SYS_TYPES_H"
+ if use boehm-gc; then
+ myconf="${myconf} --enable-gc=system"
+ else
+ myconf="${myconf} --disable-gc"
+ fi
+
+ econf ${myconf} $(use_with fftw) $(use_with gsl) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ for dir in `find /var/cache/fonts -type d`; do addwrite ${dir}; done
+
+ if use doc; then
+ target="install-all"
+ else
+ target="install"
+ fi
+
+ make DESTDIR=${D} ${target} || die "make install failed"
+
+ dodoc BUGS ChangeLog README ReleaseNotes TODO
+
+ if use emacs ; then
+ elisp-site-file-install base/asy-mode.el
+ elisp-site-file-install base/asy-keywords.el
+ elisp-site-file-install "${FILESDIR}"/64asy-gentoo.el
+ fi
+
+ if use vim-syntax ; then
+ insinto /usr/share/vim/vimfiles/syntax
+ doins base/asy.vim
+ fi
+}
+
+pkg_postinst() {
+ einfo 'Updating TeX tree...'
+ texhash &> /dev/null
+
+ elog 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer'
+ elog 'Use the variable ASYMPTOTE_PDFVIEWER to set the PDF viewer'
+
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ einfo 'Updating TeX tree...'
+ texhash &> /dev/null
+
+ [ -f "${SITELISP}"/site-gentoo.el ] && elisp-site-regen
+}
diff --git a/media-gfx/asymptote/files/asymptote-1.29-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.29-configure-ac.patch
new file mode 100644
index 000000000000..dc13eec0cbff
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-1.29-configure-ac.patch
@@ -0,0 +1,37 @@
+--- configure.ac 2007-01-31 00:09:02.000000000 +0100
++++ configure.ac_new 2007-01-31 00:45:53.000000000 +0100
+@@ -73,10 +73,16 @@
+ fi
+ fi
+
++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=6.8
+
+@@ -168,11 +174,17 @@
+ [Define if you have a working <rpc/rpc.h> header file])],
+ AC_MSG_WARN([*** Broken rpc headers; XDR support disabled ***]))
+
++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
+
+ # Checks for typedefs, structures, and compiler characteristics.
+ AC_TYPE_PID_T
diff --git a/media-gfx/asymptote/files/asymptote-1.29-makefile.patch b/media-gfx/asymptote/files/asymptote-1.29-makefile.patch
new file mode 100644
index 000000000000..ec5f2a3ed3a2
--- /dev/null
+++ b/media-gfx/asymptote/files/asymptote-1.29-makefile.patch
@@ -0,0 +1,63 @@
+--- Makefile.in 2006-12-29 06:16:42.000000000 +0100
++++ ../asymptote-1.20_new/Makefile.in 2007-02-02 22:21:54.000000000 +0100
+@@ -48,7 +48,7 @@
+ datadir = $(DESTDIR)@datadir@
+ asydir = $(datadir)/asymptote
+ docdir = $(DESTDIR)@docdir@
+-exampledir = $(docdir)/examples
++exampledir = $(asydir)/examples
+ animationsdir = $(exampledir)/animations
+ latexdir = $(DESTDIR)@latexdir@
+ INSTALL = @INSTALL@
+@@ -125,11 +125,8 @@
+ doc/*.asy doc/*.csv doc/*.dat doc/latexusage.tex $(exampledir)
+ ${INSTALL} -p -m 644 examples/animations/*.asy $(animationsdir)
+ -${INSTALL} -p -m 644 $(addprefix doc/,$(LATEXFILES)) $(latexdir)
+- -if test -z "$(DESTDIR)"; then \
+- texhash; \
+- fi
+
+-install-doc: doc
++install-doc:
+ cd doc; $(MAKE) install-all
+
+ install-man: man
+--- doc/Makefile 2007-02-02 20:17:18.000000000 +0100
++++ ../asymptote-1.20_new/doc/Makefile 2007-02-02 21:26:45.000000000 +0100
+@@ -4,11 +4,11 @@
+ ASY = ../asy -dir ../base
+ DOCFILES = asymptote.pdf CAD.pdf
+
+-doc: asymptote.dvi asymptote.info html man faq
++doc: $(DOCFILES) asymptote.info html man faq
+
+ html: asymptote/index.html
+
+-man: $(DOCFILES) asy.1
++man: $(MANFILES)
+
+ faq:
+ cd FAQ; $(MAKE) faq
+@@ -80,15 +80,15 @@
+ rm -f CAD.{aux,dvi,log,pdf,toc}
+ rm -rf asymptote
+
+-install: man faq
+- cd FAQ; $(MAKE) install
+- ${INSTALL} -d -m 755 $(docdir) $(mandir)/man1
+- ${INSTALL} -p -m 644 $(DOCFILES) $(docdir)
++install: man
++ ${INSTALL} -d -m 755 $(mandir)/man1
+ ${INSTALL} -p -m 644 $(MANFILES) $(mandir)/man1
+
+-install-all: doc install
+- cd FAQ; $(MAKE) install-info
+- ${INSTALL} -d -m 755 $(infodir)
++install-all: doc faq install
++ cd FAQ; $(MAKE) install-all
++ ${INSTALL} -d -m 755 $(infodir) $(docdir)/html/asymptote
++ ${INSTALL} -p -m 644 $(DOCFILES) $(docdir)
++ ${INSTALL} -p -m 644 asymptote/* $(docdir)/html/asymptote
+ ${INSTALL} -p -m 644 asymptote.info $(infodir)
+ -${INSTALL} -p -m 644 asymptote.info-* $(infodir)
+ -if test -z "$(DESTDIR)"; then \
diff --git a/media-gfx/asymptote/files/digest-asymptote-1.29 b/media-gfx/asymptote/files/digest-asymptote-1.29
new file mode 100644
index 000000000000..ad4773efb6f7
--- /dev/null
+++ b/media-gfx/asymptote/files/digest-asymptote-1.29
@@ -0,0 +1,3 @@
+MD5 455fc563c35e19dd99ba5e7e0281e637 asymptote-1.29.src.tgz 933266
+RMD160 013a5f8f706159ea564811cd044a12fe4b6e58da asymptote-1.29.src.tgz 933266
+SHA256 2b4eea7b3a016295b4543e3d3c9fca80fa278fc2fb7824306130a2c37e602366 asymptote-1.29.src.tgz 933266