From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9w7q-00075Q-Ah for guix-patches@gnu.org; Sun, 14 May 2017 12:12:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9w7m-0006Bx-E5 for guix-patches@gnu.org; Sun, 14 May 2017 12:12:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:42289) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d9w7m-0006Bj-A5 for guix-patches@gnu.org; Sun, 14 May 2017 12:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d9w7m-0002il-5g for guix-patches@gnu.org; Sun, 14 May 2017 12:12:02 -0400 Subject: bug#26926: [PATCH] gnu: update Mes to 0.6. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43226) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9w7U-00073g-ES for guix-patches@gnu.org; Sun, 14 May 2017 12:11:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9w7T-0005vG-Aw for guix-patches@gnu.org; Sun, 14 May 2017 12:11:44 -0400 From: Jan Nieuwenhuizen Date: Sun, 14 May 2017 18:11:33 +0200 Message-ID: <87inl3770q.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26926@debbugs.gnu.org --=-=-= Content-Type: text/plain Hi! Mes 0.6 for Guix. Nyacc is now unbundled. Mescc works with vanilla Nyacc. Mescc behaves more like a regular C compiler and now passes 33/55 tests of the tinycc test2 test suite. Mescc can also be used as a Nyacc C compiler backend for Guile (x86 only). Greetings, janneke --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-update-Mes-to-0.6.patch >From f84c29fa5947051033d022dcb02496d8f8e14d28 Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Sun, 14 May 2017 11:35:30 +0200 * gnu/packages/mes.scm (mes): Update to 0.6. --- gnu/packages/mes.scm | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/gnu/packages/mes.scm b/gnu/packages/mes.scm index 84d6f8ff7..e1bae78ef 100644 --- a/gnu/packages/mes.scm +++ b/gnu/packages/mes.scm @@ -54,30 +54,35 @@ extensive examples, including parsers for the Javascript and C99 languages.") (license (list gpl3+ lgpl3+)))) (define-public mes - (let ((commit "a437c173b9da1949ad966fd50dd4f26e522a910a") + (let ((commit "d4420bbcc9f994e2cce430cf156f383dc4092bca") (revision "0") - (triplet "i686-unknown-linux-gnu")) + (triplet "i686-unknown-linux-gnu") + (version "0.6")) (package (name "mes") - (version (string-append "0.5-" revision "." (string-take commit 7))) + (version (string-append version "-" revision "." (string-take commit 7))) (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.com/janneke/mes") (commit commit))) (file-name (string-append name "-" version)) - ;; TODO: Unbundle nyacc. (sha256 - (base32 "1ynr0hc0k15307sgzv09k3y5rvy46h0wbh7zcblx1f9v7y8k90zv")))) + (base32 "0qqywk3siyhf08v7xac08lqldklrqfndlp495wgy6ii9fn93197k")))) (build-system gnu-build-system) - (supported-systems '("x86_64-linux")) + (supported-systems '("i686-linux" "x86_64-linux")) + (propagated-inputs + `(("nyacc" ,nyacc))) (native-inputs `(("guile" ,guile-2.2) - ;; 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 + ,@(if (or (equal? (%current-system) "x86_64-linux") + (equal? (%current-target-system) "x86_64-linux")) + ;; 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" ,(cross-gcc triplet))) + '()) + ("perl" ,perl))) ;build-aux/gitlog-to-changelog (arguments `(#:phases (modify-phases %standard-phases -- 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.com --=-=-=--