summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-28 05:20:30 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-28 05:20:30 +0000
commitea01f799d1644e974c56443fd4c6936a9fb6ba5b (patch)
treef679af66527872b605afa5e8b62b40d58853abaa /sci-mathematics/euler
parentMoving to sci-mathematics/euler (diff)
downloadhistorical-ea01f799d1644e974c56443fd4c6936a9fb6ba5b.tar.gz
historical-ea01f799d1644e974c56443fd4c6936a9fb6ba5b.tar.bz2
historical-ea01f799d1644e974c56443fd4c6936a9fb6ba5b.zip
Moved from "app-sci" to "sci-mathematics".
Diffstat (limited to 'sci-mathematics/euler')
-rw-r--r--sci-mathematics/euler/ChangeLog74
-rw-r--r--sci-mathematics/euler/Manifest8
-rw-r--r--sci-mathematics/euler/euler-1.60.6-r1.ebuild50
-rw-r--r--sci-mathematics/euler/euler-1.60.6.ebuild49
-rw-r--r--sci-mathematics/euler/files/digest-euler-1.60.61
-rw-r--r--sci-mathematics/euler/files/digest-euler-1.60.6-r11
-rw-r--r--sci-mathematics/euler/files/euler-1.60-compound_statements.patch39
-rw-r--r--sci-mathematics/euler/files/euler-1.60.6.patch11
-rw-r--r--sci-mathematics/euler/metadata.xml5
9 files changed, 238 insertions, 0 deletions
diff --git a/sci-mathematics/euler/ChangeLog b/sci-mathematics/euler/ChangeLog
new file mode 100644
index 000000000000..3235aac82ae0
--- /dev/null
+++ b/sci-mathematics/euler/ChangeLog
@@ -0,0 +1,74 @@
+# ChangeLog for app-sci/euler
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/ChangeLog,v 1.1 2004/12/28 05:20:30 ribosome Exp $
+
+*euler-1.60.6 (28 Dec 2004)
+
+ 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/euler-1.60-compound_statements.patch, +files/euler-1.60.6.patch,
+ +euler-1.60.6-r1.ebuild, +euler-1.60.6.ebuild:
+ Moved from "app-sci" to "sci-mathematics".
+
+ 13 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> euler-1.60.6-r1.ebuild:
+ Stable for x86
+
+ 02 Jul 2004; Patrick Kursawe <phosphan@gentoo.org> euler-1.59.1.ebuild,
+ euler-1.60.6-r1.ebuild, euler-1.60.6.ebuild,
+ files/euler-1.60-compound_statements.patch:
+ Adding patch for bug #54931, removing old version.
+
+ 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> euler-1.59.1.ebuild,
+ euler-1.60.6-r1.ebuild, euler-1.60.6.ebuild:
+ virtual/glibc -> virtual/libc
+
+ 15 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> euler-1.59.1.ebuild,
+ euler-1.60.6.ebuild:
+ PROVIDE is for virtuals
+
+ 06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> euler-1.60.6-r1.ebuild:
+ Marked stable on amd64.
+
+ 22 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> euler-1.60.6-r1.ebuild:
+ marked ~amd64
+
+ 26 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> euler-1.60.6-r1.ebuild,
+ euler-1.60.6.ebuild:
+ Adding "inherit eutils" and IUSE=""
+
+*euler-1.60.6-r1 (15 Mar 2004)
+
+ 15 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> euler-1.60.6-r1.ebuild,
+ euler-1.60.6.ebuild, files/euler-1.60.6.patch:
+ Fixing bug #41638, adding usage of CFLAGS in -r1
+
+*euler-1.60.6 (14 Dec 2002)
+
+ 14 Dec 2002; Matthew Kennedy <mkennedy@gentoo.org> euler-1.60.6.ebuild,
+ ChangeLog :
+
+ Move to stable profile on account of bug #1162, comment #3.
+
+*euler-1.60.6 (07 Nov 2002)
+
+ 07 Dec 2002; Jack Morgan <jmorgan@gentoo.org> euler-1.60.6.ebuild:
+ Removed ~sparc64 keyword
+
+ 07 Nov 2002; George Shapovalov <george@gentoo.org> euler-1.60.6.ebuild :
+
+ new version
+ also removed PROVIDE="app-misc/euler" statment as it was moved over 6 month ago.
+ slightly updated ebuild submitted by James R. Webb <jrwebb@qwest.net>
+
+*euler-1.59.1 (06 May 2002)
+
+ Moved into app-sci category
+
+*euler-1.59.1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/sci-mathematics/euler/Manifest b/sci-mathematics/euler/Manifest
new file mode 100644
index 000000000000..e8011e2314e3
--- /dev/null
+++ b/sci-mathematics/euler/Manifest
@@ -0,0 +1,8 @@
+MD5 1901a8bbd3d3e910d377d1e6bac46981 euler-1.60.6.ebuild 1207
+MD5 715508f6f99063c47e0f9613eba768ac euler-1.60.6-r1.ebuild 1258
+MD5 c8ba6aae912790dd1a63fcc928ed5268 ChangeLog 2700
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 25c07f2cd7585d6b674ba310cf33fafa files/digest-euler-1.60.6 64
+MD5 797a67ee56e452b239fbadb6a9a8c319 files/euler-1.60.6.patch 284
+MD5 25c07f2cd7585d6b674ba310cf33fafa files/digest-euler-1.60.6-r1 64
+MD5 9efb40aa017b65e543bc280229e78da6 files/euler-1.60-compound_statements.patch 851
diff --git a/sci-mathematics/euler/euler-1.60.6-r1.ebuild b/sci-mathematics/euler/euler-1.60.6-r1.ebuild
new file mode 100644
index 000000000000..37ad316ee516
--- /dev/null
+++ b/sci-mathematics/euler/euler-1.60.6-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.60.6-r1.ebuild,v 1.1 2004/12/28 05:20:30 ribosome Exp $
+
+inherit eutils
+IUSE=""
+
+#euler only uses two major numners internally, need to do some mangling
+MajVer="$(echo ${PV}|cut -d '.' -f 1,2)"
+S=${WORKDIR}/${PN}-${MajVer}
+
+DESCRIPTION="Mathematical programming environment"
+HOMEPAGE="http://euler.sourceforge.net/"
+SRC_URI="mirror://sourceforge/euler/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~sparc amd64"
+
+DEPEND="virtual/libc
+ virtual/x11
+ =x11-libs/gtk+-1.2*"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ cd ${S}/source
+ epatch ${FILESDIR}/${P}.patch
+ epatch ${FILESDIR}/euler-1.60-compound_statements.patch
+ sed -e "s:share/euler/docs/index.html:share/doc/${P}/html/index.html:" \
+ -i main.c
+ sed -e "s:-O2:\$(CFLAGS):" -i makefile
+}
+
+src_compile() {
+ cd ${S}/source
+ emake INSTALL_DIR=/usr || die
+}
+
+src_install() {
+ cd ${S}/source
+ dodir usr usr/share usr/bin
+ make INSTALL_DIR=${D}/usr install || die
+
+ cd ${S}
+ dodir usr/share/doc/${P}/html
+ mv ${D}/usr/share/doc/${PN}/* ${D}/usr/share/doc/${PF}/html
+ rm -rf ${D}/usr/share/doc/${PN}
+ dodoc ChangeLog README TODO
+}
diff --git a/sci-mathematics/euler/euler-1.60.6.ebuild b/sci-mathematics/euler/euler-1.60.6.ebuild
new file mode 100644
index 000000000000..ff69104866dc
--- /dev/null
+++ b/sci-mathematics/euler/euler-1.60.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/euler/euler-1.60.6.ebuild,v 1.1 2004/12/28 05:20:30 ribosome Exp $
+
+inherit eutils
+IUSE=""
+
+#euler only uses two major numners internally, need to do some mangling
+MajVer="$(echo ${PV}|cut -d '.' -f 1,2)"
+S=${WORKDIR}/${PN}-${MajVer}
+
+DESCRIPTION="Mathematical programming environment"
+HOMEPAGE="http://euler.sourceforge.net/"
+SRC_URI="mirror://sourceforge/euler/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 ppc sparc"
+
+DEPEND="virtual/libc
+ virtual/x11
+ =x11-libs/gtk+-1.2*"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+
+ cd ${S}/source
+ epatch ${FILESDIR}/${P}.patch
+ epatch ${FILESDIR}/euler-1.60-compound_statements.patch
+ sed -e "s:share/euler/docs/index.html:share/doc/${P}/html/index.html:" \
+ -i main.c
+}
+
+src_compile() {
+ cd ${S}/source
+ emake INSTALL_DIR=/usr || die
+}
+
+src_install() {
+ cd ${S}/source
+ dodir usr usr/share usr/bin
+ make INSTALL_DIR=${D}/usr install || die
+
+ cd ${S}
+ dodir usr/share/doc/${P}/html
+ mv ${D}/usr/share/doc/${PN}/* ${D}/usr/share/doc/${PF}/html
+ rm -rf ${D}/usr/share/doc/${PN}
+ dodoc ChangeLog README TODO
+}
diff --git a/sci-mathematics/euler/files/digest-euler-1.60.6 b/sci-mathematics/euler/files/digest-euler-1.60.6
new file mode 100644
index 000000000000..969cfd5375a3
--- /dev/null
+++ b/sci-mathematics/euler/files/digest-euler-1.60.6
@@ -0,0 +1 @@
+MD5 e56a0f41c184fc2f416457f0c5ece78f euler-1.60.6.tar.gz 769602
diff --git a/sci-mathematics/euler/files/digest-euler-1.60.6-r1 b/sci-mathematics/euler/files/digest-euler-1.60.6-r1
new file mode 100644
index 000000000000..969cfd5375a3
--- /dev/null
+++ b/sci-mathematics/euler/files/digest-euler-1.60.6-r1
@@ -0,0 +1 @@
+MD5 e56a0f41c184fc2f416457f0c5ece78f euler-1.60.6.tar.gz 769602
diff --git a/sci-mathematics/euler/files/euler-1.60-compound_statements.patch b/sci-mathematics/euler/files/euler-1.60-compound_statements.patch
new file mode 100644
index 000000000000..98a38c5b4758
--- /dev/null
+++ b/sci-mathematics/euler/files/euler-1.60-compound_statements.patch
@@ -0,0 +1,39 @@
+diff -ru euler-1.60.orig/source/term.c euler-1.60/source/term.c
+--- euler-1.60.orig/source/term.c 2002-06-02 15:40:30.000000000 +0200
++++ euler-1.60/source/term.c 2004-06-23 22:59:05.172479232 +0200
+@@ -2163,7 +2163,7 @@
+ case 'U':
+ ch = 'Û';
+ break;
+- default:
++ default:;
+ }
+ deadkey=0;
+ break;
+@@ -2206,7 +2206,7 @@
+ case 'U':
+ ch = 'Ü';
+ break;
+- default:
++ default:;
+ }
+ deadkey=0;
+ break;
+@@ -2586,7 +2586,7 @@
+ case 'U':
+ ch = 'Û';
+ break;
+- default:
++ default:;
+ }
+ deadkey=0;
+ break;
+@@ -2629,7 +2629,7 @@
+ case 'U':
+ ch = 'Ü';
+ break;
+- default:
++ default:;
+ }
+ deadkey=0;
+ break;
diff --git a/sci-mathematics/euler/files/euler-1.60.6.patch b/sci-mathematics/euler/files/euler-1.60.6.patch
new file mode 100644
index 000000000000..c06c8ff04cd3
--- /dev/null
+++ b/sci-mathematics/euler/files/euler-1.60.6.patch
@@ -0,0 +1,11 @@
+--- metaps.c 2002-05-25 16:15:52.000000000 +0200
++++ metaps.c.new 2004-03-15 15:18:25.423631080 +0100
+@@ -209,7 +209,7 @@
+ // rectangle clipping
+ // x1 y1 x2 y2 setclip
+ static char setclipmacro[]= "/setclip {\n\
+-gsave
++gsave\n\
+ /y2 exch def\n\
+ /x2 exch def\n\
+ /y1 exch def\n\
diff --git a/sci-mathematics/euler/metadata.xml b/sci-mathematics/euler/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-mathematics/euler/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>