summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kennedy <mkennedy@gentoo.org>2006-02-15 00:12:42 +0000
committerMatthew Kennedy <mkennedy@gentoo.org>2006-02-15 00:12:42 +0000
commit86318a15683fda7360848afa4f0550f9d3fe2a72 (patch)
tree8ca0f9a4f50deb8c73a3bde40a6270a25d7e5e92 /dev-lang/gforth
parentStable on amd64. Bug #122755. (diff)
downloadhistorical-86318a15683fda7360848afa4f0550f9d3fe2a72.tar.gz
historical-86318a15683fda7360848afa4f0550f9d3fe2a72.tar.bz2
historical-86318a15683fda7360848afa4f0550f9d3fe2a72.zip
Added metadata.xml; Added self to it as new maintainer; Applied patch described in Bug #113296; Added dependency on dev-libs/ffcall which resolves Bug #113211.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'dev-lang/gforth')
-rw-r--r--dev-lang/gforth/ChangeLog13
-rw-r--r--dev-lang/gforth/Manifest40
-rw-r--r--dev-lang/gforth/files/0.6.2-c-to-forth-to-c.patch30
-rw-r--r--dev-lang/gforth/files/digest-gforth-0.6.2-r16
-rw-r--r--dev-lang/gforth/gforth-0.6.2-r1.ebuild64
-rw-r--r--dev-lang/gforth/metadata.xml8
6 files changed, 155 insertions, 6 deletions
diff --git a/dev-lang/gforth/ChangeLog b/dev-lang/gforth/ChangeLog
index f6ca3b5a4ba1..42875708352d 100644
--- a/dev-lang/gforth/ChangeLog
+++ b/dev-lang/gforth/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-lang/gforth
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.16 2005/10/30 15:53:35 grobian Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.17 2006/02/15 00:12:42 mkennedy Exp $
+
+*gforth-0.6.2-r1 (15 Feb 2006)
+
+ 15 Feb 2006; Matthew Kennedy <mkennedy@gentoo.org>
+ +files/0.6.2-c-to-forth-to-c.patch, +metadata.xml,
+ +gforth-0.6.2-r1.ebuild:
+ Added metadata.xml; Added self to it as new maintainer; Applied patch
+ described in Bug #113296; Added dependency on dev-libs/ffcall which resolves
+ Bug #113211.
30 Oct 2005; Fabian Groffen <grobian@gentoo.org> gforth-0.6.2.ebuild:
Marked ~ppc-macos (bug #110818)
diff --git a/dev-lang/gforth/Manifest b/dev-lang/gforth/Manifest
index 21b279872911..8ff241f08a43 100644
--- a/dev-lang/gforth/Manifest
+++ b/dev-lang/gforth/Manifest
@@ -1,5 +1,37 @@
-MD5 b1b4b6a2dc1e8dab38ab5096b2f9b45e gforth-0.6.2.ebuild 1384
-MD5 43d87b381f4a89af68765d200e853089 ChangeLog 2538
-MD5 eaf0babab3dec9a6b74e876829e1a68a files/gforth.el-gentoo.patch 1518
-MD5 288a9f927bbcb355499af2795baa6248 files/digest-gforth-0.6.2 65
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 3eae43e4eeddb6e2a356a289c56e422f ChangeLog 2871
+RMD160 3ea2c7b78eb1ea23773cf4c0fe963a76b8734992 ChangeLog 2871
+SHA256 95c7c655bae749bdce85ebfeaf888fdae80cdac67c5bf1f8b95c35b670cf8b11 ChangeLog 2871
+MD5 8646d2e25fc993074ce9a5859f168e4e files/0.6.2-c-to-forth-to-c.patch 702
+RMD160 585cd5b1e215c0644df28b55de47133b88c75bcd files/0.6.2-c-to-forth-to-c.patch 702
+SHA256 f50fae8f741b72d4d07155b96d11e59ba663b330910faf49774ffe14e85f5c5e files/0.6.2-c-to-forth-to-c.patch 702
MD5 74edc6d12c9a8d2858070dc09e2c264c files/50gforth-gentoo.el 200
+RMD160 79bceb8512f929d2fc9916a9622ef9e466159acf files/50gforth-gentoo.el 200
+SHA256 235051d92cd39a0d327246d60555bd8a8386b5b20276aa35fe8bd34565b691f6 files/50gforth-gentoo.el 200
+MD5 288a9f927bbcb355499af2795baa6248 files/digest-gforth-0.6.2 65
+RMD160 94aa8a6afb79be9f80acb5f376638ff074788aab files/digest-gforth-0.6.2 65
+SHA256 8989714db209a89679594f54c708ef3673e6d44df14d7964db36214b476a24d1 files/digest-gforth-0.6.2 65
+MD5 a6f1a7a82c3fe99d39283ef7f0200df6 files/digest-gforth-0.6.2-r1 464
+RMD160 65fbb567dbd9b097d2ebb5639b5367229079d099 files/digest-gforth-0.6.2-r1 464
+SHA256 e1d570cb5433dbdcd97ab750f7372f3e276cb1c775e6fdd4d72fb75a66d96d54 files/digest-gforth-0.6.2-r1 464
+MD5 eaf0babab3dec9a6b74e876829e1a68a files/gforth.el-gentoo.patch 1518
+RMD160 6a6f7e210fa3fb13c7d41a731f482356d4b82f8e files/gforth.el-gentoo.patch 1518
+SHA256 67339e3d7387d957121795c36574e96572b57ee7c2a7f41670412d6e09e414ce files/gforth.el-gentoo.patch 1518
+MD5 b17452d3deaa7d33f7460ce9f67028c9 gforth-0.6.2-r1.ebuild 1640
+RMD160 2e190ecf480fdce63c4c525954eac257e0240901 gforth-0.6.2-r1.ebuild 1640
+SHA256 ee899357d739293ce21fe1abca02f42814f6474a4cf9850b651a6a032bb0288b gforth-0.6.2-r1.ebuild 1640
+MD5 b1b4b6a2dc1e8dab38ab5096b2f9b45e gforth-0.6.2.ebuild 1384
+RMD160 e53a23bbd1bee661147a441dcfae56d8b214ed2f gforth-0.6.2.ebuild 1384
+SHA256 05a32cfc9dde5a5ac3173fd54907fcedbc7f033ce34a0e7327b8c59ffeb0769c gforth-0.6.2.ebuild 1384
+MD5 1ba841da13783efc9e8e1670e8937801 metadata.xml 232
+RMD160 9101b9978f3aaddf25ec85183590110e41bc3d0d metadata.xml 232
+SHA256 7cbe2b6f70075aca4c0147ec74989df1f3ea7ac11ce88fad80d812131cd21a9c metadata.xml 232
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2 (GNU/Linux)
+
+iD8DBQFD8nIIyiNZaEAZA+ARAiZJAJ9GH5ZtYdWuuYWOCWtv3pUS/Jr4ewCfZ5li
+ndjAZslWsJnEkGEKoirL3Qw=
+=AYDQ
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/gforth/files/0.6.2-c-to-forth-to-c.patch b/dev-lang/gforth/files/0.6.2-c-to-forth-to-c.patch
new file mode 100644
index 000000000000..28ab2e5f572f
--- /dev/null
+++ b/dev-lang/gforth/files/0.6.2-c-to-forth-to-c.patch
@@ -0,0 +1,30 @@
+Index: engine/main.c
+===================================================================
+RCS file: /usr/local/lib/cvs-repository/src-master/gforth/engine/main.c,v
+retrieving revision 1.139
+retrieving revision 1.140
+diff -u -r1.139 -r1.140
+--- engine/main.c.old 2004/01/20 19:07:41 1.139
++++ engine/main.c 2004/04/10 00:16:55 1.140
+@@ -70,8 +70,21 @@
+
+ void engine_callback(Xt* fcall, void * alist)
+ {
++ /* save global valiables */
++ Cell *rp = RP;
++ Cell *sp = SP;
++ Float *fp = FP;
++ Address lp = LP;
++
+ clist = (va_alist)alist;
+- engine(fcall, SP, RP, FP, LP);
++
++ engine(fcall, sp, rp, fp, lp);
++
++ /* restore global variables */
++ RP = rp;
++ SP = sp;
++ FP = fp;
++ LP = lp;
+ }
+ #endif \ No newline at end of file
diff --git a/dev-lang/gforth/files/digest-gforth-0.6.2-r1 b/dev-lang/gforth/files/digest-gforth-0.6.2-r1
new file mode 100644
index 000000000000..aad56cc65a43
--- /dev/null
+++ b/dev-lang/gforth/files/digest-gforth-0.6.2-r1
@@ -0,0 +1,6 @@
+MD5 110fd6b5b05ae9a44cfe22545f5b784f 0.6.2-debug.diff 5127
+RMD160 eade613904465b02ab8c480f136751fc334fd778 0.6.2-debug.diff 5127
+SHA256 accb5c8b06fd11ff56febd32896678e670d2571a90ce7682dd87bd590e6159cb 0.6.2-debug.diff 5127
+MD5 869112bd762b07fc4d2038a2d9965148 gforth-0.6.2.tar.gz 1925536
+RMD160 692aa412e59954f87a7b44027901248f8939e9ee gforth-0.6.2.tar.gz 1925536
+SHA256 28a201ae78b073ef350d7ac4a8283233029c6afe6072620ac6dd6db1d192d462 gforth-0.6.2.tar.gz 1925536
diff --git a/dev-lang/gforth/gforth-0.6.2-r1.ebuild b/dev-lang/gforth/gforth-0.6.2-r1.ebuild
new file mode 100644
index 000000000000..c6717a4666d1
--- /dev/null
+++ b/dev-lang/gforth/gforth-0.6.2-r1.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/gforth-0.6.2-r1.ebuild,v 1.1 2006/02/15 00:12:42 mkennedy Exp $
+
+inherit elisp-common eutils toolchain-funcs
+
+DESCRIPTION="GNU Forth is a fast and portable implementation of the ANSI Forth language"
+HOMEPAGE="http://www.gnu.org/software/gforth"
+SRC_URI="http://www.complang.tuwien.ac.at/forth/gforth/${P}.tar.gz
+ http://www.complang.tuwien.ac.at/forth/gforth/Patches/${PV}-debug.diff"
+
+LICENSE="GPL-2"
+SLOT="0"
+# KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
+KEYWORDS=" ~ppc ~x86" # dev-libs/ffcall needs to be keyworded for amd64 and ppc-macos
+IUSE="emacs"
+
+DEPEND="virtual/libc
+ dev-libs/ffcall
+ emacs? ( virtual/emacs )"
+
+SITEFILE=50gforth-gentoo.el
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gforth.el-gentoo.patch || die
+ epatch ${FILESDIR}/${PV}-c-to-forth-to-c.patch || die
+ epatch ${DISTDIR}/${PV}-debug.diff || die
+
+}
+
+src_compile() {
+ econf CC="$(tc-getCC) -fno-reorder-blocks -fno-inline" --enable-force-reg || die "econf failed"
+ make || die
+ if use emacs; then
+ elisp-comp *.el || die
+ fi
+}
+
+src_install() {
+ make \
+ libdir=${D}/usr/lib \
+ infodir=${D}/usr/share/info \
+ mandir=${D}/usr/share/man \
+ datadir=${D}/usr/share \
+ bindir=${D}/usr/bin \
+ install || die
+
+ dodoc AUTHORS BUGS ChangeLog NEWS* README* ToDo doc/glossaries.doc doc/*.ps
+
+ if use emacs; then
+ elisp-install ${PN} *.el *.elc
+ elisp-site-file-install ${FILESDIR}/${SITEFILE}
+ fi
+}
+
+pkg_postinst() {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/dev-lang/gforth/metadata.xml b/dev-lang/gforth/metadata.xml
new file mode 100644
index 000000000000..c4343d7b91ee
--- /dev/null
+++ b/dev-lang/gforth/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>mkennedy@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>