diff options
author | Jeffrey Gardner <je_fro@gentoo.org> | 2007-08-09 21:26:48 +0000 |
---|---|---|
committer | Jeffrey Gardner <je_fro@gentoo.org> | 2007-08-09 21:26:48 +0000 |
commit | 6f1eca21fc4ff95d09ef08b4f09fb14bb9e7aa31 (patch) | |
tree | 93baa2b854d6a712edc95ac7c8d16edb401f5bc9 /sci-visualization | |
parent | Stable on ppc64; bug #176297 (diff) | |
download | gentoo-2-6f1eca21fc4ff95d09ef08b4f09fb14bb9e7aa31.tar.gz gentoo-2-6f1eca21fc4ff95d09ef08b4f09fb14bb9e7aa31.tar.bz2 gentoo-2-6f1eca21fc4ff95d09ef08b4f09fb14bb9e7aa31.zip |
Version bump. Thanks to Dirk Goettel, closes bug #169373.
(Portage version: 2.1.2.11)
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/grace/ChangeLog | 8 | ||||
-rw-r--r-- | sci-visualization/grace/files/digest-grace-5.1.21 | 3 | ||||
-rw-r--r-- | sci-visualization/grace/files/grace.desktop | 11 | ||||
-rw-r--r-- | sci-visualization/grace/files/grace.png | bin | 0 -> 498 bytes | |||
-rw-r--r-- | sci-visualization/grace/files/xmgrace.sh | 7 | ||||
-rw-r--r-- | sci-visualization/grace/grace-5.1.21.ebuild | 125 |
6 files changed, 153 insertions, 1 deletions
diff --git a/sci-visualization/grace/ChangeLog b/sci-visualization/grace/ChangeLog index bb3b538c244f..2132e5332dd9 100644 --- a/sci-visualization/grace/ChangeLog +++ b/sci-visualization/grace/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-visualization/grace # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.22 2007/07/18 02:20:28 cryos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/ChangeLog,v 1.23 2007/08/09 21:26:47 je_fro Exp $ + +*grace-5.1.21 (09 Aug 2007) + + 09 Aug 2007; Jeff Gardner <je_fro@gentoo.org> +files/grace.desktop, + +files/grace.png, +files/xmgrace.sh, +grace-5.1.21.ebuild: + Version bump. Thanks to Dirk Goettel, closes bug #169373. 18 Jul 2007; Marcus D. Hanwell <cryos@gentoo.org> grace-5.1.20.ebuild: Marked stable on amd64. diff --git a/sci-visualization/grace/files/digest-grace-5.1.21 b/sci-visualization/grace/files/digest-grace-5.1.21 new file mode 100644 index 000000000000..70befdf25068 --- /dev/null +++ b/sci-visualization/grace/files/digest-grace-5.1.21 @@ -0,0 +1,3 @@ +MD5 db02dee3c68179c41452e652bd469bb9 grace-5.1.21.tar.gz 2474115 +RMD160 d2818d1a50945ef84aa2ddd6046e5bfbf6c9459b grace-5.1.21.tar.gz 2474115 +SHA256 30e4b5d86f4b966428aac5d8c5d0468bcf28226eea9e00d9eb4886f4ab094b00 grace-5.1.21.tar.gz 2474115 diff --git a/sci-visualization/grace/files/grace.desktop b/sci-visualization/grace/files/grace.desktop new file mode 100644 index 000000000000..4b0fb9438c30 --- /dev/null +++ b/sci-visualization/grace/files/grace.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=xmGrace 2D-Plotting Tool +Name[de]=xmGrace 2D-Diagramme +Comment=2D Plotting Tool +Comment[de]=Erstellen von 2D-Diagrammen +Exec=xmgrace.sh +Icon=grace.png +Terminal=false +Type=Application +Categories=Application;Graphics;Science; diff --git a/sci-visualization/grace/files/grace.png b/sci-visualization/grace/files/grace.png Binary files differnew file mode 100644 index 000000000000..9b0870387131 --- /dev/null +++ b/sci-visualization/grace/files/grace.png diff --git a/sci-visualization/grace/files/xmgrace.sh b/sci-visualization/grace/files/xmgrace.sh new file mode 100644 index 000000000000..6a411a745f90 --- /dev/null +++ b/sci-visualization/grace/files/xmgrace.sh @@ -0,0 +1,7 @@ +#!/bin/bash + + +## Change locale if utf8 is used + +LC_ALL="$(echo ${LC_ALL:0:5})" /usr/bin/xmgrace $* + diff --git a/sci-visualization/grace/grace-5.1.21.ebuild b/sci-visualization/grace/grace-5.1.21.ebuild new file mode 100644 index 000000000000..4b8b89f38e6d --- /dev/null +++ b/sci-visualization/grace/grace-5.1.21.ebuild @@ -0,0 +1,125 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/grace/grace-5.1.21.ebuild,v 1.1 2007/08/09 21:26:47 je_fro Exp $ + +inherit eutils + +DESCRIPTION="WYSIWYG 2D plotting tool for the X Window System" +HOMEPAGE="http://plasma-gate.weizmann.ac.il/Grace/" +SRC_URI="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/${P}.tar.gz" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="debug fftw jpeg netcdf pdf png" + +LICENSE="GPL-2" +SLOT="0" + +RDEPEND="virtual/motif + >=sys-libs/zlib-1.0.3 + >=media-libs/t1lib-1.3.1 + >=media-libs/tiff-3.5 + fftw? ( =sci-libs/fftw-2* ) + netcdf? ( >=sci-libs/netcdf-3.0 ) + png? ( >=media-libs/libpng-0.9.6 ) + jpeg? ( media-libs/jpeg ) + pdf? ( >=media-libs/pdflib-4.0.3 )" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +src_compile() { + + local gracehelpviewer + local graceeditor + + if has_version 'www-client/dillo' ; then + gracehelpviewer="dillo" + elif has_version 'www-client/opera' ; then + gracehelpviewer="opera" + elif has_version 'www-client/mozilla-firefox' \ + || has_version 'www-client/mozilla-firefox-bin' \ + || has_version 'www-client/mozilla-firefox-cvs' ; then + gracehelpviewer="firefox" + elif has_version 'www-client/mozilla' ; then + gracehelpviewer="mozilla" + elif has_version 'kde-base/kdebase' \ + || has_version 'kde-base/konqueror' ; then + gracehelpviewer="konqueror" + elif has_version 'www-client/galeon' ; then + gracehelpviewer="galeon" + elif has_version 'www-client/epiphany' ; then + gracehelpviewer="epiphany" + else + gracehelpviewer="netscape" + fi + + graceeditor="xterm -e ${EDITOR}" + + sed -i -e "s%doc/%/usr/share/doc/${PF}/html/%g" src/* + sed -i -e "s%examples/%/usr/share/doc/${PF}/examples/%g" src/xmgrace.c + + econf \ + --enable-grace-home=/usr/share/grace \ + --with-helpviewer="${gracehelpviewer} %s" \ + --with-editor="${graceeditor}" \ + `use_with fftw` \ + `use_enable netcdf` \ + `use_enable debug` \ + `use_enable jpeg jpegdrv` \ + `use_enable png pngdrv` \ + `use_enable pdf pdfdrv` || die + + cp doc/Makefile doc/Makefile.orig + sed -e 's:$(GRACE_HOME)/doc:$(PREFIX)/share/doc/$(PF)/html:g' \ + doc/Makefile.orig >doc/Makefile || die + + cp auxiliary/Makefile auxiliary/Makefile.orig + sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \ + auxiliary/Makefile.orig >auxiliary/Makefile || die + + cp grconvert/Makefile grconvert/Makefile.orig + sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \ + grconvert/Makefile.orig >grconvert/Makefile || die + + cp src/Makefile src/Makefile.orig + sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \ + src/Makefile.orig >src/Makefile || die + + cp grace_np/Makefile grace_np/Makefile.orig + sed -e 's:$(GRACE_HOME)/lib:$(PREFIX)/lib:g' \ + -e 's:$(GRACE_HOME)/include:$(PREFIX)/include:g' \ + grace_np/Makefile.orig >grace_np/Makefile || die + + cp examples/Makefile examples/Makefile.orig + sed -e 's:/examples:/share/doc/$(PF)/examples:g' \ + -e 's:$(GRACE_HOME):$(PREFIX):g' \ + examples/Makefile.orig >examples/Makefile || die + + make || die +} + +src_install() { + + make \ + GRACE_HOME="${D}/usr/share/grace" \ + PREFIX="${D}/usr" \ + install || die + + dodoc CHANGES COPYRIGHT ChangeLog DEVELOPERS LICENSE README + + doman "${D}"/usr/share/doc/${PF}/html/*.1 + rm -f "${D}"/usr/share/doc/${PF}/html/*.1 + + dosym /usr/share/doc/${PF}/examples /usr/share/grace/examples + + insinto /usr/share/pixmaps/ + doins ${FILESDIR}/${PN}.png + + insinto /usr/share/applications/ + doins ${FILESDIR}/${PN}.desktop + + into /usr/ + dobin ${FILESDIR}/xm${PN}.sh + +} |