From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH](WIP) gforth. looking for someone with interest in this to take over. Date: Fri, 23 Sep 2016 20:36:17 +0000 Message-ID: <87r38apd4u.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnXDb-0001cM-3t for guix-devel@gnu.org; Fri, 23 Sep 2016 16:37:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnXDZ-0006Fs-Mv for guix-devel@gnu.org; Fri, 23 Sep 2016 16:37:11 -0400 Received: from aibo.runbox.com ([91.220.196.211]:40477) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnXDZ-0006Du-Ai for guix-devel@gnu.org; Fri, 23 Sep 2016 16:37:09 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bnXDX-00080A-2l for guix-devel@gnu.org; Fri, 23 Sep 2016 22:37:07 +0200 Received: from x5d83eb83.dyn.telefonica.de ([93.131.235.131] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bnXCk-0005il-US for guix-devel@gnu.org; Fri, 23 Sep 2016 22:36:19 +0200 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain it's better to focus on one thing, and for me the things I need to focus on are not including gforth. If anyone wants to take over, feel free to do so. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-gforth.patch Content-Transfer-Encoding: quoted-printable From=20d93db05f02603911abaab4911939b3c7930382a3 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 17 Sep 2016 20:23:34 +0000 Subject: [PATCH 1/2] gnu: Add gforth. * gnu/packages/forth.scm (gforth): New variable. =2D-- gnu/packages/forth.scm | 67 ++++++++++++++++++++++++++++++++++++++++++++++= ++++ 1 file changed, 67 insertions(+) create mode 100644 gnu/packages/forth.scm diff --git a/gnu/packages/forth.scm b/gnu/packages/forth.scm new file mode 100644 index 0000000..2e720d7 =2D-- /dev/null +++ b/gnu/packages/forth.scm @@ -0,0 +1,67 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2016 ng0 +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages forth) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system gnu) + #:use-module (gnu packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages emacs) + #:use-module (gnu packages base) + #:use-module (gnu packages linux) + #:use-module (gnu packages m4) + #:use-module (gnu packages libffcall)) + +(define-public gforth + (package + (name "gforth") + (version "0.7.3") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnu/gforth/gforth-" + version ".tar.gz")) + (sha256 + (base32 + "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig")))) + (build-system gnu-build-system) + (inputs + `(("libffcall" ,libffcall) + ("linux-libre-headers" ,linux-libre-headers))) + ;;("emacs-no-x" ,emacs-no-x))) + (native-inputs + `(("automake" ,automake) + ("autoconf" ,autoconf) + ("libtool" ,libtool) + ("glibc" ,glibc) + ("m4" ,m4))) + (arguments + `(#:parallel-build? #f + #:make-flags (list "CC=3Dgcc" "CFLAGS+=3D-std=3Dgnu99" + (string-append + "PREFIX=3D" (assoc-ref %outputs "out"))))) + ;; -std=3Dc99 ??? or -std=3Dgnu99 + (synopsis + "GNU Forth is a fast and portable implementation of the +ANSI Forth language") + (description + "Gforth is the Forth implementation of the GNU project. +Gforth is fully ANS FORTH compliant.") + (home-page "https://www.gnu.org/software/gforth/") + (license license:gpl3))) =2D-=20 2.10.0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 ng0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJX5ZJBAAoJEAKilhUMIBgjb1wQALxhfwRBnwu13hxjMArd8hSz dTKvkz++u7HWRzeLv7VfLMT8i3rd06UL0PfwpF1cyMhidvxV34clCKLoi66Rfmeo 9D4Bkagq6CHcZDBNEZZHhiCFqmzEEQQls2NjzH3q5AHAeQFR51AepMc33qKTOBEE zKultSXPUR/9Wdrydn9zvm9rHFZAekb/aUjC74XYmGbWoSZ34D4tVtKVOrSl/nns Qotj4UO0S/8Kd+mtk3WMsXf6JVLgCpoWuozmS72KLSi9MYHCVeb5Eur5+PwELWFp kcV1mPL/NRXXAfXLoCvt9VzrcS820gEWyhELjJboAqyb9f8Jks0VmxQFZXHZ4QSy LjylPUJ6J4H3elYP4LS3QGheshOjNRXMeMi3UrrWaDpZlAQjG9RIPOxhM9eGDnSI 4wmyePf+0a0FbGKYbVnBUusmtIO1Beq6v6nmJGD/LlGd+v5JuBTaNOv7FDEUqqLw jwOE1HGBZF59VV1zizK0i5CrtpsP3+EDYXyZNZUGEVCIj4vnKzVKuwjXV3xW4/5H 7G6m4E0g083L8HnPL6l0q+cTyhUyuLTaCV/5NEhbdz1BOJQiqQqumFdfIGDvZFtr 1a0E0o8hum/7jR0rd7+yxhrApTD5jNJ+BCknwJf3OPM/3afE+9Kk/+Bm6W9pGSBO Nimud1eE40asIUqClVa4 =WuML -----END PGP SIGNATURE----- --==-=-=--