public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-visualization/gri/files/, sci-visualization/gri/
@ 2011-04-08 14:34 Dongxu Li
  0 siblings, 0 replies; 2+ messages in thread
From: Dongxu Li @ 2011-04-08 14:34 UTC (permalink / raw
  To: gentoo-commits

commit:     95ac35ac878134bfc72c4cbd28d4698e1d907d71
Author:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
AuthorDate: Fri Apr  8 10:32:30 2011 +0000
Commit:     Dongxu Li <dongxuli2011 <AT> gmail <DOT> com>
CommitDate: Fri Apr  8 10:32:30 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=95ac35ac

version bump; bug #248372. Restrict netcdf deps to current stable in
tree

---
 sci-visualization/gri/ChangeLog                    |  191 ++++++++++++++++++++
 sci-visualization/gri/files/50gri-gentoo.el        |    3 +
 .../gri/files/gri-2.12.18-postscript.patch         |   97 ++++++++++
 sci-visualization/gri/gri-2.12.22.ebuild           |   84 +++++++++
 sci-visualization/gri/metadata.xml                 |    5 +
 5 files changed, 380 insertions(+), 0 deletions(-)

diff --git a/sci-visualization/gri/ChangeLog b/sci-visualization/gri/ChangeLog
new file mode 100644
index 0000000..c197685
--- /dev/null
+++ b/sci-visualization/gri/ChangeLog
@@ -0,0 +1,191 @@
+# ChangeLog for sci-visualization/gri
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gri/ChangeLog,v 1.5 2010/11/29 21:29:18 fauli Exp $
+
+  8 Apr 2011; Dongxu Li <dongxuli2011@gmail.com> gri-2.12.22.ebuild:
+  version bump; dependency of sci-libs/netcdf updated to the current stable in tree
+
+  29 Nov 2010; Christian Faulhammer <fauli@gentoo.org> metadata.xml:
+  Drop from emacs herd
+
+  26 Dec 2009; Peter Volkov <pva@gentoo.org> gri-2.12.19.ebuild:
+  virtual/ghostscript->app-text/ghostscript-gpl: ghostscript-gpl is the only
+  implementation left in the tree.
+
+  20 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
+  -gri-2.12.16-r1.ebuild, -gri-2.12.18.ebuild:
+  clean up
+
+  20 Nov 2009; Markus Meier <maekke@gentoo.org> gri-2.12.19.ebuild:
+  amd64/x86 stable, bug #293708
+
+  21 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
+  +files/50gri-gentoo.el, +gri-2.12.16-r1.ebuild, +gri-2.12.18.ebuild,
+  +files/gri-2.12.18-postscript.patch, +gri-2.12.19.ebuild, +metadata.xml:
+  move from sci-misc category, as suggested in bug 161787
+
+*gri-2.12.19 (21 Jul 2009)
+
+  21 Jul 2009; Christian Faulhammer <fauli@gentoo.org> +gri-2.12.19.ebuild:
+  version bump
+
+  13 Feb 2009; Patrick Kursawe <phosphan@gentoo.org> gri-2.12.16-r1.ebuild,
+  gri-2.12.18.ebuild:
+  Setting VARTEXFONTS (see bug #223077)
+
+  13 Feb 2009; Patrick Kursawe <phosphan@gentoo.org> -gri-2.12.17.ebuild:
+  Removed unneeded version.
+
+  01 Nov 2008; Markus Dittrich <markusle@gentoo.org>
+  +files/gri-2.12.18-postscript.patch, gri-2.12.18.ebuild:
+  Added patch to support proper postscript output (see bug #158828). 
+  Thanks much to Sebastiaan for his patch.
+
+*gri-2.12.18 (27 Sep 2008)
+
+  27 Sep 2008; Markus Dittrich <markusle@gentoo.org> +gri-2.12.18.ebuild:
+  Version bump.
+
+  24 Aug 2008; Ulrich Mueller <ulm@gentoo.org> -gri-2.12.14.ebuild,
+  gri-2.12.16-r1.ebuild, gri-2.12.17.ebuild:
+  Fix Emacs support, bug 235602. Remove old.
+
+*gri-2.12.17 (09 Jun 2008)
+
+  09 Jun 2008; Markus Dittrich <markusle@gentoo.org> gri-2.12.14.ebuild,
+  gri-2.12.16-r1.ebuild, +gri-2.12.17.ebuild:
+  Version bump. Also switched virtual/tetex -> virtual/latex-base 
+  (see bug #222501).
+
+  02 Nov 2007; Steve Dibb <beandog@gentoo.org> gri-2.12.16-r1.ebuild:
+  amd64 stable, bug 196887
+
+  24 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
+  gri-2.12.16-r1.ebuild:
+  stable x86, bug 196887
+
+  01 Oct 2007; Christian Faulhammer <opfer@gentoo.org> -gri-2.12.9.ebuild:
+  clean up
+
+  29 Sep 2007; Wulf C. Krueger <philantrop@gentoo.org> gri-2.12.14.ebuild:
+  Marked stable on amd64 as per bug 193684.
+
+  25 Sep 2007; Christian Faulhammer <opfer@gentoo.org> -gri-2.12.7.ebuild,
+  -gri-2.12.11.ebuild, -gri-2.12.13.ebuild, -gri-2.12.16.ebuild:
+  clean up
+
+*gri-2.12.16-r1 (25 Sep 2007)
+
+  25 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
+  +gri-2.12.16-r1.ebuild:
+  introduce doc and examples USE flag, handling emacs USE flag correctly by
+  preventing a file to be installed if it is not set
+
+  25 Sep 2007; Christian Faulhammer <opfer@gentoo.org> gri-2.12.16.ebuild:
+  correct the sed macro so it actually replaces the correct line
+
+  24 Sep 2007; Christian Faulhammer <opfer@gentoo.org> gri-2.12.14.ebuild:
+  stable x86, bug 193684
+
+  24 Sep 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog:
+  fix ChangeLog
+
+*gri-2.12.16 (24 Sep 2007)
+
+  24 Sep 2007; Christian Faulhammer <opfer@gentoo.org> gri-2.12.14.ebuild,
+  +gri-2.12.16.ebuild:
+  version bump plus some QA fixes; RESTRICT test as they won't succeed
+
+  22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
+  Redigest for Manifest2
+
+*gri-2.12.14 (18 Jan 2007)
+
+  18 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
+  -files/info-install.patch, +gri-2.12.14.ebuild:
+  version bump; adjusted ghostscript dependency to virtual/ghostscript, as the
+  problem is resolved, reported by James Cloos <cloos@jhcloos.com> in bug
+  162630; added some quotes; removed stray patch
+
+*gri-2.12.13 (07 Dec 2006)
+
+  07 Dec 2006; Christian Faulhammer <opfer@gentoo.org> +gri-2.12.13.ebuild:
+  version bump
+
+  23 Nov 2006; Christian Faulhammer <opfer@gentoo.org> gri-2.12.7.ebuild,
+  gri-2.12.9.ebuild, gri-2.12.11.ebuild:
+  Added comment, why app-text/ghostscript-esp is used as a dependency and not
+  virtual/ghostscript
+
+  22 Nov 2006; Christian Faulhammer <opfer@gentoo.org> gri-2.12.7.ebuild,
+  gri-2.12.9.ebuild, gri-2.12.11.ebuild:
+  hard dependency on app-text/ghostscript-esp, as that is the only version
+  working from virtual/ghostscript, fixex bug #155236 reported by Patrick
+  Lauer <bugs@dev.gentooexperimental.org>
+
+*gri-2.12.11 (19 May 2006)
+
+  19 May 2006; Matthew Kennedy <mkennedy@gentoo.org> +files/50gri-gentoo.el,
+  metadata.xml, +gri-2.12.11.ebuild:
+  New upstream version; Resolves Bug #117312; Added Emacs Herd to metadata.xml
+  for Emacs portion maintainership; Added missing virtual/ghostscript
+  depdendency; Resolves Bug #133397.
+
+  15 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> gri-2.12.7.ebuild,
+  gri-2.12.9.ebuild:
+  Added media-gfx/imagemagick to DEPEND, closes bug 111087. Also marked stable
+  on amd64.
+
+*gri-2.12.9 (10 Mar 2005)
+
+  10 Mar 2005; Patrick Kursawe <phosphan@gentoo.org> -gri-2.12.5.ebuild,
+  gri-2.12.7.ebuild, +gri-2.12.9.ebuild:
+  Bug #82456, version bump and cleanup.
+
+*gri-2.12.5 (27 Dec 2004)
+
+  27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+  +files/info-install.patch, +gri-2.12.5.ebuild, +gri-2.12.7.ebuild:
+  Moved from app-sci/gri to sci-misc/gri.
+
+  06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> gri-2.12.7.ebuild:
+  Marked stable on amd64.
+
+  22 Apr 2004; David Holm <dholm@gentoo.org> gri-2.12.7.ebuild:
+  Added to ~ppc.
+
+  22 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> gri-2.12.7.ebuild:
+  marked ~amd64
+
+*gri-2.12.7 (22 Apr 2004)
+
+  22 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> gri-2.12.4.ebuild,
+  gri-2.12.5.ebuild, gri-2.12.7.ebuild:
+  Version bump
+
+  18 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> gri-2.12.5.ebuild,
+  files/info-install.patch:
+  Fixing bug 33396, no revision bump.
+
+*gri-2.12.5 (30 Jun 2003)
+
+  30 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> gri-2.12.5.ebuild :
+  Version bump.
+
+*gri-2.12.4 (16 May 2003)
+
+  16 May 2003; George Shapovalov <george@gentoo.org> gri-2.12.4.ebuild :
+  new version
+
+*gri-2.12.1 (06 Dec 2002)
+
+  07 Jan 2003; George Shapovalov <george@gentoo.org> gri-2.12.1.ebuild :
+
+  incorporated changes suggested by Jose "to fix the path of the documentation in the startup msg"
+  added IUSE
+
+  06 Dec 2002; George Shapovalov <george@gentoo.org> ChangeLog, gri-2.12.1.ebuild, files/digest-gri-2.12.1 :
+  initial release (#10695)
+  Gri is a language for scientific graphics programming.
+  ebuild submitted by Jose Fonseca <j_r_fonseca@yahoo.co.uk>
+

diff --git a/sci-visualization/gri/files/50gri-gentoo.el b/sci-visualization/gri/files/50gri-gentoo.el
new file mode 100644
index 0000000..e07d47c
--- /dev/null
+++ b/sci-visualization/gri/files/50gri-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'gri-mode "gri-mode" "Enter Gri-mode." t)
+(add-to-list 'auto-mode-alist '("\\.gri\\'" . gri-mode))

diff --git a/sci-visualization/gri/files/gri-2.12.18-postscript.patch b/sci-visualization/gri/files/gri-2.12.18-postscript.patch
new file mode 100644
index 0000000..b3f3b73
--- /dev/null
+++ b/sci-visualization/gri/files/gri-2.12.18-postscript.patch
@@ -0,0 +1,97 @@
+diff -Naur gri-2.12.18/src/extern.hh gri-2.12.18.new/src/extern.hh
+--- gri-2.12.18/src/extern.hh	2003-06-07 13:37:55.000000000 -0400
++++ gri-2.12.18.new/src/extern.hh	2008-11-01 10:46:40.000000000 -0400
+@@ -137,6 +137,7 @@
+ 
+ extern int      _arrow_type;
+ extern bool     _warn_offpage;
++extern bool	_export_postscript;
+ 
+ extern std::vector<double> _dash;
+ 
+diff -Naur gri-2.12.18/src/gr.cc gri-2.12.18.new/src/gr.cc
+--- gri-2.12.18/src/gr.cc	2008-09-04 13:32:21.000000000 -0400
++++ gri-2.12.18.new/src/gr.cc	2008-11-01 10:52:24.000000000 -0400
+@@ -397,7 +397,16 @@
+ 		/*
+ 		 * write conforming postscript prolog
+ 		 */
+-		fprintf(fp, "%%!PS-Adobe-2.0 EPSF-1.2\n");
++		//fprintf(fp, "%%!PS-Adobe-2.0 EPSF-1.2\n");
++                extern bool _export_postscript;
++                if (_export_postscript)
++                {
++                  fprintf(fp, "%%!PS-Adobe-2.0\n");
++                }
++                else
++                {
++                  fprintf(fp, "%%!PS-Adobe-2.0 EPSF-1.2\n");
++                }
+ 		if (privacy)
+ 			fprintf(fp, "%%%%Creator: %s\n", "");
+ 		else
+diff -Naur gri-2.12.18/src/gri.cc gri-2.12.18.new/src/gri.cc
+--- gri-2.12.18/src/gri.cc	2006-06-16 19:18:40.000000000 -0400
++++ gri-2.12.18.new/src/gri.cc	2008-11-01 10:46:40.000000000 -0400
+@@ -35,6 +35,7 @@
+ // Globals used elsewhere (variables begin with _).
+ int             _arrow_type;
+ bool            _warn_offpage;
++bool		_export_postscript;
+ std::vector<double>       _dash;
+ std::vector<DataFile>     _dataFILE;
+ std::vector<CmdFile>      _cmdFILE;
+diff -Naur gri-2.12.18/src/startup.cc gri-2.12.18.new/src/startup.cc
+--- gri-2.12.18/src/startup.cc	2008-06-12 08:57:26.000000000 -0400
++++ gri-2.12.18.new/src/startup.cc	2008-11-01 10:57:26.000000000 -0400
+@@ -188,6 +188,7 @@
+ 	_axes_offset = 0.0;
+ 	_use_default_for_query = false;
+ 	_warn_offpage = true;
++	_export_postscript = false;
+ 	PUT_VAR("..use_default_for_query..", 0.0);
+ 	PUT_VAR("..words_in_dataline..", 0.0); // just in case tested
+ 	PUT_VAR("..batch..", 0.0);
+@@ -681,6 +682,7 @@
+ #define FLAG_PUBLICATION	1009
+ #define FLAG_SUPERUSER		1010
+ #define FLAG_WARN_OFFPAGE	1011
++#define FLAG_POSTSCRIPT		1012
+ 	// I use the 'FLAG_...' numbers for options that lack single-character abbreviations.
+ 	static struct poptOption optionsTable[] = {
+ 		{ "batch",             'b',  POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, 'b'                   },
+@@ -703,6 +705,7 @@
+ 		{ "version",           'v',  POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, 'v'                   },
+ 		{ "warn_offpage",      '\0', POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, FLAG_WARN_OFFPAGE     },
+ 		{ "yes",               'y',  POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, 'y'                   },
++		{ "postscript",        '\0', POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, FLAG_POSTSCRIPT       },
+ 		{  0,                   0,                                       0,     0, 0                     }
+ 	};
+ 	const poptContext optCon =
+@@ -872,6 +875,8 @@
+ 				printf("Gri cannot read in '%s'\n",optArg);
+ 			}
+ 			break;
++		case FLAG_POSTSCRIPT
++			_export_postscript = true;
+ 		default:
+ 			printf("Unknown option\n");
+ 			break;
+@@ -1058,6 +1063,8 @@
+ 				} else if (!strcmp(argv[i], "-y") || !strcmp(argv[i], "-yes")) {
+ 					_use_default_for_query = true;
+ 					PUT_VAR("..use_default_for_query..", 1.0);
++				} else if (!strcmp(argv[i], "-postscript")){
++					_export_postscript = true;
+ #if 0
+ 				} else if (!strcmp(argv[i], "-e")) {
+ 					// User wants to do cmd in argv[i+1]
+@@ -1190,6 +1197,8 @@
+         gr_textput("             Makes Gri print out command lines as they are executed.\n");
+         gr_textput("     -true or -y\n");
+         gr_textput("             Makes Gri think the answer to all `query's is RETURN.\n");
++	gr_textput("     -postscript\n");
++	gr_textput("             Export a PostScript file instead of an EPS file.\n");
+ #if 0
+         gr_textput("     -e cmd\n");
+         gr_textput("             BUG: NOT IMPLEMENTED YET!\n");

diff --git a/sci-visualization/gri/gri-2.12.22.ebuild b/sci-visualization/gri/gri-2.12.22.ebuild
new file mode 100644
index 0000000..279b7fd
--- /dev/null
+++ b/sci-visualization/gri/gri-2.12.22.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gri/gri-2.12.19.ebuild,v 1.3 2009/12/26 17:46:54 pva Exp $
+
+EAPI=2
+
+inherit eutils elisp-common
+
+DESCRIPTION="language for scientific graphics programming"
+HOMEPAGE="http://gri.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gri/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="doc emacs examples"
+RESTRICT="test"
+
+DEPEND=">=sci-libs/netcdf-4.1.0
+	virtual/latex-base
+	media-gfx/imagemagick
+	app-text/ghostscript-gpl
+	emacs? ( virtual/emacs )"
+
+RDEPEND="${DEPEND}"
+
+SITEFILE="50gri-gentoo.el"
+
+src_prepare() {
+	epatch "${FILESDIR}"/${PN}-2.12.18-postscript.patch
+}
+
+src_compile() {
+	VARTEXFONTS="${T}/fonts" emake || die
+	if use emacs; then
+		elisp-compile src/*.el || die
+	fi
+}
+
+src_install() {
+	# Replace PREFIX now and correct paths in the startup message.
+	sed -e s,PREFIX/share/gri/doc/,/usr/share/doc/${P}/, -i "${S}/src/startup.msg"
+
+	einstall || die
+
+	# license text not necessary
+	rm "${D}"/usr/share/gri/doc/license.txt
+
+	# install target installs it always and in the wrong location
+	# remove it here and call elisp-install in case of USE=emacs below
+	rm -rf "${D}"/usr/share/emacs
+
+	if ! use doc; then
+		sed -e "s/Manual at.*//" -i "${D}"/usr/share/gri/startup.msg
+		rm "${D}"/usr/share/gri/doc/cmdrefcard.ps
+		rm "${D}"/usr/share/gri/doc/refcard.ps
+		rm -rf "${D}"/usr/share/gri/doc/html
+	fi
+	if ! use examples; then
+		sed -e "s/Examples at.*//" -i "${D}"/usr/share/gri/startup.msg
+		rm -rf "${D}"/usr/share/gri/doc/examples
+	fi
+
+	dodoc README
+
+	#move docs to the proper place
+	mv "${D}"/usr/share/gri/doc/* "${D}/usr/share/doc/${PF}"
+	rmdir "${D}/usr/share/gri/doc/"
+
+	if use emacs; then
+		cd src
+		elisp-install ${PN} *.{el,elc} || die
+		elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
+			|| die
+	fi
+}
+
+pkg_postinst() {
+	use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+	use emacs && elisp-site-regen
+}

diff --git a/sci-visualization/gri/metadata.xml b/sci-visualization/gri/metadata.xml
new file mode 100644
index 0000000..b229aec
--- /dev/null
+++ b/sci-visualization/gri/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>



^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] proj/sci:master commit in: sci-visualization/gri/files/, sci-visualization/gri/
@ 2011-08-08 16:42 Sebastien Fabbro
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastien Fabbro @ 2011-08-08 16:42 UTC (permalink / raw
  To: gentoo-commits

commit:     6964a8c64a65666ebde9e267168055b26548cab8
Author:     Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Mon Aug  8 16:42:45 2011 +0000
Commit:     Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Mon Aug  8 16:42:45 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6964a8c6

[sci-visualization/gri] newer version in tree

---
 sci-visualization/gri/ChangeLog                    |  191 --------------------
 sci-visualization/gri/files/50gri-gentoo.el        |    3 -
 .../gri/files/gri-2.12.18-postscript.patch         |   97 ----------
 sci-visualization/gri/gri-2.12.22.ebuild           |   84 ---------
 sci-visualization/gri/metadata.xml                 |    5 -
 5 files changed, 0 insertions(+), 380 deletions(-)

diff --git a/sci-visualization/gri/ChangeLog b/sci-visualization/gri/ChangeLog
deleted file mode 100644
index c197685..0000000
--- a/sci-visualization/gri/ChangeLog
+++ /dev/null
@@ -1,191 +0,0 @@
-# ChangeLog for sci-visualization/gri
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gri/ChangeLog,v 1.5 2010/11/29 21:29:18 fauli Exp $
-
-  8 Apr 2011; Dongxu Li <dongxuli2011@gmail.com> gri-2.12.22.ebuild:
-  version bump; dependency of sci-libs/netcdf updated to the current stable in tree
-
-  29 Nov 2010; Christian Faulhammer <fauli@gentoo.org> metadata.xml:
-  Drop from emacs herd
-
-  26 Dec 2009; Peter Volkov <pva@gentoo.org> gri-2.12.19.ebuild:
-  virtual/ghostscript->app-text/ghostscript-gpl: ghostscript-gpl is the only
-  implementation left in the tree.
-
-  20 Nov 2009; Christian Faulhammer <fauli@gentoo.org>
-  -gri-2.12.16-r1.ebuild, -gri-2.12.18.ebuild:
-  clean up
-
-  20 Nov 2009; Markus Meier <maekke@gentoo.org> gri-2.12.19.ebuild:
-  amd64/x86 stable, bug #293708
-
-  21 Jul 2009; Christian Faulhammer <fauli@gentoo.org>
-  +files/50gri-gentoo.el, +gri-2.12.16-r1.ebuild, +gri-2.12.18.ebuild,
-  +files/gri-2.12.18-postscript.patch, +gri-2.12.19.ebuild, +metadata.xml:
-  move from sci-misc category, as suggested in bug 161787
-
-*gri-2.12.19 (21 Jul 2009)
-
-  21 Jul 2009; Christian Faulhammer <fauli@gentoo.org> +gri-2.12.19.ebuild:
-  version bump
-
-  13 Feb 2009; Patrick Kursawe <phosphan@gentoo.org> gri-2.12.16-r1.ebuild,
-  gri-2.12.18.ebuild:
-  Setting VARTEXFONTS (see bug #223077)
-
-  13 Feb 2009; Patrick Kursawe <phosphan@gentoo.org> -gri-2.12.17.ebuild:
-  Removed unneeded version.
-
-  01 Nov 2008; Markus Dittrich <markusle@gentoo.org>
-  +files/gri-2.12.18-postscript.patch, gri-2.12.18.ebuild:
-  Added patch to support proper postscript output (see bug #158828). 
-  Thanks much to Sebastiaan for his patch.
-
-*gri-2.12.18 (27 Sep 2008)
-
-  27 Sep 2008; Markus Dittrich <markusle@gentoo.org> +gri-2.12.18.ebuild:
-  Version bump.
-
-  24 Aug 2008; Ulrich Mueller <ulm@gentoo.org> -gri-2.12.14.ebuild,
-  gri-2.12.16-r1.ebuild, gri-2.12.17.ebuild:
-  Fix Emacs support, bug 235602. Remove old.
-
-*gri-2.12.17 (09 Jun 2008)
-
-  09 Jun 2008; Markus Dittrich <markusle@gentoo.org> gri-2.12.14.ebuild,
-  gri-2.12.16-r1.ebuild, +gri-2.12.17.ebuild:
-  Version bump. Also switched virtual/tetex -> virtual/latex-base 
-  (see bug #222501).
-
-  02 Nov 2007; Steve Dibb <beandog@gentoo.org> gri-2.12.16-r1.ebuild:
-  amd64 stable, bug 196887
-
-  24 Oct 2007; Christian Faulhammer <opfer@gentoo.org>
-  gri-2.12.16-r1.ebuild:
-  stable x86, bug 196887
-
-  01 Oct 2007; Christian Faulhammer <opfer@gentoo.org> -gri-2.12.9.ebuild:
-  clean up
-
-  29 Sep 2007; Wulf C. Krueger <philantrop@gentoo.org> gri-2.12.14.ebuild:
-  Marked stable on amd64 as per bug 193684.
-
-  25 Sep 2007; Christian Faulhammer <opfer@gentoo.org> -gri-2.12.7.ebuild,
-  -gri-2.12.11.ebuild, -gri-2.12.13.ebuild, -gri-2.12.16.ebuild:
-  clean up
-
-*gri-2.12.16-r1 (25 Sep 2007)
-
-  25 Sep 2007; Christian Faulhammer <opfer@gentoo.org>
-  +gri-2.12.16-r1.ebuild:
-  introduce doc and examples USE flag, handling emacs USE flag correctly by
-  preventing a file to be installed if it is not set
-
-  25 Sep 2007; Christian Faulhammer <opfer@gentoo.org> gri-2.12.16.ebuild:
-  correct the sed macro so it actually replaces the correct line
-
-  24 Sep 2007; Christian Faulhammer <opfer@gentoo.org> gri-2.12.14.ebuild:
-  stable x86, bug 193684
-
-  24 Sep 2007; Christian Faulhammer <opfer@gentoo.org> ChangeLog:
-  fix ChangeLog
-
-*gri-2.12.16 (24 Sep 2007)
-
-  24 Sep 2007; Christian Faulhammer <opfer@gentoo.org> gri-2.12.14.ebuild,
-  +gri-2.12.16.ebuild:
-  version bump plus some QA fixes; RESTRICT test as they won't succeed
-
-  22 Feb 2007; Markus Ullmann <jokey@gentoo.org> ChangeLog:
-  Redigest for Manifest2
-
-*gri-2.12.14 (18 Jan 2007)
-
-  18 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
-  -files/info-install.patch, +gri-2.12.14.ebuild:
-  version bump; adjusted ghostscript dependency to virtual/ghostscript, as the
-  problem is resolved, reported by James Cloos <cloos@jhcloos.com> in bug
-  162630; added some quotes; removed stray patch
-
-*gri-2.12.13 (07 Dec 2006)
-
-  07 Dec 2006; Christian Faulhammer <opfer@gentoo.org> +gri-2.12.13.ebuild:
-  version bump
-
-  23 Nov 2006; Christian Faulhammer <opfer@gentoo.org> gri-2.12.7.ebuild,
-  gri-2.12.9.ebuild, gri-2.12.11.ebuild:
-  Added comment, why app-text/ghostscript-esp is used as a dependency and not
-  virtual/ghostscript
-
-  22 Nov 2006; Christian Faulhammer <opfer@gentoo.org> gri-2.12.7.ebuild,
-  gri-2.12.9.ebuild, gri-2.12.11.ebuild:
-  hard dependency on app-text/ghostscript-esp, as that is the only version
-  working from virtual/ghostscript, fixex bug #155236 reported by Patrick
-  Lauer <bugs@dev.gentooexperimental.org>
-
-*gri-2.12.11 (19 May 2006)
-
-  19 May 2006; Matthew Kennedy <mkennedy@gentoo.org> +files/50gri-gentoo.el,
-  metadata.xml, +gri-2.12.11.ebuild:
-  New upstream version; Resolves Bug #117312; Added Emacs Herd to metadata.xml
-  for Emacs portion maintainership; Added missing virtual/ghostscript
-  depdendency; Resolves Bug #133397.
-
-  15 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> gri-2.12.7.ebuild,
-  gri-2.12.9.ebuild:
-  Added media-gfx/imagemagick to DEPEND, closes bug 111087. Also marked stable
-  on amd64.
-
-*gri-2.12.9 (10 Mar 2005)
-
-  10 Mar 2005; Patrick Kursawe <phosphan@gentoo.org> -gri-2.12.5.ebuild,
-  gri-2.12.7.ebuild, +gri-2.12.9.ebuild:
-  Bug #82456, version bump and cleanup.
-
-*gri-2.12.5 (27 Dec 2004)
-
-  27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
-  +files/info-install.patch, +gri-2.12.5.ebuild, +gri-2.12.7.ebuild:
-  Moved from app-sci/gri to sci-misc/gri.
-
-  06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> gri-2.12.7.ebuild:
-  Marked stable on amd64.
-
-  22 Apr 2004; David Holm <dholm@gentoo.org> gri-2.12.7.ebuild:
-  Added to ~ppc.
-
-  22 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> gri-2.12.7.ebuild:
-  marked ~amd64
-
-*gri-2.12.7 (22 Apr 2004)
-
-  22 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> gri-2.12.4.ebuild,
-  gri-2.12.5.ebuild, gri-2.12.7.ebuild:
-  Version bump
-
-  18 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> gri-2.12.5.ebuild,
-  files/info-install.patch:
-  Fixing bug 33396, no revision bump.
-
-*gri-2.12.5 (30 Jun 2003)
-
-  30 Jun 2003; Daniel Ahlberg <aliz@gentoo.org> gri-2.12.5.ebuild :
-  Version bump.
-
-*gri-2.12.4 (16 May 2003)
-
-  16 May 2003; George Shapovalov <george@gentoo.org> gri-2.12.4.ebuild :
-  new version
-
-*gri-2.12.1 (06 Dec 2002)
-
-  07 Jan 2003; George Shapovalov <george@gentoo.org> gri-2.12.1.ebuild :
-
-  incorporated changes suggested by Jose "to fix the path of the documentation in the startup msg"
-  added IUSE
-
-  06 Dec 2002; George Shapovalov <george@gentoo.org> ChangeLog, gri-2.12.1.ebuild, files/digest-gri-2.12.1 :
-  initial release (#10695)
-  Gri is a language for scientific graphics programming.
-  ebuild submitted by Jose Fonseca <j_r_fonseca@yahoo.co.uk>
-

diff --git a/sci-visualization/gri/files/50gri-gentoo.el b/sci-visualization/gri/files/50gri-gentoo.el
deleted file mode 100644
index e07d47c..0000000
--- a/sci-visualization/gri/files/50gri-gentoo.el
+++ /dev/null
@@ -1,3 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-(autoload 'gri-mode "gri-mode" "Enter Gri-mode." t)
-(add-to-list 'auto-mode-alist '("\\.gri\\'" . gri-mode))

diff --git a/sci-visualization/gri/files/gri-2.12.18-postscript.patch b/sci-visualization/gri/files/gri-2.12.18-postscript.patch
deleted file mode 100644
index b3f3b73..0000000
--- a/sci-visualization/gri/files/gri-2.12.18-postscript.patch
+++ /dev/null
@@ -1,97 +0,0 @@
-diff -Naur gri-2.12.18/src/extern.hh gri-2.12.18.new/src/extern.hh
---- gri-2.12.18/src/extern.hh	2003-06-07 13:37:55.000000000 -0400
-+++ gri-2.12.18.new/src/extern.hh	2008-11-01 10:46:40.000000000 -0400
-@@ -137,6 +137,7 @@
- 
- extern int      _arrow_type;
- extern bool     _warn_offpage;
-+extern bool	_export_postscript;
- 
- extern std::vector<double> _dash;
- 
-diff -Naur gri-2.12.18/src/gr.cc gri-2.12.18.new/src/gr.cc
---- gri-2.12.18/src/gr.cc	2008-09-04 13:32:21.000000000 -0400
-+++ gri-2.12.18.new/src/gr.cc	2008-11-01 10:52:24.000000000 -0400
-@@ -397,7 +397,16 @@
- 		/*
- 		 * write conforming postscript prolog
- 		 */
--		fprintf(fp, "%%!PS-Adobe-2.0 EPSF-1.2\n");
-+		//fprintf(fp, "%%!PS-Adobe-2.0 EPSF-1.2\n");
-+                extern bool _export_postscript;
-+                if (_export_postscript)
-+                {
-+                  fprintf(fp, "%%!PS-Adobe-2.0\n");
-+                }
-+                else
-+                {
-+                  fprintf(fp, "%%!PS-Adobe-2.0 EPSF-1.2\n");
-+                }
- 		if (privacy)
- 			fprintf(fp, "%%%%Creator: %s\n", "");
- 		else
-diff -Naur gri-2.12.18/src/gri.cc gri-2.12.18.new/src/gri.cc
---- gri-2.12.18/src/gri.cc	2006-06-16 19:18:40.000000000 -0400
-+++ gri-2.12.18.new/src/gri.cc	2008-11-01 10:46:40.000000000 -0400
-@@ -35,6 +35,7 @@
- // Globals used elsewhere (variables begin with _).
- int             _arrow_type;
- bool            _warn_offpage;
-+bool		_export_postscript;
- std::vector<double>       _dash;
- std::vector<DataFile>     _dataFILE;
- std::vector<CmdFile>      _cmdFILE;
-diff -Naur gri-2.12.18/src/startup.cc gri-2.12.18.new/src/startup.cc
---- gri-2.12.18/src/startup.cc	2008-06-12 08:57:26.000000000 -0400
-+++ gri-2.12.18.new/src/startup.cc	2008-11-01 10:57:26.000000000 -0400
-@@ -188,6 +188,7 @@
- 	_axes_offset = 0.0;
- 	_use_default_for_query = false;
- 	_warn_offpage = true;
-+	_export_postscript = false;
- 	PUT_VAR("..use_default_for_query..", 0.0);
- 	PUT_VAR("..words_in_dataline..", 0.0); // just in case tested
- 	PUT_VAR("..batch..", 0.0);
-@@ -681,6 +682,7 @@
- #define FLAG_PUBLICATION	1009
- #define FLAG_SUPERUSER		1010
- #define FLAG_WARN_OFFPAGE	1011
-+#define FLAG_POSTSCRIPT		1012
- 	// I use the 'FLAG_...' numbers for options that lack single-character abbreviations.
- 	static struct poptOption optionsTable[] = {
- 		{ "batch",             'b',  POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, 'b'                   },
-@@ -703,6 +705,7 @@
- 		{ "version",           'v',  POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, 'v'                   },
- 		{ "warn_offpage",      '\0', POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, FLAG_WARN_OFFPAGE     },
- 		{ "yes",               'y',  POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, 'y'                   },
-+		{ "postscript",        '\0', POPT_ARG_NONE   | POPT_ARGFLAG_ONEDASH, NULL, FLAG_POSTSCRIPT       },
- 		{  0,                   0,                                       0,     0, 0                     }
- 	};
- 	const poptContext optCon =
-@@ -872,6 +875,8 @@
- 				printf("Gri cannot read in '%s'\n",optArg);
- 			}
- 			break;
-+		case FLAG_POSTSCRIPT
-+			_export_postscript = true;
- 		default:
- 			printf("Unknown option\n");
- 			break;
-@@ -1058,6 +1063,8 @@
- 				} else if (!strcmp(argv[i], "-y") || !strcmp(argv[i], "-yes")) {
- 					_use_default_for_query = true;
- 					PUT_VAR("..use_default_for_query..", 1.0);
-+				} else if (!strcmp(argv[i], "-postscript")){
-+					_export_postscript = true;
- #if 0
- 				} else if (!strcmp(argv[i], "-e")) {
- 					// User wants to do cmd in argv[i+1]
-@@ -1190,6 +1197,8 @@
-         gr_textput("             Makes Gri print out command lines as they are executed.\n");
-         gr_textput("     -true or -y\n");
-         gr_textput("             Makes Gri think the answer to all `query's is RETURN.\n");
-+	gr_textput("     -postscript\n");
-+	gr_textput("             Export a PostScript file instead of an EPS file.\n");
- #if 0
-         gr_textput("     -e cmd\n");
-         gr_textput("             BUG: NOT IMPLEMENTED YET!\n");

diff --git a/sci-visualization/gri/gri-2.12.22.ebuild b/sci-visualization/gri/gri-2.12.22.ebuild
deleted file mode 100644
index e05011e..0000000
--- a/sci-visualization/gri/gri-2.12.22.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-visualization/gri/gri-2.12.19.ebuild,v 1.3 2009/12/26 17:46:54 pva Exp $
-
-EAPI=2
-
-inherit elisp-common eutils
-
-DESCRIPTION="language for scientific graphics programming"
-HOMEPAGE="http://gri.sourceforge.net/"
-SRC_URI="mirror://sourceforge/gri/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86"
-IUSE="doc emacs examples"
-RESTRICT="test"
-
-DEPEND=">=sci-libs/netcdf-4.1.0
-	virtual/latex-base
-	media-gfx/imagemagick
-	app-text/ghostscript-gpl
-	emacs? ( virtual/emacs )"
-
-RDEPEND="${DEPEND}"
-
-SITEFILE="50gri-gentoo.el"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-2.12.18-postscript.patch
-}
-
-src_compile() {
-	VARTEXFONTS="${T}/fonts" emake || die
-	if use emacs; then
-		elisp-compile src/*.el || die
-	fi
-}
-
-src_install() {
-	# Replace PREFIX now and correct paths in the startup message.
-	sed -e s,PREFIX/share/gri/doc/,/usr/share/doc/${P}/, -i "${S}/src/startup.msg"
-
-	einstall || die
-
-	# license text not necessary
-	rm "${D}"/usr/share/gri/doc/license.txt
-
-	# install target installs it always and in the wrong location
-	# remove it here and call elisp-install in case of USE=emacs below
-	rm -rf "${D}"/usr/share/emacs
-
-	if ! use doc; then
-		sed -e "s/Manual at.*//" -i "${D}"/usr/share/gri/startup.msg
-		rm "${D}"/usr/share/gri/doc/cmdrefcard.ps
-		rm "${D}"/usr/share/gri/doc/refcard.ps
-		rm -rf "${D}"/usr/share/gri/doc/html
-	fi
-	if ! use examples; then
-		sed -e "s/Examples at.*//" -i "${D}"/usr/share/gri/startup.msg
-		rm -rf "${D}"/usr/share/gri/doc/examples
-	fi
-
-	dodoc README
-
-	#move docs to the proper place
-	mv "${D}"/usr/share/gri/doc/* "${D}/usr/share/doc/${PF}"
-	rmdir "${D}/usr/share/gri/doc/"
-
-	if use emacs; then
-		cd src
-		elisp-install ${PN} *.{el,elc} || die
-		elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
-			|| die
-	fi
-}
-
-pkg_postinst() {
-	use emacs && elisp-site-regen
-}
-
-pkg_postrm() {
-	use emacs && elisp-site-regen
-}

diff --git a/sci-visualization/gri/metadata.xml b/sci-visualization/gri/metadata.xml
deleted file mode 100644
index b229aec..0000000
--- a/sci-visualization/gri/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-</pkgmetadata>



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-08 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-08 14:34 [gentoo-commits] proj/sci:master commit in: sci-visualization/gri/files/, sci-visualization/gri/ Dongxu Li
  -- strict thread matches above, loose matches on Subject: below --
2011-08-08 16:42 Sebastien Fabbro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox