GNU bug report logs - #33920
[PATCH] gnu: Add gauche.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Gabriel Hondet <gabrielhondet@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 33920-done <at> debbugs.gnu.org:


Received: (at 33920-done) by debbugs.gnu.org; 16 Jan 2019 10:41:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 16 05:41:24 2019
Received: from localhost ([127.0.0.1]:60736 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjidQ-00085k-BO
	for submit <at> debbugs.gnu.org; Wed, 16 Jan 2019 05:41:24 -0500
Received: from mail-wm1-f68.google.com ([209.85.128.68]:37655)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabrielhondet@HIDDEN>) id 1gjidO-00085V-Ft
 for 33920-done <at> debbugs.gnu.org; Wed, 16 Jan 2019 05:41:22 -0500
Received: by mail-wm1-f68.google.com with SMTP id g67so1439014wmd.2
 for <33920-done <at> debbugs.gnu.org>; Wed, 16 Jan 2019 02:41:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=FwasKCDPn5FEiERJc7qxaGHsBmZHNuO1AqbwFdsyLWY=;
 b=JEUM0jscMFF6wUDfx95arg5HJYmUSn2jzUJzls+zrVFTjVJt/4LRJCa0L2heyLZYhS
 7ZCJDIYOHV/tbvjz5q/XQU+H0CdEFLOqO813KdmekwqwPJKo2UL3P+XqTj7DEdVsys0g
 nms9xymf/HZn7qbmVnoa4w/PbCZglRPk9854s+0ABha4YXJSSStGHX3aEqKZ1Ypg1U9w
 +RcAmnPtzcQJnpSRvXAC7yVkvG+TUROHHfZkGAzdUcRAvZo02KEa0Ze1j5zQ/JgIpBtj
 h9rDyUcQ97NAcrl0XN5XaYXdgNuFfe+DvjSJ5RDtp1ZAgWVByZPfLcUKCOaQcIDqEE6S
 zTXQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=FwasKCDPn5FEiERJc7qxaGHsBmZHNuO1AqbwFdsyLWY=;
 b=RPHE2WHSkLw79grw3D0wYGQmewIPbDm2mW6a+vDTvz0DzM6wxkGznn7uSbeyKG2qJF
 INqyHw77m7mMU4GKxWFAuLTvRxUmak3DNIr2vd+Lth1SIMPma6/38aBCVQ1SnSv/2B3Y
 vuINXPSJCT8qg5h64WTZyxRgBFRtyWQGmFR/sMWaov0sgMzYlNklXCflpglyJ+jE8x+g
 GASw5sfmp09ftEju3BKO79trfVlWjEfMChgV00fQ04mmy/lzftq410a6ULojPB2L75hE
 jf8qlvMQSkHP9GiXk92vvgOf+CSYBbrgXB2j05L62ds9b8xahNB+9SsWxHd55mdyupEu
 HIHg==
X-Gm-Message-State: AJcUukdpeIXP2ptwTycd41mwMjnUh4Q6uPVTM4TCphn5MhEppuFwWT+b
 cHKLdpa++/8hRzwE7xllHQEPKD6byC8=
X-Google-Smtp-Source: ALg8bN6BSNvSqN5bqVZLKrcISxWu4wR1kikg2FzImLMgrR45XgmrKkakT5KiryLwubEpdehvjA2IFg==
X-Received: by 2002:a1c:c2d4:: with SMTP id s203mr6942735wmf.3.1547635276041; 
 Wed, 16 Jan 2019 02:41:16 -0800 (PST)
Received: from glht-aurore.gmail.com ([217.109.134.89])
 by smtp.gmail.com with ESMTPSA id w80sm46804423wme.38.2019.01.16.02.41.15
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 16 Jan 2019 02:41:15 -0800 (PST)
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN> <87muof8pyk.fsf@HIDDEN>
 <87sgy14yg2.fsf@HIDDEN> <87o98m8961.fsf@HIDDEN> <87k1j847h0.fsf@HIDDEN>
 <87ef9ee3xd.fsf@HIDDEN> <87tvi9ygdr.fsf@HIDDEN>
 <87tvi9ugup.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Gabriel Hondet <gabrielhondet@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Pierre Neidhardt
 <mail@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: gauche: Update to 0.9.7 - removed html
 doc.
In-reply-to: <87tvi9ugup.fsf@HIDDEN>
Date: Wed, 16 Jan 2019 11:41:14 +0100
Message-ID: <87sgxsvq9h.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33920-done
Cc: swedebugia@HIDDEN, 33920-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hello Pierre,

> I've noticed something strange however: in the description, you mention
>=20
> --8<---------------cut here---------------start------------->8---
> There are currently 58 packages available.
> --8<---------------cut here---------------end--------------->8---
>=20
> Isn't it shortsighted?  If another package is added upstream, then the
> description won't match anymore.
>=20
> Why mentioning it at all?

Indeed, here is a new update patch without the number of packages.

* gnu/packages/scheme.scm (gauche): Update to 0.9.7 - removed html doc.
=2D--
 gnu/packages/scheme.scm | 20 +++++++-------------
 1 file changed, 7 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 48b52c7da..44d207f02 100644
=2D-- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -1213,13 +1213,9 @@ The core is 12 builtin special forms and 33 builtin =
functions.")
                (("/bin/sh") (which "sh")))
              #t))
          (add-after 'build 'build-doc
=2D           (lambda* (#:key outputs #:allow-other-keys)
=2D             (let* ((out (assoc-ref outputs "out")))
=2D               (with-directory-excursion "doc"
=2D                 (for-each
=2D                  (lambda (target)
=2D                    (invoke "make" target))
=2D                  '("info" "html" "htmls"))))
+           (lambda* _
+             (with-directory-excursion "doc"
+               (invoke "make" "info"))
              #t))
          (add-before 'check 'patch-normalize-test
            ;; neutralize sys-normalize-pathname test as it relies on
@@ -1235,10 +1231,9 @@ The core is 12 builtin special forms and 33 builtin =
functions.")
                (("binary net termios") "binary termios"))
              #t))
          (add-after 'install 'install-docs
=2D           (lambda* (#:key outputs #:allow-other-keys)
=2D             (let* ((out (assoc-ref outputs "out")))
=2D               (with-directory-excursion "doc"
=2D                 (invoke "make" "install")))
+           (lambda* _
+             (with-directory-excursion "doc"
+               (invoke "make" "install"))
              #t)))))
     (synopsis "Scheme scripting engine")
     (description "Gauche is a R7RS Scheme scripting engine aiming at being=
 a
@@ -1246,6 +1241,5 @@ handy tool that helps programmers and system administ=
rators to write small to
 large scripts quickly.  Quick startup, built-in system interface, native
 multilingual support are some of the goals.  Gauche comes with a package
 manager/installer @code{gauche-package} which can download, compile, insta=
ll
=2Dand list gauche extension packages.  There are currently 58 packages
=2Davailable.")
+and list gauche extension packages.")
     (license bsd-3)))
=2D-=20
2.20.1

Thank you for your interest!
Gabriel

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlw/CkoACgkQMbyBBfZZ
1CXfTQ/9FCXbC8Ml5+ibJEq3exCSyKp7SLop2BhVa3aI4moqulDDTXbgTZeDiQpC
oWdFfkcWMYhCDF8ilD+5PlRoRgA8y0T9zeQeqMbl/vaxKZC2tJjeRhx208z6QSdE
1C9ysTOG9bJ3jbzT6TY9qJ2qb9AoyoISDWbQOe7F3OKGH5Px6KGXOLc+lqoEGPs+
p2DnpnizWBTbqT9aMneMBQLQRo/6MGOpKGwW91Y0v7R6fI703C+cV+1uYIk1u8cQ
haa7T2gqYa/R9HK1TDc01k0azfBdtFj1IKTATqswhTmYlAa5l0onH9xCYpk5n6ve
Ex+YJq8pkaikZrQ/pRJn+qVvKB6VUHLIbY2lWWNMO3KZNgNv73JDw5xynQ22PvFx
Uqs0MdQG8TkrDLtz3QjHmRdx8AOasvX6tqDHDSWIlu70s4XbBl5Ut+eUJGdxKMey
8Vb5oj+XaFYnsvcyLhv0rASgYdDw11+bwXAga4MBLKsy1hFFhH6CWl5gGm1ttuz4
RBR7t6kK0XReFtebKrDkPHihYqhJrtl3AafW4ZhWvYrm52pw0AuvJLZi/YN3N8j+
NUSQYLzlWv1uFhx53S1ywtQLGAXdDRx5Lx7U2ylElAz/OqdUyogdJ5rgKmnG6eLO
EQZGVWQcnk3M9cwRiRG3XuP+4DLoE//rPBeSVoAiJEBBogMojwY=
=X9jG
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at 33920-done <at> debbugs.gnu.org:


Received: (at 33920-done) by debbugs.gnu.org; 16 Jan 2019 08:50:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 16 03:50:06 2019
Received: from localhost ([127.0.0.1]:60642 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjgti-0005Ja-11
	for submit <at> debbugs.gnu.org; Wed, 16 Jan 2019 03:50:06 -0500
Received: from mail-wm1-f65.google.com ([209.85.128.65]:50994)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabrielhondet@HIDDEN>) id 1gjgtg-0005J1-2U
 for 33920-done <at> debbugs.gnu.org; Wed, 16 Jan 2019 03:50:04 -0500
Received: by mail-wm1-f65.google.com with SMTP id n190so1075158wmd.0
 for <33920-done <at> debbugs.gnu.org>; Wed, 16 Jan 2019 00:50:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=ajVHjMz1wEVbO+zTU01yL0y7ilTnUjzubPBR1lkr1PU=;
 b=V0UjVAPEbE1fV1mrwZjJ/iqhMGMXWNzK82wlG629nOiziqL+1y6kuAnAvM4kpskXB1
 UR2Co6nmGUU9gD/Ri2qydWhsUQSARnqqhEqwaRViQKkmifLjoM5rOljJR0S9faSEWCvL
 5B5ZAzZIgnYGoN/OdVqqucjSEidTmNmbg89RYyuRX2gnY0c/jE2xv3pFTI2GV5dE22ot
 B63lx7C1iuN5sAe7i28FKJ4fJxMaI6LUR4oAk8iAG+JalgQk0FyChcziVJL8kboqh76u
 qTyEjgBAW1Wk98q5aQzyRTNc2f3/Of0DrvoyLBG1vl/J7JhhVAvZX56xv4eZIL7mWUJc
 XVrQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=ajVHjMz1wEVbO+zTU01yL0y7ilTnUjzubPBR1lkr1PU=;
 b=rpw7Y03WfVWudAMPDcNBpL6pqDmBOJ7gO3txH3XKbzxfrT4TPumDmUeJ9jvsPMQUlc
 XWVynboGd5gqnIh1xZftz9Y1Z6EwezdrFYVU6vLpsqTzl2Q+SuN8zmsSnEVb2qzzAra6
 MP1CmYQpLK/mXXU2e4kNAqwMyItYFFTv1wXTIiEH5hn5eetdaDtRnghbb9W+86rG/lV1
 oiJHw6trEScCgB6bYa/Prf+7KxgAq6blu1J4yoQc3ytUMlUsad2RwT6jPFYOCumrt8D/
 lkKKSO2FSvbvGFDXGzpOLB5NmI9ZboS4xyUHIVVml2cSJP1fB6WYC2oY86Zn65N+rRvG
 rfFg==
X-Gm-Message-State: AJcUukcZfIN7V0t0PN6X6qVvslEaoR7tlrzXErJXRfDXnyiX/V/N+P2s
 RDyppvZmfQCGAKddwfeYVWFhAmhYjdY=
X-Google-Smtp-Source: ALg8bN6DvlvgoXK00Tt7sfH4wwXFecNJULtYdkLb7+5BdzkmnEmEc/k6p7r5L47CooCMSoBSXBxR3Q==
X-Received: by 2002:a1c:af08:: with SMTP id y8mr6148256wme.94.1547628598010;
 Wed, 16 Jan 2019 00:49:58 -0800 (PST)
Received: from glht-aurore.gmail.com ([217.109.134.89])
 by smtp.gmail.com with ESMTPSA id a187sm32570524wmf.33.2019.01.16.00.49.56
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 16 Jan 2019 00:49:56 -0800 (PST)
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN> <87muof8pyk.fsf@HIDDEN>
 <87sgy14yg2.fsf@HIDDEN> <87o98m8961.fsf@HIDDEN> <87k1j847h0.fsf@HIDDEN>
 <87ef9ee3xd.fsf@HIDDEN> <87tvi9ygdr.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Gabriel Hondet <gabrielhondet@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: gauche: Update to 0.9.7 - removed html
 doc.
In-reply-to: <87tvi9ygdr.fsf@HIDDEN>
Date: Wed, 16 Jan 2019 09:49:50 +0100
Message-ID: <87tvi9ugup.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33920-done
Cc: swedebugia@HIDDEN, 33920-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


On Tue 15 Jan 2019 at 18:34 Ludovic Court=C3=A8s wrote:

> Regarding documentation:
>
>> +         (add-after 'build 'build-doc
>> +           (lambda* (#:key outputs #:allow-other-keys)
>> +             (let* ((out (assoc-ref outputs "out")))
>> +               (with-directory-excursion "doc"
>> +                 (for-each
>> +                  (lambda (target)
>> +                    (invoke "make" target))
>> +                  '("info" "html" "htmls"))))
>
> I left it as is but normally we provide only Info (for packages that
> come with Texinfo manuals.)  Would you be OK removing the HTML bits?

Here you are,

* gnu/packages/scheme.scm (gauche): Update to 0.9.7 - removed html doc.
=2D--
 gnu/packages/scheme.scm | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 48b52c7da..9cc190b51 100644
=2D-- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -1213,13 +1213,9 @@ The core is 12 builtin special forms and 33 builtin =
functions.")
                (("/bin/sh") (which "sh")))
              #t))
          (add-after 'build 'build-doc
=2D           (lambda* (#:key outputs #:allow-other-keys)
=2D             (let* ((out (assoc-ref outputs "out")))
=2D               (with-directory-excursion "doc"
=2D                 (for-each
=2D                  (lambda (target)
=2D                    (invoke "make" target))
=2D                  '("info" "html" "htmls"))))
+           (lambda* _
+             (with-directory-excursion "doc"
+               (invoke "make" "info"))
              #t))
          (add-before 'check 'patch-normalize-test
            ;; neutralize sys-normalize-pathname test as it relies on
@@ -1235,10 +1231,9 @@ The core is 12 builtin special forms and 33 builtin =
functions.")
                (("binary net termios") "binary termios"))
              #t))
          (add-after 'install 'install-docs
=2D           (lambda* (#:key outputs #:allow-other-keys)
=2D             (let* ((out (assoc-ref outputs "out")))
=2D               (with-directory-excursion "doc"
=2D                 (invoke "make" "install")))
+           (lambda* _
+             (with-directory-excursion "doc"
+               (invoke "make" "install"))
              #t)))))
     (synopsis "Scheme scripting engine")
     (description "Gauche is a R7RS Scheme scripting engine aiming at being=
 a
=2D-=20
2.20.1

Gabriel

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlw+8C4ACgkQMbyBBfZZ
1CXM6g//Zb7AW776EiGkjQhjFQkXXGsZFajn/6u65PUM5I55ySfixGj4Ee7N41uQ
xdh12iFwu8voZKZkrGLA7PE1d6Hdkj60S+2CF+8aZGsFMXCE8iVLKdRz20gcDemt
Kb/oFv7jhYxjyMOUfXw1yp3qBYvgggdpXehQZh4TqYn5gfs9we/GKiDOXDaUbh3Y
m6/Ucr9yGNjC2pj4IQCs/kxaVKB96lLbCkMuAdAxw8V39BQgRzY5ONPrta2EEb5e
t5LacANASJdBscWMBS4H++lKWyHzXgX70WYIwNG/J4jmJez+1//93cjkJUlh7qHF
y3FR+Cn7B06uesO9kkpe18zfAmqSt0FaR+h5GK1q4gHijwHAfnFHsE6q+69NLykJ
r1pZks1B7fLtyuMLG3CqnyvhK/AjiCCHcuXFUA5ky7LPoaMWtR2D76TXi6sbSF5l
lJRtI1iwH+yo3KTB4rTDOI4ynbfcKkHCPQWVUGY/hOAg7LLEleLDylXVELuEPUoG
24glzbPKl6UYg5FZDEgzwJCd4XqQ5QcezR4WN4ej0FAUkpu4l9OJRWGWTXl42PdX
W1W6Wu27Rx/25MDHGWJXyN87PipCq91Mj98pjhGOoDHQ4oq2zKfheZ4QdrJEiDi1
/l/fe6lvSKK6BXPpYScFIVEgoooJoyN5xdGgUZaxc/ScuNBDD/o=
=Jqcn
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at 33920-done <at> debbugs.gnu.org:


Received: (at 33920-done) by debbugs.gnu.org; 15 Jan 2019 17:34:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 15 12:34:14 2019
Received: from localhost ([127.0.0.1]:60326 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjSbN-0000ht-Qe
	for submit <at> debbugs.gnu.org; Tue, 15 Jan 2019 12:34:13 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:40678)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gjSbM-0000hk-2l
 for 33920-done <at> debbugs.gnu.org; Tue, 15 Jan 2019 12:34:12 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 3C94D115F;
 Tue, 15 Jan 2019 18:34:10 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id LIyVQgtl8XMr; Tue, 15 Jan 2019 18:34:09 +0100 (CET)
Received: from ribbon (unknown [IPv6:2001:660:6102:320:e120:2c8f:8909:cdfe])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 47009E4C;
 Tue, 15 Jan 2019 18:34:09 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Gabriel Hondet <gabrielhondet@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: Add gauche.
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN>
 <87muof8pyk.fsf@HIDDEN> <87sgy14yg2.fsf@HIDDEN>
 <87o98m8961.fsf@HIDDEN> <87k1j847h0.fsf@HIDDEN>
 <87ef9ee3xd.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 26 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Tue, 15 Jan 2019 18:34:08 +0100
In-Reply-To: <87ef9ee3xd.fsf@HIDDEN> (Gabriel Hondet's message of "Tue, 15
 Jan 2019 09:11:10 +0100")
Message-ID: <87tvi9ygdr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 33920-done
Cc: swedebugia@HIDDEN, 33920-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

Gabriel Hondet <gabrielhondet@HIDDEN> skribis:

> * gnu/packages/scheme.scm (gauche): New variable.

Applied!

I noticed that libgc is still bundled so I tried to get rid of it but
that seems to be tricky (draft patch below).  It would be nice to see
with upstream whether they can make it easier to build against a
provided libgc.

Regarding documentation:

> +         (add-after 'build 'build-doc
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out")))
> +               (with-directory-excursion "doc"
> +                 (for-each
> +                  (lambda (target)
> +                    (invoke "make" target))
> +                  '("info" "html" "htmls"))))

I left it as is but normally we provide only Info (for packages that
come with Texinfo manuals.)  Would you be OK removing the HTML bits?

Thank you!

Ludo=E2=80=99.




Notification sent to Gabriel Hondet <gabrielhondet@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 33920 <at> debbugs.gnu.org:


Received: (at 33920) by debbugs.gnu.org; 15 Jan 2019 08:11:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 15 03:11:20 2019
Received: from localhost ([127.0.0.1]:59509 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gjJoe-0007n6-E9
	for submit <at> debbugs.gnu.org; Tue, 15 Jan 2019 03:11:20 -0500
Received: from mail-wr1-f44.google.com ([209.85.221.44]:35439)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabrielhondet@HIDDEN>) id 1gjJoc-0007mt-MM
 for 33920 <at> debbugs.gnu.org; Tue, 15 Jan 2019 03:11:19 -0500
Received: by mail-wr1-f44.google.com with SMTP id 96so1846469wrb.2
 for <33920 <at> debbugs.gnu.org>; Tue, 15 Jan 2019 00:11:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=p3WIs4o4YZ6EmaY14deSSSf0K0EQDVdX2jdr80bWobk=;
 b=F93KQkx1VJuZLZSTF/9zx+xSDMa+85YDni6vy02ANEYCNR29WfmnZU+S/5wPf2GzSO
 MjqZsps5gzaQx7wWk7i/Nf8TSm9CT0AGzV2a/4j/OBOoS9o8CjM+q5fx0eEJWQNl7y+l
 evYgg99z8hNdsa5pxMTVx8GVNlFB8ZNPrYNS4I8R8uhgmMMMaQ3bfljblLmWQZdP2gQb
 p6scXg+RQ0iPPkrVzsDDF9i/5YYg7v7Ejt++7LK9sxRm0J2y29f2q9v3yHSzVT8pFRCv
 QuZH+65BO/B8E1FKrO5PbEXvL6iVjU2Q/hFBgpyYQZcM7fUK4XjhNHQh1dXTAScEiYsf
 38Rg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=p3WIs4o4YZ6EmaY14deSSSf0K0EQDVdX2jdr80bWobk=;
 b=gE7hlFhyouoDUB3ROY5+fBfsCyj/S13dadj2ADxiZlX7OkbBlds1EZFZbhBtYlLuQ7
 n1Ghu+MycE91gI+hJE54/T6+Xt2Q1jpi5BPEKapkpEfBncKn7RJx9HWuaPS1DMtJcZdW
 7xmicz7YITwf1PIsPthY07+LpLt+XlmrI61BTLhZbg2naxJkBd6wTFOEHcEOVV5ePRQm
 Fv2DcHdzJxShIiwEW7SlTstiWFBwjXiLsh57dOikhW18CFvKRnJ+nSOLSdvlZlzBox5T
 kJjWK1Fei+nPSLg/pg5lLwgZtI0R9vcTi5KRu7ZD1mzrL5l1iDK4f/K5Q8tfdNgfsNPV
 Lzag==
X-Gm-Message-State: AJcUukfJfEIIZ4E+obmFDO3sM149d146Py9kCL5DayM/KgOx+X2RLdgY
 bYuOLEtK4V4WUxZTKgBJ879te2JT
X-Google-Smtp-Source: ALg8bN5Q9mahADD/dIV5HIA8f7M79m1VPku70bAddbtzSI1cP3/pbU90UP8+DSOESk2HliPfRmJ43w==
X-Received: by 2002:a05:6000:11c3:: with SMTP id
 i3mr2007592wrx.221.1547539872620; 
 Tue, 15 Jan 2019 00:11:12 -0800 (PST)
Received: from glht-x240.gmail.com ([217.109.134.89])
 by smtp.gmail.com with ESMTPSA id v6sm24536901wrd.88.2019.01.15.00.11.11
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Tue, 15 Jan 2019 00:11:11 -0800 (PST)
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN> <87muof8pyk.fsf@HIDDEN>
 <87sgy14yg2.fsf@HIDDEN> <87o98m8961.fsf@HIDDEN> <87k1j847h0.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Gabriel Hondet <gabrielhondet@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: Add gauche.
In-reply-to: <87k1j847h0.fsf@HIDDEN>
Date: Tue, 15 Jan 2019 09:11:10 +0100
Message-ID: <87ef9ee3xd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33920
Cc: swedebugia@HIDDEN, 33920 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

* gnu/packages/scheme.scm (gauche): New variable.
=2D--
 gnu/packages/scheme.scm | 82 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 82 insertions(+)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 16904dce3..3836f3a3e 100644
=2D-- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -10,6 +10,7 @@
 ;;; Copyright =C2=A9 2017 Cl=C3=A9ment Lassieur <clement@HIDDEN>
 ;;; Copyright =C2=A9 2017, 2018 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright =C2=A9 2018 Adam Massmann <massmannak@HIDDEN>
+;;; Copyright =C2=A9 2018 Gabriel Hondet <gabrielhondet@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1164,3 +1165,84 @@ simple, elegant Scheme dialect.  It is a lisp-1 with=
 lexical scope.
 The core is 12 builtin special forms and 33 builtin functions.")
       (home-page "https://github.com/JeffBezanson/femtolisp")
       (license bsd-3))))
+
+(define-public gauche
+  (package
+    (name "gauche")
+    (version "0.9.7")
+    (home-page "http://practical-scheme.net/gauche/index.html")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://sourceforge/gauche/Gauche/Gauche-"
+             version ".tgz"))
+       (sha256
+        (base32
+         "181nycikma0rwrb1h6mi3kys11f8628pq8g5r3fg5hiz5sabscrd"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   ;; Remove libatomic-ops
+                   (delete-file-recursively "gc/libatomic_ops")
+                   #t))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libatomic-ops" ,libatomic-ops)
+       ("zlib" ,zlib)))
+    (native-inputs
+     `(("texinfo" ,texinfo)
+       ("openssl" ,openssl) ; needed for tests
+       ("pkg-config" ,pkg-config))) ; needed to find external libatomic-ops
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-/bin/sh
+           ;; needed only for tests
+           (lambda _
+             (substitute* '("configure"
+                            "test/www.scm"
+                            "ext/tls/test.scm"
+                            "gc/configure"
+                            "lib/gauche/configure.scm"
+                            "lib/gauche/package/util.scm"
+                            "lib/gauche/process.scm")
+               (("/bin/sh") (which "sh")))
+             #t))
+         (add-after 'build 'build-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (with-directory-excursion "doc"
+                 (for-each
+                  (lambda (target)
+                    (invoke "make" target))
+                  '("info" "html" "htmls"))))
+             #t))
+         (add-before 'check 'patch-normalize-test
+           ;; neutralize sys-normalize-pathname test as it relies on
+           ;; the home directory; (setenv "HOME" xx) isn't enough)
+           (lambda _
+             (substitute* "test/system.scm"
+               (("~/abc") "//abc"))
+             #t))
+         (add-before 'check 'patch-network-tests
+           ;; remove net checks
+           (lambda _
+             (substitute* "ext/Makefile"
+               (("binary net termios") "binary termios"))
+             #t))
+         (add-after 'install 'install-docs
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (with-directory-excursion "doc"
+                 (invoke "make" "install")))
+             #t)))))
+    (synopsis "Scheme scripting engine")
+    (description "Gauche is a R7RS Scheme scripting engine aiming at being=
 a
+handy tool that helps programmers and system administrators to write small=
 to
+large scripts quickly.  Quick startup, built-in system interface, native
+multilingual support are some of the goals.  Gauche comes with a package
+manager/installer @code{gauche-package} which can download, compile, insta=
ll
+and list gauche extension packages.  There are currently 58 packages
+available.")
+    (license bsd-3)))
=2D-=20
2.20.1
On Sun 13 Jan 2019 at 21:40 Ludovic Court=C3=A8s wrote:

> Out of curiosity, do these tests rely on specific host name lookups or
> external services?

Regarding net tests, it seems they only involve localhost.

> As swedebugia noted, Gauche uses libgc and libatomic-ops.  Could you
> try to add these two libraries as inputs and to adjust the package to
> make sure it does not use the bundled copies?

The use of the internal libatomic_ops has been disabled, but on the
other hand, I don't see where libgc is used (is it the full gc thing?),
or at least it seems it can't be disabled via configure scripts.

Gabriel

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIyBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlw9lZ4ACgkQMbyBBfZZ
1CU1Hg/45VJm3RrStQy3um0460WdBvQzTJKxb6zASDrhjHvwdlJ3txmKCmXwGheu
LPd/ErRusRPjK65M6Qh4jBlzT+MjJmVxJaVcUm9XXnQEvQdZMa2Gcxw3zHtDzy/g
AO7qkz+wwIiOsDczEAO2R5NYeLw5jstTtPnavh0MsrldAPscxBiXXnel42ZcYCVT
jzVjfAo9gIy95wZKio3NOp2ooPflIgrgP1i/VRd1EXz9VEEyJlEU+vPE5h7U7cI8
oDTf0NUfUyCVJixeYtA51b/YDGsxwRJq2UmzNbPlw1IJC7SzdAo9AUlBEQ99cWK7
cdTUk2CLZdnW65yBgfwio6JeR4cue0gOFiRcvjceXVYVdnoj17aPAWxwMheygPnB
Wta2AC005+fzj4VhXofFZG2t5LdjUpvRlDqVMQA5YfOmlB4a7PCIDvAY1OiZq8iV
o5OwyOXNwhT43vy6Tm65v+ZNkEooIKsz5PNSux5s7qBerM3XnMPFJBTdGSRGotwq
656kXbx5qNZFG4MR4q61cGDnEP/LY6kzScjs3WdUTLMxauQrlfYLU4rS3GD7tFRP
m1zIKVGMuGPGTMVPsSNG0Y+tbQ98WwPpfTfXVcE1tyyFjBneSO0mfUo0RqCr3Pxr
6J+iWl8o04bwUQi0M9vLlpRBMJNDAStYBss7lt49QBAISRFWfQ==
=aFSv
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at 33920 <at> debbugs.gnu.org:


Received: (at 33920) by debbugs.gnu.org; 13 Jan 2019 20:40:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 13 15:40:15 2019
Received: from localhost ([127.0.0.1]:58106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gimYJ-0006lx-5N
	for submit <at> debbugs.gnu.org; Sun, 13 Jan 2019 15:40:15 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:51840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gimYH-0006lo-Hn
 for 33920 <at> debbugs.gnu.org; Sun, 13 Jan 2019 15:40:13 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id CE5FC1B43;
 Sun, 13 Jan 2019 21:40:12 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id WiN5_v5xN38i; Sun, 13 Jan 2019 21:40:12 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id CD3F91B40;
 Sun, 13 Jan 2019 21:40:11 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Gabriel Hondet <gabrielhondet@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: Add gauche.
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN>
 <87muof8pyk.fsf@HIDDEN> <87sgy14yg2.fsf@HIDDEN>
 <87o98m8961.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 24 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 13 Jan 2019 21:40:11 +0100
In-Reply-To: <87o98m8961.fsf@HIDDEN> (Gabriel Hondet's message of "Sat, 12
 Jan 2019 11:25:26 +0100")
Message-ID: <87k1j847h0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 33920
Cc: swedebugia@HIDDEN, 33920 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello,

Gabriel Hondet <gabrielhondet@HIDDEN> skribis:

> On Wed 09 Jan 2019 at 16:56 Ludovic Court=C3=A8s wrote:

[...]

>> Please use mirror://sourceforge here.
>
> As far as I understand, I should use
>    "mirror://sourceforge/gauche/Gauche-"
> but it does not work (redirections fail with a 404 not found error).

This one appears to work:

  mirror://sourceforge/gauche/Gauche/Gauche-0.9.7.tgz

Trial and error=E2=80=A6

>>> +               (substitute* '("configure"
>>> +                              "test/www.scm"
>>> +                              "config.guess"
>>> +                              "ltmain.sh"
>>> +                              "ext/tls/test.scm"
>>> +                              "gc/configure"
>>> +                              "lib/gauche/configure.scm"
>>> +                              "lib/gauche/package/util.scm"
>>> +                              "lib/gauche/process.scm")
>>> +                 (("/bin/sh") (which "sh")))
>>
>> This looks redundant with what the standard =E2=80=98patch-source-sheban=
gs=E2=80=99 and
>> =E2=80=98configure=E2=80=99 phases do, no?
>
> Isn't 'patch-source-shebangs' only patching the shebangs?  Because here
> I have to patch other path specifications in the source as well.  On the
> other hand, for the 'setenv', you are totally right.

Oh you=E2=80=99re right.  But at least the Autotools files (configure,
config.guess, ltmain.sh) can be omitted.

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at 33920 <at> debbugs.gnu.org:


Received: (at 33920) by debbugs.gnu.org; 12 Jan 2019 10:25:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 12 05:25:41 2019
Received: from localhost ([127.0.0.1]:56537 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1giGU0-00084c-V1
	for submit <at> debbugs.gnu.org; Sat, 12 Jan 2019 05:25:41 -0500
Received: from mail-wm1-f54.google.com ([209.85.128.54]:38563)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabrielhondet@HIDDEN>) id 1giGTz-00084O-2m
 for 33920 <at> debbugs.gnu.org; Sat, 12 Jan 2019 05:25:39 -0500
Received: by mail-wm1-f54.google.com with SMTP id m22so4592274wml.3
 for <33920 <at> debbugs.gnu.org>; Sat, 12 Jan 2019 02:25:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=mA6SqwTbrYS/sLLqAbeDmqcc9d7Mh9Zq778YlBy2k3k=;
 b=rYatOGHbej1UzRW1QZgw4lstoXcptBLNMLgz+6Hn3c90MHOVkbRgHYZy/KBd31OWHp
 BgGneR8K6FaxuvRjgj2cZQwY7PHTTteU1Drz4QnDxkEbcaY9YWyzcsWWZOH6SW6PWPGG
 /EHxPzNDY0ywqY6wTAKd+TTw9huPaHqrAQWaKQrOCXGAOxlSIoEr4ZOiwgN7rWO02PJd
 EmmTJGkmMtIw5ojOop+Fp3sJcUINocerOVA/B9NAikQhOQHr4RB7H4csTQVRrWZjK1Ux
 fowi7Q2bvMDyWXq7LdMa6SD0Z2XtlloZm/MViFQHp+hych/oZmcelmWqyvaVcmHnvbUK
 UIWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=mA6SqwTbrYS/sLLqAbeDmqcc9d7Mh9Zq778YlBy2k3k=;
 b=mG9McsPEEFTm6nleee42+4YaueNiepu4ofvRyetjxPkIFg0irxMk2xRsTPJBsoLOUp
 r1BiSA1YfbaUqXf5kQEXJzi2NOoacTDXDF5L0qHoVDhN1jnHSi6cpTQGREJnID9rN7gQ
 /OIYgAoCwgJkU0m20vfcfG6lMvLnM0hRs8uuZGH947xIB3TittJzF/j+5HHZVLyAaD1m
 lwCWMcn9JKu4XhJaugln5ZYMG4uoCvpwL9XoUU1sAs5kkPRQxAiCn0KR8crncfWwkxOP
 ocgNJczBpbHHEo/dU8vpBDY7EAVwFvcg4ZuL4bbJELAswJTnDvKLsStI4Pjip7UlJZj0
 C6SQ==
X-Gm-Message-State: AJcUukdF6Vv71Jj5zrlvl97BgZUHSWk74Gld/qGLJMXvAG9FFjCy85DL
 2FHcas9usuLKIAzLTVC8ZuXanNNo
X-Google-Smtp-Source: ALg8bN5MNZurlhWoSCopuyOvRJyKVv2kgsm01PDKHMFtzfzvpQ1svYgnSK2CfSv4XSeCejtbg8c4/A==
X-Received: by 2002:a1c:b1d5:: with SMTP id a204mr5634205wmf.32.1547288733012; 
 Sat, 12 Jan 2019 02:25:33 -0800 (PST)
Received: from glht-aurore.gmail.com ([217.109.134.89])
 by smtp.gmail.com with ESMTPSA id d4sm76156072wrp.89.2019.01.12.02.25.31
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 12 Jan 2019 02:25:32 -0800 (PST)
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN> <87muof8pyk.fsf@HIDDEN>
 <87sgy14yg2.fsf@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Gabriel Hondet <gabrielhondet@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: Add gauche.
In-reply-to: <87sgy14yg2.fsf@HIDDEN>
Date: Sat, 12 Jan 2019 11:25:26 +0100
Message-ID: <87o98m8961.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 33920
Cc: swedebugia@HIDDEN, 33920 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi Ludovic,

On Wed 09 Jan 2019 at 16:56 Ludovic Court=C3=A8s wrote:

> As swedebugia noted, Gauche uses libgc and libatomic-ops.  Could you
> try to add these two libraries as inputs and to adjust the package to
> make sure it does not use the bundled copies?

Sure I'll work on it.

>> +(define-public gauche
>> +  (package
>> +    (name "gauche")
>> +    (version "0.9.7")
>> +    (home-page "http://practical-scheme.net/gauche/index.html")
>> +    (source
>> +     (origin
>> +       (method url-fetch)
>> +       (uri (string-append
>> +             "http://prdownloads.sourceforge.net/gauche/Gauche-"
>> +             version ".tgz"))
>
> Please use mirror://sourceforge here.

As far as I understand, I should use
   "mirror://sourceforge/gauche/Gauche-"
but it does not work (redirections fail with a 404 not found error).

>> +     `(#:phases
>> +       (modify-phases %standard-phases
>> +         (add-after 'unpack 'patch-/bin/sh
>> +           ;; needed only for tests
>> +           (lambda _
>> +             (begin
>> +               (setenv "CONFIG_SHELL" (which "sh"))
>> +               (substitute* '("configure"
>> +                              "test/www.scm"
>> +                              "config.guess"
>> +                              "ltmain.sh"
>> +                              "ext/tls/test.scm"
>> +                              "gc/configure"
>> +                              "lib/gauche/configure.scm"
>> +                              "lib/gauche/package/util.scm"
>> +                              "lib/gauche/process.scm")
>> +                 (("/bin/sh") (which "sh")))
>
> This looks redundant with what the standard =E2=80=98patch-source-shebang=
s=E2=80=99 and
> =E2=80=98configure=E2=80=99 phases do, no?

Isn't 'patch-source-shebangs' only patching the shebangs?  Because here
I have to patch other path specifications in the source as well.  On the
other hand, for the 'setenv', you are totally right.

> Out of curiosity, do these tests rely on specific host name lookups or
> external services?

I'll look at it.

Thank you for these useful and essential tips,
Gabriel

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlw5wJYACgkQMbyBBfZZ
1CXflxAAnpMMYwgLOkJjwIV5EB3uJa1fjJ5V9fx5MK+fJwLko4ewX1j/S0sI3uCw
0KNxIc57I/Vb9kPMwCkLcpoGrcpppOoTzxeiionmPoRdX+CwwIvBDsDh5p0EAUXy
43cIGVQvakTGwTKyBGzw0UI7ItGVM1Z4dTWH6e1A8wqEVeIIR6qaCgcX0WpQ57zm
9HGssIrle8omfdBaAuE/v+wxbJfIxSlxUUzquw5VztPoqbEZjFWhRfqxik32cjCR
vkujnWr7DylzLUGjYZwph6Gfnyc2zH/P6xrESBwCNSvXKVa4ROxXX47ZPWtLtiBY
S52Z5Vx2d5Dt7rSnuP0v33oH89V7XKHr5z4MgpkjXlVF8FDcyufQTMQMB3nXQ2Vd
9w5bYi0gw3cFL5kE9JiqTgDnwCQLQbSqWaTgqu1z+HZ4oGQ0xttDfUKlO9aqqlWI
//+LDs9TAYLwwGVdxI9qsESZxaSwxEiIa/GaZYM3M5os86N822SBpI+CFJbBAlcL
5l2wtNaBmZN+6fHn2q9dt2KLFu3USdxNl4o9R3pOEGmhuU/Ev6/AZUQ0CheBFARO
LLHbO6AZrZKgZiDrgUNJp7ejOgvlT+NUtV3duav7SduhLC7yb++oD+4iqTqsBjB7
e7C46nc3kQfYX+8MxkhL57gWnkQR7sdlrFJ0cAAcOkjqqdfxbtM=
=qCaJ
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at 33920 <at> debbugs.gnu.org:


Received: (at 33920) by debbugs.gnu.org; 9 Jan 2019 15:56:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 09 10:56:19 2019
Received: from localhost ([127.0.0.1]:52423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ghGDL-0000mH-B5
	for submit <at> debbugs.gnu.org; Wed, 09 Jan 2019 10:56:19 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:47940)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1ghGDJ-0000m8-6z
 for 33920 <at> debbugs.gnu.org; Wed, 09 Jan 2019 10:56:17 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id A61FE1159;
 Wed,  9 Jan 2019 16:56:15 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id jw9w3HAPJ9cD; Wed,  9 Jan 2019 16:56:14 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 67FE3935;
 Wed,  9 Jan 2019 16:56:14 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Gabriel Hondet <gabrielhondet@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: Add gauche.
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN>
 <87muof8pyk.fsf@HIDDEN>
Date: Wed, 09 Jan 2019 16:56:13 +0100
In-Reply-To: <87muof8pyk.fsf@HIDDEN> (Gabriel Hondet's message of "Sat, 05
 Jan 2019 09:32:19 +0100")
Message-ID: <87sgy14yg2.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 33920
Cc: swedebugia@HIDDEN, 33920 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi Gabriel,

Gabriel Hondet <gabrielhondet@HIDDEN> skribis:

> * gnu/packages/scheme.scm (gauche): New variable.

Yay for another Scheme!  :-)

As swedebugia noted, Gauche uses libgc and libatomic-ops.  Could you try
to add these two libraries as inputs and to adjust the package to make
sure it does not use the bundled copies?

> +(define-public gauche
> +  (package
> +    (name "gauche")
> +    (version "0.9.7")
> +    (home-page "http://practical-scheme.net/gauche/index.html")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "http://prdownloads.sourceforge.net/gauche/Gauche-"
> +             version ".tgz"))

Please use mirror://sourceforge here.

> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'patch-/bin/sh
> +           ;; needed only for tests
> +           (lambda _
> +             (begin
> +               (setenv "CONFIG_SHELL" (which "sh"))
> +               (substitute* '("configure"
> +                              "test/www.scm"
> +                              "config.guess"
> +                              "ltmain.sh"
> +                              "ext/tls/test.scm"
> +                              "gc/configure"
> +                              "lib/gauche/configure.scm"
> +                              "lib/gauche/package/util.scm"
> +                              "lib/gauche/process.scm")
> +                 (("/bin/sh") (which "sh")))

This looks redundant with what the standard =E2=80=98patch-source-shebangs=
=E2=80=99 and
=E2=80=98configure=E2=80=99 phases do, no?

Also, =E2=80=98begin=E2=80=99 is unnecessary in the body of a lambda.

> +         (add-after 'build 'build-doc
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out")))
> +               (with-directory-excursion "doc"
> +                 (for-each
> +                  (lambda (target)
> +                    (invoke "make" target))
> +                  '("info" "html" "htmls"))))))

Please return #t.

> +         (add-before 'check 'patch-normalize-test
> +           ;; neutralize sys-normalize-pathname test as it relies on
> +           ;; the home directory; (setenv "HOME" xx) isn't enough)
> +           (lambda _
> +             (substitute* "test/system.scm"
> +               (("~/abc") "//abc"))))

Likewise.

> +         (add-before 'check 'patch-network-tests
> +           ;; remove net checks
> +           (lambda _
> +             (substitute* "ext/Makefile"
> +               (("binary net termios") "binary termios"))))

Likewise.

Out of curiosity, do these tests rely on specific host name lookups or
external services?

> +         (add-after 'install 'install-docs
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out")))
> +               (with-directory-excursion "doc"
> +                 (invoke "make" "install"))))))))

Please return #t.

Could you send an updated patch?

Thank you!

Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at 33920 <at> debbugs.gnu.org:


Received: (at 33920) by debbugs.gnu.org; 5 Jan 2019 08:32:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 05 03:32:34 2019
Received: from localhost ([127.0.0.1]:47213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gfhNd-0007CI-9q
	for submit <at> debbugs.gnu.org; Sat, 05 Jan 2019 03:32:32 -0500
Received: from mail-ed1-f47.google.com ([209.85.208.47]:39619)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabrielhondet@HIDDEN>) id 1gfhNb-0007C3-B8
 for 33920 <at> debbugs.gnu.org; Sat, 05 Jan 2019 03:32:28 -0500
Received: by mail-ed1-f47.google.com with SMTP id b14so33615584edt.6
 for <33920 <at> debbugs.gnu.org>; Sat, 05 Jan 2019 00:32:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=references:user-agent:from:to:cc:subject:in-reply-to:date
 :message-id:mime-version;
 bh=4ReT3SOX2IVrSRoGevCABz51jZs2F+8WFSe//fqi6Jg=;
 b=D6e3zjyRRjzf+9e8fOuSLNezkYo9T3ZA3VCSfTOKnMcm11S4E3LE5MoSEY7UwR5t7d
 HVx+tQB4bVj0gwYoEM+1/Em8uUP+2zBiOIJPk9aZJLsATElVJrVbWd+tir853d9oHbu/
 N4vLjkpq5dJGA3/ZuysHH5EPQbLDUG51woZ8r7SD26wiRtWC2Sbm9rtlcQIZdxKxhUdi
 O3Rc9lvzcorxAgGcX5mkibrguFAQmI5DRjEIHObi5ZknaQA5T2zF6VWQMKVJJ1Szqh05
 iocVdkj8NY8xJQdwzNmQjirhOMJRR/DmbtoDsnpu+0O6pjGt9PLKIoR3i7+ifNzX3D4H
 1xOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:references:user-agent:from:to:cc:subject
 :in-reply-to:date:message-id:mime-version;
 bh=4ReT3SOX2IVrSRoGevCABz51jZs2F+8WFSe//fqi6Jg=;
 b=gQoiQ27cnO59AcJ1+R5BXYaEHC8dD9fd81tOhmMwwczq5Q1bxNF9ReMphoAMZQMmem
 1+8JQl5qxHDHayUMbHi+CrDTtzRMimQRNF3TXc05qr8JuO/3Ycl83J+zJlCmTadwZmeU
 bECqoS6bbCFgP/Oo/Sym/8KBft/ZxbxJ4TPttZ4GDXR6iwsh9e6Ml0LB1TdwP9jw2Li3
 WW9jJ4+dPtCTvFwccRKtetYZaTF3EKeHDfPgGMw1LQ8XyLAeWeZAnVp3gRXNSCsVfdnx
 DGwATxyaopWC+dVc/kaKhFOqlZ0ICVPqGS5vjBPY3XMEmAUYiI3qWy0/bFBIIBq8sBNE
 kmUA==
X-Gm-Message-State: AA+aEWZFlBTXvkD0yIh3d30a3M9q47hemDU6TNAcKmjCdm2RdOJLm6xY
 8iJLCxne9Cy4f72JP9guTKFa79bi
X-Google-Smtp-Source: AFSGD/V3R+J40KloExveziQz5IaFjiEzRcn+z5LhVDmswqHrNUK6GVVBGcFXT1AQG9P4OpdHMGWVNA==
X-Received: by 2002:a50:f415:: with SMTP id r21mr50132310edm.110.1546677141225; 
 Sat, 05 Jan 2019 00:32:21 -0800 (PST)
Received: from glht-x240.gmail.com
 (2a01cb04062c860044e3e8429e102378.ipv6.abo.wanadoo.fr.
 [2a01:cb04:62c:8600:44e3:e842:9e10:2378])
 by smtp.gmail.com with ESMTPSA id k31sm34905721ede.5.2019.01.05.00.32.20
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 05 Jan 2019 00:32:20 -0800 (PST)
References: <875zvbjvxv.fsf@HIDDEN>
 <8709180406da2b2eabffd1b4397a2bf3@HIDDEN>
User-agent: mu4e 1.0; emacs 26.1
From: Gabriel Hondet <gabrielhondet@HIDDEN>
To: swedebugia@HIDDEN
Subject: Re: [bug#33920] [PATCH] gnu: Add gauche.
In-reply-to: <8709180406da2b2eabffd1b4397a2bf3@HIDDEN>
Date: Sat, 05 Jan 2019 09:32:19 +0100
Message-ID: <87muof8pyk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 33920
Cc: 33920 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


* gnu/packages/scheme.scm (gauche): New variable.
=2D--
 gnu/packages/scheme.scm | 73 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 16904dce3..09a7fbf29 100644
=2D-- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -10,6 +10,7 @@
 ;;; Copyright =C2=A9 2017 Cl=C3=A9ment Lassieur <clement@HIDDEN>
 ;;; Copyright =C2=A9 2017, 2018 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright =C2=A9 2018 Adam Massmann <massmannak@HIDDEN>
+;;; Copyright =C2=A9 2018 Gabriel Hondet <gabrielhondet@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1164,3 +1165,75 @@ simple, elegant Scheme dialect.  It is a lisp-1 with=
 lexical scope.
 The core is 12 builtin special forms and 33 builtin functions.")
       (home-page "https://github.com/JeffBezanson/femtolisp")
       (license bsd-3))))
+
+(define-public gauche
+  (package
+    (name "gauche")
+    (version "0.9.7")
+    (home-page "http://practical-scheme.net/gauche/index.html")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://prdownloads.sourceforge.net/gauche/Gauche-"
+             version ".tgz"))
+       (sha256
+        (base32
+         "181nycikma0rwrb1h6mi3kys11f8628pq8g5r3fg5hiz5sabscrd"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("texinfo" ,texinfo)
+       ("openssl" ,openssl))) ;needed for tests
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-/bin/sh
+           ;; needed only for tests
+           (lambda _
+             (begin
+               (setenv "CONFIG_SHELL" (which "sh"))
+               (substitute* '("configure"
+                              "test/www.scm"
+                              "config.guess"
+                              "ltmain.sh"
+                              "ext/tls/test.scm"
+                              "gc/configure"
+                              "lib/gauche/configure.scm"
+                              "lib/gauche/package/util.scm"
+                              "lib/gauche/process.scm")
+                 (("/bin/sh") (which "sh")))
+               #t)))
+         (add-after 'build 'build-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (with-directory-excursion "doc"
+                 (for-each
+                  (lambda (target)
+                    (invoke "make" target))
+                  '("info" "html" "htmls"))))))
+         (add-before 'check 'patch-normalize-test
+           ;; neutralize sys-normalize-pathname test as it relies on
+           ;; the home directory; (setenv "HOME" xx) isn't enough)
+           (lambda _
+             (substitute* "test/system.scm"
+               (("~/abc") "//abc"))))
+         (add-before 'check 'patch-network-tests
+           ;; remove net checks
+           (lambda _
+             (substitute* "ext/Makefile"
+               (("binary net termios") "binary termios"))))
+         (add-after 'install 'install-docs
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (with-directory-excursion "doc"
+                 (invoke "make" "install"))))))))
+    (synopsis "Scheme scripting engine")
+    (description "Gauche is a R7RS Scheme scripting engine aiming at being=
 a
+handy tool that helps programmers and system administrators to write small=
 to
+large scripts quickly.  Quick startup, built-in system interface, native
+multilingual support are some of the goals.  Gauche comes with a package
+manager/installer @code{gauche-package} which can download, compile, insta=
ll
+and list gauche extension packages.  There are currently 58 packages
+available.")
+    (license (list gpl2+ ; gc/libatomic_ops/*
+                   bsd-3))))
=2D-=20
2.20.1

On Fri 04 Jan 2019 at 23:36 swedebugia@HIDDEN wrote:

> I found this in COPYING:
>
> Copyright of gc/libatomic_ops/*
> ---------------------------------------------
>
> GNU GENERAL PUBLIC LICENSE
> Version 2, June 1991
>
> Could add a note about that?

Sure, I guess only mentioning and adding the license is enough.

> I noticed that Gauche comes with a package-manager gauche-package, could
> you extend the description and mention this and how many packages are
> available (>50 according to
> http://practical-scheme.net/wiliki/wiliki.cgi/Gauche:Packages?l=3Den).

As far as I know, the packages are not yet well integrated nor indexed,
but I have counted 58 on the page.

> Otherwise LGTM. (i built it and gave it a short spin)

Great! Thanks,
Gabriel


--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwwa5MACgkQMbyBBfZZ
1CWKKw/+NphGm+DXO94d+rFZUeB1I0wpNjoXCVV9fYf1v+UPTCGIcenvnPZmp2zw
Snr5qCIBCq7oNtX+0qq4blqzO+DxTqPraEdT2417EYEFjBA4rm8G8Kb+JrIaI1ce
I74Kb8YoePpLIHA9fFQTEk1mPSGcQbLCUGmGI862mAUSVOJ7aM37nsJQKUhUz4p8
Eec1whKySQ9PIyNmjmJzZu32EjVgjyGuf3WY4XCRT07NavaXxdgZO/R74wiEeE5B
bI40WH3+fk+50Tw6gYG8uRbt9nz0R4lNqSyKodsHV/+0iOvcanN9clifqyS/K4HP
DY81GXEZaNBNkEoEmPQVi8PrA8Q79ZSVJVu9PW6/JMO45K+PUPMZADmyH20aWKXX
73/KqiRVdZp26qgVC2jN7EvlA4uMuYZVDx5RIp86ZAs0cxodwAqNV3Lr/VNswkOZ
yh5PInuV3cTaUE8oJIdnrigEthPRZps05bbQ2Xt2sZ9S9Ea53IIcXMIBTjVHclLs
OZ8pFOW7bkeMIt6dTxeNdeLhpcp0y0os0lBGGj2fAI0mnHb2ySM+rzMU5txwelPn
of3CHZxaugQHqk1ypuneiENvmhOoqogsJoyVkYyd8jHgVVMhtMlrO5I+gQKkwUR8
+eQP2m8yfx48EfoRlJQVtzJw6iNn3iQ8hCE2Q27XTmtdOdtkbC8=
=QWkY
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at 33920 <at> debbugs.gnu.org:


Received: (at 33920) by debbugs.gnu.org; 4 Jan 2019 22:36:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 04 17:36:20 2019
Received: from localhost ([127.0.0.1]:47093 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gfY4h-00054i-7r
	for submit <at> debbugs.gnu.org; Fri, 04 Jan 2019 17:36:20 -0500
Received: from mx1.riseup.net ([198.252.153.129]:35152)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <swedebugia@HIDDEN>) id 1gfY4f-00054Z-15
 for 33920 <at> debbugs.gnu.org; Fri, 04 Jan 2019 17:36:17 -0500
Received: from piha.riseup.net (piha-pn.riseup.net [10.0.1.163])
 (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
 (Client CN "*.riseup.net",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.riseup.net (Postfix) with ESMTPS id EEB1E1A0292;
 Fri,  4 Jan 2019 14:36:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak;
 t=1546641376; bh=lk1BUS3f0PX7mzNaRnD3GKeM/SnR8jklYqwrsz5Dtjc=;
 h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
 b=UhtH5j23b7SMm5EyvVD2YRDndW+JfkIkZ0Bt2PSBn/0nuDwTI861FpB3hRbxC5PGX
 6h7EczigW2wlXDxuMr2o38tCBMVQK1R0ff7Fo9fu0ZhBjUpLAGO3MYKsfgpJcyTJaA
 pVawZzv/+tqlywdSAH+0rz6zgGQ8TqdHom/oeNXA=
X-Riseup-User-ID: 0847ACBDF82768FAA5E7AE0FE98EED149657D59BC4751133794BBE6C4C1AA03E
Received: from [127.0.0.1] (localhost [127.0.0.1])
 by piha.riseup.net with ESMTPSA id 589CB1C1D30;
 Fri,  4 Jan 2019 14:36:15 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Date: Fri, 04 Jan 2019 14:36:15 -0800
From: swedebugia@HIDDEN
To: Gabriel Hondet <gabrielhondet@HIDDEN>
Subject: Re: [bug#33920] [PATCH] gnu: Add gauche.
In-Reply-To: <875zvbjvxv.fsf@HIDDEN>
References: <875zvbjvxv.fsf@HIDDEN>
Message-ID: <8709180406da2b2eabffd1b4397a2bf3@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 33920
Cc: Guix-patches <guix-patches-bounces+swedebugia=riseup.net@HIDDEN>,
 33920 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 2018-12-30 08:47, Gabriel Hondet wrote:
> * gnu/packages/scheme.scm (gauche): New variable.
> ---
>  gnu/packages/scheme.scm | 69 +++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 69 insertions(+)
> 
> diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
> index 16904dce3..c9bea183e 100644
> --- a/gnu/packages/scheme.scm
> +++ b/gnu/packages/scheme.scm
> @@ -10,6 +10,7 @@
>  ;;; Copyright © 2017 Clément Lassieur <clement@HIDDEN>
>  ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@HIDDEN>
>  ;;; Copyright © 2018 Adam Massmann <massmannak@HIDDEN>
> +;;; Copyright © 2018 Gabriel Hondet <gabrielhondet@HIDDEN>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -1164,3 +1165,71 @@ simple, elegant Scheme dialect.  It is a lisp-1
> with lexical scope.
>  The core is 12 builtin special forms and 33 builtin functions.")
>        (home-page "https://github.com/JeffBezanson/femtolisp")
>        (license bsd-3))))
> +
> +(define-public gauche
> +  (package
> +    (name "gauche")
> +    (version "0.9.7")
> +    (home-page "http://practical-scheme.net/gauche/index.html")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append
> +             "http://prdownloads.sourceforge.net/gauche/Gauche-"
> +             version ".tgz"))
> +       (sha256
> +        (base32
> +         "181nycikma0rwrb1h6mi3kys11f8628pq8g5r3fg5hiz5sabscrd"))))
> +    (build-system gnu-build-system)
> +    (native-inputs
> +     `(("texinfo" ,texinfo)
> +       ("openssl" ,openssl))) ;needed for tests
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'patch-/bin/sh
> +           ;; needed only for tests
> +           (lambda _
> +             (begin
> +               (setenv "CONFIG_SHELL" (which "sh"))
> +               (substitute* '("configure"
> +                              "test/www.scm"
> +                              "config.guess"
> +                              "ltmain.sh"
> +                              "ext/tls/test.scm"
> +                              "gc/configure"
> +                              "lib/gauche/configure.scm"
> +                              "lib/gauche/package/util.scm"
> +                              "lib/gauche/process.scm")
> +                 (("/bin/sh") (which "sh")))
> +               #t)))
> +         (add-after 'build 'build-doc
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out")))
> +               (with-directory-excursion "doc"
> +                 (for-each
> +                  (lambda (target)
> +                    (invoke "make" target))
> +                  '("info" "html" "htmls"))))))
> +         (add-before 'check 'patch-normalize-test
> +           ;; neutralize sys-normalize-pathname test as it relies on
> +           ;; the home directory; (setenv "HOME" xx) isn't enough)
> +           (lambda _
> +             (substitute* "test/system.scm"
> +               (("~/abc") "//abc"))))
> +         (add-before 'check 'patch-network-tests
> +           ;; remove net checks
> +           (lambda _
> +             (substitute* "ext/Makefile"
> +               (("binary net termios") "binary termios"))))
> +         (add-after 'install 'install-docs
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out")))
> +               (with-directory-excursion "doc"
> +                 (invoke "make" "install"))))))))
> +    (synopsis "Scheme scripting engine")
> +    (description "Gauche is a R7RS Scheme scripting engine aiming at being a
> +handy tool that helps programmers and system administrators to write small to
> +large scripts quickly.  Quick startup, built-in system interface, native
> +multilingual support are some of the goals.")
> +    (license bsd-3)))

I found this in COPYING:

Copyright of gc/libatomic_ops/*
---------------------------------------------

GNU GENERAL PUBLIC LICENSE
Version 2, June 1991

Could add a note about that?

I noticed that Gauche comes with a package-manager gauche-package, could
you extend the description and mention this and how many packages are
available (>50 according to
http://practical-scheme.net/wiliki/wiliki.cgi/Gauche:Packages?l=en).

Otherwise LGTM. (i built it and gave it a short spin)

-- 
Cheers 
Swedebugia




Information forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Dec 2018 07:49:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 30 02:49:41 2018
Received: from localhost ([127.0.0.1]:41804 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gdVqv-00004s-DD
	for submit <at> debbugs.gnu.org; Sun, 30 Dec 2018 02:49:41 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49335)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gabrielhondet@HIDDEN>) id 1gdVqt-0008WP-M1
 for submit <at> debbugs.gnu.org; Sun, 30 Dec 2018 02:49:40 -0500
Received: from lists.gnu.org ([208.118.235.17]:55348)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <gabrielhondet@HIDDEN>)
 id 1gdVqs-00075L-J7
 for submit <at> debbugs.gnu.org; Sun, 30 Dec 2018 02:49:38 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37844)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <gabrielhondet@HIDDEN>) id 1gdVqr-0008AG-Jo
 for guix-patches@HIDDEN; Sun, 30 Dec 2018 02:49:38 -0500
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,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <gabrielhondet@HIDDEN>) id 1gdVqq-00073o-KG
 for guix-patches@HIDDEN; Sun, 30 Dec 2018 02:49:37 -0500
Received: from mail-ed1-x541.google.com ([2a00:1450:4864:20::541]:33706)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <gabrielhondet@HIDDEN>)
 id 1gdVqq-00073U-EG
 for guix-patches@HIDDEN; Sun, 30 Dec 2018 02:49:36 -0500
Received: by mail-ed1-x541.google.com with SMTP id p6so20616571eds.0
 for <guix-patches@HIDDEN>; Sat, 29 Dec 2018 23:49:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=user-agent:from:to:subject:date:message-id:mime-version;
 bh=vUeVLZxWQn0pt+FceQg19KzsLbhwGjdGi1CO+LtmATA=;
 b=oQyHsgYVoeaQ6QATRwg7OY46QurN0wqlsZctaujTW0KmpIxgMGx1AES91KLdlmNQ6F
 6f/URIYO0r/tk9CHAJDYSuYQpHYbpRtsYI2PC7a1kwH4vM+2yBX9WgAfGIvivPaqBroc
 m9bBOy3qkrEB5VDBf12v4onE1AeNe5S4GK5c822OtgyPskut595bZ7ct2kn94BO8l9xz
 GxXUa9B7jlNC8j36OeVsjMaLoFuMR83n3SsEHo3AJU0SHQaM7AB6XBSuu+vX96AUFcmG
 TUHrSkVUyYW7M5jelgo7mZ4ia027xmRpT6UBGzeg/wMzFfhCgszv53c31Ut74e2XBkrn
 uCHA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:user-agent:from:to:subject:date:message-id
 :mime-version;
 bh=vUeVLZxWQn0pt+FceQg19KzsLbhwGjdGi1CO+LtmATA=;
 b=ZdlKjCdUHIU5wnNXb4EQ8leGM47GmPbPIAGbFB4Bk3I/HiOtIn7JCa2KKAaUJbOUoK
 F5rBjQSvxO8137XkN1L6EWrzCCcori+C2h17YPrcwn6PUaTaEMmrAjki9BjIeoKxRZvL
 dq3WOFnvePDI8qOAfHUGzmnhXqMC6yNZG1zBcPUARQKxyQkvNUlX63In9HIhoXuE2Trr
 /bu5t4ACueP3gav4pUkGc5wFOyvmHvbLT1kRHMZl+brxAqfL0x0JD+kPec+W3PyUmorU
 eU1jNiWwzh3oF9QyFmIBhCbeEFVnk4dlg8K52vxFaCjcl/cHwhjFXENZxCQ6McecgKC4
 J0yg==
X-Gm-Message-State: AA+aEWY2kznL/aPCGfwMf5/yJrAxro8MjOccvK/4wyygetNkgadW1bC6
 cPxvMm3Nc7dmPzYqAzjoWwl7xlwD
X-Google-Smtp-Source: AFSGD/U1fkUYGBMWGlEkvzD5jz3a/dAK+z7+zSZ/BPITzu3FwFOYV8xb+gryADnM9jCfxxIvdEz/6g==
X-Received: by 2002:a50:a4b6:: with SMTP id w51mr27598177edb.48.1546156174914; 
 Sat, 29 Dec 2018 23:49:34 -0800 (PST)
Received: from glht-x240.gmail.com
 (2a01cb04062c860044e3e8429e102378.ipv6.abo.wanadoo.fr.
 [2a01:cb04:62c:8600:44e3:e842:9e10:2378])
 by smtp.gmail.com with ESMTPSA id r8-v6sm8710610ejb.52.2018.12.29.23.49.33
 for <guix-patches@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Sat, 29 Dec 2018 23:49:34 -0800 (PST)
User-agent: mu4e 1.0; emacs 26.1
From: Gabriel Hondet <gabrielhondet@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add gauche.
Date: Sun, 30 Dec 2018 08:47:11 +0100
Message-ID: <875zvbjvxv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::541
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


* gnu/packages/scheme.scm (gauche): New variable.
=2D--
 gnu/packages/scheme.scm | 69 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 16904dce3..c9bea183e 100644
=2D-- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -10,6 +10,7 @@
 ;;; Copyright =C2=A9 2017 Cl=C3=A9ment Lassieur <clement@HIDDEN>
 ;;; Copyright =C2=A9 2017, 2018 Tobias Geerinckx-Rice <me@HIDDEN>
 ;;; Copyright =C2=A9 2018 Adam Massmann <massmannak@HIDDEN>
+;;; Copyright =C2=A9 2018 Gabriel Hondet <gabrielhondet@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1164,3 +1165,71 @@ simple, elegant Scheme dialect.  It is a lisp-1 with=
 lexical scope.
 The core is 12 builtin special forms and 33 builtin functions.")
       (home-page "https://github.com/JeffBezanson/femtolisp")
       (license bsd-3))))
+
+(define-public gauche
+  (package
+    (name "gauche")
+    (version "0.9.7")
+    (home-page "http://practical-scheme.net/gauche/index.html")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://prdownloads.sourceforge.net/gauche/Gauche-"
+             version ".tgz"))
+       (sha256
+        (base32
+         "181nycikma0rwrb1h6mi3kys11f8628pq8g5r3fg5hiz5sabscrd"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("texinfo" ,texinfo)
+       ("openssl" ,openssl))) ;needed for tests
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-/bin/sh
+           ;; needed only for tests
+           (lambda _
+             (begin
+               (setenv "CONFIG_SHELL" (which "sh"))
+               (substitute* '("configure"
+                              "test/www.scm"
+                              "config.guess"
+                              "ltmain.sh"
+                              "ext/tls/test.scm"
+                              "gc/configure"
+                              "lib/gauche/configure.scm"
+                              "lib/gauche/package/util.scm"
+                              "lib/gauche/process.scm")
+                 (("/bin/sh") (which "sh")))
+               #t)))
+         (add-after 'build 'build-doc
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (with-directory-excursion "doc"
+                 (for-each
+                  (lambda (target)
+                    (invoke "make" target))
+                  '("info" "html" "htmls"))))))
+         (add-before 'check 'patch-normalize-test
+           ;; neutralize sys-normalize-pathname test as it relies on
+           ;; the home directory; (setenv "HOME" xx) isn't enough)
+           (lambda _
+             (substitute* "test/system.scm"
+               (("~/abc") "//abc"))))
+         (add-before 'check 'patch-network-tests
+           ;; remove net checks
+           (lambda _
+             (substitute* "ext/Makefile"
+               (("binary net termios") "binary termios"))))
+         (add-after 'install 'install-docs
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let* ((out (assoc-ref outputs "out")))
+               (with-directory-excursion "doc"
+                 (invoke "make" "install"))))))))
+    (synopsis "Scheme scripting engine")
+    (description "Gauche is a R7RS Scheme scripting engine aiming at being=
 a
+handy tool that helps programmers and system administrators to write small=
 to
+large scripts quickly.  Quick startup, built-in system interface, native
+multilingual support are some of the goals.")
+    (license bsd-3)))
=2D-=20
2.20.1

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE5ercJXBcjd3P1FcAMbyBBfZZ1CUFAlwoeIwACgkQMbyBBfZZ
1CV+iQ//bNg2OwTcb5UzzhzIi66Cxr1S34RwAmRa9gUIOCEEJbvtcDgKRcBvmXNI
7djyUuup9JKJ2ekIp0zdpnvr1LUjnCFv7L7YHht5/3JumLEdkWK4qqZR3FwVgxPj
E48bcWFj/uDdiB7kSkFilpBUh0Ci8J/vCoI1kCxjTMvsRgQW8FFY1uYKcJm5CFML
izNjVLuL2Xwgr2mbvCKmL7Zv/7rQ3uxVok+v5KBEbh+ojiGjC+Se4rwUtSTjVM7v
fSjngPzDcq75xFw8/KkNbRoU0TL6UDE9Qqj5F6oW16hj8PJyDwacvbb9Ba7wrofE
E+ITTsa84AAAw6HoLN9eHYBq/TyRdzDckGLDrMikHdm/i04b5RDHiAJYuYI+tN4g
cpyrG7bkDcmI5balxNaQHmtcdxmm0FMKAfAHnREoF+M20LT3d3fr9ai17/KA4rM0
Rl5A/Qxfad/x2ewAjNOLoCXoI9y2+wKhsdhCQVUEpj2hTbgsrm0mwNdhpZGnD7R1
WJSYgSNTNtPNEtc6O7gXqxk7WADs/9+GOfaJknGg6CkBOIr1t6RNXEi4texgBhaD
rKDH3EdZZC8uFe/+RWv2npyun9IR1AUODdyfdvUSa25twlbJxR1y+mIXiidaEfX2
atZbDvwFYEp5V7uAKqCy0Zutawbp+5DJ2hGH85drCB8rxI88edQ=
=Z+3e
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Gabriel Hondet <gabrielhondet@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#33920; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 16 Jan 2019 10:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.