# 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.2 2007/02/18 12:04:48 centic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/ChangeLog,v 1.3 2007/03/02 12:48:14 centic Exp $
+
+ 02 Mar 2007; Dominik Stadler <centic@gentoo.org> +files/64asy-gentoo.el,
+ asymptote-1.20.ebuild:
+ Add missing file 64asy-gentoo.el, add check for tk in python, add workaround
+ for problems with types.h and pid_t, fixes Bug 82871, thanks to Andrey
+ Grozin and Emiliano Vavassori for patches and suggestions.
+
+ 21 Feb 2007; Dominik Stadler <centic@gentoo.org> asymptote-1.20.ebuild:
+ Fix use-flags again, fixes Bug 167405
18 Feb 2007; Dominik Stadler <centic@gentoo.org> asymptote-1.20.ebuild:
Use vim-syntax instead of vim, fixes Bug 167405
+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
+SHA256 336e53de3b83eaad0c8c1c9151cb34c78a236e7aac55e1a85d72428d47970e58 files/64asy-gentoo.el 168
AUX asymptote-1.20-configure-ac.patch 1464 RMD160 d5911368b0aeab3095d67c8ef0e2163dda770380 SHA1 95de9f9d0547765384b4ab71a177010c80f8a257 SHA256 a066fba6e575dc017458e346da5dd455c333604e724669c2d6ac4fdb3f685581
MD5 b1d338fe8044f892da1a806feeb1de66 files/asymptote-1.20-configure-ac.patch 1464
RMD160 d5911368b0aeab3095d67c8ef0e2163dda770380 files/asymptote-1.20-configure-ac.patch 1464
RMD160 998a1a7b2bacce3e828153663878621f04808ac5 files/asymptote-1.20-makefile.patch 1951
SHA256 6bc3bdf255c04dbd326cc424727d3e726ac1fc19f993fde10eb551957a61ba8f files/asymptote-1.20-makefile.patch 1951
DIST asymptote-1.20.tar.gz 937426 RMD160 9b51fbc66152e4ec89a53e8e3743cf68f3a2d868 SHA1 78608d9de339feeb7366b6258552155ecbbc73e5 SHA256 860e7b28c3bace3786e7dace9b458437eddb78382fc13e943bf6ff42c06ca2ca
-EBUILD asymptote-1.20.ebuild 2893 RMD160 16ae0e4143a284f06bb12cfa00845c8d08fc6ef1 SHA1 e73b40acda8031ec4cbfa714325b872cae1dd638 SHA256 9f96a76abe9a18aad540663fd4419289c07878df0d399fc539c3b18a6107e173
-MD5 6335993db17cdc31dab46bcfca8a20a0 asymptote-1.20.ebuild 2893
-RMD160 16ae0e4143a284f06bb12cfa00845c8d08fc6ef1 asymptote-1.20.ebuild 2893
-SHA256 9f96a76abe9a18aad540663fd4419289c07878df0d399fc539c3b18a6107e173 asymptote-1.20.ebuild 2893
-MISC ChangeLog 640 RMD160 90bfb10efb39651a72dde69db34c6e6440e84681 SHA1 104432b49d93f465667f488eadebdbd7e680a38f SHA256 d367b479397176cb09cede1c2f67af592f5223f4415daf919b5688d7d465adb5
-MD5 6c280037bbb3c85424791e336cced79f ChangeLog 640
-RMD160 90bfb10efb39651a72dde69db34c6e6440e84681 ChangeLog 640
-SHA256 d367b479397176cb09cede1c2f67af592f5223f4415daf919b5688d7d465adb5 ChangeLog 640
+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 1069 RMD160 1fa52b0a32c74f7d60ea874d81bc86258fa684be SHA1 6b9c56f99c2e4ee6dd3050823586c88619bd1c30 SHA256 694193aef4f8623f11ec2fad804a5cd8f7f1d1a1dedbe8c2764f3116253e5130
+MD5 87482bc9a8a7e4d4bec0ca3699002ac1 ChangeLog 1069
+RMD160 1fa52b0a32c74f7d60ea874d81bc86258fa684be ChangeLog 1069
+SHA256 694193aef4f8623f11ec2fad804a5cd8f7f1d1a1dedbe8c2764f3116253e5130 ChangeLog 1069
MISC metadata.xml 683 RMD160 5e6874dc58a60453426c9442cfa0a71950363247 SHA1 4efe58b121bd6003ea233cf585556f1c15d55b45 SHA256 1846addfcf39add4671318cc114b66017d8ea9d944f2ff0b0e590970c52e8394
MD5 80c00e59c5b5ce93eddc10f4bb686ae4 metadata.xml 683
RMD160 5e6874dc58a60453426c9442cfa0a71950363247 metadata.xml 683
# 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.20.ebuild,v 1.2 2007/02/18 12:04:48 centic Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/asymptote/asymptote-1.20.ebuild,v 1.3 2007/03/02 12:48:14 centic Exp $
inherit eutils elisp-common
fftw? ( >=sci-libs/fftw-3.0.1 )
emacs? ( virtual/emacs )
gsl? ( sci-libs/gsl )
- vim? ( app-editors/vim )"
+ vim-syntax? ( app-editors/vim )"
DEPEND="${RDEPEND}
>=sys-devel/autoconf-2.5
>=sys-devel/bison-1.875
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() {
src_compile() {
for dir in `find /var/cache/fonts -type d`; do addwrite ${dir}; done
- myconf="--with-latex=/usr/share/texmf/tex/latex --disable-gc-debug"
+ # 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
--- /dev/null
+;; begin asy-mode
+(autoload 'asy-mode "asy-mode.el" "Asymptote major mode." t)
+(setq auto-mode-alist (cons (cons "\\.asy$" 'asy-mode) auto-mode-alist))
+;; end asy-mode