From unknown Sat Sep 13 01:26:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26680: [PATCH] gnu: Add mes. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 27 Apr 2017 14:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 26680@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149330241832600 (code B ref -1); Thu, 27 Apr 2017 14:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Apr 2017 14:13:38 +0000 Received: from localhost ([127.0.0.1]:42944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3kAm-0008Te-I3 for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3kAj-0008TR-3T for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3kAb-0007NP-9Q for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3kAb-0007NF-4g for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3kAZ-0000Qe-JB for guix-patches@gnu.org; Thu, 27 Apr 2017 10:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3kAY-0007MD-CC for guix-patches@gnu.org; Thu, 27 Apr 2017 10:13:19 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3kAR-0007JQ-Qs; Thu, 27 Apr 2017 10:13:11 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:58226 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d3kAR-00074p-9L; Thu, 27 Apr 2017 10:13:11 -0400 From: Jan Nieuwenhuizen Date: Thu, 27 Apr 2017 16:13:08 +0200 Message-ID: <87y3umszuz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Hi! I give you Mes ;-) Figure this first self-hosting version deserves a place in Guix. Mes should not have any dependencies of course; the fact it lists Guile, Gcc, i686-binutils, i686-gcc and Perl is because we're still bootstrapping. When Mes is able to compile Gcc and close the full source bootstrapping loop, all dependencies will be gone. Greetings, janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-mes.patch Content-Transfer-Encoding: quoted-printable >From 718f539b6875de37064b041ad9d65770ef8611a4 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 27 Apr 2017 15:43:22 +0200 Subject: [PATCH] gnu: Add mes. * gnu/packages/mes.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/mes.scm | 72 ++++++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 73 insertions(+) create mode 100644 gnu/packages/mes.scm diff --git a/gnu/local.mk b/gnu/local.mk index 6ad10fb89..0fdc98702 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -257,6 +257,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/maths.scm \ %D%/packages/mc.scm \ %D%/packages/mcrypt.scm \ + %D%/packages/mes.scm \ %D%/packages/messaging.scm \ %D%/packages/mingw.scm \ %D%/packages/mg.scm \ diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm new file mode 100644 index 000000000..32f97c5ab --- /dev/null +++ b/gnu/packages/mes.scm @@ -0,0 +1,72 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2017 Jan Nieuwenhuizen +;;; +;;; 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 mes) + #:use-module (gnu packages) + #:use-module (gnu packages base) + #:use-module (gnu packages commencement) + #:use-module (gnu packages cross-base) + #:use-module (gnu packages gcc) + #:use-module (gnu packages guile) + #:use-module (gnu packages package-management) + #:use-module (gnu packages perl) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public mes + (let ((triplet "i686-unknown-linux-gnu")) + (package + (name "mes") + (version "0.5.a437c173") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/janneke/mes") + (commit "a437c173b9da1949ad966fd50dd4f26e522a910a"))) + (file-name (string-append name "-" version)) + (sha256 + (base32 "1ynr0hc0k15307sgzv09k3y5rvy46h0wbh7zcblx1f9v7y8k= 90zv")))) + (build-system gnu-build-system) + (supported-systems '("x86_64-linux")) + (native-inputs + `(("guile" ,guile-2.2) + ("gcc" ,gcc-toolchain-4.9) + ;; Use cross-compiler rather than #:system "i686-linux" to get + ;; MesCC 64 bit .go files installed ready for use with Guile. + ("i686-linux-binutils" ,(cross-binutils triplet)) + ("i686-linux-gcc" ,(let ((triplet triplet)) (cross-gcc triplet))) + ("perl" ,perl))) ; build-aux/gitlog-to-changelog + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'generate-changelog + (lambda _ + (with-output-to-file "ChangeLog" + (lambda () + (display "Please run + build-aux/gitlog-to-changelog --srcdir=3D > ChangeLog\n"= ))) + #t))))) + (synopsis "Maxwell Equations of Software") + (description + "Mes aims to create full source bootstrapping for GuixSD. It +consists of a mutual self-hosting [close to Guile-] Scheme interpreter +prototype in C and a Nyacc-based C compiler in [Guile] Scheme.") + (home-page "https://gitlab.com/janneke/mes") + (license gpl3+)))) --=20 2.12.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 --=-=-=-- From unknown Sat Sep 13 01:26:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26680: [PATCH] gnu: Add mes. Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Apr 2017 15:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jan Nieuwenhuizen Cc: 26680@debbugs.gnu.org Received: via spool by 26680-submit@debbugs.gnu.org id=B26680.149347884818094 (code B ref 26680); Sat, 29 Apr 2017 15:15:02 +0000 Received: (at 26680) by debbugs.gnu.org; 29 Apr 2017 15:14:08 +0000 Received: from localhost ([127.0.0.1]:46482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4U4W-0004hm-0o for submit@debbugs.gnu.org; Sat, 29 Apr 2017 11:14:08 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:42278 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4U4Q-0004hB-GD for 26680@debbugs.gnu.org; Sat, 29 Apr 2017 11:14:06 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 4F31D517B91; Sat, 29 Apr 2017 17:14:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493478841; bh=QZGAYpQ9Qz01mlDyUOBUUKEkH13FIAijwd2r6/V46b8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=vyBTq32JRxq9kWASywh8kENcEnHavD5AbPYDQUO5InN9OXbd5hm83B76Vm/GABelK r91x1Evs9FM+wmGanFsFqhkvLZTdPCx3wBb3bmzWs4/hl4pELgQUof0jTBbHR/o9+r SGXpFWz8KpSaCG8T9e4xZAigYerU2meKFGQy1kaA= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 From: Kei Kebreau DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493478840; bh=QZGAYpQ9Qz01mlDyUOBUUKEkH13FIAijwd2r6/V46b8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=iJOlUvb0AA/iSpIWd2oUWJZH/NZCSc8aF0Ii7RFoepNxU77LaobWBvta2J1vt4zUq C1Wi+Tzw1DUN9+6LbCsymXVoX3n6yqF/aurCWXAzZFdeLY4lO+gAVTBJJM4XlMOhex 37GAh4BS6CVraFbS8lJkd6+LRJ4wLAP4uVnvOBr4= References: <87y3umszuz.fsf@gnu.org> Date: Sat, 29 Apr 2017 11:13:44 -0400 In-Reply-To: <87y3umszuz.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Thu, 27 Apr 2017 16:13:08 +0200") Message-ID: <878tmjp7pz.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.8 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.8 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jan Nieuwenhuizen writes: > Hi! > > I give you Mes ;-) > > Figure this first self-hosting version deserves a place in Guix. Mes > should not have any dependencies of course; the fact it lists Guile, > Gcc, i686-binutils, i686-gcc and Perl is because we're still > bootstrapping. > > When Mes is able to compile Gcc and close the full source bootstrapping > loop, all dependencies will be gone. > > Greetings, > janneke > >>>From 718f539b6875de37064b041ad9d65770ef8611a4 Mon Sep 17 00:00:00 2001 > From: Jan Nieuwenhuizen > Date: Thu, 27 Apr 2017 15:43:22 +0200 > Subject: [PATCH] gnu: Add mes. > > * gnu/packages/mes.scm: New file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > --- > gnu/local.mk | 1 + > gnu/packages/mes.scm | 72 ++++++++++++++++++++++++++++++++++++++++++++++= ++++++ > 2 files changed, 73 insertions(+) > create mode 100644 gnu/packages/mes.scm > > diff --git a/gnu/local.mk b/gnu/local.mk > index 6ad10fb89..0fdc98702 100644 > --- a/gnu/local.mk > +++ b/gnu/local.mk > @@ -257,6 +257,7 @@ GNU_SYSTEM_MODULES =3D \ > %D%/packages/maths.scm \ > %D%/packages/mc.scm \ > %D%/packages/mcrypt.scm \ > + %D%/packages/mes.scm \ > %D%/packages/messaging.scm \ > %D%/packages/mingw.scm \ > %D%/packages/mg.scm \ > diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm > new file mode 100644 > index 000000000..32f97c5ab > --- /dev/null > +++ b/gnu/packages/mes.scm > @@ -0,0 +1,72 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =C2=A9 2017 Jan Nieuwenhuizen > +;;; > +;;; 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 mes) > + #:use-module (gnu packages) > + #:use-module (gnu packages base) > + #:use-module (gnu packages commencement) > + #:use-module (gnu packages cross-base) > + #:use-module (gnu packages gcc) > + #:use-module (gnu packages guile) > + #:use-module (gnu packages package-management) > + #:use-module (gnu packages perl) > + #:use-module (guix build-system gnu) > + #:use-module (guix git-download) > + #:use-module (guix licenses) > + #:use-module (guix packages)) > + > +(define-public mes > + (let ((triplet "i686-unknown-linux-gnu")) > + (package > + (name "mes") > + (version "0.5.a437c173") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://gitlab.com/janneke/mes") > + (commit "a437c173b9da1949ad966fd50dd4f26e522a910a"= ))) > + (file-name (string-append name "-" version)) > + (sha256 > + (base32 "1ynr0hc0k15307sgzv09k3y5rvy46h0wbh7zcblx1f9v7y= 8k90zv")))) > + (build-system gnu-build-system) > + (supported-systems '("x86_64-linux")) > + (native-inputs > + `(("guile" ,guile-2.2) > + ("gcc" ,gcc-toolchain-4.9) > + ;; Use cross-compiler rather than #:system "i686-linux" to get > + ;; MesCC 64 bit .go files installed ready for use with Guile. > + ("i686-linux-binutils" ,(cross-binutils triplet)) > + ("i686-linux-gcc" ,(let ((triplet triplet)) (cross-gcc triplet)= )) > + ("perl" ,perl))) ; build-aux/gitlog-to-changelog > + (arguments > + `(#:phases > + (modify-phases %standard-phases > + (add-before 'install 'generate-changelog > + (lambda _ > + (with-output-to-file "ChangeLog" > + (lambda () > + (display "Please run > + build-aux/gitlog-to-changelog --srcdir=3D > ChangeLog\= n"))) > + #t))))) > + (synopsis "Maxwell Equations of Software") > + (description > + "Mes aims to create full source bootstrapping for GuixSD. It > +consists of a mutual self-hosting [close to Guile-] Scheme interpreter > +prototype in C and a Nyacc-based C compiler in [Guile] Scheme.") > + (home-page "https://gitlab.com/janneke/mes") > + (license gpl3+)))) > --=20 > 2.12.2 Nifty! Everything builds reproducibly and lints fine for me. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlkEraoACgkQ5qXuPBlG eg2bSxAAoLemGaUjDb2RGOX5efcCSl0L+sUh3JzrACnfuGBVBkqSVYNucMcdBV6v z7IRE7kfiDF43LEuN2fHiHfTpvfIutSUfzZLVQbD2+B4u0cKA762Dm2YgxVKEB/5 AdkbdS1cZ/N4E1RgPRKiu+7t9NU8tp1Ua5HxCWQoPKqsJQ04tpC00coaDMh3Y/Z9 XPjBxe0xCPuJ5Ld/6RzYweSodQFqmNGdJV2t83cwtr9VpWFG6vZfCaBRAmURXS6v 6jX9xtFyGe9y9tca/8/PUPccN45dmhsdBNrrj/7IG0F1aVQAFGZJQytoW0tCeJHu 3Kzrih3Xziy7lz+ck2hjU6C0TFDol5RAYMVFAo5PTmnDuRx43QgIqm6HtOvtlZ+v 9GKITrS1LTrhYzYOAP2cnESI6b7+uxdctPLG7w+iSPN6xdk//6+b4OJnlCtfSRrl ithUcxjG0Z/PAQcbD2HLZ4oGaRpxOLD4nreL7eANSM/USGH/7VveDUoXa/BZzkQ7 Q75/WfckvBpwD/R6WtilzDaLIsB7EuB+hiNLGpCuedpTLcNgW9wAL1Ava4vq+2RE MLeZuRCCwHmOy+GUPFCTJNLJw/fCgIHuqbVLHiG4lATyRr4gEI77riPCJt/wh2TZ tOPTbq9WuzmfcEX561yW6+24a8Q71w98AjHMdobFWwVxnSluazM= =SRry -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Sep 13 01:26:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26680: [PATCH] gnu: Add mes. Resent-From: Jan Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 May 2017 07:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26680 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Kei Kebreau Cc: 26680@debbugs.gnu.org Received: via spool by 26680-submit@debbugs.gnu.org id=B26680.149379712015644 (code B ref 26680); Wed, 03 May 2017 07:39:01 +0000 Received: (at 26680) by debbugs.gnu.org; 3 May 2017 07:38:40 +0000 Received: from localhost ([127.0.0.1]:51846 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5orw-00044G-Gt for submit@debbugs.gnu.org; Wed, 03 May 2017 03:38:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5orv-000442-Hd for 26680@debbugs.gnu.org; Wed, 03 May 2017 03:38:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5orn-0000CM-7d for 26680@debbugs.gnu.org; Wed, 03 May 2017 03:38:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5ord-0008Rg-Sm; Wed, 03 May 2017 03:38:21 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:47404 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5ord-0005W9-6N; Wed, 03 May 2017 03:38:21 -0400 From: Jan Nieuwenhuizen Organization: AvatarAcademy.nl References: <87y3umszuz.fsf@gnu.org> <878tmjp7pz.fsf@openmailbox.org> X-Url: http://AvatarAcademy.nl Date: Wed, 03 May 2017 09:38:17 +0200 In-Reply-To: <878tmjp7pz.fsf@openmailbox.org> (Kei Kebreau's message of "Sat, 29 Apr 2017 11:13:44 -0400") Message-ID: <87o9va2xw6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Kei Kebreau writes: > Jan Nieuwenhuizen writes: > >> Hi! >> >> I give you Mes ;-) > > Nifty! Everything builds reproducibly and lints fine for me. Great, thanks for checking! What happens now, [how] can I help? Greetings, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 From unknown Sat Sep 13 01:26:50 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jan Nieuwenhuizen Subject: bug#26680: closed (Re: bug#26680: [PATCH] gnu: Add mes.) Message-ID: References: <87bmrarppi.fsf@gnu.org> <87y3umszuz.fsf@gnu.org> X-Gnu-PR-Message: they-closed 26680 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 26680@debbugs.gnu.org Date: Wed, 03 May 2017 14:17:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1493821023-32587-1" This is a multi-part message in MIME format... ------------=_1493821023-32587-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26680: [PATCH] gnu: Add mes. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 26680@debbugs.gnu.org. --=20 26680: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26680 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1493821023-32587-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26680-done) by debbugs.gnu.org; 3 May 2017 14:16:16 +0000 Received: from localhost ([127.0.0.1]:52927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5v4i-0008Sb-As for submit@debbugs.gnu.org; Wed, 03 May 2017 10:16:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5v4g-0008SO-16 for 26680-done@debbugs.gnu.org; Wed, 03 May 2017 10:16:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d5v4X-0008WO-Hv for 26680-done@debbugs.gnu.org; Wed, 03 May 2017 10:16:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d5v4O-0008Qc-AA; Wed, 03 May 2017 10:15:56 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:34414 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d5v4N-0004xC-KS; Wed, 03 May 2017 10:15:55 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Jan Nieuwenhuizen Subject: Re: bug#26680: [PATCH] gnu: Add mes. References: <87y3umszuz.fsf@gnu.org> <878tmjp7pz.fsf@openmailbox.org> <87o9va2xw6.fsf@gnu.org> Date: Wed, 03 May 2017 16:15:53 +0200 In-Reply-To: <87o9va2xw6.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Wed, 03 May 2017 09:38:17 +0200") Message-ID: <87bmrarppi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26680-done Cc: 26680-done@debbugs.gnu.org, Kei Kebreau X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Jan, Committed! I=E2=80=99ve removed =E2=80=98gcc-toolchain-4.9=E2=80=99 from t= he inputs, it was apparently not needed. In the future it would be nice to unbundle nyacc from there as well. I=E2=80=99ve added a TODO about it. These are exciting developments, thank you! Ludo=E2=80=99. ------------=_1493821023-32587-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 27 Apr 2017 14:13:38 +0000 Received: from localhost ([127.0.0.1]:42944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3kAm-0008Te-I3 for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3kAj-0008TR-3T for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3kAb-0007NP-9Q for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d3kAb-0007NF-4g for submit@debbugs.gnu.org; Thu, 27 Apr 2017 10:13:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3kAZ-0000Qe-JB for guix-patches@gnu.org; Thu, 27 Apr 2017 10:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3kAY-0007MD-CC for guix-patches@gnu.org; Thu, 27 Apr 2017 10:13:19 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43889) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3kAR-0007JQ-Qs; Thu, 27 Apr 2017 10:13:11 -0400 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:58226 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d3kAR-00074p-9L; Thu, 27 Apr 2017 10:13:11 -0400 From: Jan Nieuwenhuizen To: guix-patches@gnu.org Subject: [PATCH] gnu: Add mes. Date: Thu, 27 Apr 2017 16:13:08 +0200 Message-ID: <87y3umszuz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain Hi! I give you Mes ;-) Figure this first self-hosting version deserves a place in Guix. Mes should not have any dependencies of course; the fact it lists Guile, Gcc, i686-binutils, i686-gcc and Perl is because we're still bootstrapping. When Mes is able to compile Gcc and close the full source bootstrapping loop, all dependencies will be gone. Greetings, janneke --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-Add-mes.patch Content-Transfer-Encoding: quoted-printable >From 718f539b6875de37064b041ad9d65770ef8611a4 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Thu, 27 Apr 2017 15:43:22 +0200 Subject: [PATCH] gnu: Add mes. * gnu/packages/mes.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. --- gnu/local.mk | 1 + gnu/packages/mes.scm | 72 ++++++++++++++++++++++++++++++++++++++++++++++++= ++++ 2 files changed, 73 insertions(+) create mode 100644 gnu/packages/mes.scm diff --git a/gnu/local.mk b/gnu/local.mk index 6ad10fb89..0fdc98702 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -257,6 +257,7 @@ GNU_SYSTEM_MODULES =3D \ %D%/packages/maths.scm \ %D%/packages/mc.scm \ %D%/packages/mcrypt.scm \ + %D%/packages/mes.scm \ %D%/packages/messaging.scm \ %D%/packages/mingw.scm \ %D%/packages/mg.scm \ diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm new file mode 100644 index 000000000..32f97c5ab --- /dev/null +++ b/gnu/packages/mes.scm @@ -0,0 +1,72 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2017 Jan Nieuwenhuizen +;;; +;;; 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 mes) + #:use-module (gnu packages) + #:use-module (gnu packages base) + #:use-module (gnu packages commencement) + #:use-module (gnu packages cross-base) + #:use-module (gnu packages gcc) + #:use-module (gnu packages guile) + #:use-module (gnu packages package-management) + #:use-module (gnu packages perl) + #:use-module (guix build-system gnu) + #:use-module (guix git-download) + #:use-module (guix licenses) + #:use-module (guix packages)) + +(define-public mes + (let ((triplet "i686-unknown-linux-gnu")) + (package + (name "mes") + (version "0.5.a437c173") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/janneke/mes") + (commit "a437c173b9da1949ad966fd50dd4f26e522a910a"))) + (file-name (string-append name "-" version)) + (sha256 + (base32 "1ynr0hc0k15307sgzv09k3y5rvy46h0wbh7zcblx1f9v7y8k= 90zv")))) + (build-system gnu-build-system) + (supported-systems '("x86_64-linux")) + (native-inputs + `(("guile" ,guile-2.2) + ("gcc" ,gcc-toolchain-4.9) + ;; Use cross-compiler rather than #:system "i686-linux" to get + ;; MesCC 64 bit .go files installed ready for use with Guile. + ("i686-linux-binutils" ,(cross-binutils triplet)) + ("i686-linux-gcc" ,(let ((triplet triplet)) (cross-gcc triplet))) + ("perl" ,perl))) ; build-aux/gitlog-to-changelog + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'install 'generate-changelog + (lambda _ + (with-output-to-file "ChangeLog" + (lambda () + (display "Please run + build-aux/gitlog-to-changelog --srcdir=3D > ChangeLog\n"= ))) + #t))))) + (synopsis "Maxwell Equations of Software") + (description + "Mes aims to create full source bootstrapping for GuixSD. It +consists of a mutual self-hosting [close to Guile-] Scheme interpreter +prototype in C and a Nyacc-based C compiler in [Guile] Scheme.") + (home-page "https://gitlab.com/janneke/mes") + (license gpl3+)))) --=20 2.12.2 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.nl= =20=20 --=-=-=-- ------------=_1493821023-32587-1--