summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2004-03-18 19:31:17 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2004-03-18 19:31:17 +0000
commit4dbc5bff43fff3103c2b39c99b4be3160af3558f (patch)
treeb1610d3dd57687692b4e31eec85a73d9523ab441 /media-gfx/grace
parentadd headers (diff)
downloadhistorical-4dbc5bff43fff3103c2b39c99b4be3160af3558f.tar.gz
historical-4dbc5bff43fff3103c2b39c99b4be3160af3558f.tar.bz2
historical-4dbc5bff43fff3103c2b39c99b4be3160af3558f.zip
Version bump. Upstream changes include fixes for 64-bit, for a race condition and for memory issues.
Diffstat (limited to 'media-gfx/grace')
-rw-r--r--media-gfx/grace/ChangeLog8
-rw-r--r--media-gfx/grace/Manifest4
-rw-r--r--media-gfx/grace/files/digest-grace-5.1.141
-rw-r--r--media-gfx/grace/grace-5.1.14.ebuild120
4 files changed, 131 insertions, 2 deletions
diff --git a/media-gfx/grace/ChangeLog b/media-gfx/grace/ChangeLog
index 4a02565da396..e8b8dcf5f3c3 100644
--- a/media-gfx/grace/ChangeLog
+++ b/media-gfx/grace/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-gfx/grace
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/ChangeLog,v 1.20 2004/03/18 16:37:46 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/ChangeLog,v 1.21 2004/03/18 19:31:17 spyderous Exp $
+
+*grace-5.1.14 (18 Mar 2004)
+
+ 18 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; grace-5.1.14.ebuild:
+ Version bump. Upstream changes include fixes for 64-bit, for a race condition
+ and for memory issues.
18 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; grace-5.1.12-r1.ebuild,
grace-5.1.13.ebuild:
diff --git a/media-gfx/grace/Manifest b/media-gfx/grace/Manifest
index 6317d84f9b83..48b6fcf170ab 100644
--- a/media-gfx/grace/Manifest
+++ b/media-gfx/grace/Manifest
@@ -1,9 +1,10 @@
-MD5 2900c3a1868150b0d54dbc5c81a9cd0f ChangeLog 3847
+MD5 c8a56dd3773c9f894ba5f3b37b2372ee ChangeLog 4058
MD5 3bbd19d9ae81146ecb1e6ebed90869b3 grace-5.1.10-r1.ebuild 3088
MD5 3862c6034595e39fcd14a6bd239f749b metadata.xml 270
MD5 3083e0ecfdb287b48661b236e7fa8ce3 grace-5.1.12-r1.ebuild 3506
MD5 0033afb90b0d9fed0f76d40c119c998b grace-5.1.13.ebuild 3405
MD5 4ae817ed531044a8130b6fd5c9debbe8 grace-5.1.7-r2.ebuild 2046
+MD5 d19cae644e964998f85f0bb2739e9be0 grace-5.1.14.ebuild 3394
MD5 79d4cd7b5bb6c28a0b393294202477cb files/10grace 28
MD5 84d71fa68c349e7f6bac28b10766e203 files/digest-grace-5.1.13 65
MD5 0a86071d232bac0c0725906f6bde21bb files/digest-grace-5.1.10-r1 65
@@ -12,3 +13,4 @@ MD5 3e377b216955ff939acf4b4e7ee6227c files/digest-grace-5.1.7-r2 64
MD5 5061fe8c4ba85c767decf9e69a312bfe files/grace-5.1.10-t1lib-fix-gentoo.patch 836
MD5 32c9edc625157e58d92136712af4dc0b files/grace-5.1.12-t1lib-fix-gentoo.patch 836
MD5 97e5d164e32726698f9e90f93d723c8f files/grace-helpviewer-gentoo.diff 384
+MD5 b45d65feb380f4734584d415500e8ffd files/digest-grace-5.1.14 65
diff --git a/media-gfx/grace/files/digest-grace-5.1.14 b/media-gfx/grace/files/digest-grace-5.1.14
new file mode 100644
index 000000000000..313f640211df
--- /dev/null
+++ b/media-gfx/grace/files/digest-grace-5.1.14
@@ -0,0 +1 @@
+MD5 040562dc70a186e11efba353e4d5d941 grace-5.1.14.tar.gz 2434564
diff --git a/media-gfx/grace/grace-5.1.14.ebuild b/media-gfx/grace/grace-5.1.14.ebuild
new file mode 100644
index 000000000000..19ea215ac9ba
--- /dev/null
+++ b/media-gfx/grace/grace-5.1.14.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/grace/grace-5.1.14.ebuild,v 1.1 2004/03/18 19:31:17 spyderous 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/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+IUSE="debug png jpeg pdflib fftw netcdf"
+
+DEPEND="virtual/x11
+ x11-libs/openmotif
+ >=sys-libs/zlib-1.0.3
+ >=media-libs/t1lib-1.3.1
+ >=media-libs/tiff-3.5
+ fftw? ( =dev-libs/fftw-2* )
+ netcdf? ( >=app-sci/netcdf-3.0 )
+ png? ( >=media-libs/libpng-0.9.6 )
+ jpeg? ( media-libs/jpeg )
+ pdflib? ( >=media-libs/pdflib-4.0.3 )
+ >=sys-apps/sed-4"
+# x11-libs/xmhtml
+
+S="${WORKDIR}/${P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-helpviewer-gentoo.diff
+}
+
+src_compile() {
+
+ local gracehelpviewer
+
+ if has_version 'net-www/dillo' ; then
+ gracehelpviewer="dillo"
+ elif has_version 'net-www/opera' ; then
+ gracehelpviewer="opera"
+ elif has_version 'net-www/mozilla-firebird' \
+ || has_version 'net-www/mozilla-firebird-bin' \
+ || has_version 'net-www/mozilla-firebird-cvs' ; then
+ gracehelpviewer="MozillaFirebird"
+ elif has_version 'net-www/mozilla' ; then
+ gracehelpviewer="mozilla"
+ elif has_version 'kde-base/kdebase' ; then
+ gracehelpviewer="konqueror"
+ elif has_version 'net-www/galeon' ; then
+ gracehelpviewer="galeon"
+ elif has_version 'net-www/epiphany' ; then
+ gracehelpviewer="epiphany"
+ else
+ gracehelpviewer="netscape"
+ fi
+
+ 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} \
+ `use_with fftw` \
+ `use_enable netcdf` \
+ `use_enable debug` \
+ `use_enable jpeg jpegdrv` \
+ `use_enable png pngdrv` \
+ `use_enable pdflib pdfdrv` || die
+ # --enable-xmhtml
+
+ 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
+
+ #dodir /usr/share/man/man1
+ #mv ${D}/usr/share/doc/${PF}/html/*.1 ${D}/usr/share/man/man1
+ 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
+}