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
commitdd019bfb6637431595ea45f424c5f7ab5ae0db56 (patch)
tree458c80be4bb019c1527170d2ed904b766b12480b /dev-lang/gforth
parentStable on amd64. Bug #122755. (diff)
downloadgentoo-2-dd019bfb6637431595ea45f424c5f7ab5ae0db56.tar.gz
gentoo-2-dd019bfb6637431595ea45f424c5f7ab5ae0db56.tar.bz2
gentoo-2-dd019bfb6637431595ea45f424c5f7ab5ae0db56.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.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'dev-lang/gforth')
-rw-r--r--dev-lang/gforth/ChangeLog13
-rw-r--r--dev-lang/gforth/Manifest28
-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, 144 insertions, 5 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..ac07eaebbc87 100644
--- a/dev-lang/gforth/Manifest
+++ b/dev-lang/gforth/Manifest
@@ -1,5 +1,27 @@
-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
+RMD160 5696a0d39e9ba5fc376958dc772df8c2cf616f40 ChangeLog 2538
+SHA256 87c1c624fbeeaf0e53f042620a407d793b7dd029e9d05fee197815812a0b08ee ChangeLog 2538
+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 0c76cbbd23796e6c73e61acdade2a6bb gforth-0.6.2-r1.ebuild 1547
+RMD160 5b9611ebbfc46238b89854bdfff69f804119fe74 gforth-0.6.2-r1.ebuild 1547
+SHA256 4fb12218d66243006b8531ec623c1cb238a84ba97685731d168f7893fe97994a gforth-0.6.2-r1.ebuild 1547
+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
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>