asymptote builds on 10.4.11, but teTeX stops it on 10.5.1

David Liontooth liontooth at cogweb.net
Tue Dec 4 11:48:22 PST 2007


Thanks for packaging asymptote!

HMUG gives this list of dependencies for OSX 10.4 on ppc and x86 -- you 
may have seen this already, and/or asymptote may pull these in 
automatically; I didn't test, but hopefully some of this information is 
useful!

http://www.hmug.org/pub/MacOS_X/X/Applications/Publishing/asymptote/

My annotations in parentheses -- several packages should probably be 
made optional; I set g95 optional (won't build on 10.5.1) and also X11 
(do we need it? It pulls in a lot of dependencies). I'd be happy if 
asymptote can generate eps files.

Dependencies:
bzip2 1.0.4 (ok)
fftw 3.1.2 (fftw-3 ok)
fltk 1.1.7 (ok)
freetype 2.3.5 (ok)
g95 20061019 (optional -- macports has 0.90)
gawk 3.1.5 (ok)
gettext 0.17 (ok)
ghostscript 8.60 (8.61)
ghostscript-fonts-std 8.11 (ok, in ghostscript)
gsl 1.9 (1.10)
ImageMagick 6.3.6-2 (6.3.7-1)
jasper 1.900.1 (1.701.0 -- may be worth updating)
jbigkit 1.6 (ok)
jpeg 6b (ok)
lcms 1.16 (ok)
libexif 0.6.16 (0.6.15)
libiconv 1.12 (ok)
libpng 1.2.23 (ok)
libwmf 0.2.8.4 (ok)
libxml2 2.6.30 (ok)
mpeg2vidcodec 1.2 (ok)
openexr 1.4.0 (ok)
pkg-config 0.22 (pkgconfig ok)
Python 2.5.1 (python25 ok)
readline 5.2 (ok)
sed 4.1.5 (gsed ok)
tetex 3.0 (ok)
texinfo 4.11 (ok)
X11 1.1.3 (xorg-libX11 ok -- optional?)
zlib 1.2.3 (ok)

I'm not familiar with the dependency trees, so I don't know the shortest 
list that will pull in all of these.

When I run the modified portfile, leaving out xorg-libX11, odcctools 
builds on 10.4.11, but fails on 10.5.1 (both macintel) (Ticket #13289 
<https://svn.macosforge.org/projects/macports/ticket/13289>).

Moving g95 to optional (don't know when it's needed) allows some further 
progress on 10.5.1.

TeTeX fails to build on 10.5.1 -- Ticket #13491 
<https://svn.macosforge.org/projects/macports/ticket/13491>.

asymptote builds on 10.4.11 and creates valid eps files! Very cool.

Dave

The revised portfile is likely overkill:

# $Id$
PortSystem      1.0
name            asymptote
version         1.37
categories      graphics
maintainers     loshea at gmail.com
description     a vector graphics language
long_description Asymptote is a powerful descriptive \
                 vector graphics language that provides a natural \
                 coordinate-based framework for technical drawing. \
                 Labels and equations are typeset with LaTeX, for \
                 high-quality PostScript output.

homepage        http://asymptote.sourceforge.net

distfiles       ${distname}.src.tgz:main gc-7.0.tar.gz:gc

master_sites    sourceforge::main \
  http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source:gc

checksums       asymptote-1.37.src.tgz md5 05b6e614f43e2fd163161117c4093f87 \
                gc-7.0.tar.gz          md5 3645ccf5f32ebb27d99b27b0d29e9c38

depends_lib     port:bzip2 \
                port:fftw-3 \
                port:fltk \
                port:freetype \
                port:gawk \
                port:gettext \
                port:ghostscript \
                port:gsl \
                port:ImageMagick \
                port:jasper \
                port:jbigkit \
                port:jpeg \
                port:lcms \
                port:libexif \
                port:libiconv \
                port:libpng \
                port:libwmf \
                port:libxml2 \
                port:mpeg2vidcodec \
                port:openexr \
                port:pkgconfig \
                port:python25 \
                port:readline \
                port:gsed \
                port:teTeX \
                port:texinfo \
                port:zlib

platforms       darwin

configure.args  --with-latex=${prefix}/share/texmf-local/tex/latex \
                --mandir=${prefix}/share/man

extract.only    ${distname}.src.tgz

post-extract {
  file copy ${distpath}/gc-7.0.tar.gz ${worksrcpath}
}

# Optional components

#variant fftw {
#    depends_lib-append port:fftw-3
#    configure.args-append --enable-fftw --with-fftw-prefix=${prefix}
#}

variant g95 {
    depends_lib-append port:g95 
}

variant X11 {
    depends_lib-append port:xorg-libX11
}



More information about the macports-users mailing list