Package Details: gforth-git 20231204-1

Git Clone URL: https://aur.archlinux.org/gforth-git.git (read-only, click to copy)
Package Base: gforth-git
Description: Gforth is the Forth implementation of the GNU project.
Upstream URL: https://www.gnu.org/software/gforth
Licenses: GPLv3
Conflicts: gforth
Provides: gforth
Submitter: b4283
Maintainer: b4283
Last Packager: b4283
Votes: 1
Popularity: 0.000000
First Submitted: 2018-02-06 16:24 (UTC)
Last Updated: 2023-12-07 12:16 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

Kimapr commented on 2023-12-07 06:33 (UTC) (edited on 2023-12-07 06:33 (UTC) by Kimapr)

From 11c59f5fc9617afcacdba82dad12ab987fedb820 Mon Sep 17 00:00:00 2001
From: Kimapr <kimapr@mail.ru>
Date: Thu, 7 Dec 2023 11:29:23 +0500
Subject: [PATCH] Fix missing autoconf and automake dependency

---
 PKGBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 56b2fee..ec42ede 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 pkgname=gforth-git
-pkgver=20181103
+pkgver=20231204
 pkgrel=1
 pkgdesc="Gforth is the Forth implementation of the GNU project."
 arch=(i686 x86_64)
 url="https://www.gnu.org/software/gforth"
 license=('GPLv3')
 depends=()
-makedepends=("make" "git" "gforth" "texinfo")
+makedepends=("make" "git" "gforth" "texinfo" "automake" "autoconf")
 provides=("gforth")
 conflicts=("gforth")
 source=('git+https://git.savannah.gnu.org/git/gforth.git')
-- 
2.43.0

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

please update version number, new gforth is 0.7.9_20230518

acdw commented on 2021-04-01 03:04 (UTC)

gforth also requires 'tex' binary to for make doc .. does that need to be a build dependency? Or am I missing a common dependency?

alex.shpilkin commented on 2019-02-15 15:11 (UTC)

Also, a minor problem: Gforth now reports the original locations of redefined words, but the way it's built here causes it to report relative paths for its own libraries (usr should be /usr):

condit.fth:35:35: warning: redefined catch with CATCH
usr/share/gforth/0.7.9_20190214/kernel/basics.fs:240:7: warning: original location

alex.shpilkin commented on 2019-02-15 15:07 (UTC)

Need to comment out the chcon call in configure.ac to make this build properly (I don’t use SELinux). No idea if this is a Gforth problem or an SELinux one, but this “fix” would probably break the build on an SELinux system.

diff -aur -x .git src.old/gforth/configure.ac src/gforth/configure.ac
--- src.old/gforth/configure.ac 2019-02-15 18:04:08.167472880 +0300
+++ src/gforth/configure.ac 2019-02-15 18:02:27.142686145 +0300
@@ -963,7 +963,7 @@

 #work around SELinux brain damage (from Andrew Haley <12t8f3jakb74g2c@news.supernews.com>)
 #This magic incantation  seems to be completely undocumented.
-AC_CHECK_PROG([MASSAGE_EXE],[chcon],[chcon -t unconfined_execmem_exec_t],[true])
+dnl AC_CHECK_PROG([MASSAGE_EXE],[chcon],[chcon -t unconfined_execmem_exec_t],[true])

 #Now a little support for DOS/DJGCC
 GFORTHFAST_EXE="$GFORTH_EXE"

b4283 commented on 2018-11-04 16:09 (UTC)

Great. Let me merge that real quick. Thanks for the inputs!!

backerman commented on 2018-11-04 02:00 (UTC) (edited on 2018-11-04 02:00 (UTC) by backerman)

Needs to build info pages. This patch will do it (mostly - doesn't package non-info formats):

diff --git a/PKGBUILD b/PKGBUILD
index 2b647f8..4f26c3a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
 pkgname=gforth-git
-pkgver=20180206
+pkgver=20181103
 pkgrel=1
 pkgdesc="Gforth is the Forth implementation of the GNU project."
 arch=(i686 x86_64)
 url="https://www.gnu.org/software/gforth"
 license=('GPLv3')
 depends=()
-makedepends=("make" "git" "gforth")
+makedepends=("make" "git" "gforth" "texinfo")
 provides=("gforth")
 conflicts=("gforth")
 source=('git+https://git.savannah.gnu.org/git/gforth.git')
@@ -21,7 +21,9 @@ build() {
        cd "$srcdir/gforth"
        ./autogen.sh
        ./configure --prefix=/usr
-       make -j $(nproc)
+       make -j $(nproc) && \
+       make -j $(nproc) doc && \
+  make -j $(nproc) more
 }

 check() {