summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <opfer@gentoo.org>2007-10-07 09:14:01 +0000
committerChristian Faulhammer <opfer@gentoo.org>2007-10-07 09:14:01 +0000
commitb82f3000bcf9c43e5efe7b9c6d650fd6bdbcb902 (patch)
treedf4fe5112bc1550554db6dd810c8e68a8f98c6d7 /media-gfx/asymptote/files
parentquote a lot of variables, plus add a pkg_postinst message how to activate Ema... (diff)
downloadgentoo-2-b82f3000bcf9c43e5efe7b9c6d650fd6bdbcb902.tar.gz
gentoo-2-b82f3000bcf9c43e5efe7b9c6d650fd6bdbcb902.tar.bz2
gentoo-2-b82f3000bcf9c43e5efe7b9c6d650fd6bdbcb902.zip
clean up; fix Emacs and Vim support (bugs 191008 and 193402); do some quoting; use latex_rehash from latex-package
(Portage version: 2.1.3.9)
Diffstat (limited to 'media-gfx/asymptote/files')
-rw-r--r--media-gfx/asymptote/files/64asymptote-gentoo.el9
-rw-r--r--media-gfx/asymptote/files/asy-ftd.vim2
-rw-r--r--media-gfx/asymptote/files/asymptote-1.20-configure-ac.patch37
-rw-r--r--media-gfx/asymptote/files/asymptote-1.20-makefile.patch61
-rw-r--r--media-gfx/asymptote/files/asymptote-1.21-configure-ac.patch37
-rw-r--r--media-gfx/asymptote/files/asymptote-1.21-makefile.patch61
-rw-r--r--media-gfx/asymptote/files/asymptote-1.26-configure-ac.patch37
-rw-r--r--media-gfx/asymptote/files/asymptote-1.26-makefile.patch61
-rw-r--r--media-gfx/asymptote/files/digest-asymptote-1.203
-rw-r--r--media-gfx/asymptote/files/digest-asymptote-1.213
-rw-r--r--media-gfx/asymptote/files/digest-asymptote-1.263
-rw-r--r--media-gfx/asymptote/files/digest-asymptote-1.33-r1 (renamed from media-gfx/asymptote/files/digest-asymptote-1.33)0
12 files changed, 11 insertions, 303 deletions
diff --git a/media-gfx/asymptote/files/64asymptote-gentoo.el b/media-gfx/asymptote/files/64asymptote-gentoo.el
new file mode 100644
index 000000000000..57cd48d04a64
--- /dev/null
+++ b/media-gfx/asymptote/files/64asymptote-gentoo.el
@@ -0,0 +1,9 @@
+
+;; site-init for media-gfx/asymptote
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'asy-mode "asy-mode" "Asymptote major mode." t)
+(autoload 'lasy-mode "asy-mode" "Hybrid Asymptote/Latex major mode." t)
+(autoload 'asy-insinuate-latex "asy-mode" "Asymptote insinuate LaTeX." t)
+(add-to-list 'auto-mode-alist '("\\.asy$" . asy-mode))
diff --git a/media-gfx/asymptote/files/asy-ftd.vim b/media-gfx/asymptote/files/asy-ftd.vim
new file mode 100644
index 000000000000..0f5e3957900a
--- /dev/null
+++ b/media-gfx/asymptote/files/asy-ftd.vim
@@ -0,0 +1,2 @@
+au BufNewFile,BufRead *.asy setf asy
+filetype plugin on
diff --git a/media-gfx/asymptote/files/asymptote-1.20-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.20-configure-ac.patch
deleted file mode 100644
index c6b495e25e75..000000000000
--- a/media-gfx/asymptote/files/asymptote-1.20-configure-ac.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- 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.20-makefile.patch b/media-gfx/asymptote/files/asymptote-1.20-makefile.patch
deleted file mode 100644
index 4bb2db0f55b2..000000000000
--- a/media-gfx/asymptote/files/asymptote-1.20-makefile.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- 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/asymptote-1.21-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.21-configure-ac.patch
deleted file mode 100644
index c6b495e25e75..000000000000
--- a/media-gfx/asymptote/files/asymptote-1.21-configure-ac.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- 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
deleted file mode 100644
index 4bb2db0f55b2..000000000000
--- a/media-gfx/asymptote/files/asymptote-1.21-makefile.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- 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/asymptote-1.26-configure-ac.patch b/media-gfx/asymptote/files/asymptote-1.26-configure-ac.patch
deleted file mode 100644
index c6b495e25e75..000000000000
--- a/media-gfx/asymptote/files/asymptote-1.26-configure-ac.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- 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.26-makefile.patch b/media-gfx/asymptote/files/asymptote-1.26-makefile.patch
deleted file mode 100644
index 4bb2db0f55b2..000000000000
--- a/media-gfx/asymptote/files/asymptote-1.26-makefile.patch
+++ /dev/null
@@ -1,61 +0,0 @@
---- 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.20 b/media-gfx/asymptote/files/digest-asymptote-1.20
deleted file mode 100644
index 1586964562f2..000000000000
--- a/media-gfx/asymptote/files/digest-asymptote-1.20
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 7e705a3418395d26318509aaa8191076 asymptote-1.20.tar.gz 937426
-RMD160 9b51fbc66152e4ec89a53e8e3743cf68f3a2d868 asymptote-1.20.tar.gz 937426
-SHA256 860e7b28c3bace3786e7dace9b458437eddb78382fc13e943bf6ff42c06ca2ca asymptote-1.20.tar.gz 937426
diff --git a/media-gfx/asymptote/files/digest-asymptote-1.21 b/media-gfx/asymptote/files/digest-asymptote-1.21
deleted file mode 100644
index 56e282845773..000000000000
--- a/media-gfx/asymptote/files/digest-asymptote-1.21
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 b1ce37bca1449492a85303eb45e5b13b asymptote-1.21.tar.gz 969726
-RMD160 0b669ea9b6afb657199c9243534710079fd34f27 asymptote-1.21.tar.gz 969726
-SHA256 d07cb00bd7a7df1430d4e133d38d3d41917e0c24cd651c7799546543de96619b asymptote-1.21.tar.gz 969726
diff --git a/media-gfx/asymptote/files/digest-asymptote-1.26 b/media-gfx/asymptote/files/digest-asymptote-1.26
deleted file mode 100644
index eda60b10365a..000000000000
--- a/media-gfx/asymptote/files/digest-asymptote-1.26
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 08ffbcf8ddf17644a408a86c8d2f0354 asymptote-1.26.src.tgz 930703
-RMD160 5c791beea7819c10b1b38af564e6bfbb73ce2964 asymptote-1.26.src.tgz 930703
-SHA256 727d3f6f3ce21d68d19177ddfaddccbef84a8c2fe3c79ec476b8cc2e5b7d1e80 asymptote-1.26.src.tgz 930703
diff --git a/media-gfx/asymptote/files/digest-asymptote-1.33 b/media-gfx/asymptote/files/digest-asymptote-1.33-r1
index d2933540e3f0..d2933540e3f0 100644
--- a/media-gfx/asymptote/files/digest-asymptote-1.33
+++ b/media-gfx/asymptote/files/digest-asymptote-1.33-r1