summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-visualization')
-rw-r--r--sci-visualization/gle/ChangeLog11
-rw-r--r--sci-visualization/gle/Manifest9
-rw-r--r--sci-visualization/gle/files/64gle-gentoo.el4
-rw-r--r--sci-visualization/gle/gle-4.1.2b.ebuild102
-rw-r--r--sci-visualization/gle/metadata.xml13
5 files changed, 139 insertions, 0 deletions
diff --git a/sci-visualization/gle/ChangeLog b/sci-visualization/gle/ChangeLog
new file mode 100644
index 000000000000..9bd9e6c4ba9b
--- /dev/null
+++ b/sci-visualization/gle/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sci-visualization/gle
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/ChangeLog,v 1.1 2008/05/21 21:13:42 grozin Exp $
+
+*gle-4.1.2b (22 May 2008)
+
+ 22 May 2008; Andrey Grozin <grozin@gentoo.org> +files/64gle-gentoo.el,
+ +metadata.xml, +gle-4.1.2b.ebuild:
+ Initial import. Closing bug #128322. Thanks to Sebastien Fabbro for help
+ with this ebuild in the science overlay.
+
diff --git a/sci-visualization/gle/Manifest b/sci-visualization/gle/Manifest
new file mode 100644
index 000000000000..40d86bb482e4
--- /dev/null
+++ b/sci-visualization/gle/Manifest
@@ -0,0 +1,9 @@
+AUX 64gle-gentoo.el 123 RMD160 1cc54da935a7e4cb743288c4006aaeb6bce20ffb SHA1 454c79bfc609d07e43ca6025821cca3fea5a4d3b SHA256 8192517aa6fddd397260c38f651f3fa1cf62777b4cf205efd82923aa2f64136d
+DIST GLE-4.0.13-manual.pdf 2382284 RMD160 820f5f1f53ffad88c7351c6cf2b76b19b4e5afe1 SHA1 3915787939c0b13aef06098f9ce83792abc76da8 SHA256 e4fef6a97449344b1ff558fcab1db50d13c4a2ea24a20d2cc3e2f5bc2f2ca328
+DIST GLE-4.1.2b-src.zip 1794762 RMD160 491f291e311b94fba37fe3f84384ae3085ba7095 SHA1 725307581b6ba2a1049107ed1ef5f198949d5b89 SHA256 6370b9263bd96397ac72afa9aae078072f0a39346b9cf1d17b159a605a8120ac
+DIST GLEusersguide.pdf 2244780 RMD160 6f2b8814f100e3971737ad45d017144e5912fd4e SHA1 2039e6b255da68200b5f881f2554bbdd6e82034a SHA256 02c13fe038f8b4b7726ac3e6a74410e299f50cdccb2b040d7ed1fbc99b9cfbef
+DIST gle-emacs.el 8703 RMD160 3b2aa77e1fe6dfcef13d94aef1475787ce50f28e SHA1 888ddee47233037ae20293b4a3673467d5c48fc8 SHA256 c3f49ee2f286d5681c86bdca53121e0bc6609f8c61fe55dae2108032826332cc
+DIST vim_gle.zip 2121 RMD160 5ec2978642b81b7f67d1650bca109b5868bd7a71 SHA1 97f29783c57be10e0248f8b9ffe7ab1459032fe5 SHA256 b4913ba1303a6cf8feec3969d4fb391dfcf15adfc623fc8c61fc3834ea8d4941
+EBUILD gle-4.1.2b.ebuild 2475 RMD160 e10c089b607a972780b75d1edeadb0b9399beefa SHA1 cc49a94171b085ae4ae1f3c807ed01009764f727 SHA256 97eaf0c03407b2be01e66e86dbd8316115bd1085ed98495d62c72f6ccd9fa5cd
+MISC ChangeLog 378 RMD160 f06bb2437896ca358eb134901ef3af0709b91d10 SHA1 098e7b3ba7b72f033eed97ee1081b5f488888c94 SHA256 4687e373f7f03de4830567b526f8d2b22d5b717c65602a0f17602de017f70620
+MISC metadata.xml 515 RMD160 a04a55d1a6c8f1e947200d546e5e8e22be5d144d SHA1 f9a02c835f68b9d91bda0578045e0631084b607b SHA256 a75689c90bb13cf073d34c175453181823b0f6cc9a824baa69bd56e1308d5c95
diff --git a/sci-visualization/gle/files/64gle-gentoo.el b/sci-visualization/gle/files/64gle-gentoo.el
new file mode 100644
index 000000000000..fcb527f40b59
--- /dev/null
+++ b/sci-visualization/gle/files/64gle-gentoo.el
@@ -0,0 +1,4 @@
+;; begin gle-mode
+(autoload 'gle-mode "gle-mode")
+(add-to-list 'auto-mode-alist '("\\.gle\\'" . gle-mode))
+;; end gle-mode
diff --git a/sci-visualization/gle/gle-4.1.2b.ebuild b/sci-visualization/gle/gle-4.1.2b.ebuild
new file mode 100644
index 000000000000..59b94270b1f9
--- /dev/null
+++ b/sci-visualization/gle/gle-4.1.2b.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gle/gle-4.1.2b.ebuild,v 1.1 2008/05/21 21:13:42 grozin Exp $
+
+inherit eutils elisp-common qt4
+
+MY_P=GLE-${PV}
+DOC_VERSION="4.0.13"
+
+DESCRIPTION="Graphics Layout Engine"
+HOMEPAGE="http://glx.sourceforge.net/"
+SRC_URI="mirror://sourceforge/glx/${MY_P}-src.zip
+ doc? ( http://www.cs.kuleuven.be/~jan/gle/GLE-${DOC_VERSION}-manual.pdf
+ mirror://sourceforge/glx/GLEusersguide.pdf )
+ emacs? ( http://glx.sourceforge.net/downloads/gle-emacs.el )
+ vim-syntax? ( http://glx.sourceforge.net/downloads/vim_gle.zip )"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86"
+
+IUSE="X qt4 jpeg png tiff doc emacs vim-syntax"
+
+DEPEND="sys-libs/ncurses
+ X? ( x11-libs/libX11 )
+ qt4? ( $(qt4_min_version 4.1) )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )
+ tiff? ( media-libs/tiff )
+ emacs? ( virtual/emacs )
+ app-arch/unzip"
+
+RDEPEND="virtual/ghostscript
+ virtual/latex-base
+ sys-libs/ncurses
+ X? ( x11-libs/libX11 )
+ qt4? ( $(qt4_min_version 4.1) )
+ jpeg? ( media-libs/jpeg )
+ png? ( media-libs/libpng )
+ tiff? ( media-libs/tiff )
+ emacs? ( virtual/emacs )
+ vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
+
+S="${WORKDIR}"/gle4
+
+src_compile() {
+ local qtconf="--without-qt"
+ use qt4 && qtconf="--with-qt=/usr"
+ econf \
+ $(use_with X x) \
+ $(use_with jpeg) \
+ $(use_with png) \
+ $(use_with tiff) \
+ ${qtconf} || die "econf failed"
+
+ # emake failed in src/gui (probably qmake stuff)
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc README.txt
+
+ if use qt4; then
+ newicon src/gui/images/gle_icon.png gle.png
+ make_desktop_entry qgle GLE gle
+ newdoc src/gui/readme.txt gui_readme.txt
+ fi
+
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins "${DISTDIR}"/GLE-${DOC_VERSION}-manual.pdf \
+ "${DISTDIR}"/GLEusersguide.pdf
+ fi
+
+ if use emacs ; then
+ elisp-site-file-install "${DISTDIR}"/gle-emacs.el gle-mode.el
+ elisp-site-file-install "${FILESDIR}"/64gle-gentoo.el
+ fi
+
+ if use vim-syntax ; then
+ dodir /usr/share/vim/vimfiles/ftplugins \
+ /usr/share/vim/vimfiles/indent \
+ /usr/share/vim/vimfiles/syntax
+ cd ..
+ chmod 644 ftplugin/* indent/* syntax/*
+ insinto /usr/share/vim/vimfiles/ftplugins
+ doins ftplugin/*
+ insinto /usr/share/vim/vimfiles/indent
+ doins indent/*
+ insinto /usr/share/vim/vimfiles/syntax
+ doins syntax/*
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sci-visualization/gle/metadata.xml b/sci-visualization/gle/metadata.xml
new file mode 100644
index 000000000000..d4ef2bb8748f
--- /dev/null
+++ b/sci-visualization/gle/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>grozin@gentoo.org</email>
+ <name>Andrey Grozin</name>
+ </maintainer>
+ <longdescription>GLE (Graphics Layout Engine) is a high-quality graphics package for
+scientists, combining a user-friendly scripting language with a full
+range of facilities for producing publication-quality graphs,
+diagrams, posters and slides.</longdescription>
+</pkgmetadata>