diff options
author | Dominik Stadler <centic@gentoo.org> | 2007-03-03 08:12:05 +0000 |
---|---|---|
committer | Dominik Stadler <centic@gentoo.org> | 2007-03-03 08:12:05 +0000 |
commit | 57d0b01fc5ae2b9e5f3ef4eaaab0f489b0f47b3b (patch) | |
tree | 11de47e10d1a1743eb2faedb79526d92e5eb6d77 /media-gfx/asymptote | |
parent | Stable on amd64. (diff) | |
download | historical-57d0b01fc5ae2b9e5f3ef4eaaab0f489b0f47b3b.tar.gz historical-57d0b01fc5ae2b9e5f3ef4eaaab0f489b0f47b3b.tar.bz2 historical-57d0b01fc5ae2b9e5f3ef4eaaab0f489b0f47b3b.zip |
Bump to version 1.21.
Package-Manager: portage-2.1.2_rc4-r9
Diffstat (limited to 'media-gfx/asymptote')
-rw-r--r-- | media-gfx/asymptote/ChangeLog | 10 | ||||
-rw-r--r-- | media-gfx/asymptote/Manifest | 24 | ||||
-rw-r--r-- | media-gfx/asymptote/asymptote-1.21.ebuild | 127 | ||||
-rw-r--r-- | media-gfx/asymptote/files/asymptote-1.21-configure-ac.patch | 37 | ||||
-rw-r--r-- | media-gfx/asymptote/files/asymptote-1.21-makefile.patch | 61 | ||||
-rw-r--r-- | media-gfx/asymptote/files/digest-asymptote-1.21 | 3 |
6 files changed, 255 insertions, 7 deletions
diff --git a/media-gfx/asymptote/ChangeLog b/media-gfx/asymptote/ChangeLog index a659a312db2a..d61f4c4c8a0d 100644 --- a/media-gfx/asymptote/ChangeLog +++ b/media-gfx/asymptote/ChangeLog @@ -1,9 +1,13 @@ # 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.4 2007/03/02 12:56:19 centic Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.5 2007/03/03 08:12:05 centic Exp $ - 02 Mar 2007; Dominik Stadler <centic@gentoo.org> ChangeLog: - Re-commit for manifest-signing + 03 Mar 2007; Dominik Stadler <centic@gentoo.org> + +files/asymptote-1.21-configure-ac.patch, + +files/asymptote-1.21-makefile.patch, +asymptote-1.21.ebuild: + Bump to version 1.21 + +*asymptote-1.21 (03 Mar 2007) 02 Mar 2007; Dominik Stadler <centic@gentoo.org> +files/64asy-gentoo.el, asymptote-1.20.ebuild: diff --git a/media-gfx/asymptote/Manifest b/media-gfx/asymptote/Manifest index 443c09538934..d46cdb4cf54f 100644 --- a/media-gfx/asymptote/Manifest +++ b/media-gfx/asymptote/Manifest @@ -10,15 +10,28 @@ AUX asymptote-1.20-makefile.patch 1951 RMD160 998a1a7b2bacce3e828153663878621f04 MD5 c54984c03cd5f4d204d78179007b837b files/asymptote-1.20-makefile.patch 1951 RMD160 998a1a7b2bacce3e828153663878621f04808ac5 files/asymptote-1.20-makefile.patch 1951 SHA256 6bc3bdf255c04dbd326cc424727d3e726ac1fc19f993fde10eb551957a61ba8f files/asymptote-1.20-makefile.patch 1951 +AUX asymptote-1.21-configure-ac.patch 1464 RMD160 d5911368b0aeab3095d67c8ef0e2163dda770380 SHA1 95de9f9d0547765384b4ab71a177010c80f8a257 SHA256 a066fba6e575dc017458e346da5dd455c333604e724669c2d6ac4fdb3f685581 +MD5 b1d338fe8044f892da1a806feeb1de66 files/asymptote-1.21-configure-ac.patch 1464 +RMD160 d5911368b0aeab3095d67c8ef0e2163dda770380 files/asymptote-1.21-configure-ac.patch 1464 +SHA256 a066fba6e575dc017458e346da5dd455c333604e724669c2d6ac4fdb3f685581 files/asymptote-1.21-configure-ac.patch 1464 +AUX asymptote-1.21-makefile.patch 1951 RMD160 998a1a7b2bacce3e828153663878621f04808ac5 SHA1 18b59161c4a2c41029622dc7ef99104823a392e9 SHA256 6bc3bdf255c04dbd326cc424727d3e726ac1fc19f993fde10eb551957a61ba8f +MD5 c54984c03cd5f4d204d78179007b837b files/asymptote-1.21-makefile.patch 1951 +RMD160 998a1a7b2bacce3e828153663878621f04808ac5 files/asymptote-1.21-makefile.patch 1951 +SHA256 6bc3bdf255c04dbd326cc424727d3e726ac1fc19f993fde10eb551957a61ba8f files/asymptote-1.21-makefile.patch 1951 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 EBUILD asymptote-1.20.ebuild 3404 RMD160 304e19853f2f20b7ed34ba162e0b178f449e8523 SHA1 bb3f4cda40934bed10a809aa66fc0ff6ad546440 SHA256 ff1ba75e8daf28ff32fb6a7ab2133062b41912dee3e0c56d7390e9ef808a49ef MD5 ac10fe19254cb806eafa057d5ee3a07a asymptote-1.20.ebuild 3404 RMD160 304e19853f2f20b7ed34ba162e0b178f449e8523 asymptote-1.20.ebuild 3404 SHA256 ff1ba75e8daf28ff32fb6a7ab2133062b41912dee3e0c56d7390e9ef808a49ef asymptote-1.20.ebuild 3404 -MISC ChangeLog 1165 RMD160 0ae98f0fa0ba36ea04c05262df57dc4e09f1ca08 SHA1 bfa5df0453410298058b8714bd1a1ccc359d2c21 SHA256 2a1bc506ae738c11a8a2b1a97769e090cce9ff2543c6ad6f4ef4d57ef946b680 -MD5 a28668ab0b70d175878d59e08e595e90 ChangeLog 1165 -RMD160 0ae98f0fa0ba36ea04c05262df57dc4e09f1ca08 ChangeLog 1165 -SHA256 2a1bc506ae738c11a8a2b1a97769e090cce9ff2543c6ad6f4ef4d57ef946b680 ChangeLog 1165 +EBUILD asymptote-1.21.ebuild 3404 RMD160 dfdb624e4d4e2f5350366cae414edd62fdd88f66 SHA1 0bc5b6addc515b6d4f5ce87704a6fc32eaa1a622 SHA256 fe3869fe230fb195922c074383a3c18d27d0691014f4102b06b1d614976da8e7 +MD5 d404bb69abbfec63d685bacc07a055fd asymptote-1.21.ebuild 3404 +RMD160 dfdb624e4d4e2f5350366cae414edd62fdd88f66 asymptote-1.21.ebuild 3404 +SHA256 fe3869fe230fb195922c074383a3c18d27d0691014f4102b06b1d614976da8e7 asymptote-1.21.ebuild 3404 +MISC ChangeLog 1283 RMD160 c7ab5c149891b0152b64d02197439e58023c7e4c SHA1 176d4a6f8b107f8aa97f4b967a11a623b939749a SHA256 fbe10a7445f5477f94fca3fe8917b0a0a4e4c20c8b82ecfaf3d1e0edb4078853 +MD5 66b3db8ce993a574ad2c4908ad3ad5ff ChangeLog 1283 +RMD160 c7ab5c149891b0152b64d02197439e58023c7e4c ChangeLog 1283 +SHA256 fbe10a7445f5477f94fca3fe8917b0a0a4e4c20c8b82ecfaf3d1e0edb4078853 ChangeLog 1283 MISC metadata.xml 683 RMD160 5e6874dc58a60453426c9442cfa0a71950363247 SHA1 4efe58b121bd6003ea233cf585556f1c15d55b45 SHA256 1846addfcf39add4671318cc114b66017d8ea9d944f2ff0b0e590970c52e8394 MD5 80c00e59c5b5ce93eddc10f4bb686ae4 metadata.xml 683 RMD160 5e6874dc58a60453426c9442cfa0a71950363247 metadata.xml 683 @@ -26,3 +39,6 @@ SHA256 1846addfcf39add4671318cc114b66017d8ea9d944f2ff0b0e590970c52e8394 metadata MD5 7d44c1f5609bb06dc5c8d5c63a1b3f50 files/digest-asymptote-1.20 244 RMD160 787778c63eeea0e367dcc6893c70c0e21973aeda files/digest-asymptote-1.20 244 SHA256 5ef30e37cf5a49a9cad8db7793e3f6203ccc667cc93ba09a7d88d17307f3d005 files/digest-asymptote-1.20 244 +MD5 f1621223329d5426a4718b2c3b7ddabd files/digest-asymptote-1.21 244 +RMD160 e78bea9258c6b9675ff05adef240805d57518254 files/digest-asymptote-1.21 244 +SHA256 b42554a0fc668fdb3a275ea3c5973351245de80297b74c23654ebbd29d1b3566 files/digest-asymptote-1.21 244 diff --git a/media-gfx/asymptote/asymptote-1.21.ebuild b/media-gfx/asymptote/asymptote-1.21.ebuild new file mode 100644 index 000000000000..bd35cbc65767 --- /dev/null +++ b/media-gfx/asymptote/asymptote-1.21.ebuild @@ -0,0 +1,127 @@ +# 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.21.ebuild,v 1.1 2007/03/03 08:12:05 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}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~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 "${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 + + einfo 'Use the variable ASYMPTOTE_PSVIEWER to set the postscript viewer' + einfo '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.21-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.21-configure-ac.patch new file mode 100644 index 000000000000..c6b495e25e75 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-1.21-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 +@@ -66,10 +66,16 @@ + AC_PROG_MAKE_SET + AC_PROG_YACC + ++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 + +@@ -152,11 +158,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.21-makefile.patch b/media-gfx/asymptote/files/asymptote-1.21-makefile.patch new file mode 100644 index 000000000000..4bb2db0f55b2 --- /dev/null +++ b/media-gfx/asymptote/files/asymptote-1.21-makefile.patch @@ -0,0 +1,61 @@ +--- Makefile.in 2006-12-29 06:16:42.000000000 +0100 ++++ ../asymptote-1.20_new/Makefile.in 2007-02-02 22:21:54.000000000 +0100 +@@ -44,7 +44,7 @@ + datadir = $(DESTDIR)@datadir@ + asydir = $(datadir)/asymptote + docdir = $(DESTDIR)@docdir@ +-exampledir = $(docdir)/examples ++exampledir = $(asydir)/examples + animationsdir = $(exampledir)/animations + latexdir = $(DESTDIR)@latexdir@ + INSTALL = @INSTALL@ +@@ -116,11 +116,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,9 +4,9 @@ + ASY = ../asy -dir ../base + DOCFILES = asymptote.pdf CAD.pdf PDFAnim_temp_Guide.pdf + +-doc: asymptote.dvi asymptote.info html man ++doc: $(DOCFILES) asymptote.info html man + +-man: asymptote.pdf CAD.pdf PDFAnim_temp_Guide.pdf asy.1 ++man: $(MANFILES) + + faq: + cd FAQ; $(MAKE) faq +@@ -71,15 +71,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) + -if test -z "$(DESTDIR)"; then \ + install-info --infodir=$(infodir) asymptote.info; \ diff --git a/media-gfx/asymptote/files/digest-asymptote-1.21 b/media-gfx/asymptote/files/digest-asymptote-1.21 new file mode 100644 index 000000000000..56e282845773 --- /dev/null +++ b/media-gfx/asymptote/files/digest-asymptote-1.21 @@ -0,0 +1,3 @@ +MD5 b1ce37bca1449492a85303eb45e5b13b asymptote-1.21.tar.gz 969726 +RMD160 0b669ea9b6afb657199c9243534710079fd34f27 asymptote-1.21.tar.gz 969726 +SHA256 d07cb00bd7a7df1430d4e133d38d3d41917e0c24cd651c7799546543de96619b asymptote-1.21.tar.gz 969726 |