summaryrefslogtreecommitdiff
path: root/sci-visualization/epix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-visualization/epix
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-visualization/epix')
-rw-r--r--sci-visualization/epix/Manifest8
-rw-r--r--sci-visualization/epix/epix-1.2.11-r1.ebuild66
-rw-r--r--sci-visualization/epix/epix-1.2.11.ebuild66
-rw-r--r--sci-visualization/epix/files/50epix-gentoo.el8
-rw-r--r--sci-visualization/epix/files/epix-1.2.10-autotools.patch85
-rw-r--r--sci-visualization/epix/metadata.xml18
6 files changed, 251 insertions, 0 deletions
diff --git a/sci-visualization/epix/Manifest b/sci-visualization/epix/Manifest
new file mode 100644
index 000000000000..b3dbb206b099
--- /dev/null
+++ b/sci-visualization/epix/Manifest
@@ -0,0 +1,8 @@
+AUX 50epix-gentoo.el 298 SHA256 5aa1fc2e45f9c544f4cfc95a803a2540a42ef766258eecbb3d166b158565d219 SHA512 7033d169194cffe4265569f1b048e9ec1929dc98257eb4fb63f486be1ab8162e80fa75fd3943c81b5f9a8eb0e13665e66852ef1f9fbf7cfaee949f5d56fbe9a3 WHIRLPOOL 424537eb3c11f7a0ea25a11ff67be94254bf5bef457b55af0e472d4110caa7a00e82fbdedb5cf0787858e9206f9d875682cc3debd912e55d951bcb4abd8ef75f
+AUX epix-1.2.10-autotools.patch 2701 SHA256 164802fb1083bc3e420925965788aad593a460d0e2f0cdd103654ded6c898f9f SHA512 c94beae67c28ceff6cd4445272574e6cb93f4c181cddb4023587d20e2fed1bea523891191f80b6dd8870f167cbcae2567cd014b6a20aafbb6a74624c76e54cac WHIRLPOOL b7f6dc508d8f1753aeed2ccda427cfd95f0b135fed5e33d1593304560a91d6545dff96295b7acac30c76ff95bca0b11e7b2c7c1a21e8ff139e9d4394b74ab72b
+DIST epix-1.2.11_withpdf.tar.bz2 1709429 SHA256 e6186a5564e26195887dadd94dba9c0ba596a1402cb5b9866dea10abc66ef4d7 SHA512 16d0edf13711e469a13faba83d47fbab983277a95cfed0e343089258da0b8a56104af9fc217aaa70928c50f10e7d152df93c3638cf2a65a2833142645a829a45 WHIRLPOOL 1540b35b87f7c663a37b45a8c33e3d9b93f07f10d6c54da7df4262b1a685be30ec65ddebd5c6d7030dd3f1c86a990223db05cfc5f93840265b56f902f085536a
+EBUILD epix-1.2.11-r1.ebuild 1531 SHA256 9de5ec58867be5f11c3622d68303e19408bad49c605f41284e8f3e65c0c861c1 SHA512 712a89e7286ce16cf00df72571ae3bd15fbb90f85bfc5078230056c766c6f74ba2b434707526ba9d3f25670fcc91d1e5e80766396f2c69ca7ffb097270e9a438 WHIRLPOOL 2abc1caf8f531fe12b6a5a37a3c7b1fe560c13be742d3b9a367641c7d36de936583261b3a60aa1e7b744194b9e096fc739cd958ac1fefaaf280dbcf8199abe3d
+EBUILD epix-1.2.11.ebuild 1534 SHA256 d5eb4bebd47552495fefa434e4902c09d8f865890d6a0f1643d1daf407a1e92a SHA512 8bc004f857a1a4297a32619f8a6d472dd0ed44b82ba3f486283fc44feb475ee3f231463f84f62a4970d3eb57b8a4af9cea09cc00a83528d73e7f930d251007e1 WHIRLPOOL d15bf3c4e8cc32df934d4839365d19952333c21390b515a21db54f40f9be997cb8f22325a892d7a0e18920ec9dd7eb4b98aec8a5cd2d8a015e23da63d05f0a49
+MISC ChangeLog 3397 SHA256 3e347834ccbc875b75c298b7c1853408d4fb7b8c9187a3c4a2bdfa137ef1eb61 SHA512 044260f0e344a27ec2158f5d9833e6ad74e46ff5491a99cba5e951b43848cb6fd73913e4a96cfb459dacf499052a83b802bbcc812c198227e946b177ade28b5b WHIRLPOOL 61d3acabb118891537fb7dcc225aa70fe0cfe13d16e6286b380716da4f5e4e7d8d141d8ca96c3f17446f12177222a4dd1eec7a3d5a30117a7cbba2794b62e471
+MISC ChangeLog-2015 9607 SHA256 8760acfa0865c26f30fd53f47914613fd1e01eff76781e0c65fbf8488c65b2f1 SHA512 b71b76376a1ef9d026143edb9f365b0b00966c87701d73727712de4e8d8fe6db601fb72c5e90a459a2167fcaab42fa87cc3f7f5e3fbf5ae205dcb490cd372f57 WHIRLPOOL c29d9f3537e219c0f1e18a59bb33b21c75e5a51a80b9c0c1650793c00c003274add712a4d2d0031a4f4b6d9970fb80579a34334c8ffe6c87ebfed705f91d80b5
+MISC metadata.xml 779 SHA256 0cf9b7f584c15f78c4998ad365121b1451bc9161ffe7946f88f3137645b27137 SHA512 b0cb62a782873b0e2e115f18495f520f3fb5cf06052d6fdae023a65a3a40fb2eaf355ffacf0243149d9890d8f56be87dbbdaf459b05ae32b877037e7ff2bc5e9 WHIRLPOOL d1239bf96f90d3c65c03284b1e3430576f4c1db073304b30a9cf4eaec7943455a1db182eb2c4ef4facc7dc63b9d702b99c28de26e29fdc7bfe2f47afd8b2ce3c
diff --git a/sci-visualization/epix/epix-1.2.11-r1.ebuild b/sci-visualization/epix/epix-1.2.11-r1.ebuild
new file mode 100644
index 000000000000..536173f22c51
--- /dev/null
+++ b/sci-visualization/epix/epix-1.2.11-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit elisp-common bash-completion-r1 autotools eutils
+
+DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
+HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
+SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
+IUSE="doc emacs examples"
+
+DEPEND="
+ virtual/latex-base
+ dev-texlive/texlive-pstricks
+ dev-texlive/texlive-pictures
+ dev-texlive/texlive-latexextra
+ dev-tex/xcolor
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+SITEFILE=50${PN}-gentoo.el
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.10-autotools.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --disable-epix-el
+}
+
+src_install() {
+ default
+ if use emacs; then
+ # do compilation here as the make install target will
+ # create the .el file
+ elisp-compile *.el || die "elisp-compile failed!"
+ elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+ newbashcomp bash_completions epix
+ bashcomp_alias epix flix elaps laps
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/*gz
+ fi
+ if use examples; then
+ cd samples
+ insinto /usr/share/doc/${PF}/examples
+ doins *.xp *.flx *c *h README
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sci-visualization/epix/epix-1.2.11.ebuild b/sci-visualization/epix/epix-1.2.11.ebuild
new file mode 100644
index 000000000000..7f6af033a27c
--- /dev/null
+++ b/sci-visualization/epix/epix-1.2.11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit elisp-common bash-completion-r1 autotools eutils
+
+DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)"
+HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html"
+SRC_URI="http://mathcs.holycross.edu/~ahwang/epix/${P}_withpdf.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc emacs examples"
+
+DEPEND="
+ virtual/latex-base
+ dev-texlive/texlive-pstricks
+ dev-texlive/texlive-pictures
+ dev-texlive/texlive-latexextra
+ dev-tex/xcolor
+ emacs? ( virtual/emacs )"
+RDEPEND="${DEPEND}"
+SITEFILE=50${PN}-gentoo.el
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.2.10-autotools.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \
+ --disable-epix-el
+}
+
+src_install() {
+ default
+ if use emacs; then
+ # do compilation here as the make install target will
+ # create the .el file
+ elisp-compile *.el || die "elisp-compile failed!"
+ elisp-install ${PN} *.elc *.el || die "elisp-install failed!"
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+ newbashcomp bash_completions epix
+ bashcomp_alias epix flix elaps laps
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins doc/*gz
+ fi
+ if use examples; then
+ cd samples
+ insinto /usr/share/doc/${PF}/examples
+ doins *.xp *.flx *c *h README
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sci-visualization/epix/files/50epix-gentoo.el b/sci-visualization/epix/files/50epix-gentoo.el
new file mode 100644
index 000000000000..eb5d8eb13371
--- /dev/null
+++ b/sci-visualization/epix/files/50epix-gentoo.el
@@ -0,0 +1,8 @@
+;; sci-visualisation/epix site init file
+
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'epix-mode "epix" "ePiX editing mode" t)
+(autoload 'flix-mode "epix" "flix editing mode" t)
+(add-to-list 'auto-mode-alist '("\\.xp\\'" . epix-mode))
+(add-to-list 'auto-mode-alist '("\\.flx\\'" . flix-mode))
diff --git a/sci-visualization/epix/files/epix-1.2.10-autotools.patch b/sci-visualization/epix/files/epix-1.2.10-autotools.patch
new file mode 100644
index 000000000000..03f93cd26c9c
--- /dev/null
+++ b/sci-visualization/epix/files/epix-1.2.10-autotools.patch
@@ -0,0 +1,85 @@
+diff -Nur epix-1.2.10.orig/configure.ac epix-1.2.10/configure.ac
+--- epix-1.2.10.orig/configure.ac 2012-11-29 21:04:20.411280150 -0800
++++ epix-1.2.10/configure.ac 2012-11-29 21:14:00.462163755 -0800
+@@ -9,6 +9,7 @@
+ dnl Checks for programs.
+ AC_PROG_CXX
+ AC_PROG_LN_S
++AM_PROG_AR
+ AC_PROG_RANLIB
+ AC_PROG_MAKE_SET
+ AC_PROG_INSTALL
+diff -Nur epix-1.2.10.orig/doc/Makefile.am epix-1.2.10/doc/Makefile.am
+--- epix-1.2.10.orig/doc/Makefile.am 2012-11-29 21:04:20.414280167 -0800
++++ epix-1.2.10/doc/Makefile.am 2012-11-29 21:04:30.491329674 -0800
+@@ -1,7 +1,7 @@
+ # Makefile.am for ePiX v1.x "doc" directory
+ #
+
+-EPIXFLAGS = --no-defaults -I.. -L.. -lepix -v
++EPIXFLAGS = --no-defaults -I.. -L.. -lepix -q
+
+ %.eepic: %.xp
+ ../epix-local $(EPIXFLAGS) $<
+@@ -13,13 +13,13 @@
+ CLEANFILES = *~ *.aux *.dvi *.log *.out *.toc \
+ *.fdx *.flg *.fnd *.idx *.ilg *.ind \
+ epix.info epix.info.bz2 manual_src.tar manual.pdf manual.ps \
+- manual_src.tar.gz manual.pdf.gz manual.ps.gz manual-stamp
++ manual_src.tar.gz manual.pdf manual.ps.gz manual-stamp
+
+ MAINTAINERCLEANFILES = *.eepic *.aux *.dvi *.log *.out *.toc \
+ *.fdx *.flg *.fnd *.idx *.ilg *.ind
+
+ ## Targets ##
+-doc_DATA = manual.pdf.gz manual.ps.gz manual_src.tar.gz
++doc_DATA =
+
+ info_TEXINFOS = epix.texi
+
+@@ -42,8 +42,7 @@
+ gzip -9 -c manual.ps > manual.ps.gz
+
+ #PDF
+-manual.pdf.gz: manual-stamp
+- gzip -9 -c manual.pdf > manual.pdf.gz
++manual.pdf: manual-stamp
+
+ epix.info: manual-stamp epix.texi
+ makeinfo epix.texi 2>&1 >/dev/null
+diff -Nur epix-1.2.10.orig/Makefile.am epix-1.2.10/Makefile.am
+--- epix-1.2.10.orig/Makefile.am 2012-11-29 21:04:20.415280173 -0800
++++ epix-1.2.10/Makefile.am 2012-11-29 21:05:52.489734436 -0800
+@@ -56,7 +56,7 @@
+
+ EPIX_CONFFILES = bash_completions $(EPIX_EL)
+
+-EPIX_NOTEFILES = AUTHORS BUGS ChangeLog COPYING INSTALL NEWS POST-INSTALL \
++EPIX_NOTEFILES = AUTHORS BUGS ChangeLog NEWS POST-INSTALL \
+ README THANKS VERSION
+
+ EXTRA_DIST = $(bin_SCRIPTS) $(man_MANS) $(EPIX_CONFFILES) $(EPIX_NOTEFILES) \
+@@ -85,11 +85,6 @@
+ -e 's%@RUNTIME_COMPILER\@%$(CXX)%;' $< > $@-local
+ chmod a+x $@ $@-local
+
+-# libepix.a
+-libepix.a: $(libepix_a_OBJECTS)
+- ar -ru libepix.a $(libepix_a_OBJECTS)
+- $(RANLIB) libepix.a
+-
+ # object file dependencies
+ $(libepix_a_LIBADD): %.o: %.cc %.h
+
+diff -Nur epix-1.2.10.orig/samples/Makefile.am epix-1.2.10/samples/Makefile.am
+--- epix-1.2.10.orig/samples/Makefile.am 2012-11-29 21:04:20.416280179 -0800
++++ epix-1.2.10/samples/Makefile.am 2012-11-29 21:04:30.491329674 -0800
+@@ -7,7 +7,7 @@
+ CLEANFILES = *~ *.eepic *.eps sample_src.tar sample_src.tar.gz sample-stamp
+
+ ## Targets ##
+-doc_DATA = sample_src.tar.gz
++doc_DATA =
+
+
+ # tar up tex, xp, and eepic files
diff --git a/sci-visualization/epix/metadata.xml b/sci-visualization/epix/metadata.xml
new file mode 100644
index 000000000000..aa1412a875fc
--- /dev/null
+++ b/sci-visualization/epix/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ ePiX creates mathematically accurate figures, plots, and
+ movies using easy-to-learn syntax. The output is expressly suitable
+ for use with LaTeX; figures may be written in a LaTeX picture
+ environment containing PSTricks, tikz, or eepic macros, or as vector
+ (EPS or PDF) image files. The user interface resembles that of
+ LaTeX: You prepare a human-readable scene description in a text
+ editor, then compile the input file into a picture.
+ use ePiX, however.
+</longdescription>
+</pkgmetadata>