GNU bug report logs - #45601
[PATCH 0/6] vlang 0.2 update

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: Ryan Prior <rprior@HIDDEN>; Keywords: patch; dated Fri, 1 Jan 2021 19:24:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 45601) by debbugs.gnu.org; 5 Feb 2021 13:31:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 05 08:31:00 2021
Received: from localhost ([127.0.0.1]:43190 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1l81CN-0002jD-PG
	for submit <at> debbugs.gnu.org; Fri, 05 Feb 2021 08:31:00 -0500
Received: from mira.cbaines.net ([212.71.252.8]:47386)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1l81CL-0002g2-Cq
 for 45601 <at> debbugs.gnu.org; Fri, 05 Feb 2021 08:30:58 -0500
Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa])
 by mira.cbaines.net (Postfix) with ESMTPSA id 369A427BC20;
 Fri,  5 Feb 2021 13:30:56 +0000 (GMT)
Received: from capella (localhost [127.0.0.1])
 by localhost (OpenSMTPD) with ESMTP id b8df5614;
 Fri, 5 Feb 2021 13:30:55 +0000 (UTC)
References: <20210104030743.25824-1-rprior@HIDDEN>
 <20210104030743.25824-2-rprior@HIDDEN>
User-agent: mu4e 1.4.14; emacs 27.1
From: Christopher Baines <mail@HIDDEN>
To: Ryan Prior <rprior@HIDDEN>
Subject: Re: [bug#45601] [PATCH 1/1] gnu: Add picoev.
In-reply-to: <20210104030743.25824-2-rprior@HIDDEN>
Date: Fri, 05 Feb 2021 13:30:51 +0000
Message-ID: <871rduzlo4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
Cc: 45601 <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


Ryan Prior via Guix-patches via <guix-patches@HIDDEN> writes:

> * gnu/packages/networking.scm (picoev): New variable.

Hey,

This look OK to me, although the license needs checking.

Would you be able to send the entire series of patches tracked under
#45601? I'm not quite sure what's current and superseded by looking
through the various emails.

> ---
>  gnu/packages/networking.scm | 48 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 48 insertions(+)
>
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index fad917a7c0..1057014571 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -1827,6 +1827,54 @@ passphrase can be recovered and the AP's wireless =
settings can be
>  reconfigured.")
>      (license license:gpl2+)))
>=20=20
> +(define-public picoev
> +  (let ((commit "ff85d9ef578842a40f7c91d2544b7932cec74b9d")
> +        (revision "0"))
> +    (package
> +      (name "picoev")
> +      (version (git-version "0.0.0" revision commit))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://github.com/kazuho/picoev")
> +               (commit commit)))
> +         (file-name (git-file-name name version))
> +         (sha256
> +          (base32
> +           "11ga0hyx6r229wvmds4gaq0ilrcb1j84gri7gxcnv7910yf1sv61"))))
> +      (build-system gnu-build-system)
> +      (arguments
> +       `(#:tests? #f ; no tests available
> +         #:make-flags (list (string-append "CC=3D" ,(cc-for-target))
> +                            "LINUX_BUILD=3D1")
> +         #:modules ((guix build gnu-build-system)
> +                    (guix build utils)
> +                    (srfi srfi-26))
> +         #:phases
> +         (modify-phases %standard-phases
> +           (delete 'configure)
> +           (replace 'install
> +             (lambda* (#:key outputs #:allow-other-keys)
> +               (let* ((out (string-append (assoc-ref outputs "out")))
> +                      (include (string-append out "/include"))
> +                      (lib (string-append out "/lib"))
> +                      (doc (string-append out "/share/doc/" ,name "-" ,v=
ersion)))
> +                 (for-each (cut install-file <> include)
> +                           '("picoev.h"
> +                             "picoev_epoll.c"
> +                             "picoev_kqueue.c"
> +                             "picoev_select.c"))
> +                 (install-file "libpicoev.so" lib)
> +                 (install-file "README.md" doc))
> +               #t)))))
> +      (home-page "https://github.com/kazuho/picoev")
> +      (synopsis "Tiny portable event loop library")
> +      (description
> +       "This library provides a tiny event loop with a simple design,
> +supporting only @code{select(2)}, @code{epoll(2)}, and @code{kqueue(2)}.=
")
> +      (license license:expat))))

Where did you get expat from? From looking at the files, that doesn't
seem to be the case.

> +
>  (define-public perl-danga-socket
>    (package
>      (name "perl-danga-socket")


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

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

iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmAdSItfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF
ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh
aW5lcy5uZXQACgkQXiijOwuE9Xfsdw/+KLod8S+dxdMhUy/8wtPAbrMKwtWOCs8t
cR8KCRHFYfPKT5fLRpra+Vb7BpY0SmmJx2dl8oKcaXNBeQL8Xx5n3kMY4/6eZtic
4xwaAe07rzOv0DEI2txHD85m2GKM0CpRwwuK620XmO/TZquRuj8KnyiFFN9WYXFY
fFc19aDMXp34c1bwsxis/Epms9eQSaF/wI+upyGxlZkroGxmnPge3ga/26Dr0N7P
y/xs3uchp+drRmYHqPyCuad/J5ls22bSqo2mrrnuvulMcmzFYG4M/ofJVFPSjuEc
TgFXCrGjhX+iSCD+2gBTCyadhiIbpQdSKsoiD2l+plmOnVT0Ro28BBEnyOudfjvJ
a4/V/zo/ms2zXGYhDnV2rYlgPgRzJH9yYm7v+sNbP/aCTrsnK9oJNTNX5aMoenHU
PV8cKWeHowlKO/xQT2FLfd0Ldd3yYDqKG+EZn9UIwgIwUS8CVU2Iak+z550IZq9P
EkYjR8CgbqAmQJaBoAJWJ4QiYtbxO2w7O73BWrPyKatKcnTb0BNqsdjkbB/acbAa
YiY1DWtx8/Fd3F7uh0abLg7IwJlOdYohe1o+QwzUW22ZazPkvyErswyzECt6pW97
1Qn5/kA2QvNbi1nY1M/PFmp3b/qQ091vQJ96KzpSPtYmLycsRVDVfu/fVHwSHO+I
A8gE5Tgfwus=
=Zv62
-----END PGP SIGNATURE-----
--=-=-=--




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

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


Received: (at 45601) by debbugs.gnu.org; 4 Jan 2021 03:08:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 22:08:01 2021
Received: from localhost ([127.0.0.1]:39103 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwGDw-0006Vw-UQ
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 22:08:01 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:25218)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kwGDu-0006VX-Nm
 for 45601 <at> debbugs.gnu.org; Sun, 03 Jan 2021 22:07:59 -0500
Date: Mon, 04 Jan 2021 03:07:46 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609729673;
 bh=46ctNkNjO1M9dM1D+rbsbVJqWXJDqJRXc0Vs3vsFv2E=;
 h=Date:To:From:Reply-To:Subject:From;
 b=TmJoye2GCNcoCjHuqHadgAThhBftF6lmIBsm+ZFmXD1XqipHiR0SzwvHIBlgldF4i
 oFzoDffoE+gmBA8AaFNTr3/JQCWVMEaT7cZCbTvvIPKE6KKt+jYBjJSPgf8QPZME4o
 qziBuQTM+7rNnFq3idk4Jy7kVJbaCB6eFrR/jfNI=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 0/1] Updated picoev patch based on feedback
Message-ID: <20210104030743.25824-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Based on Leo's feedback from the wyhash patch, I've updated the patch for p=
icoev as well.

Ryan Prior (1):
  gnu: Add picoev.

 gnu/packages/networking.scm | 48 +++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 4 Jan 2021 03:08:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 22:07:59 2021
Received: from localhost ([127.0.0.1]:39101 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwGDv-0006Vo-LA
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 22:07:59 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:37713)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kwGDt-0006VU-Ty
 for 45601 <at> debbugs.gnu.org; Sun, 03 Jan 2021 22:07:58 -0500
Date: Mon, 04 Jan 2021 03:07:49 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609729671;
 bh=hRb+YMNxBbbTeEwESHEcTVR1UZu/Nvczlvdc6ypYakU=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=adiL4QkofGxsB1sl5ztdzHvhlMJ/jjVf0c5RLaO8YlHXdAZEVj9U+fctAtORWRQUG
 Zokxa0q9IOqcKidjO2VhA8wpti8EramStTu3pEzubPOoj8wNGa9IViugFIr+2OLNzu
 /wb3AQpdwX7NfGF6CxHMfqg8sPiGvXlTlekzVJT0=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 1/1] gnu: Add picoev.
Message-ID: <20210104030743.25824-2-rprior@HIDDEN>
In-Reply-To: <20210104030743.25824-1-rprior@HIDDEN>
References: <20210104030743.25824-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/networking.scm (picoev): New variable.
---
 gnu/packages/networking.scm | 48 +++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index fad917a7c0..1057014571 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1827,6 +1827,54 @@ passphrase can be recovered and the AP's wireless se=
ttings can be
 reconfigured.")
     (license license:gpl2+)))
=20
+(define-public picoev
+  (let ((commit "ff85d9ef578842a40f7c91d2544b7932cec74b9d")
+        (revision "0"))
+    (package
+      (name "picoev")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kazuho/picoev")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "11ga0hyx6r229wvmds4gaq0ilrcb1j84gri7gxcnv7910yf1sv61"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f ; no tests available
+         #:make-flags (list (string-append "CC=3D" ,(cc-for-target))
+                            "LINUX_BUILD=3D1")
+         #:modules ((guix build gnu-build-system)
+                    (guix build utils)
+                    (srfi srfi-26))
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (string-append (assoc-ref outputs "out")))
+                      (include (string-append out "/include"))
+                      (lib (string-append out "/lib"))
+                      (doc (string-append out "/share/doc/" ,name "-" ,ver=
sion)))
+                 (for-each (cut install-file <> include)
+                           '("picoev.h"
+                             "picoev_epoll.c"
+                             "picoev_kqueue.c"
+                             "picoev_select.c"))
+                 (install-file "libpicoev.so" lib)
+                 (install-file "README.md" doc))
+               #t)))))
+      (home-page "https://github.com/kazuho/picoev")
+      (synopsis "Tiny portable event loop library")
+      (description
+       "This library provides a tiny event loop with a simple design,
+supporting only @code{select(2)}, @code{epoll(2)}, and @code{kqueue(2)}.")
+      (license license:expat))))
+
 (define-public perl-danga-socket
   (package
     (name "perl-danga-socket")
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 4 Jan 2021 02:57:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 21:57:42 2021
Received: from localhost ([127.0.0.1]:39088 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwG3y-0006Fh-Dk
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 21:57:42 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:63246)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kwG3w-0006FU-5i
 for 45601 <at> debbugs.gnu.org; Sun, 03 Jan 2021 21:57:41 -0500
Date: Mon, 04 Jan 2021 02:57:29 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609729053;
 bh=3QnSLU5XCKm2qhjdSXb3WRPHyaKMwVUGiIv8C9UsjaE=;
 h=Date:To:From:Reply-To:Subject:From;
 b=ZGFJ9Vbw1zWZ7zdMvm/WmAUGfowhSUXAYboLILV7mCLrhGcGGr8p3p7H8fMlzSskC
 Ajw8EOeEJwb/haIQKO8bJMeTl6oYzGfIJyUwQpj/Q9h+E2r+wZb1vYhqfkHxwzn8sg
 ExSbC3tnl1pfhvTqc8yJ/CazR3q5OtU7BBpi95kw=
To: "45601 <at> debbugs.gnu.org" <45601 <at> debbugs.gnu.org>,
 Leo Famulari <leo@HIDDEN>
From: Ryan Prior <rprior@HIDDEN>
Subject: Re: [bug#45601] [PATCH] gnu: Add wyhash.
Message-ID: <BDkXqmEbo4xMAVPNvmVOfa1ob-cldIbg3kxmkdJfI4T0EwTxJZcMDmpoy33y4rKdOr6WAtVNDo5n2pdY7fIgh2OA2tv0nmgGrvlnm0Apa9Q=@protonmail.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="b1_fxW3pPRtp7PrrjwgfKb8w24CnEY1NGFoIRJVGgLQ0"
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE
 shortcircuit=no autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.

--b1_fxW3pPRtp7PrrjwgfKb8w24CnEY1NGFoIRJVGgLQ0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64

VGhhbmsgeW91ISBBZ3JlZWQgb24gYWxsIHBvaW50cy4KCkkgaW5pdGlhbGx5IGRpZCBjYWxsIHRo
ZSB2YXJpYWJsZSBgaW5jbHVkZScgYnV0IEVtYWNzIHNjaGVtZS1tb2RlIGhpZ2hsaWdodGVkIGl0
IHVzaW5nIGEga2V5d29yZCBmYWNlLCB3aGljaCBtYWRlIG1lIHdvcnJ5IGlmIEkgc2hvdWxkbid0
IGNob29zZSBzb21ldGhpbmcgZWxzZSBpbiBjYXNlIGluY2x1ZGUgaXMgc29tZSBraW5kIG9mIHJl
c2VydmVkIHdvcmQuCgpJIGRpZG4ndCBrbm93IGFib3V0IGB3aXRoLWRpcmVjdG9yeS1leGN1cnNp
b24nIGJlZm9yZSBidXQgaXQncyBjbGVhcmx5IHByZWZlcmFibGUuIEkgZ290IHRoZSBpZGVhIHRv
IHVzZSBgY2hkaXInIGZyb20gbG9va2luZyBhdCBvdGhlciBwYWNrYWdlcyAoaXQncyB1c2VkIG1h
bnkgaHVuZHJlZHMgb2YgcGxhY2VzLik=

--b1_fxW3pPRtp7PrrjwgfKb8w24CnEY1NGFoIRJVGgLQ0
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: base64

PGRpdj5UaGFuayB5b3UhIEFncmVlZCBvbiBhbGwgcG9pbnRzLjxicj48L2Rpdj48ZGl2Pjxicj48
L2Rpdj48ZGl2PkkgaW5pdGlhbGx5IGRpZCBjYWxsIHRoZSB2YXJpYWJsZSBgaW5jbHVkZScgYnV0
IEVtYWNzIHNjaGVtZS1tb2RlIGhpZ2hsaWdodGVkIGl0IHVzaW5nIGEga2V5d29yZCBmYWNlLCB3
aGljaCBtYWRlIG1lIHdvcnJ5IGlmIEkgc2hvdWxkbid0IGNob29zZSBzb21ldGhpbmcgZWxzZSBp
biBjYXNlIGluY2x1ZGUgaXMgc29tZSBraW5kIG9mIHJlc2VydmVkIHdvcmQuPGJyPjwvZGl2Pjxk
aXY+PGJyPjwvZGl2PjxkaXY+SSBkaWRuJ3Qga25vdyBhYm91dCBgd2l0aC1kaXJlY3RvcnktZXhj
dXJzaW9uJyBiZWZvcmUgYnV0IGl0J3MgY2xlYXJseSBwcmVmZXJhYmxlLiBJIGdvdCB0aGUgaWRl
YSB0byB1c2UgYGNoZGlyJyBmcm9tIGxvb2tpbmcgYXQgb3RoZXIgcGFja2FnZXMgKGl0J3MgdXNl
ZCBtYW55IGh1bmRyZWRzIG9mIHBsYWNlcy4pPGJyPjwvZGl2Pg==


--b1_fxW3pPRtp7PrrjwgfKb8w24CnEY1NGFoIRJVGgLQ0--





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

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


Received: (at 45601) by debbugs.gnu.org; 4 Jan 2021 02:08:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 21:08:04 2021
Received: from localhost ([127.0.0.1]:39069 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwFHv-00057f-Si
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 21:08:04 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:35681)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1kwFHu-00056P-4n
 for 45601 <at> debbugs.gnu.org; Sun, 03 Jan 2021 21:08:02 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id E17E65C00D6;
 Sun,  3 Jan 2021 21:07:56 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Sun, 03 Jan 2021 21:07:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:in-reply-to; s=mesmtp; bh=ht//q+DpK+kaZOxZea1U9C4m
 gHQ1s6y16+9Odcyd/XQ=; b=fETYBVuAxqqXVEMrB44R6scpMsKWWEHPUhYiIxOT
 EXJHqybelGsTVNWwvcUcxP4qh64ysOynWEygbA2pCRKz5/WoCq2dLoBNmZlUt8CV
 6T3hrAGikePKeA5CPRyZoX3iEJl/GzqXKqHJ2o4qPwKjR/ntkSPq0Y0U1y6TGORf
 Li0=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ht//q+
 DpK+kaZOxZea1U9C4mgHQ1s6y16+9Odcyd/XQ=; b=GtVQliBuuB05sOOpBqcnDf
 0fX5cPvkDywnUEZuUwBqsMalNFf2UfV1fYgCPIKAjhK7KjWq4lCvY3e4/cZGW6mp
 /EQsYlw7h8uWfMR+O8jmdb4f+YGcHe3Ntc7R3EppXvE8NMrjapFVHCEwRUhZXUmC
 F40EbcUWRcBXWC1eeOcljeP9p9BCZtVEL0gXriLJE2cZNNd3eJWPjtGLq0/C0bbJ
 iM1DeJckIV+T/f/xBYfKsUn7V5a1QAjXzR38Ay+3xOsbR5hE9i8FChszu7rVvyhb
 HHOfO7t+TIpA4DtSm+bF4ORxTA7rVrHJV+wK0z0tw4ojCXnZxYNpvSJexKWzRyLA
 ==
X-ME-Sender: <xms:fHjyX3e6MjPakZ0Z-Q3fsbQ8dD8k8B2Vv0CFtlXi5cbPjhCRXcvfsw>
 <xme:fHjyX9Nqyr_RDkgs8pUPhTa93uK6O9q47xGsU0EV1d1LZpvzxWZgWfWRyITAyr2Pe
 xmUO4upvjxU_01AiQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefvddggedvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh
 rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth
 gvrhhnpedvvddugefffeeitddthfefvdeuhffgkeeikeegkeevteeghfeftefggeeuudff
 ieenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeefrddugedurdduvdejrdduge
 einecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgv
 ohesfhgrmhhulhgrrhhirdhnrghmvg
X-ME-Proxy: <xmx:fHjyXwhmDfE3fX3ZF6fBB_0otpWF6HRQHjjmuILYmJaK2y2neiCsdQ>
 <xmx:fHjyX48No_BdrluEGpLUZJMWMki-7pD8t_zkQLIjGyAAz2K-c6v4Xw>
 <xmx:fHjyXzsEs7FsVeMlA9e_hcXDtJpMTMNWjNqDvEgn-5gvWiMwZonTUA>
 <xmx:fHjyXw4FtF66eExAgoPMsU7mQQmVKrMd70qQUeLA_XLA2F9A5xnvsA>
Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net
 [73.141.127.146])
 by mail.messagingengine.com (Postfix) with ESMTPA id 990A924005B;
 Sun,  3 Jan 2021 21:07:56 -0500 (EST)
Date: Sun, 3 Jan 2021 21:07:55 -0500
From: Leo Famulari <leo@HIDDEN>
To: Ryan Prior via Guix-patches via <guix-patches@HIDDEN>
Subject: Re: [bug#45601] [PATCH] gnu: Add wyhash.
Message-ID: <X/J4e6ZeWlTIystM@HIDDEN>
References: <20210101192319.23494-1-rprior@HIDDEN>
 <20210101211926.29943-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20210101211926.29943-1-rprior@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 45601
Cc: 45601 <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 Fri, Jan 01, 2021 at 09:19:29PM +0000, Ryan Prior via Guix-patches via wrote:
> * gnu/packages/datastructures.scm (wyhash): New variable.

Thanks!

Pushed as 4a829b2d55bc9b0ad5a335c8228a7d2371fa1d9a with the following
changes...

I corrected the commit message (changing "datastructures.scm" to
"digest.scm"), tweaked the logic of the builder to be more idiomatic,
and removed the period at the end of the synopsis (`guix lint`
complained).

> +       #:builder
> +       (begin
> +         (use-modules (guix build utils))
> +         (let* ((out (string-append (assoc-ref %outputs "out")))
> +                (src (string-append out "/include"))
> +                (doc (string-append out "/share/doc/" ,name "-" ,version)))
> +           (mkdir-p src)
> +           (mkdir-p doc)
> +           (chdir (assoc-ref %build-inputs "source"))
> +           (install-file "wyhash.h" src)
> +           (install-file "LICENSE" doc)
> +           (install-file "README.md" doc))
> +         #t)))

Regarding the builder:

1) install-file does mkdir-p [0], so that can be omitted.
2) I think it's more clear to use "include" rather than "src" when
binding the output's include directory
3) Using with-directory-excursion instead of chdir is more in tune with
a functional coding style [1], in my opinion

[0]
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/utils.scm?h=version-1.2.0#n310

[1]
https://guix.gnu.org/manual/en/html_node/Programming-Paradigm.html




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

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


Received: (at submit) by debbugs.gnu.org; 4 Jan 2021 02:08:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 21:08:01 2021
Received: from localhost ([127.0.0.1]:39062 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwFHt-00056p-IM
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 21:08:01 -0500
Received: from lists.gnu.org ([209.51.188.17]:49046)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1kwFHs-00056g-LE
 for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 21:08:01 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50830)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1kwFHr-0006jl-Cf
 for guix-patches@HIDDEN; Sun, 03 Jan 2021 21:08:00 -0500
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33061)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1kwFHp-0004IR-I1
 for guix-patches@HIDDEN; Sun, 03 Jan 2021 21:07:59 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id E17E65C00D6;
 Sun,  3 Jan 2021 21:07:56 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute3.internal (MEProxy); Sun, 03 Jan 2021 21:07:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:in-reply-to; s=mesmtp; bh=ht//q+DpK+kaZOxZea1U9C4m
 gHQ1s6y16+9Odcyd/XQ=; b=fETYBVuAxqqXVEMrB44R6scpMsKWWEHPUhYiIxOT
 EXJHqybelGsTVNWwvcUcxP4qh64ysOynWEygbA2pCRKz5/WoCq2dLoBNmZlUt8CV
 6T3hrAGikePKeA5CPRyZoX3iEJl/GzqXKqHJ2o4qPwKjR/ntkSPq0Y0U1y6TGORf
 Li0=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ht//q+
 DpK+kaZOxZea1U9C4mgHQ1s6y16+9Odcyd/XQ=; b=GtVQliBuuB05sOOpBqcnDf
 0fX5cPvkDywnUEZuUwBqsMalNFf2UfV1fYgCPIKAjhK7KjWq4lCvY3e4/cZGW6mp
 /EQsYlw7h8uWfMR+O8jmdb4f+YGcHe3Ntc7R3EppXvE8NMrjapFVHCEwRUhZXUmC
 F40EbcUWRcBXWC1eeOcljeP9p9BCZtVEL0gXriLJE2cZNNd3eJWPjtGLq0/C0bbJ
 iM1DeJckIV+T/f/xBYfKsUn7V5a1QAjXzR38Ay+3xOsbR5hE9i8FChszu7rVvyhb
 HHOfO7t+TIpA4DtSm+bF4ORxTA7rVrHJV+wK0z0tw4ojCXnZxYNpvSJexKWzRyLA
 ==
X-ME-Sender: <xms:fHjyX3e6MjPakZ0Z-Q3fsbQ8dD8k8B2Vv0CFtlXi5cbPjhCRXcvfsw>
 <xme:fHjyX9Nqyr_RDkgs8pUPhTa93uK6O9q47xGsU0EV1d1LZpvzxWZgWfWRyITAyr2Pe
 xmUO4upvjxU_01AiQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvdefvddggedvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhepfffhvffukfhfgggtuggjsehttdertddttddvnecuhfhrohhmpefnvghoucfh
 rghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtth
 gvrhhnpedvvddugefffeeitddthfefvdeuhffgkeeikeegkeevteeghfeftefggeeuudff
 ieenucffohhmrghinhepghhnuhdrohhrghenucfkphepjeefrddugedurdduvdejrdduge
 einecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgv
 ohesfhgrmhhulhgrrhhirdhnrghmvg
X-ME-Proxy: <xmx:fHjyXwhmDfE3fX3ZF6fBB_0otpWF6HRQHjjmuILYmJaK2y2neiCsdQ>
 <xmx:fHjyX48No_BdrluEGpLUZJMWMki-7pD8t_zkQLIjGyAAz2K-c6v4Xw>
 <xmx:fHjyXzsEs7FsVeMlA9e_hcXDtJpMTMNWjNqDvEgn-5gvWiMwZonTUA>
 <xmx:fHjyXw4FtF66eExAgoPMsU7mQQmVKrMd70qQUeLA_XLA2F9A5xnvsA>
Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net
 [73.141.127.146])
 by mail.messagingengine.com (Postfix) with ESMTPA id 990A924005B;
 Sun,  3 Jan 2021 21:07:56 -0500 (EST)
Date: Sun, 3 Jan 2021 21:07:55 -0500
From: Leo Famulari <leo@HIDDEN>
To: Ryan Prior via Guix-patches via <guix-patches@HIDDEN>
Subject: Re: [bug#45601] [PATCH] gnu: Add wyhash.
Message-ID: <X/J4e6ZeWlTIystM@HIDDEN>
References: <20210101192319.23494-1-rprior@HIDDEN>
 <20210101211926.29943-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20210101211926.29943-1-rprior@HIDDEN>
Received-SPF: pass client-ip=66.111.4.29; envelope-from=leo@HIDDEN;
 helo=out5-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: 45601 <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: -2.4 (--)

On Fri, Jan 01, 2021 at 09:19:29PM +0000, Ryan Prior via Guix-patches via wrote:
> * gnu/packages/datastructures.scm (wyhash): New variable.

Thanks!

Pushed as 4a829b2d55bc9b0ad5a335c8228a7d2371fa1d9a with the following
changes...

I corrected the commit message (changing "datastructures.scm" to
"digest.scm"), tweaked the logic of the builder to be more idiomatic,
and removed the period at the end of the synopsis (`guix lint`
complained).

> +       #:builder
> +       (begin
> +         (use-modules (guix build utils))
> +         (let* ((out (string-append (assoc-ref %outputs "out")))
> +                (src (string-append out "/include"))
> +                (doc (string-append out "/share/doc/" ,name "-" ,version)))
> +           (mkdir-p src)
> +           (mkdir-p doc)
> +           (chdir (assoc-ref %build-inputs "source"))
> +           (install-file "wyhash.h" src)
> +           (install-file "LICENSE" doc)
> +           (install-file "README.md" doc))
> +         #t)))

Regarding the builder:

1) install-file does mkdir-p [0], so that can be omitted.
2) I think it's more clear to use "include" rather than "src" when
binding the output's include directory
3) Using with-directory-excursion instead of chdir is more in tune with
a functional coding style [1], in my opinion

[0]
https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/utils.scm?h=version-1.2.0#n310

[1]
https://guix.gnu.org/manual/en/html_node/Programming-Paradigm.html




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

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


Received: (at 45601) by debbugs.gnu.org; 4 Jan 2021 01:46:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 20:46:46 2021
Received: from localhost ([127.0.0.1]:39022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwExJ-0004aY-V3
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 20:46:46 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:27912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kwExI-0004aF-LM
 for 45601 <at> debbugs.gnu.org; Sun, 03 Jan 2021 20:46:45 -0500
Date: Mon, 04 Jan 2021 01:46:30 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609724798;
 bh=B30fK8lHaVZLqv+afh/nE3jOII7eLogb/3hoLGtz3B8=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=n8uWomfKeXgxVtVAlCXZNFDj6SAqHzErW+OmCk/+pMEqvQRFV0sV/DNplzPWPaooa
 YfaguoU969JhRGWpEUBlvxGLp1WfjJ5Jgcaoie6KjyyPcr408nEZb6bx6xsVrWM3Hk
 0a95v56CasHZeEvpdZJf1dSLqRbc89Hf8EIsLTgA=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 2/2] gnu: vlang: Use system picoenv.
Message-ID: <20210104014620.19614-3-rprior@HIDDEN>
In-Reply-To: <20210104014620.19614-1-rprior@HIDDEN>
References: <20210104014620.19614-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/vlang.scm (vlang): Use system picoenv.
---
 gnu/packages/vlang.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index dd970e643a..c3f439fce6 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -24,6 +24,7 @@
   #:use-module (gnu packages javascript)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages maths)
+  #:use-module (gnu packages networking)
   #:use-module (gnu packages node)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
@@ -74,6 +75,7 @@
          (for-each delete-file-recursively
                    '("thirdparty/bignum"
                      "thirdparty/cJSON"
+                     "thirdparty/picoev"
                      "thirdparty/wyhash"))))))
    (build-system gnu-build-system)
    (arguments
@@ -102,7 +104,10 @@
                (assoc-ref inputs "cJSON")))
             (substitute* "vlib/hash/wyhash.c.v"
               (("@VROOT/thirdparty/wyhash")
-               (string-append (assoc-ref inputs "wyhash") "/include")))))
+               (string-append (assoc-ref inputs "wyhash") "/include")))
+            (substitute* "vlib/picoev/picoev.v"
+              (("@VROOT/thirdparty/picoev")
+               (string-append (assoc-ref inputs "picoev") "/include")))))
         (add-before 'build 'patch-cc
           (lambda _
             (let* ((bin "tmp/bin")
@@ -164,6 +169,7 @@
     `(("glib" ,glib)
       ("tiny-bignum" ,tiny-bignum)
       ("cJSON" ,(package-source cjson))
+      ("picoev" ,picoev)
       ("wyhash" ,wyhash)))
    (native-inputs
     `(("vc"
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 4 Jan 2021 01:46:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 20:46:38 2021
Received: from localhost ([127.0.0.1]:39019 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwExC-0004a9-IA
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 20:46:38 -0500
Received: from mail-40131.protonmail.ch ([185.70.40.131]:13889)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kwEx9-0004Zo-GD
 for 45601 <at> debbugs.gnu.org; Sun, 03 Jan 2021 20:46:36 -0500
Date: Mon, 04 Jan 2021 01:46:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609724788;
 bh=F/PfAWFBKivJtuHe4rv4J9q+HSIPxrOVMXdHfup9KdI=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=W0mkWuuMAoyiQz8nErC9bkwbUZKc7D4DRh7LZI2C+F/u7mJrtAk6B2lq7UpjIthdM
 bLxrwbSDmo6V/m2RT7eqeFcU1P8VGSJUh6F0ch4vGlloPwapy5UvzZ1bkzQN14/Blf
 2VbhT8EXBOUNg4+kUXSUxS0j/NDuDCDC7t1C1Ay0=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 1/2] gnu: Add picoev.
Message-ID: <20210104014620.19614-2-rprior@HIDDEN>
In-Reply-To: <20210104014620.19614-1-rprior@HIDDEN>
References: <20210104014620.19614-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/networking.scm (picoev): New variable.
---
 gnu/packages/networking.scm | 51 +++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 8c9db0c6b4..42eb7b3c59 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1828,6 +1828,57 @@ passphrase can be recovered and the AP's wireless se=
ttings can be
 reconfigured.")
     (license license:gpl2+)))
=20
+(define-public picoev
+  (let ((commit "ff85d9ef578842a40f7c91d2544b7932cec74b9d")
+        (revision "0"))
+    (package
+      (name "picoev")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kazuho/picoev")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "11ga0hyx6r229wvmds4gaq0ilrcb1j84gri7gxcnv7910yf1sv61"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:tests? #f ; no tests available
+         #:make-flags (list (string-append "CC=3D" ,(cc-for-target))
+                            "LINUX_BUILD=3D1")
+         #:modules ((guix build gnu-build-system)
+                    (guix build utils)
+                    (srfi srfi-26))
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)
+           (replace 'install
+             (lambda* (#:key outputs #:allow-other-keys)
+               (let* ((out (string-append (assoc-ref outputs "out")))
+                      (src (string-append out "/include"))
+                      (lib (string-append out "/lib"))
+                      (doc (string-append out "/share/doc/" ,name "-" ,ver=
sion)))
+                 (mkdir-p src)
+                 (mkdir-p lib)
+                 (mkdir-p doc)
+                 (for-each (cut install-file <> src)
+                           '("picoev.h"
+                             "picoev_epoll.c"
+                             "picoev_kqueue.c"
+                             "picoev_select.c"))
+                 (install-file "libpicoev.so" lib)
+                 (install-file "README.md" doc))
+               #t)))))
+      (home-page "https://github.com/kazuho/picoev")
+      (synopsis "Tiny portable event loop library.")
+      (description
+       "This library provides a tiny event loop with a simple design,
+supporting only @code{select(2)}, @code{epoll(2)}, and @code{kqueue(2)}.")
+      (license license:expat))))
+
 (define-public perl-danga-socket
   (package
     (name "perl-danga-socket")
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 4 Jan 2021 01:46:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 03 20:46:38 2021
Received: from localhost ([127.0.0.1]:39017 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kwExC-0004a7-A0
	for submit <at> debbugs.gnu.org; Sun, 03 Jan 2021 20:46:38 -0500
Received: from mail-40131.protonmail.ch ([185.70.40.131]:10581)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kwEx9-0004Zn-GZ
 for 45601 <at> debbugs.gnu.org; Sun, 03 Jan 2021 20:46:36 -0500
Date: Mon, 04 Jan 2021 01:46:24 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609724789;
 bh=NN0aoZSfS69pEr9mhj+l/EgaKZ/w4C7ofdzAKuvbjtc=;
 h=Date:To:From:Reply-To:Subject:From;
 b=HGAmLYb8mAMF/Q8pG9dsjYHKNoK8g6N3npYNGYoMe6vhO8cjeGcW6p7oWDVADJwLb
 R5cxekZlSXrAHnL706OQD5cr1Ado4aC7IRZEk4++dDStkxufsmrNGvxB8PNWRrUuwI
 noa0knv6KqiZI2Ut1wGBRoE54n3om7yJqZdMGa2w=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 0/2] Another vlang dependency plucked out (re: bug#45601)
Message-ID: <20210104014620.19614-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hey Guix! Here's a couple patches that extract yet another vendored dependn=
ecy: picoev, a tiny portable networking event loop library. This furthers t=
he work on vlang 0.2 in other patches of this series.

Ryan Prior (2):
  gnu: Add picoev.
  gnu: vlang: Use system picoenv.

 gnu/packages/networking.scm | 51 +++++++++++++++++++++++++++++++++++++
 gnu/packages/vlang.scm      |  8 +++++-
 2 files changed, 58 insertions(+), 1 deletion(-)

--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 3 Jan 2021 00:09:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 02 19:09:19 2021
Received: from localhost ([127.0.0.1]:32976 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvqxS-000774-Sf
	for submit <at> debbugs.gnu.org; Sat, 02 Jan 2021 19:09:19 -0500
Received: from mail-40133.protonmail.ch ([185.70.40.133]:18556)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvqxP-00076k-T5
 for 45601 <at> debbugs.gnu.org; Sat, 02 Jan 2021 19:09:17 -0500
Date: Sun, 03 Jan 2021 00:09:02 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609632549;
 bh=IhcHjGg5tFT5s3PkKWJYxcCRskz6gFZLfqQAT56wwOU=;
 h=Date:To:From:Reply-To:Subject:From;
 b=FpwknpA0Z1kGOJDVVsSE8Ig31xCGwofM+YGzL2MSe7feR1z+iOtcnUxgM4dbA7his
 Fb2KYVokF8sY5e06e5JM6jn0x7zttxkHmlEUFw5/itWlUoGgv+XHijTQ6RPW+v80q6
 0orJfjlgpWjLP0ZXVRFlH+nl4uwVL6H+/ZpBZc7U=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH] gnu: vlang: Update to 0.2.
Message-ID: <20210103000858.1778-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

  - Moves the cc-patching logic out of check into an explicit "patch-cc" st=
age.
  - Adds "build-tools" stage to pre-build the included tools.
  - Sets native-search-paths.
  - Fixes many tests.
---
 gnu/packages/vlang.scm | 85 +++++++++++++++++++++++++++++++-----------
 1 file changed, 63 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index e0b2e7bcfc..69c5598d0d 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -19,10 +19,15 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
=20
 (define-module (gnu packages vlang)
+  #:use-module (gnu packages digest)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages javascript)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages node)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages valgrind)
+  #:use-module (gnu packages version-control)
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system gnu)
   #:use-module (guix git-download)
@@ -30,10 +35,21 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
=20
+(define markdown-origin
+  (let ((markdown-version "1ccfbcba945b649b61738b9c0455d31cf99564b2"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/vlang/markdown")
+            (commit markdown-version)))
+      (file-name (git-file-name "vlang-markdown" markdown-version))
+      (sha256
+       (base32 "0s982qiwy4s9y07x9fsy4yn642schplhp9hrw2libg2bx4sw43as")))))
+
 (define-public vlang
   (package
    (name "vlang")
-   (version "0.1.29")
+   (version "0.2")
    (source
     (origin
      (method git-fetch)
@@ -42,7 +58,7 @@
            (commit version)))
      (file-name (git-file-name name version))
      (sha256
-      (base32 "1rqi7cah5nq8aggrib9xvdpfjxq20li91svv0w9yny6nn1ag7snx"))))
+      (base32 "1x2sf2j6xl11kjvv0i0anjqwsfb1la11xr7yhdnbix9808442wm2"))))
    (build-system gnu-build-system)
    (arguments
     `(#:make-flags
@@ -61,42 +77,60 @@
           (lambda _
             (substitute* "Makefile"
               (("rm -rf") "true")
-              (("v self") (string-append "v -cc " ,(cc-for-target) " cmd/v=
")))
+              (("--branch") ""))))
+        (add-before 'build 'patch-cc
+          (lambda _
+            (let* ((bin "tmp/bin")
+                   (gcc (which "gcc")))
+              (mkdir-p bin)
+              (symlink gcc (string-append bin "/cc"))
+              (setenv "PATH" (string-append bin ":" (getenv "PATH"))))
+            #t))
+        (add-after 'build 'build-tools
+          (lambda* (#:key inputs #:allow-other-keys)
+            (copy-recursively (assoc-ref inputs "vmodules/markdown") "vmod=
ules/markdown")
+            (setenv "VMODULES" (string-append (getcwd) "/vmodules"))
+            (invoke "./v" "build-tools" "-v")
             #t))
-        (add-before 'check 'delete-failing-tests
-          ;; XXX As always, these should eventually be fixed and run.
+        (add-before 'check 'fix-or-delete-failing-tests
           (lambda _
+            ;; The x64 tests copy .vv files into the test directory and th=
en
+            ;; write to them, so we need to make them writeable.
+            (for-each (lambda (vv) (chmod vv #o644))
+                      (find-files "vlib/v/gen/x64/tests/" "\\.vv$"))
+            ;; The process test explicitly calls "/bin/sleep" and "/bin/da=
te"
+            (substitute* "vlib/os/process_test.v"
+              (("/bin/sleep") (which "sleep"))
+              (("/bin/date") (which "date")))
+            ;; The valgrind test can't find `cc' even though it's on PATH,=
 so
+            ;; we pass it as an explicit argument.
+            (substitute* "vlib/v/tests/valgrind/valgrind_test.v"
+              (("\\$vexe") "$vexe -cc gcc"))
             (for-each delete-file
-                      '("vlib/v/gen/x64/tests/x64_test.v"
-                        "vlib/v/tests/repl/repl_test.v"
-                        "vlib/v/tests/valgrind/valgrind_test.v"
-                        "vlib/v/tests/valgrind/strings_and_arrays.vv"
+                      '(;; XXX As always, these should eventually be fixed=
 and run.
+                        "vlib/vweb/tests/vweb_test.v"
                         "vlib/v/tests/live_test.v"
-                        "vlib/net/websocket/ws_test.v"))
+                        "vlib/v/tests/repl/repl_test.v"))
             #t))
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
-            (let* ((bin "tmp/bin")
-                   (gcc (which "gcc")))
-              (when tests?
-                (mkdir-p bin)
-                (symlink gcc (string-append bin "/cc"))
-                (setenv "PATH" (string-append bin ":" (getenv "PATH")))
-                (invoke "./v" "test-fixed")))
+            (when tests?
+              (invoke "./v" "test-fixed"))
             #t))
         (replace 'install
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
-                   (tools (string-append bin "/cmd/tools"))
+                   (cmd (string-append bin "/cmd"))
                    (thirdparty (string-append bin "/thirdparty"))
                    (vlib (string-append bin "/vlib"))
+                   (vmodules (string-append bin "/vmodules"))
                    (vmod (string-append bin "/v.mod")))
               (mkdir-p bin)
               (copy-file "./v" (string-append bin "/v"))
               ;; v requires as of 0.1.27 that these other components are i=
n the
               ;; same directory. In a future release we may be able to mov=
e
               ;; these into other output folders.
-              (copy-recursively "cmd/tools" tools)
+              (copy-recursively "cmd" cmd)
               (copy-recursively "thirdparty" thirdparty)
               (copy-recursively "vlib" vlib)
               (copy-file "v.mod" vmod))
@@ -107,7 +141,7 @@
     `(("vc"
        ;; Versions are not consistently tagged, but the matching commit wi=
ll
        ;; probably have =E2=80=98v0.x.y=E2=80=99 in the commit message.
-       ,(let ((vc-version "b01d0fcda4b55861baa4be82e307cca4834b1641"))
+       ,(let ((vc-version "047460a4ae5f4a1ba8c31dc50ec5e50ebe80b7f6"))
           ;; v bootstraps from generated c source code from a dedicated
           ;; repository. It's readable, as generated source goes, and not =
at all
           ;; obfuscated, and it's about 15kb. The original source written =
in
@@ -121,13 +155,20 @@
                   (commit vc-version)))
             (file-name (git-file-name "vc" vc-version))
             (sha256
-             (base32 "052gp5q2k31r3lci3rx4k0vy0vjdjva64xvrbbihn8lgmw63lc9f=
")))))
+             (base32 "1wlr9yzxz4bc7pbzbplzhjjr9sz5mwy2k2z5d3vwsnz56g245146=
")))))
+      ("vmodules/markdown" ,markdown-origin)
=20
       ;; For the tests.
       ("libx11" ,libx11)
       ("node" ,node)
       ("openssl" ,openssl)
-      ("sqlite" ,sqlite)))
+      ("ps" ,procps)
+      ("sqlite" ,sqlite)
+      ("valgrind" ,valgrind)))
+   (native-search-paths
+    (list (search-path-specification
+           (variable "VMODULES")
+           (files '("bin/")))))
    (home-page "https://vlang.io/")
    (synopsis "Compiler for the V programming language")
    (description
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 21:19:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 16:19:46 2021
Received: from localhost ([127.0.0.1]:34987 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvRpq-0001Px-N4
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 16:19:46 -0500
Received: from mail-40134.protonmail.ch ([185.70.40.134]:17751)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvRpn-0001Pg-PH
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 16:19:44 -0500
Date: Fri, 01 Jan 2021 21:19:29 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609535976;
 bh=R3I+BSkI7+jgnXMquWcOjhRQgsTGG4lC2owqwLOhvYI=;
 h=Date:To:From:Reply-To:Subject:From;
 b=v6In4oX/jH5IvVvsYI8dl2+jplNRyDq1F+74FMXG41xAt/wh00SWHV0FAhhAd8Xup
 TIOh8LjKPs307p8QNSyJ/S/o1uEh6K9pVGY/8j9AOZ+vHptKUmfPYBbPJ2KS9ibYdN
 ug9ENUxBkABp/rfnaLuUMZ5N9ANwKqy8YcYIbd4Y=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH] gnu: Add wyhash.
Message-ID: <20210101211926.29943-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/datastructures.scm (wyhash): New variable.
---
 gnu/packages/digest.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/digest.scm b/gnu/packages/digest.scm
index a33e238362..0b7977c2a5 100644
--- a/gnu/packages/digest.scm
+++ b/gnu/packages/digest.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright =C2=A9 2017, 2019, 2020 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright =C2=A9 2021 Ryan Prior <rprior@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -21,9 +22,45 @@
   #:use-module (guix packages)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system trivial)
   #:use-module (guix utils)
   #:use-module (ice-9 match))
=20
+(define-public wyhash
+  (package
+    (name "wyhash")
+    (version "5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/wangyi-fudan/wyhash")
+                    (commit (string-append "wyhash_v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32 "03ljs5iw9zrm3bydwggjvpwrcwmsd75h3dv1j4am4hw3h22cjd=
jc"))))
+    (build-system trivial-build-system) ;; source-only package
+    (arguments
+     `(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let* ((out (string-append (assoc-ref %outputs "out")))
+                (src (string-append out "/include"))
+                (doc (string-append out "/share/doc/" ,name "-" ,version))=
)
+           (mkdir-p src)
+           (mkdir-p doc)
+           (chdir (assoc-ref %build-inputs "source"))
+           (install-file "wyhash.h" src)
+           (install-file "LICENSE" doc)
+           (install-file "README.md" doc))
+         #t)))
+    (home-page "https://github.com/wangyi-fudan/wyhash")
+    (synopsis "Embeddable hash function and random number generator.")
+    (description "This package provides a portable hash function and rando=
m
+number generator suitable for use in data structures.  Provided by default=
 in
+Zig, V, and Nim programming language standard libraries.")
+    (license license:unlicense)))
+
 (define-public xxhash
   (package
     (name "xxhash")
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 20:46:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 15:46:42 2021
Received: from localhost ([127.0.0.1]:34968 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvRJq-0000bD-1m
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 15:46:42 -0500
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:44501)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1kvRJn-0000an-UE
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 15:46:40 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id 1F18677B;
 Fri,  1 Jan 2021 15:46:34 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute3.internal (MEProxy); Fri, 01 Jan 2021 15:46:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:in-reply-to; s=mesmtp; bh=jSnBEyCyFtnFoiuMc0H0AF8Y
 R36SZrkjwuY79Qc+UWA=; b=BW3LShrDm3HqXmYrC2IIls1A6o33tOnrAgWvZ604
 ww0KP3buLq8EY9k0R40ilBDGG9qAFi9lUF+3yYLp90wNFc/MvGvRQxsjNYK/zxuu
 EOO+y+2A3jWYPZCnCJhLwfv2QA9pibL0DDyqEteXCnX+v3+Wfl+RpmgzD+NxLDFk
 ACU=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jSnBEy
 CyFtnFoiuMc0H0AF8YR36SZrkjwuY79Qc+UWA=; b=fN+/ER3IeXePgqd6yRu7Gy
 HHuDnnHQjnP1I841MPD1K+5imytMBWnz4P2KA8dycbOR4jt0SB71IDzjfbL/aNb/
 KqJQQ+vhexYvF5ThkbW5qzgkxlj9nSvAlSlLk1KGot/v5UVj0G+MQN49ghjvtAw8
 zRxT3n8iibwfQz/8mFAf7TVBVH7Omht+PBOLdPLfXnRcjDWmlXKxLntBnmjbmj5G
 h0lWFidMuqjERBhZxNSS+M8AmhlE41/GuoODU3My752TlYPMKZ0FCUdUEeqltISL
 MpRePXzLoShpAbO2jKyyd8HrwFkuGpH6CcZb3jALIq1LHu9VrzXnuVEwMUlwbUoQ
 ==
X-ME-Sender: <xms:KIrvX3lWXRAuDoIs3Jv-gLAOky4Zq0jLSapU7TKTZxvjVxG7dkp6hQ>
 <xme:KIrvX62j8MAtqXkcPKUynGaE20GyyhbZecWI3fSy0Z9JwfPI-_r8WoKqAVWsCBoNS
 RcZHjYQpgQ_AqHZqw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddvjedgudeggecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu
 hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth
 htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff
 vefgnecukfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpe
 dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv
X-ME-Proxy: <xmx:KIrvX9p2XzqZVDNWSyAnjlUjmlnGLeXIl1DFou-viFF99JfiECqVcw>
 <xmx:KIrvX_niSIFG5UB4vKJOS4GMnZyQyeud_O_C5dKbxOlw350FELVmIw>
 <xmx:KIrvX10exO9P2tzBmzg1kDFarTcd-6SbCzRuGP5MwhMb7yXOyyXo4g>
 <xmx:KYrvXy_V7ozgGzOhqtV1VeATCREi8q-3ITtikkJKnbs2LrvJ6qY3_Q>
Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net
 [73.141.127.146])
 by mail.messagingengine.com (Postfix) with ESMTPA id C2B921080057;
 Fri,  1 Jan 2021 15:46:32 -0500 (EST)
Date: Fri, 1 Jan 2021 15:46:30 -0500
From: Leo Famulari <leo@HIDDEN>
To: Ryan Prior <rprior@HIDDEN>,
 Ryan Prior via Guix-patches <guix-patches@HIDDEN>
Subject: Re: [bug#45601] [PATCH 1/6] gnu: Add wyhash.
Message-ID: <X++KJvkcrmB7Zv8s@HIDDEN>
References: <20210101192319.23494-1-rprior@HIDDEN>
 <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20210101192713.23655-1-rprior@HIDDEN>
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 45601
Cc: 45601 <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 Fri, Jan 01, 2021 at 07:27:19PM +0000, Ryan Prior via Guix-patches via wrote:
> * gnu/packages/datastructures.scm (wyhash): New variable.

Thanks!

Can you move it to digest.scm and make it install the license file in
"$out/share/doc/wyhash-5"?

You can construct that path like this:

(let* ((out ...)
       (doc (string-append out "/share/doc/" ,name "-" ,version))))

> +    (arguments
> +     '(#:modules ((guix build utils))

The body of arguments will have to be quasiquoted for this to work. That
is, ` instead of '




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

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


Received: (at submit) by debbugs.gnu.org; 1 Jan 2021 20:46:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 15:46:40 2021
Received: from localhost ([127.0.0.1]:34964 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvRJn-0000ay-Pt
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 15:46:39 -0500
Received: from lists.gnu.org ([209.51.188.17]:42894)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <leo@HIDDEN>) id 1kvRJl-0000ar-UM
 for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 15:46:38 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:48802)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1kvRJl-00020U-KL
 for guix-patches@HIDDEN; Fri, 01 Jan 2021 15:46:37 -0500
Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:60051)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <leo@HIDDEN>) id 1kvRJj-0000P7-QM
 for guix-patches@HIDDEN; Fri, 01 Jan 2021 15:46:37 -0500
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id 1F18677B;
 Fri,  1 Jan 2021 15:46:34 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute3.internal (MEProxy); Fri, 01 Jan 2021 15:46:34 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name;
 h=date:from:to:cc:subject:message-id:references:mime-version
 :content-type:in-reply-to; s=mesmtp; bh=jSnBEyCyFtnFoiuMc0H0AF8Y
 R36SZrkjwuY79Qc+UWA=; b=BW3LShrDm3HqXmYrC2IIls1A6o33tOnrAgWvZ604
 ww0KP3buLq8EY9k0R40ilBDGG9qAFi9lUF+3yYLp90wNFc/MvGvRQxsjNYK/zxuu
 EOO+y+2A3jWYPZCnCJhLwfv2QA9pibL0DDyqEteXCnX+v3+Wfl+RpmgzD+NxLDFk
 ACU=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=jSnBEy
 CyFtnFoiuMc0H0AF8YR36SZrkjwuY79Qc+UWA=; b=fN+/ER3IeXePgqd6yRu7Gy
 HHuDnnHQjnP1I841MPD1K+5imytMBWnz4P2KA8dycbOR4jt0SB71IDzjfbL/aNb/
 KqJQQ+vhexYvF5ThkbW5qzgkxlj9nSvAlSlLk1KGot/v5UVj0G+MQN49ghjvtAw8
 zRxT3n8iibwfQz/8mFAf7TVBVH7Omht+PBOLdPLfXnRcjDWmlXKxLntBnmjbmj5G
 h0lWFidMuqjERBhZxNSS+M8AmhlE41/GuoODU3My752TlYPMKZ0FCUdUEeqltISL
 MpRePXzLoShpAbO2jKyyd8HrwFkuGpH6CcZb3jALIq1LHu9VrzXnuVEwMUlwbUoQ
 ==
X-ME-Sender: <xms:KIrvX3lWXRAuDoIs3Jv-gLAOky4Zq0jLSapU7TKTZxvjVxG7dkp6hQ>
 <xme:KIrvX62j8MAtqXkcPKUynGaE20GyyhbZecWI3fSy0Z9JwfPI-_r8WoKqAVWsCBoNS
 RcZHjYQpgQ_AqHZqw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddvjedgudeggecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepnfgvohcu
 hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecuggftrfgrth
 htvghrnhepueekkedtffdvtddugeejgedtvefhueefiedvjeeitdeigedtveejvdejheff
 vefgnecukfhppeejfedrudeguddruddvjedrudegieenucevlhhushhtvghrufhiiigvpe
 dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv
X-ME-Proxy: <xmx:KIrvX9p2XzqZVDNWSyAnjlUjmlnGLeXIl1DFou-viFF99JfiECqVcw>
 <xmx:KIrvX_niSIFG5UB4vKJOS4GMnZyQyeud_O_C5dKbxOlw350FELVmIw>
 <xmx:KIrvX10exO9P2tzBmzg1kDFarTcd-6SbCzRuGP5MwhMb7yXOyyXo4g>
 <xmx:KYrvXy_V7ozgGzOhqtV1VeATCREi8q-3ITtikkJKnbs2LrvJ6qY3_Q>
Received: from localhost (c-73-141-127-146.hsd1.pa.comcast.net
 [73.141.127.146])
 by mail.messagingengine.com (Postfix) with ESMTPA id C2B921080057;
 Fri,  1 Jan 2021 15:46:32 -0500 (EST)
Date: Fri, 1 Jan 2021 15:46:30 -0500
From: Leo Famulari <leo@HIDDEN>
To: Ryan Prior <rprior@HIDDEN>,
 Ryan Prior via Guix-patches <guix-patches@HIDDEN>
Subject: Re: [bug#45601] [PATCH 1/6] gnu: Add wyhash.
Message-ID: <X++KJvkcrmB7Zv8s@HIDDEN>
References: <20210101192319.23494-1-rprior@HIDDEN>
 <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20210101192713.23655-1-rprior@HIDDEN>
Received-SPF: pass client-ip=64.147.123.25; envelope-from=leo@HIDDEN;
 helo=wout2-smtp.messagingengine.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: 45601 <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: -2.4 (--)

On Fri, Jan 01, 2021 at 07:27:19PM +0000, Ryan Prior via Guix-patches via wrote:
> * gnu/packages/datastructures.scm (wyhash): New variable.

Thanks!

Can you move it to digest.scm and make it install the license file in
"$out/share/doc/wyhash-5"?

You can construct that path like this:

(let* ((out ...)
       (doc (string-append out "/share/doc/" ,name "-" ,version))))

> +    (arguments
> +     '(#:modules ((guix build utils))

The body of arguments will have to be quasiquoted for this to work. That
is, ` instead of '




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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 19:27:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 14:27:44 2021
Received: from localhost ([127.0.0.1]:34910 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvQ5Q-00051k-AH
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:44 -0500
Received: from mail-40131.protonmail.ch ([185.70.40.131]:59875)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvQ5O-00050h-In
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:42 -0500
Date: Fri, 01 Jan 2021 19:27:31 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609529256;
 bh=imAHnLi8kKL0gWUFqFXKvUCbpANseUAZQHB1Mrg6y0s=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=G5TCLSYFDaRndDuzQPPucFNA6UUc5cHykdYWkiLILZx9C0+IG08x8UEyobG4Gmikj
 IpNMkIbkgF2IPrbMr5j3jsGC2fEEVLLMI4gP8Pq7CBOIBDblvq46i3UOPBUfeO8F/R
 YUwhwwinaPMJXltKAr8px7lxLxtydxLzRBW9gklo=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 5/6] gnu: vlang: Use system wyhash.
Message-ID: <20210101192713.23655-5-rprior@HIDDEN>
In-Reply-To: <20210101192713.23655-1-rprior@HIDDEN>
References: <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/vlang.scm (vlang) Use system wyhash.
---
 gnu/packages/vlang.scm | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index db7438d7f7..92d178a3e1 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -19,6 +19,7 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
=20
 (define-module (gnu packages vlang)
+  #:use-module (gnu packages datastructures)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages maths)
@@ -63,8 +64,10 @@
      (snippet
       '(begin
          ;; Eventually remove the whole thirdparty directory.
-         (delete-file-recursively "thirdparty/bignum")
-         (delete-file-recursively "thirdparty/cJSON")))))
+         (for-each delete-file-recursively
+                   '("thirdparty/bignum"
+                     "thirdparty/cJSON"
+                     "thirdparty/wyhash"))))))
    (build-system gnu-build-system)
    (arguments
     `(#:make-flags
@@ -89,7 +92,10 @@
                (string-append (assoc-ref inputs "tiny-bignum") "/share")))
             (substitute* "vlib/json/json_primitives.v"
               (("@VROOT/thirdparty/cJSON")
-               (assoc-ref inputs "cJSON")))))
+               (assoc-ref inputs "cJSON")))
+            (substitute* "vlib/hash/wyhash.c.v"
+              (("@VROOT/thirdparty/wyhash")
+               (string-append (assoc-ref inputs "wyhash") "/include")))))
         (add-before 'build 'patch-cc
           (lambda _
             (let* ((bin "tmp/bin")
@@ -150,7 +156,8 @@
    (inputs
     `(("glib" ,glib)
       ("tiny-bignum" ,tiny-bignum)
-      ("cJSON" ,(package-source cjson))))
+      ("cJSON" ,(package-source cjson))
+      ("wyhash" ,wyhash)))
    (native-inputs
     `(("vc"
        ;; Versions are not consistently tagged, but the matching commit wi=
ll
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 19:27:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 14:27:44 2021
Received: from localhost ([127.0.0.1]:34908 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvQ5P-00051i-UQ
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:44 -0500
Received: from mail2.protonmail.ch ([185.70.40.22]:37191)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvQ5O-00050e-8L
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:42 -0500
Date: Fri, 01 Jan 2021 19:27:34 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609529255;
 bh=6xCmklctHlMqWRnmXimDursD7vJvqky1znfsoKI1RZs=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=lsQD/2OrKab9OYB0pCa3f7KfxBntbxI2Yg45y6WyV7dJ3sqZH1ILnHl9hDFGy6cZU
 /Jy2kThKBzebhjwzYIJmMAAAO3SJecqZ+vqiwVxHTB8i8e3JZPjzkUXfR3OUgdMz8m
 hwy4Vdmf72F5xHwIngGnzWe58Rra8jlnI7FuLXxc=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 6/6] gnu: vlang: Fix v tools.
Message-ID: <20210101192713.23655-6-rprior@HIDDEN>
In-Reply-To: <20210101192713.23655-1-rprior@HIDDEN>
References: <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

---
 gnu/local.mk                                  |  1 +
 .../vlang-accommodate-timestamps.patch        | 50 +++++++++++++++++++
 gnu/packages/vlang.scm                        |  7 +++
 3 files changed, 58 insertions(+)
 create mode 100644 gnu/packages/patches/vlang-accommodate-timestamps.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 2402b1e349..168c499976 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1702,6 +1702,7 @@ dist_patch_DATA =3D=09=09=09=09=09=09\
   %D%/packages/patches/vinagre-newer-freerdp.patch             \
   %D%/packages/patches/vinagre-newer-rdp-parameters.patch      \
   %D%/packages/patches/virglrenderer-CVE-2017-6386.patch =09\
+  %D%/packages/patches/vlang-accommodate-timestamps.patch =09\
   %D%/packages/patches/vorbis-tools-CVE-2014-9638+CVE-2014-9639.patch=09=
=09\
   %D%/packages/patches/vorbis-tools-CVE-2014-9640.patch=09=09\
   %D%/packages/patches/vorbis-tools-CVE-2015-6749.patch=09=09\
diff --git a/gnu/packages/patches/vlang-accommodate-timestamps.patch b/gnu/=
packages/patches/vlang-accommodate-timestamps.patch
new file mode 100644
index 0000000000..02171ac6cf
--- /dev/null
+++ b/gnu/packages/patches/vlang-accommodate-timestamps.patch
@@ -0,0 +1,50 @@
+From 64e7c548843c7938fcfa6b697108d28aa26f4d69 Mon Sep 17 00:00:00 2001
+From: Ryan Prior <rprior@HIDDEN>
+Date: Thu, 31 Dec 2020 02:31:38 -0600
+Subject: [PATCH] v.util: accomodate reproducible build environments like g=
uix,
+ by not recompiling cmd/tools when mtime < 1024 (#7702)
+
+---
+ vlib/v/util/util.v | 16 ++++++++++++++--
+ 1 file changed, 14 insertions(+), 2 deletions(-)
+
+diff --git a/vlib/v/util/util.v b/vlib/v/util/util.v
+index 811b71585..1ed32bacf 100644
+--- a/vlib/v/util/util.v
++++ b/vlib/v/util/util.v
+@@ -179,7 +179,10 @@ pub fn should_recompile_tool(vexe string, tool_source=
 string) bool {
+ =09if !os.exists(tool_exe) {
+ =09=09should_compile =3D true
+ =09} else {
+-=09=09if os.file_last_mod_unix(tool_exe) <=3D os.file_last_mod_unix(vexe)=
 {
++=09=09mtime_vexe :=3D os.file_last_mod_unix(vexe)
++=09=09mtime_tool_exe :=3D os.file_last_mod_unix(tool_exe)
++=09=09mtime_tool_source :=3D os.file_last_mod_unix(tool_source)
++=09=09if mtime_tool_exe <=3D mtime_vexe {
+ =09=09=09// v was recompiled, maybe after v up ...
+ =09=09=09// rebuild the tool too just in case
+ =09=09=09should_compile =3D true
+@@ -192,10 +195,19 @@ pub fn should_recompile_tool(vexe string, tool_sourc=
e string) bool {
+ =09=09=09=09should_compile =3D false
+ =09=09=09}
+ =09=09}
+-=09=09if os.file_last_mod_unix(tool_exe) <=3D os.file_last_mod_unix(tool_=
source) {
++=09=09if mtime_tool_exe <=3D mtime_tool_source {
+ =09=09=09// the user changed the source code of the tool, or git updated =
it:
+ =09=09=09should_compile =3D true
+ =09=09}
++=09=09// GNU Guix and possibly other environments, have bit for bit repro=
ducibility in mind,
++=09=09// including filesystem attributes like modification times, so they=
 set the modification
++=09=09// times of executables to a small number like 0, 1 etc. In this ca=
se, we should not
++=09=09// recompile even if other heuristics say that we should. Users in =
such environments,
++=09=09// have to explicitly do: `v cmd/tools/vfmt.v`, and/or install v fr=
om source, and not
++=09=09// use the system packaged one, if they desire to develop v itself.
++=09=09if mtime_vexe < 1024 && mtime_tool_exe < 1024 {
++=09=09=09should_compile =3D false
++=09=09}
+ =09}
+ =09return should_compile
+ }
+--=20
+2.29.2
+
diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index 92d178a3e1..3bdbf36f9d 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -30,6 +30,7 @@
   #:use-module (gnu packages version-control)
   #:use-module (gnu packages javascript)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages)
   #:use-module (guix build-system gnu)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
@@ -61,6 +62,12 @@
      (sha256
       (base32 "1x2sf2j6xl11kjvv0i0anjqwsfb1la11xr7yhdnbix9808442wm2"))
      (modules '((guix build utils)))
+     ;; This patch is already accepted upstream but is required for versio=
n
+     ;; 0.2. The package will build without it, but it will fail to run an=
y v
+     ;; tools afterwards because of how Guix changes modified timestamps i=
n
+     ;; the package files.
+     (patches (search-patches
+               "vlang-accommodate-timestamps.patch"))
      (snippet
       '(begin
          ;; Eventually remove the whole thirdparty directory.
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 19:27:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 14:27:39 2021
Received: from localhost ([127.0.0.1]:34904 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvQ5L-00051F-LQ
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:39 -0500
Received: from mail-40136.protonmail.ch ([185.70.40.136]:24973)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvQ5J-00050T-Ox
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:38 -0500
Date: Fri, 01 Jan 2021 19:27:27 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609529251;
 bh=Ltrw3pImFVK0tOsk5myX5Li+/CADaVFpreqkhOd8GcQ=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=iBRav1ybvxz20YbVhOFSjyRCkPo0QRfq7dPr09qAGVh0iU2eqI3lGeZoalJAJphut
 +C98CnmTNPnwJfwJQI1DeC4ZgBIDjzXEGI3/FRfQL1bhi9zoIQeBgS66I45HtyxX8j
 ucswmzyEdMicKoXBM6F3+zSwotvwkbYz8A1sezps=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 4/6] gnu: vlang: Use system cJSON.
Message-ID: <20210101192713.23655-4-rprior@HIDDEN>
In-Reply-To: <20210101192713.23655-1-rprior@HIDDEN>
References: <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/vlang.scm (vlang): Use system cJSON.
---
 gnu/packages/vlang.scm | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index a2f6e93945..db7438d7f7 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -63,7 +63,8 @@
      (snippet
       '(begin
          ;; Eventually remove the whole thirdparty directory.
-         (delete-file-recursively "thirdparty/bignum")))))
+         (delete-file-recursively "thirdparty/bignum")
+         (delete-file-recursively "thirdparty/cJSON")))))
    (build-system gnu-build-system)
    (arguments
     `(#:make-flags
@@ -85,7 +86,10 @@
               (("--branch") ""))
             (substitute* "vlib/math/big/big.v"
               (("@VROOT/thirdparty/bignum")
-               (string-append (assoc-ref inputs "tiny-bignum") "/share")))=
))
+               (string-append (assoc-ref inputs "tiny-bignum") "/share")))
+            (substitute* "vlib/json/json_primitives.v"
+              (("@VROOT/thirdparty/cJSON")
+               (assoc-ref inputs "cJSON")))))
         (add-before 'build 'patch-cc
           (lambda _
             (let* ((bin "tmp/bin")
@@ -145,7 +149,8 @@
             #t)))))
    (inputs
     `(("glib" ,glib)
-      ("tiny-bignum" ,tiny-bignum)))
+      ("tiny-bignum" ,tiny-bignum)
+      ("cJSON" ,(package-source cjson))))
    (native-inputs
     `(("vc"
        ;; Versions are not consistently tagged, but the matching commit wi=
ll
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 19:27:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 14:27:39 2021
Received: from localhost ([127.0.0.1]:34902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvQ5L-000518-C8
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:39 -0500
Received: from mail-40136.protonmail.ch ([185.70.40.136]:56231)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvQ5I-00050O-Rk
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:37 -0500
Date: Fri, 01 Jan 2021 19:27:24 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609529250;
 bh=A8agq+955CdOhLsuibBozFd85vjKt9vE/qPjnQFfp1A=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=Az8xs3uUlQ+rAriHfKHkfYJNDyBFBhurPEkqACJfCuR3Gm+jsCgy2LFDc0dMdW4vR
 mQPEC1WI4y4EnBJBVX96dhDqYtYP26k7P1Fw9rucPofWjqbUfyj5cErd4M980UGLrP
 KiyUOKN4ruiAynh5oaWz5cHsWoVlaUDm9IqwxlNw=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 3/6] gnu: vlang: Use system tiny-bignum.
Message-ID: <20210101192713.23655-3-rprior@HIDDEN>
In-Reply-To: <20210101192713.23655-1-rprior@HIDDEN>
References: <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/vlang.scm (vlang): Update to use system tiny-bignum.
---
 gnu/packages/vlang.scm | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index 212862cb1d..a2f6e93945 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -21,6 +21,7 @@
 (define-module (gnu packages vlang)
   #:use-module (gnu packages glib)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages maths)
   #:use-module (gnu packages node)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
@@ -57,7 +58,12 @@
            (commit version)))
      (file-name (git-file-name name version))
      (sha256
-      (base32 "1x2sf2j6xl11kjvv0i0anjqwsfb1la11xr7yhdnbix9808442wm2"))))
+      (base32 "1x2sf2j6xl11kjvv0i0anjqwsfb1la11xr7yhdnbix9808442wm2"))
+     (modules '((guix build utils)))
+     (snippet
+      '(begin
+         ;; Eventually remove the whole thirdparty directory.
+         (delete-file-recursively "thirdparty/bignum")))))
    (build-system gnu-build-system)
    (arguments
     `(#:make-flags
@@ -72,11 +78,14 @@
       #:phases
       (modify-phases %standard-phases
         (delete 'configure)
-        (add-before 'build 'patch-makefile
-          (lambda _
+        (add-before 'build 'patch-files
+          (lambda* (#:key inputs #:allow-other-keys)
             (substitute* "Makefile"
               (("rm -rf") "true")
-              (("--branch") ""))))
+              (("--branch") ""))
+            (substitute* "vlib/math/big/big.v"
+              (("@VROOT/thirdparty/bignum")
+               (string-append (assoc-ref inputs "tiny-bignum") "/share")))=
))
         (add-before 'build 'patch-cc
           (lambda _
             (let* ((bin "tmp/bin")
@@ -135,7 +144,8 @@
               (copy-file "v.mod" vmod))
             #t)))))
    (inputs
-    `(("glib" ,glib)))
+    `(("glib" ,glib)
+      ("tiny-bignum" ,tiny-bignum)))
    (native-inputs
     `(("vc"
        ;; Versions are not consistently tagged, but the matching commit wi=
ll
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 19:27:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 14:27:39 2021
Received: from localhost ([127.0.0.1]:34900 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvQ5L-000515-1v
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:39 -0500
Received: from mail-40136.protonmail.ch ([185.70.40.136]:56196)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvQ5I-00050R-TI
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:37 -0500
Date: Fri, 01 Jan 2021 19:27:19 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609529251;
 bh=JnUqPYbZkyePl8WXvw6RyeaE0Twld/xeNFZHiPZ5sm4=;
 h=Date:To:From:Reply-To:Subject:From;
 b=SU4RxoYf+C1tRQeofCwV6yZY8wI3HsAC/3BufKmfSkmVCqmh8Cnj+e1zukhES10Mo
 1/zzyvLmoQUDTu/s0uVSdnAaCnCqnVbyI/+gRUsgiqe8uypYAuo/I1rzcpzFC3peAf
 GLu4fWIercKMUzhtKzok+hPYokQSua+KTBDLnK1M=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 1/6] gnu: Add wyhash.
Message-ID: <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/datastructures.scm (wyhash): New variable.
---
 gnu/packages/datastructures.scm | 34 ++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.=
scm
index 2911a0c550..49e363d09e 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -5,6 +5,7 @@
 ;;; Copyright =C2=A9 2019, 2020 Efraim Flashner <efraim@HIDDEN>
 ;;; Copyright =C2=A9 2020 Mark H Weaver <mhw@HIDDEN>
 ;;; Copyright =C2=A9 2020 Marius Bakke <marius@HIDDEN>
+;;; Copyright =C2=A9 2020 Ryan Prior <rprior@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -33,7 +34,38 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
-  #:use-module (guix build-system meson))
+  #:use-module (guix build-system meson)
+  #:use-module (guix build-system trivial))
+
+(define-public wyhash
+  (package
+    (name "wyhash")
+    (version "5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/wangyi-fudan/wyhash")
+                    (commit (string-append "wyhash_v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32 "03ljs5iw9zrm3bydwggjvpwrcwmsd75h3dv1j4am4hw3h22cjd=
jc"))))
+    (build-system trivial-build-system) ;; source-only package
+    (arguments
+     '(#:modules ((guix build utils))
+       #:builder
+       (begin
+         (use-modules (guix build utils))
+         (let ((dest (string-append (assoc-ref %outputs "out") "/include")=
))
+           (mkdir-p dest)
+           (chdir (assoc-ref %build-inputs "source"))
+           (install-file "wyhash.h" dest))
+         #t)))
+    (home-page "https://github.com/wangyi-fudan/wyhash")
+    (synopsis "Embeddable hash function and random number generator.")
+    (description "This package provides a portable hash function and rando=
m
+number generator suitable for use in data structures.  Provided by default=
 in
+Zig, V, and Nim programming language standard libraries.")
+    (license license:unlicense)))
=20
 (define-public gdsl
   (package
--=20
2.29.2






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

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


Received: (at 45601) by debbugs.gnu.org; 1 Jan 2021 19:27:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 14:27:38 2021
Received: from localhost ([127.0.0.1]:34897 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvQ5J-00050g-9l
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:38 -0500
Received: from mail-40131.protonmail.ch ([185.70.40.131]:23190)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvQ5G-00050I-Vb
 for 45601 <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:27:35 -0500
Date: Fri, 01 Jan 2021 19:27:22 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609529248;
 bh=xalKzcFUf3PHIoT+dDOZnQjP92sozjwRvHwVr/qrPug=;
 h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From;
 b=ZSIjmKiUdS1lTsiaeXofB0Mbi75M7Fy8bBtnGsY61IlLwpklsr34iIqvr2mehlyRU
 X0L6djXzlx3s5mHcDJxWPxCHbWs6SOf7LhXB0pMm7zB0EAC17zgpw4I5rvhZyG2AIP
 gUEGTfo8q+FrKSGCs6qpPuV5adEQGRV/Dry6rv00=
To: 45601 <at> debbugs.gnu.org
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 2/6] gnu: vlang: Update to 0.2.
Message-ID: <20210101192713.23655-2-rprior@HIDDEN>
In-Reply-To: <20210101192713.23655-1-rprior@HIDDEN>
References: <20210101192713.23655-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 45601
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

  - Moves the cc-patching logic out of check into an explicit "patch-cc" st=
age.
  - Adds "build-tools" stage to pre-build the included tools.
  - Sets native-search-paths.
  - Fixes many tests.
---
 gnu/packages/vlang.scm | 84 +++++++++++++++++++++++++++++++-----------
 1 file changed, 62 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/vlang.scm b/gnu/packages/vlang.scm
index e0b2e7bcfc..212862cb1d 100644
--- a/gnu/packages/vlang.scm
+++ b/gnu/packages/vlang.scm
@@ -20,9 +20,13 @@
=20
 (define-module (gnu packages vlang)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages linux)
   #:use-module (gnu packages node)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages tls)
+  #:use-module (gnu packages valgrind)
+  #:use-module (gnu packages version-control)
+  #:use-module (gnu packages javascript)
   #:use-module (gnu packages xorg)
   #:use-module (guix build-system gnu)
   #:use-module (guix git-download)
@@ -30,10 +34,21 @@
   #:use-module (guix utils)
   #:use-module (guix packages))
=20
+(define markdown-origin
+  (let ((markdown-version "1ccfbcba945b649b61738b9c0455d31cf99564b2"))
+    (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/vlang/markdown")
+            (commit markdown-version)))
+      (file-name (git-file-name "vlang-markdown" markdown-version))
+      (sha256
+       (base32 "0s982qiwy4s9y07x9fsy4yn642schplhp9hrw2libg2bx4sw43as")))))
+
 (define-public vlang
   (package
    (name "vlang")
-   (version "0.1.29")
+   (version "0.2")
    (source
     (origin
      (method git-fetch)
@@ -42,7 +57,7 @@
            (commit version)))
      (file-name (git-file-name name version))
      (sha256
-      (base32 "1rqi7cah5nq8aggrib9xvdpfjxq20li91svv0w9yny6nn1ag7snx"))))
+      (base32 "1x2sf2j6xl11kjvv0i0anjqwsfb1la11xr7yhdnbix9808442wm2"))))
    (build-system gnu-build-system)
    (arguments
     `(#:make-flags
@@ -61,42 +76,60 @@
           (lambda _
             (substitute* "Makefile"
               (("rm -rf") "true")
-              (("v self") (string-append "v -cc " ,(cc-for-target) " cmd/v=
")))
+              (("--branch") ""))))
+        (add-before 'build 'patch-cc
+          (lambda _
+            (let* ((bin "tmp/bin")
+                   (gcc (which "gcc")))
+              (mkdir-p bin)
+              (symlink gcc (string-append bin "/cc"))
+              (setenv "PATH" (string-append bin ":" (getenv "PATH"))))
+            #t))
+        (add-after 'build 'build-tools
+          (lambda* (#:key inputs #:allow-other-keys)
+            (copy-recursively (assoc-ref inputs "vmodules/markdown") "vmod=
ules/markdown")
+            (setenv "VMODULES" (string-append (getcwd) "/vmodules"))
+            (invoke "./v" "build-tools" "-v")
             #t))
-        (add-before 'check 'delete-failing-tests
-          ;; XXX As always, these should eventually be fixed and run.
+        (add-before 'check 'fix-or-delete-failing-tests
           (lambda _
+            ;; The x64 tests copy .vv files into the test directory and th=
en
+            ;; write to them, so we need to make them writeable.
+            (for-each (lambda (vv) (chmod vv #o644))
+                      (find-files "vlib/v/gen/x64/tests/" "\\.vv$"))
+            ;; The process test explicitly calls "/bin/sleep" and "/bin/da=
te"
+            (substitute* "vlib/os/process_test.v"
+              (("/bin/sleep") (which "sleep"))
+              (("/bin/date") (which "date")))
+            ;; The valgrind test can't find `cc' even though it's on PATH,=
 so
+            ;; we pass it as an explicit argument.
+            (substitute* "vlib/v/tests/valgrind/valgrind_test.v"
+              (("\\$vexe") "$vexe -cc gcc"))
             (for-each delete-file
-                      '("vlib/v/gen/x64/tests/x64_test.v"
-                        "vlib/v/tests/repl/repl_test.v"
-                        "vlib/v/tests/valgrind/valgrind_test.v"
-                        "vlib/v/tests/valgrind/strings_and_arrays.vv"
+                      '(;; XXX As always, these should eventually be fixed=
 and run.
+                        "vlib/vweb/tests/vweb_test.v"
                         "vlib/v/tests/live_test.v"
-                        "vlib/net/websocket/ws_test.v"))
+                        "vlib/v/tests/repl/repl_test.v"))
             #t))
         (replace 'check
           (lambda* (#:key tests? #:allow-other-keys)
-            (let* ((bin "tmp/bin")
-                   (gcc (which "gcc")))
-              (when tests?
-                (mkdir-p bin)
-                (symlink gcc (string-append bin "/cc"))
-                (setenv "PATH" (string-append bin ":" (getenv "PATH")))
-                (invoke "./v" "test-fixed")))
+            (when tests?
+              (invoke "./v" "test-fixed"))
             #t))
         (replace 'install
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((bin (string-append (assoc-ref outputs "out") "/bin"))
-                   (tools (string-append bin "/cmd/tools"))
+                   (cmd (string-append bin "/cmd"))
                    (thirdparty (string-append bin "/thirdparty"))
                    (vlib (string-append bin "/vlib"))
+                   (vmodules (string-append bin "/vmodules"))
                    (vmod (string-append bin "/v.mod")))
               (mkdir-p bin)
               (copy-file "./v" (string-append bin "/v"))
               ;; v requires as of 0.1.27 that these other components are i=
n the
               ;; same directory. In a future release we may be able to mov=
e
               ;; these into other output folders.
-              (copy-recursively "cmd/tools" tools)
+              (copy-recursively "cmd" cmd)
               (copy-recursively "thirdparty" thirdparty)
               (copy-recursively "vlib" vlib)
               (copy-file "v.mod" vmod))
@@ -107,7 +140,7 @@
     `(("vc"
        ;; Versions are not consistently tagged, but the matching commit wi=
ll
        ;; probably have =E2=80=98v0.x.y=E2=80=99 in the commit message.
-       ,(let ((vc-version "b01d0fcda4b55861baa4be82e307cca4834b1641"))
+       ,(let ((vc-version "047460a4ae5f4a1ba8c31dc50ec5e50ebe80b7f6"))
           ;; v bootstraps from generated c source code from a dedicated
           ;; repository. It's readable, as generated source goes, and not =
at all
           ;; obfuscated, and it's about 15kb. The original source written =
in
@@ -121,13 +154,20 @@
                   (commit vc-version)))
             (file-name (git-file-name "vc" vc-version))
             (sha256
-             (base32 "052gp5q2k31r3lci3rx4k0vy0vjdjva64xvrbbihn8lgmw63lc9f=
")))))
+             (base32 "1wlr9yzxz4bc7pbzbplzhjjr9sz5mwy2k2z5d3vwsnz56g245146=
")))))
+      ("vmodules/markdown" ,markdown-origin)
=20
       ;; For the tests.
       ("libx11" ,libx11)
       ("node" ,node)
       ("openssl" ,openssl)
-      ("sqlite" ,sqlite)))
+      ("ps" ,procps)
+      ("sqlite" ,sqlite)
+      ("valgrind" ,valgrind)))
+   (native-search-paths
+    (list (search-path-specification
+           (variable "VMODULES")
+           (files '("bin/")))))
    (home-page "https://vlang.io/")
    (synopsis "Compiler for the V programming language")
    (description
--=20
2.29.2






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

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


Received: (at submit) by debbugs.gnu.org; 1 Jan 2021 19:23:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 01 14:23:52 2021
Received: from localhost ([127.0.0.1]:34890 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kvQ1f-0004uQ-N4
	for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:23:51 -0500
Received: from lists.gnu.org ([209.51.188.17]:41284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rprior@HIDDEN>) id 1kvQ1e-0004uJ-Gw
 for submit <at> debbugs.gnu.org; Fri, 01 Jan 2021 14:23:51 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39054)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rprior@HIDDEN>)
 id 1kvQ1c-00022g-Qk
 for guix-patches@HIDDEN; Fri, 01 Jan 2021 14:23:49 -0500
Received: from mail2.protonmail.ch ([185.70.40.22]:58726)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rprior@HIDDEN>)
 id 1kvQ1X-0005Gx-NF
 for guix-patches@HIDDEN; Fri, 01 Jan 2021 14:23:46 -0500
Date: Fri, 01 Jan 2021 19:23:23 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;
 s=protonmail; t=1609529012;
 bh=1WlvXHkt7KtaZsjnhGBczbndREypIh6Vf1d4IHYWGBk=;
 h=Date:To:From:Reply-To:Subject:From;
 b=IGYXRz6LVKwSiYHJ9ZEsO50IkXodY9RQCqeErLem/mXDTkU8oqnR0Rlntgmi/JFiq
 F7zWaNcrRL4A1OEsZl/p5WGO/G2wFKL8STW38/edz14dJbw1drQLw6QmCZp3XgKVW7
 JNYUqI7gwYzoGGkXzeID3EAguk/87s3Cn7v47DUI=
To: guix-patches@HIDDEN
From: Ryan Prior <rprior@HIDDEN>
Subject: [PATCH 0/6] vlang 0.2 update
Message-ID: <20210101192319.23494-1-rprior@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no
 autolearn=disabled version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 mailout.protonmail.ch
Received-SPF: pass client-ip=185.70.40.22; envelope-from=rprior@HIDDEN;
 helo=mail2.protonmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.5 (/)
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>
Reply-To: Ryan Prior <rprior@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi Guix! The vlang compiler had its 0.2 release recently and I've been work=
ing on improving the quality of our package as well. This patch series has =
4 exciting improvements:

1. The compiler is updated to 0.2, which already includes a number of chang=
es to the build system to make things work better for Guix users.
2. Three vendored dependencies are factored out into their own Guix package=
s: tiny-bignu, cJSON, and wyhash.
3. A number of tests that were failing have been patched to succeed. The nu=
mber of tests we skip is down to three.
4. The v tools now work out of the box, with some exceptions such as the RE=
PL that rely on `cc`.

I am continuing the work to move the last of the vendored dependencies into=
 their own packages, get all the tests passing, and get us to a working v r=
epl. But this series already gets us a lot closer to where I want to be.

This patch series also relates to issues 43821 and 44978.

Cheers,
Ryan

Ryan Prior (6):
  gnu: Add wyhash.
  gnu: vlang: Update to 0.2.
  gnu: vlang: Use system tiny-bignum.
  gnu: vlang: Use system cJSON.
  gnu: vlang: Use system wyhash.
  gnu: vlang: Fix v tools.

 gnu/local.mk                                  |   1 +
 gnu/packages/datastructures.scm               |  34 ++++-
 .../vlang-accommodate-timestamps.patch        |  50 ++++++++
 gnu/packages/vlang.scm                        | 119 ++++++++++++++----
 4 files changed, 178 insertions(+), 26 deletions(-)
 create mode 100644 gnu/packages/patches/vlang-accommodate-timestamps.patch

--=20
2.29.2






Acknowledgement sent to Ryan Prior <rprior@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#45601; 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: Fri, 5 Feb 2021 13:45:02 UTC

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