diff options
-rw-r--r-- | sci-visualization/grace/ChangeLog | 8 | ||||
-rw-r--r-- | sci-visualization/grace/Manifest | 38 | ||||
-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 |
7 files changed, 177 insertions, 15 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/Manifest b/sci-visualization/grace/Manifest index dee889285e82..f92fc5f66a63 100644 --- a/sci-visualization/grace/Manifest +++ b/sci-visualization/grace/Manifest @@ -1,12 +1,22 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX grace-helpviewer-gentoo.diff 384 RMD160 c9c0ff6d9ff270cfb94ec2d91a19a1eee64e76be SHA1 949d2728e0857fb955538757b72852643a1e2b2c SHA256 d17e81fa31c1647c9b7a8dbff5a8aa75faf6d4d293ad2738de93acbdf754e206 MD5 97e5d164e32726698f9e90f93d723c8f files/grace-helpviewer-gentoo.diff 384 RMD160 c9c0ff6d9ff270cfb94ec2d91a19a1eee64e76be files/grace-helpviewer-gentoo.diff 384 SHA256 d17e81fa31c1647c9b7a8dbff5a8aa75faf6d4d293ad2738de93acbdf754e206 files/grace-helpviewer-gentoo.diff 384 +AUX grace.desktop 262 RMD160 5a10a1cf6f5e79aff53eb62fffb24067afcab37e SHA1 11e2ecbf7862f3e810c32ca5398da11ea182ebd8 SHA256 25b51b4216d35b44ae0d6a5d930d82fab76b5cd799898dd0797d23eec8bfdc3e +MD5 9d1091698b53b6b4a3a770b884e5de5e files/grace.desktop 262 +RMD160 5a10a1cf6f5e79aff53eb62fffb24067afcab37e files/grace.desktop 262 +SHA256 25b51b4216d35b44ae0d6a5d930d82fab76b5cd799898dd0797d23eec8bfdc3e files/grace.desktop 262 +AUX grace.png 498 RMD160 01c0e1841ca819eafd6c49933e8bcf656ba664d6 SHA1 32d698b82f8b4a6640483a633a5a12808c6124ca SHA256 5853749dccb423411bd2c6b9098e7627c3ce6ea38682b1bab0e5555c095084d2 +MD5 eefb433a8373ebd93a83ce28bf153222 files/grace.png 498 +RMD160 01c0e1841ca819eafd6c49933e8bcf656ba664d6 files/grace.png 498 +SHA256 5853749dccb423411bd2c6b9098e7627c3ce6ea38682b1bab0e5555c095084d2 files/grace.png 498 +AUX xmgrace.sh 100 RMD160 ca883727fa2ea3555238dde62d97ea52d4c57633 SHA1 8c2deb5cce72d100fcd0b926ef8b1aa7a27f7800 SHA256 5349f556ce95b419d4678ac10b090c7fde91d78c345495aab7acf2aaaa4a1b05 +MD5 7b0c38a9f7a6d17dafca3aab6b67487c files/xmgrace.sh 100 +RMD160 ca883727fa2ea3555238dde62d97ea52d4c57633 files/xmgrace.sh 100 +SHA256 5349f556ce95b419d4678ac10b090c7fde91d78c345495aab7acf2aaaa4a1b05 files/xmgrace.sh 100 DIST grace-5.1.19.tar.gz 2453049 RMD160 4e8b987baf252264c6a4a1746621085d9994f6da SHA1 fd9c2ff95228c448bc0af7b055d10b5afac2c18c SHA256 380d041e75a853258ae11abd2d691958e277397b42bc4221a465aa510e135c72 DIST grace-5.1.20.tar.gz 2458543 RMD160 2c8ed6d71ccea028a8798b3c08feccbdac62348d SHA1 40679a554c94b44aa378d1af9b19fc8c4662b8e5 SHA256 8524d54505bf634b038c054850ff71eed119dc96f3d5e3706b4e4ff4b07d4b13 +DIST grace-5.1.21.tar.gz 2474115 RMD160 d2818d1a50945ef84aa2ddd6046e5bfbf6c9459b SHA1 23edbb8f713fe3895a58c7ed9892875ee3d819fa SHA256 30e4b5d86f4b966428aac5d8c5d0468bcf28226eea9e00d9eb4886f4ab094b00 EBUILD grace-5.1.19.ebuild 3299 RMD160 6d8093d9f178a6db1e7b549ff0603abb1e90178d SHA1 f0b90d8a6e26bac97e073e110852bf2a41b9d080 SHA256 2a55f4f820892eb5d4a30f66b1cc8377803fceb0038f40ff2a805e6b2968882f MD5 58f0fd99f82634e2edd09043d8556ec7 grace-5.1.19.ebuild 3299 RMD160 6d8093d9f178a6db1e7b549ff0603abb1e90178d grace-5.1.19.ebuild 3299 @@ -15,10 +25,14 @@ EBUILD grace-5.1.20.ebuild 3350 RMD160 603569f94743f73bb7547d104a4e473bbd88ead4 MD5 ab35b71da8f1874a778243939b5393a9 grace-5.1.20.ebuild 3350 RMD160 603569f94743f73bb7547d104a4e473bbd88ead4 grace-5.1.20.ebuild 3350 SHA256 20320f5db170783cbf196ddff1c8dd60d4778967188a4acd126e88fe12b6d4dd grace-5.1.20.ebuild 3350 -MISC ChangeLog 9777 RMD160 fc8176ba61a6e3a01369980e11c0b6f810104559 SHA1 a32ac48461d5e6cef9acf5ea71983cda4dfdec74 SHA256 394773fc9557baf7e4fe4330b405a79b24d754cea115580bead7f73c036c36a0 -MD5 430e20cec6340a31032692f440de759f ChangeLog 9777 -RMD160 fc8176ba61a6e3a01369980e11c0b6f810104559 ChangeLog 9777 -SHA256 394773fc9557baf7e4fe4330b405a79b24d754cea115580bead7f73c036c36a0 ChangeLog 9777 +EBUILD grace-5.1.21.ebuild 3508 RMD160 bb66de82ede43eab4795f409b37f5f9406f6896b SHA1 8bea6eb723707ffff6e6ee99d97430c98f80ee1a SHA256 dc76b97fef538b970607b081d868e5a8f2abd2725860be556adcaeb77a8aad9a +MD5 93e6e54b7ed6c863b754a392797499a6 grace-5.1.21.ebuild 3508 +RMD160 bb66de82ede43eab4795f409b37f5f9406f6896b grace-5.1.21.ebuild 3508 +SHA256 dc76b97fef538b970607b081d868e5a8f2abd2725860be556adcaeb77a8aad9a grace-5.1.21.ebuild 3508 +MISC ChangeLog 9999 RMD160 3765797fc44546867434b1e4a5faf2110685bc38 SHA1 224062156adb31fe6c110cde2c2eb00a5fdf757b SHA256 18efd5728f9c11967c2e18288e8f461dd23a2d4a4b2716832022e02e3527bdbd +MD5 56a7bc122bc05031786a6fcf300b6a80 ChangeLog 9999 +RMD160 3765797fc44546867434b1e4a5faf2110685bc38 ChangeLog 9999 +SHA256 18efd5728f9c11967c2e18288e8f461dd23a2d4a4b2716832022e02e3527bdbd ChangeLog 9999 MISC metadata.xml 178 RMD160 c6df6d00a5060b041d9069d322ebb004ce4f3fcc SHA1 413383cae9b1fac6dfebb7239196a028044309b3 SHA256 9fc45376eabae2854dfad0b8a7ee355eab70886230bc2f69fbccb72d795a415d MD5 89c3242bb39d3e93d46fcc22b7e8f586 metadata.xml 178 RMD160 c6df6d00a5060b041d9069d322ebb004ce4f3fcc metadata.xml 178 @@ -29,10 +43,6 @@ SHA256 ed52e3ca03e075461f28cfe2ee544a44eb0e3f9a430a9fd6833f6c699194efe0 files/di MD5 e2c60bd4e3bb47a5944054a5b2975c43 files/digest-grace-5.1.20 241 RMD160 eb461665db5188ac5abf981e9d42d22b1206e975 files/digest-grace-5.1.20 241 SHA256 e2c6ca1f26d0c958fce6fa302f70e9b162cb7ebf3cacea45d4babf91ca9cf6fd files/digest-grace-5.1.20 241 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.5 (GNU/Linux) - -iD8DBQFGnXjtntT9W3vfTuoRAgWtAJ9NPWUvLEaMrNqNRZ16lwLgxAmwXACeOAhL -8fiPdqhRk6UGWeaLpcLTkZ8= -=My3j ------END PGP SIGNATURE----- +MD5 14e7f329bd86e4e61c53753705aabaaa files/digest-grace-5.1.21 241 +RMD160 b2d2b4e408aea490bb8295ec63c4d3fb2cec3a57 files/digest-grace-5.1.21 241 +SHA256 241d839ff23227f930ad4b890b878f270252b8743f2a2c1935741c5fbbdd7c8c files/digest-grace-5.1.21 241 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 + +} |