Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-lang/gforth
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gforth/ChangeLog,v 1.24 2008/03/17 15:56:08 coldwind Exp $
17 Mar 2008; Santiago M. Mola
gforth-0.6.2-r1.ebuild:
Fix quoting.
11 Jan 2008; Fabian Groffen
gforth-0.6.2-r1.ebuild:
Dropped ppc-macos keyword, see you in prefix
19 Mar 2007; Bryan Østergaard
Remove mkennedy from metadata.xml due to retirement.
21 Feb 2007; Piotr Jaroszyński
Transition to Manifest2.
14 Dec 2006; Timothy Redaelli
Add ~x86-fbsd keyword
12 May 2006; Matthew Kennedy
+files/0.6.2-ppc-configure-gentoo.patch, gforth-0.6.2-r1.ebuild:
Include a new USE flag "force-reg" and don't --enable-force-reg by default;
Filter some CFLAGS known to cause build failures; Resolves Bug #120159;
Include PPC specific build patch; Resolves Bug #131931.
17 Feb 2006; Matthew Kennedy
files/gforth.el-gentoo.patch:
Fixed Emacs Lisp patch so that gforth is provided instead of forth-mode.
*gforth-0.6.2-r1 (15 Feb 2006)
15 Feb 2006; Matthew Kennedy
+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
Marked ~ppc-macos (bug #110818)
16 Sep 2005; Ciaran McCreesh
Converted to UTF-8, fixed encoding screwups
01 May 2005; Michael Hanselmann
Stable on ppc.
22 Apr 2005; Simon Stelling
stable on amd64
03 Sep 2004; David Holm
Added to ~ppc.
06 Aug 2004; Malcolm Lashley
Add ~amd64, closes bug #57634
*gforth-0.5.0-r1 (28 Jul 2004)
28 Jul 2004; Jeremy Maitin-Shepard
Fixed sandbox violation, and added proper handling for Emacs support
Resolves Bug #54084
01 Jul 2004; Jeremy Huddleston
gforth-0.6.1-r1.ebuild, gforth-0.6.1.ebuild, gforth-0.6.2.ebuild:
virtual/glibc -> virtual/libc
26 Apr 2004; Aron Griffis
gforth-0.6.2.ebuild:
Add die following econf for bug 48950
13 Mar 2004; Michael Sterrett
gforth-0.6.1-r1.ebuild, gforth-0.6.1.ebuild, gforth-0.6.2.ebuild:
strip-flags into src_compile; don't assign default to S; header fix
15 Oct 2003; Matthew Kennedy
files/gforth.el-gentoo.patch:
generate epatch compatible patch
*gforth-0.6.2 (14 Oct 2003)
14 Oct 2003; Matthew Kennedy
gforth-0.6.2.ebuild:
minor version bump and fix for bug 31089
*gforth-0.6.1-r1 (14 Oct 2003)
14 Oct 2003; Matthew Kennedy
gforth-0.6.2.ebuild:
minor version bump and fix for bug 31089
*gforth-0.6.1 (02 Apr 2003)
02 Apr 2003; Matthew Kennedy
files/50gforth-gentoo.el, files/gforth.el-gentoo.patch:
minor version bump, ebuild clean up, support for emacs USE flag
*gforth-0.5.0.ebuild (04 Jan 2003)
04 Jan 2003; George Shapovalov
initial release (#11677)
GNU Forth is a fast and portable implementation of the ANS Forth language
ebuild submitted by Rafael R. Sevilla
AUX 0.6.2-c-to-forth-to-c.patch 702 RMD160 585cd5b1e215c0644df28b55de47133b88c75bcd SHA1 394b90c041742fb8c0113420c3806340fa2a3ad8 SHA256 f50fae8f741b72d4d07155b96d11e59ba663b330910faf49774ffe14e85f5c5e
AUX 0.6.2-ppc-configure-gentoo.patch 528 RMD160 12719214cd79123a62388c8c69d5db84698e97eb SHA1 bc00a1b23387f092a81b5422e73c2e94c917988e SHA256 868c2951d49bd6752821c885da7fc8e90cb43948c993dfa5c13147de95df2de4
AUX 50gforth-gentoo.el 200 RMD160 79bceb8512f929d2fc9916a9622ef9e466159acf SHA1 fb70db63f220bc5f7c39e5dbdf5c67f581d85031 SHA256 235051d92cd39a0d327246d60555bd8a8386b5b20276aa35fe8bd34565b691f6
AUX gforth.el-gentoo.patch 390 RMD160 4957e9a817bb6bb9e58523285a00b2b3445f65ed SHA1 3782b75e0c8019c2988be9e4655c3a350b547ae2 SHA256 920d8b8e07ab8e81f0fe7883ec8ea34507a33a9db337d5e7725e96f804bbb5aa
DIST 0.6.2-debug.diff 5127 RMD160 eade613904465b02ab8c480f136751fc334fd778 SHA1 188c19d8e7c046355b86da5dc37bcf5e896a341b SHA256 accb5c8b06fd11ff56febd32896678e670d2571a90ce7682dd87bd590e6159cb
DIST gforth-0.6.2.tar.gz 1925536 RMD160 692aa412e59954f87a7b44027901248f8939e9ee SHA1 926faeac7ccc00e86a74954dc7c693b19f13e616 SHA256 28a201ae78b073ef350d7ac4a8283233029c6afe6072620ac6dd6db1d192d462
EBUILD gforth-0.6.2-r1.ebuild 2217 RMD160 e3ec8e2cbfe31442bf2151e6629784a45f5fd4c4 SHA1 a0e4b34abb7d680ebb24dcadd710c7527fd9ccca SHA256 376629a51c2690c1391473db7aa02a6085d31892e180f514103daff879ba8bc3
EBUILD gforth-0.6.2.ebuild 1373 RMD160 4a4ed08b2a79cc87e1d474e826fcfe18b46c91de SHA1 253f366570889b07005124d5f27034c877ab1052 SHA256 79abb9645d3bc1c52b736ee7bf536f430d7a99eff9a1afc2d513d580d468e22e
MISC ChangeLog 3921 RMD160 8dcebbdc2de0c3e5568934c6f8cf26c88c08a4e4 SHA1 d4364df59ab318c96cb2300ce8e036769af57a7b SHA256 686a7a71a9903c2cf9bbf037a39e474979eae09617ac4816f120ef913dd79e46
MISC metadata.xml 241 RMD160 dbd39e15096a9c09432225b4dee87bcadcb33907 SHA1 1beb1a93e4526085c26b282271027ad508b29059 SHA256 950a704ea9fcebef2e688e8bd6e0f0d292c967e246d58e4778b9955b1d615ab4
# Copyright 1999-2008 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.5 2008/03/17 15:56:08 coldwind Exp $
inherit elisp-common eutils toolchain-funcs flag-o-matic
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="~ppc ~x86 ~x86-fbsd"
IUSE="emacs force-reg"
DEPEND="virtual/libc
dev-libs/ffcall
emacs? ( virtual/emacs )"
SITEFILE=50gforth-gentoo.el
pkg_setup() {
if use force-reg; then
while read line; do ewarn "${line}"; done <<'EOF'
You have chosen to enable "force-reg" in USE. From the GForth manual
(http://www.public.iastate.edu/~forth/gforth_141.html):
"This feature not only depends on the machine, but also on the
compiler version: On some machines some compiler versions produce
incorrect code when certain explicit register declarations are
used. So by default -DFORCE_REG is not used."
EOF
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${PV}-ppc-configure-gentoo.patch # Bug #131931
epatch "${FILESDIR}"/gforth.el-gentoo.patch
epatch "${FILESDIR}"/${PV}-c-to-forth-to-c.patch
epatch "${DISTDIR}"/${PV}-debug.diff
}
src_compile() {
filter-flags -Os -O0 -O1 -DFORCE_REG # Bug #120159
append-flags -O2 # Bug #120159
econf CC="$(tc-getCC) -fno-reorder-blocks -fno-inline" \
`use_enable force-reg 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
}
# Copyright 1999-2008 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.ebuild,v 1.13 2008/01/11 21:56:14 grobian 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"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="emacs"
DEPEND="virtual/libc
emacs? ( virtual/emacs )"
SITEFILE=50gforth-gentoo.el
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/gforth.el-gentoo.patch || die
}
src_compile() {
econf CC="$(tc-getCC) -fno-reorder-blocks -fno-inline" --enable-force-reg || die "econf failed"
make || die
use emacs && emacs --batch -f batch-byte-compile --no-site-file --no-init-file *.el
}
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
}