Package Details: gforth 0.7.3-6

Git Clone URL: https://aur.archlinux.org/gforth.git (read-only, click to copy)
Package Base: gforth
Description: Fast and portable implementation of the ANS Forth language
Upstream URL: http://www.gnu.org/software/gforth/
Licenses: GPL-3.0-or-later
Submitter: Allan
Maintainer: envolution
Last Packager: envolution
Votes: 53
Popularity: 0.195506
First Submitted: 2008-12-28 12:46 (UTC)
Last Updated: 2025-05-04 11:09 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

envolution commented on 2024-12-15 01:42 (UTC) (edited on 2024-12-15 01:42 (UTC) by envolution)

this should be working now, please let me know if there are issues

Changes:
-included various debian patches
-custom patch to get deal with some libffi issues I was seeing that seems specific to Arch
-included docs and more as suggested below
-included html docs in /usr/share/doc/gforth/gforth_html
-removed emacs/vim files as I believe it's better managed by gforth-git

This package appears to be a requirement for gforth-git which is a much more recent development version than this package.

cosarara97 commented on 2024-06-16 12:36 (UTC)

An updated PKGBUILD for the latest 0.7.9 snapshot:

# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Jason Chu <jason@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=gforth
pkgver=0.7.9_20240613
pkgrel=1
url="http://www.gnu.org/software/gforth/"
pkgdesc="Fast and portable implementation of the ANS Forth language"
arch=('i686' 'x86_64' 'armv6h')
license=('GPL3')
makedepends('texlive-basic')
depends=('libtool' 'freetype2' 'mesa' 'glew' 'libx11' 'libxrandr'
    'glfw' 'harfbuzz' 'gstreamer' 'gst-plugins-base-libs' 'opus'
    'libpulse' 'libpipewire' 'wayland' 'unzip' 'texinfo' 'wayland'
    'wayland-protocols' 'libxkbcommon' 'stb')
source=("http://www.complang.tuwien.ac.at/forth/$pkgname/Snapshots/$pkgver/$pkgname-$pkgver.tar.xz")
md5sums=('e723cef6be6ae68395859b116651d6a9')
options=('libtool')
install=gforth.install

build() {
    cd "$srcdir/$pkgname-$pkgver"
    # no-error on format security because the pipewire lib has it
    # no error on implicit-function-declaration because the gl lib has it
    CFLAGS="$CFLAGS -Wno-error=format-security -Wno-error=implicit-function-declaration" ./configure --prefix=/usr
    make -j $(nproc) PREFIX=/usr
    make -j $(nproc) PREFIX=/usr doc
    make -j $(nproc) PREFIX=/usr more
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    make -j1 PREFIX=/usr DESTDIR="$pkgdir" install
}

susurri commented on 2023-08-30 22:51 (UTC)

gforth runs very slowly because it is compiled with -O1 as CFLAGS is just '-std=gnu99'. Can you change the CFLAGS to CFLAGS="$CFLAGS -std=gnu99" to respect /etc/makepkg.conf?

E6rphanas commented on 2023-06-01 00:11 (UTC)

new version for gforth is 0.7.9, please update this package

https://git.savannah.gnu.org/cgit/gforth.git

tslil commented on 2020-04-30 02:56 (UTC) (edited on 2020-04-30 02:56 (UTC) by tslil)

Here is a slightly updated PKGBUILD. In particular it builds the docs, makes use of $(nproc), and copies over the Emacs gforth.el file to where it should be.

http://math.jhu.edu/~tclingm1/store/PKGBUILD

@keenerd, do you still maintain this package?

cym13 commented on 2015-06-06 20:32 (UTC)

Hi, could we get an update on this please? Otherwise please, consider marking it as orphaned.

lowfatcomputing commented on 2013-04-13 21:31 (UTC)

Hello, here is an updated PKGBUILD with version bump and a number of fixes: http://pastebin.com/iZYnM5Vr

srl commented on 2013-01-09 04:30 (UTC)

Ah, I didn't know that; sorry.

keenerd commented on 2013-01-09 04:28 (UTC)

Sorry, but no. m4 is part of base-devel and we don't ever include those as makedeps.

srl commented on 2012-12-28 22:16 (UTC)

Also requires m4 to build - please add.