diff options
Diffstat (limited to 'math/asymptote/files')
-rw-r--r-- | math/asymptote/files/patch-Makefile.in | 30 | ||||
-rw-r--r-- | math/asymptote/files/patch-configure.ac | 16 | ||||
-rw-r--r-- | math/asymptote/files/patch-settings.cc | 15 |
3 files changed, 57 insertions, 4 deletions
diff --git a/math/asymptote/files/patch-Makefile.in b/math/asymptote/files/patch-Makefile.in index cdb2f0ac6b44..938782762d38 100644 --- a/math/asymptote/files/patch-Makefile.in +++ b/math/asymptote/files/patch-Makefile.in @@ -1,6 +1,14 @@ ---- Makefile.in 2008-11-27 19:43:50.000000000 +0100 -+++ Makefile.in.port 2008-11-30 13:19:46.000000000 +0100 -@@ -55,7 +55,7 @@ +--- ./Makefile.in.orig 2014-05-22 18:11:41.000000000 +0200 ++++ ./Makefile.in 2014-05-27 05:26:25.000000000 +0200 +@@ -53,7 +53,6 @@ + EXEXTRA = piicon.eps *.views *.dat *.bib + DOCEXTRA = *.asy *.csv *.dat latexusage.tex externalprc.tex pixel.pdf + KEYWORDS = base $(ASYMPTOTE_SITEDIR) +-LATEXFILES = asymptote.sty asycolors.sty ocg.sty latexmkrc + CONTEXTFILES = colo-asy.tex + ASY = ./asy -dir base -config "" -render=0 + +@@ -84,7 +83,7 @@ asydir = $(datadir)/asymptote GUIdir = $(asydir)/GUI docdir = $(DESTDIR)@docdir@ @@ -8,4 +16,18 @@ +exampledir = $(datadir)/examples/asymptote animationsdir = $(exampledir)/animations latexdir = $(DESTDIR)@latexdir@ - INSTALL = @INSTALL@ + contextdir = $(DESTDIR)@contextdir@ +@@ -234,13 +233,11 @@ + ${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) \ + asy-keywords.el $(asydir) + ${INSTALL} -p -m 755 GUI/*.py $(GUIdir) +- ln -sf @datadir@/asymptote/GUI/xasy.py $(bindir)/$(XNAME) + ${INSTALL} -p -m 644 examples/*.asy $(addprefix examples/,$(EXEXTRA)) \ + doc/extra/*.asy $(addprefix doc/,$(DOCEXTRA)) $(exampledir) + ${INSTALL} -p -m 644 examples/animations/*.asy \ + examples/animations/inlinemovie.tex \ + examples/animations/inlinemovie3.tex $(animationsdir) +- -${INSTALL} -p -m 644 $(addprefix doc/,$(LATEXFILES)) $(latexdir) + -${INSTALL} -p -m 644 $(addprefix doc/,$(CONTEXTFILES)) $(contextdir) + + install-html: html diff --git a/math/asymptote/files/patch-configure.ac b/math/asymptote/files/patch-configure.ac new file mode 100644 index 000000000000..2e2f220721d1 --- /dev/null +++ b/math/asymptote/files/patch-configure.ac @@ -0,0 +1,16 @@ +--- ./configure.ac.orig 2014-05-22 18:12:40.000000000 +0200 ++++ ./configure.ac 2014-05-27 05:26:25.000000000 +0200 +@@ -1,4 +1,3 @@ +-# -*- Autoconf -*- + # Run autoheader and autoconf to produce a header and configure script from + # this file. + +@@ -160,7 +159,7 @@ + CPPFLAGS=$CPPFLAGS" $INCL" + AC_CHECK_HEADER(gc.h, + AC_CHECK_LIB([gc],[GC_malloc],[ +- LIBS=$LIBS"-lgc " ++ LIBS=$LIBS"-lgc-threaded " + AC_MSG_NOTICE([enabling system $GCNAME])],[ + GCDIR=$GCFILE + INCL="-I\$(GC)/include" diff --git a/math/asymptote/files/patch-settings.cc b/math/asymptote/files/patch-settings.cc new file mode 100644 index 000000000000..dcb5e22de367 --- /dev/null +++ b/math/asymptote/files/patch-settings.cc @@ -0,0 +1,15 @@ +--- ./settings.cc.orig 2014-05-22 18:11:31.000000000 +0200 ++++ ./settings.cc 2014-05-27 05:26:36.000000000 +0200 +@@ -94,10 +94,10 @@ + #ifdef __APPLE__ + string defaultPDFViewer="open"; + #else +-string defaultPDFViewer="acroread"; ++string defaultPDFViewer="gv"; + #endif + string defaultGhostscript="gs"; +-string defaultGhostscriptLibrary="/usr/lib/libgs.so"; ++string defaultGhostscriptLibrary="/usr/local/lib/libgs.so"; + string defaultDisplay="display"; + string defaultAnimate="animate"; + void queryRegistry() {} |