Package Details: gforth-git 20180206-1

Git Clone URL: https://aur.archlinux.org/gforth-git.git (read-only)
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.008871
First Submitted: 2018-02-06 16:24
Last Updated: 2018-11-04 16:09

Dependencies (3)

Required by (2)

Sources (1)

Latest Comments

alex.shpilkin commented on 2019-02-15 15:11

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

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

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

backerman commented on 2018-11-04 02:00

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() {