GNU bug report logs - #73896
[PATCH] gnu: clamav: Add release-monitoring-url property.

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: Nicolas Graves <ngraves@HIDDEN>; Keywords: patch; Done: Efraim Flashner <efraim@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 73896-done) by debbugs.gnu.org; 9 Jan 2025 15:11:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 09 10:11:41 2025
Received: from localhost ([127.0.0.1]:53930 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tVuCD-0005hQ-Am
	for submit <at> debbugs.gnu.org; Thu, 09 Jan 2025 10:11:41 -0500
Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:53584)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <efraim.flashner@HIDDEN>)
 id 1tVuCB-0005h9-9Z
 for 73896-done <at> debbugs.gnu.org; Thu, 09 Jan 2025 10:11:39 -0500
Received: by mail-wm1-x32d.google.com with SMTP id
 5b1f17b1804b1-4361f796586so11544605e9.3
 for <73896-done <at> debbugs.gnu.org>; Thu, 09 Jan 2025 07:11:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1736435493; x=1737040293; darn=debbugs.gnu.org;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to
 :cc:subject:date:message-id:reply-to;
 bh=nQPfC2Fc76jZhzUJPp/f2wYK9BFWF4NHLoncfUvXFl0=;
 b=ACJVtPaASfPqc+wpBrDUWtfKy9dlfvAG6v61nBoepEhdJPHh7ot00ex27Xuq+l8N67
 I3gPVXQ6QKnRYnOLFrzd4GMQ6OKXbhGbOUZ2zW73fHGBsHpOm4LTqQ6YGX1NC2vp+LWW
 Qy62YOzuTcGZYyqjNLWEkXMSToKokJCqdv2yYiinQDYf9apBLMu3Z9BS/7TAJpLlaqMt
 yRMvaFfZP6NssW+0xfkJqmakFgmWrNIARMP4jXg9iD5H/PguYxjP9lW7V1r25cJma3Zj
 VOpYcLsbYM9nNCyevKhQn6GlQVXTUIauscQ1vaBrEqTTNJONQIlCDeyEalx+ovNqDuWo
 nMWA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736435493; x=1737040293;
 h=in-reply-to:content-disposition:mime-version:references
 :mail-followup-to:message-id:subject:cc:to:from:date:sender
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=nQPfC2Fc76jZhzUJPp/f2wYK9BFWF4NHLoncfUvXFl0=;
 b=r46lCNuGi6vTjY7Sbd8zX7qgfed45laSoQUN/cnuUc35vhn7ChpIHVwwBcKJ5zTrBc
 db+vXWG16qhIImzgRab4fKcFgPEnUy7cseYWMiYkk9w49a9or73C9m5a9sT2jFPvgb6+
 AwBm7MJlqyv1geF6EV1oC4JZUbxtilR7euwj/d06aKZOG5fl4Aygp4U4nUzDsg6vJYs3
 8tZTSUqcbkTJLVbT/ZQrp1OU2EC08eMAeXGke5yythkk3xbEviVzqttyMyKXOzCgGpw+
 +tHP4vgCNt0P0wg+U29iT7j5pZC5Gm5+H5EEGyPJ9EhBmBUMT7YfDq9l4OJEAjpJQ3Qj
 EbmQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCVVy2IW8v6RQa1Zf/McjBtZjn77sWmt4ngpLLNs2tTLfTKMOXJkiA+pEaUzW/lHLDixlCcQbk45TIOO <at> debbugs.gnu.org
X-Gm-Message-State: AOJu0Yzc9FCGpvuIzyqE3dUqrcOjgrX0yghtJmwEizb6ME9mC8z8PlnR
 Qq6pV6vLngepkw4ttXLQyN+s+Fu5Q1OdSRAFa9EaSs7S33N2vqzIkLNrqw2Y
X-Gm-Gg: ASbGncsG1V35yEWJNyG22GuDyEs55zL+DJCZzINRCAaZPJEGhPmzmvwwKDmK6+VfFTI
 6MDyA1quoyRUwwDNvV01lk56uaGF9VLxsq5Yhcwn1MxWczkhQ5Fi06f467W+FCKGkqdFkUIHwk/
 Fajak5I4w5lvE8kTtp2vuxa5ozom+/v58lUJ4HkHU3moaAmnaNiDIH+zZ87VT56+k2PxqeXZCRK
 bmIiBywELpvYYw0iF46w9ZFRDQEHKxt2e5KKVOqceo768toTN9pn+Z8
X-Google-Smtp-Source: AGHT+IG7nIgjKKxjBpeuHdheBltkSyOoL1/DgJgdtkFEHVMVrNnwK702mWHKsHSF7ZOme45l7Vt/Vg==
X-Received: by 2002:a05:600c:5129:b0:434:ff45:cbbe with SMTP id
 5b1f17b1804b1-436e26aaaa5mr64246645e9.18.1736435492639; 
 Thu, 09 Jan 2025 07:11:32 -0800 (PST)
Received: from localhost ([141.226.10.168]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-436e2ddcda3sm58049335e9.22.2025.01.09.07.11.31
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 09 Jan 2025 07:11:31 -0800 (PST)
Date: Thu, 9 Jan 2025 17:11:29 +0200
From: Efraim Flashner <efraim@HIDDEN>
To: Nicolas Graves <ngraves@HIDDEN>
Subject: Re: [bug#73896] [PATCH v4 01/20] gnu: rust-widestring-0.4: Update to
 0.4.3.
Message-ID: <Z3_nIV9hk-JlrzMM@3900XT>
Mail-Followup-To: Efraim Flashner <efraim@HIDDEN>,
 Nicolas Graves <ngraves@HIDDEN>,
 Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 73896-done <at> debbugs.gnu.org
References: <20241019230841.993-1-ngraves@HIDDEN>
 <20241105231519.22378-1-ngraves@HIDDEN>
 <87jzd0gart.fsf@HIDDEN> <87sepwazl5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="u/SkCmzAYytWn2oc"
Content-Disposition: inline
In-Reply-To: <87sepwazl5.fsf@HIDDEN>
X-PGP-Key-ID: 0x41AAE7DCCA3D8351
X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc
X-PGP-Fingerprint: A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 73896-done
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 73896-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)


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

On Mon, Jan 06, 2025 at 01:36:38PM +0100, Nicolas Graves wrote:
> On 2024-11-18 10:18, Ludovic Court=C3=A8s wrote:
>=20
> > Hi Nicolas,
> >
> > This series involves triggers a world rebuilds (more or less), as can be
> > seen by running =E2=80=98guix build inkscape=E2=80=99.
> >
> > Do you think we could avoid that?
>=20
> Happy New Year!
>=20
> I'm not sure from which package it comes, but this patch series only
> updates a few rust crates (rust-widestring-0.4,
> rust-enum-primitive-derive-0.2), the rest are additions.
>=20
> The option that makes the most sense is to merge it with the rust-team
> branch:
> - rust-widestring-0.4 is already at version 0.4.3
> - rust-enum-primitive-derive-0.2 is not but doesn't seem to trigger
> much rebuilds
>=20
> Added Efraim to the loop.

I applied the patches to the rust-team branch.  It doesn't seem to cause
a world-rebuild on rust-team, so it shouldn't delay merging of the
branch.

edit: This has been sitting in my drafts for a few days. I normally
write the emails and then send them off when I finally push the commits
but I forgot for a day or two.  This is now in master.

--=20
Efraim Flashner   <efraim@HIDDEN>   =D7=90=D7=A4=D7=A8=D7=99=D7=9D =
=D7=A4=D7=9C=D7=A9=D7=A0=D7=A8
GPG key =3D A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

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

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

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmd/5yEACgkQQarn3Mo9
g1EeQg/+M7IZPeecJQYK3MI17xomN6z+sIIKwn02eLYBkmqNN1Jou+pngvEcMGGc
cVgLBtad6toIYRztGDGOKck7KeNco8qwYxX9WzWmek7bGql0KJhv3YBupAbNLtIL
oMqmzkT3zkRxFg3APDJAZQ6OOdU5pWMuP2ac94V50SRm1mR4IjFu0MgOyOCKzBgK
3hfKOg7p+hhCBWJ4JNviafH3IAKr+mW9nQwwSupi0gaJQET6MU5IzQOFHARUY6Rs
QEx/lGfkvdsAZrRNoC3BBO1MyHGNmsrFoL+3HqBD2o/vbmhusVHMwj/ss444Wyu6
ZAsONXyPZNuc7Rjd7hGT6zIiELEGLzXbmK4ldOQ2tuHAxBGYW648rM5xnXB8RaG7
mkQ/u/5SQ9DKk/mGaqhEEFoyRvuq58Dcf46caLfbACFw40fIzVFW01o6E5WJyRYc
w2s7imoCzgwXw9WJpp/AxAUXYdtqiIvR3eQoaEyUnzmwN/q/kb/+GFraoMjUo2yi
LrqTo2+tmZonHVosqOVoDSo8ikRs00bWWWuD4pK83xXk8EZlP29tg/+6Nz9opj6k
hCQAYT7ervHRSrJvIeuqKHseXuffrIJGTlKHlBL/Bif9pU/ITib/i1V+Gr3xCK6/
Jm8Zhb+PuHw4RTTWQKxR6lkya1c3eoinnrhrRvUCmG29zan65Z8=
=F4ey
-----END PGP SIGNATURE-----

--u/SkCmzAYytWn2oc--




Notification sent to Nicolas Graves <ngraves@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Efraim Flashner <efraim@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at 73896) by debbugs.gnu.org; 6 Jan 2025 12:36:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 06 07:36:47 2025
Received: from localhost ([127.0.0.1]:37110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tUmLe-0001Op-Oo
	for submit <at> debbugs.gnu.org; Mon, 06 Jan 2025 07:36:47 -0500
Received: from 20.mo550.mail-out.ovh.net ([188.165.45.168]:48755)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ngraves@HIDDEN>)
 id 1tUmLb-0001Od-HK
 for 73896 <at> debbugs.gnu.org; Mon, 06 Jan 2025 07:36:45 -0500
Received: from director7.ghost.mail-out.ovh.net (unknown [10.108.9.136])
 by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4YRYZx39Yfz1S0Y
 for <73896 <at> debbugs.gnu.org>; Mon,  6 Jan 2025 12:36:41 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-h9qxb (unknown [10.110.118.183])
 by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 219061FE03;
 Mon,  6 Jan 2025 12:36:39 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.99])
 by ghost-submission-5b5ff79f4f-h9qxb with ESMTPSA
 id mamNOlbOe2dQ+wAA/yVvKA
 (envelope-from <ngraves@HIDDEN>); Mon, 06 Jan 2025 12:36:39 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-99G003d141edca-52c7-43c9-955e-23b79cb9b41a,
 1AB2F7C6BBD768F202274C9B3E34B0CC0DE69883) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 87.88.181.185
From: Nicolas Graves <ngraves@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, efraim@HIDDEN
Subject: Re: [bug#73896] [PATCH v4 01/20] gnu: rust-widestring-0.4: Update
 to 0.4.3.
In-Reply-To: <87jzd0gart.fsf@HIDDEN>
References: <20241019230841.993-1-ngraves@HIDDEN>
 <20241105231519.22378-1-ngraves@HIDDEN> <87jzd0gart.fsf@HIDDEN>
Date: Mon, 06 Jan 2025 13:36:38 +0100
Message-ID: <87sepwazl5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Ovh-Tracer-Id: 14868915645524075241
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: -100
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrudegtddggedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefujghffffkgggtgfesthhqredttddtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeffudelkeejveetleeuffejfefftefhhfffuedtteethfelueelveffjedvffdtffenucfkphepuddvjedrtddrtddruddpkeejrdekkedrudekuddrudekhedpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtmgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=QlKWkjZzS7W/cZN7LuXpKaLbHdK3KFIydu/dLqz1PlY=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1736167001; v=1;
 b=CFnAi842UmMieYav9NgHAxeECYKPAHvJ/AMeQzNkEg1trdyknxX75KhuPzX+J86psHvLg+Kj
 s+kUbMQb8kR+ZMTBQYIi1I+3uiohMgK+4hWjNZH+NUdphgJwv7VdwWbjOCTEH2vIBtE4/pNHSsp
 0yuidcdO+ekzD+51MCPAwuODfvl1WEFbJDPCo+aTT5+5zneJOzeqVLynQ9eMqHR+AO01IS+otOU
 s9T7esuvJ9HiW0wqq8o2Pasa0ajfK00bQGPyF3aQQdy4D0mjySp3VHOHjStJOwbH3SQGbhyFf/d
 SH8wwEeJwcFvSu0AYuH+gjrvHbzcpimrIaHIje/S6H29w==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: 73896 <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 (-)

On 2024-11-18 10:18, Ludovic Court=C3=A8s wrote:

> Hi Nicolas,
>
> This series involves triggers a world rebuilds (more or less), as can be
> seen by running =E2=80=98guix build inkscape=E2=80=99.
>
> Do you think we could avoid that?

Happy New Year!

I'm not sure from which package it comes, but this patch series only
updates a few rust crates (rust-widestring-0.4,
rust-enum-primitive-derive-0.2), the rest are additions.

The option that makes the most sense is to merge it with the rust-team
branch:
- rust-widestring-0.4 is already at version 0.4.3
- rust-enum-primitive-derive-0.2 is not but doesn't seem to trigger
much rebuilds

Added Efraim to the loop.

--=20
Best regards,
Nicolas Graves




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

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


Received: (at 73896) by debbugs.gnu.org; 18 Nov 2024 09:18:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 18 04:18:57 2024
Received: from localhost ([127.0.0.1]:59950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tCxuL-0007BS-ER
	for submit <at> debbugs.gnu.org; Mon, 18 Nov 2024 04:18:57 -0500
Received: from eggs.gnu.org ([209.51.188.92]:53716)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1tCxuJ-0007BF-E9
 for 73896 <at> debbugs.gnu.org; Mon, 18 Nov 2024 04:18:56 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1tCxuC-00019G-TN; Mon, 18 Nov 2024 04:18:48 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=ol5A8x/uZYTzltoS3N0LGP6/p3FwHKZ7RfZAht8u6xc=; b=fIBCFfFBb68D9cdhiXHB
 QfvtxFD7Q38+QShcjlIs2T/LYbmn4YRl1LqFJMpd3o58kSZv8OQp4Rh7sl96E77ZnPvUZUpfdj9oR
 zXF+NoY5P7XJx13ZwW3HaKEhEr72SK8jFLqyeipEEM25NEmhrAJel04fFNUUWU2/RU47sQXg5wVJl
 xVLf+Zam0lKM+f2DlybRvvUMfFA8NWvjLaMP6Yse7jmzk1QEIhPCkw0Kv+220Vb0JSLDN66HVZ6oV
 Uxa+uuMzNOwYMJ9d18u7l0wcMExJXe21kpkDlT5P18xXiSl542v8FaDpCrBWS4V9ohSxwsbuMDVrd
 RyQ4YGZzCtdiDw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Nicolas Graves <ngraves@HIDDEN>
Subject: Re: [bug#73896] [PATCH v4 01/20] gnu: rust-widestring-0.4: Update
 to 0.4.3.
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN> (Nicolas Graves's
 message of "Wed, 6 Nov 2024 00:14:49 +0100")
References: <20241019230841.993-1-ngraves@HIDDEN>
 <20241105231519.22378-1-ngraves@HIDDEN>
Date: Mon, 18 Nov 2024 10:18:46 +0100
Message-ID: <87jzd0gart.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 73896
Cc: 73896 <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: -3.3 (---)

Hi Nicolas,

This series involves triggers a world rebuilds (more or less), as can be
seen by running =E2=80=98guix build inkscape=E2=80=99.

Do you think we could avoid that?

Ludo=E2=80=99.




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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:50 2024
Received: from localhost ([127.0.0.1]:38486 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sn4-0004PV-KK
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:50 -0500
Received: from 8.mo581.mail-out.ovh.net ([46.105.77.114]:40019)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Smz-0004Or-OJ
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:46 -0500
Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.139.16])
 by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkk43S6nz1MHk
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:44 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-2l5c8 (unknown [10.110.188.91])
 by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E923D1FE7D;
 Tue,  5 Nov 2024 23:16:43 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.99])
 by ghost-submission-5b5ff79f4f-2l5c8 with ESMTPSA
 id dyDmI1unKmc5dA0AKH+/rA
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:43 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-99G003f99dd8bc-1573-4261-ab2e-a02925a5125f,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 19/20] gnu: Add rust-rustdct-0.7.
Date: Wed,  6 Nov 2024 00:15:07 +0100
Message-ID: <20241105231519.22378-19-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12059513905594819298
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekudgmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=3DS2uH+8J4AUCosYV/U8HbbWq/EPMSgquSM8JJCw6aE=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848604; v=1;
 b=Ei45RsxaE8duIEvUSCyG8qIAbN2PYx+bOKC4awM4xgd7E1i7sJhHCYzgEQhS5iNhnL5j1xbG
 8eB+mnBF/1xcfFwloVdDBpOI21KMePuH2SLwVWbmMqXyCM/gQR2X0MW3XDn86F6uSUzBh0bIpC9
 3rmFnturYUhTy0uDe3ujKYV/gYVCciGxEX8UjYK25luZZ3dLfg+zsidDgu5CkbOQLKzqoFMRK4g
 A9oCArVekZCxohmXpvhNeEbO2mtutXhQHZ8/BoT2t9LNSbQy1lMaIKWJeuWrj6Z3FzS2HcXbAi+
 KdVR3SiLaehRxInaYXv9lnb+nMFr6mi4Ohp+CdndqxCxA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-rustdct-0.7): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cb71f71b85..b8d544f6b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66389,6 +66389,28 @@ (define-public rust-rustc-version-0.1
      `(#:cargo-inputs
        (("rust-semver" ,rust-semver-0.1))))))
 
+(define-public rust-rustdct-0.7
+  (package
+    (name "rust-rustdct")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustdct" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lcm1191xx8wizima5j3n25fs90x58v3q1kwg6cbzafn0m8maqcb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-rustfft" ,rust-rustfft-6))
+       #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/ejmahler/rust_dct")
+    (synopsis "Compute Discrete Cosine Transforms (DCT) in pure Rust")
+    (description
+     "This package provides a Rust library to compute the main Discrete Cosine
+Transforms (DCT) of any size in O(nlogn) time.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rustdoc-json-0.8
   (package
     (name "rust-rustdoc-json")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:48 2024
Received: from localhost ([127.0.0.1]:38484 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sn2-0004PH-0s
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:48 -0500
Received: from 4.mo576.mail-out.ovh.net ([46.105.42.102]:58447)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Smz-0004Ot-Ou
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:46 -0500
Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.2.235])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkk50lfHz1vdq
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:45 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-76zrf (unknown [10.110.96.185])
 by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D7DA81FD3C;
 Tue,  5 Nov 2024 23:16:44 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.104])
 by ghost-submission-5b5ff79f4f-76zrf with ESMTPSA
 id 8F4WLlynKmcNpT4Ayyemgg
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:44 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-104R0055301d63e-41a5-4e8b-9d1a-b5121a49aec0,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 20/20] gnu: clamav: Unbundle rust dependencies.
Date: Wed,  6 Nov 2024 00:15:08 +0100
Message-ID: <20241105231519.22378-20-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12059795380540465890
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtgeenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=KDhBy+0LEZ240Nj2YFMpRPvbrlr0VVjvxLF4Q9WgEK8=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848605; v=1;
 b=jDZLifXAUeRxNibSjK8cf5BUCp2dPD3dBF/kcbKZb7vzUVVPdPmGlyyB+nuCLLOnkLLG00TT
 Wg7Nlf4rerbtGIlqMT4XHIXbMCl1sypP1rK6EhO6bGS+Rcp3e4pmmlevqqWB5ocCIFkuwawhxgd
 MekW1Bap6KsOqVHa+5P/R8TS20jNmzdsjcktQTxRctad6GZZ0Jo5gYeRhPY/fcKw6k3NYJA7DvI
 Nppy3O95XErxCGCNH0tJX9L8u3Blf+QlxbS2YgsAGVaI+DdgnK8mBxC/zl4zA2PA0sa8WUHPFci
 0uceGNRQwpKBZcXILGZekRUZ0Ic33OIEVzbVW1N6vzk7w==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav)
[origin]<snippet>: Unbundle rust dependencies.
[build-system]: Switch to cargo-build-system.
[arguments]: Adapt to the change of base build-system.
[native-inputs]: Add cmake-minimal. Remove rust and rust:cargo.
---
 gnu/packages/antivirus.scm | 135 +++++++++++++++++++++++++++----------
 1 file changed, 99 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index 1a23657a61..b561ff060a 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -31,12 +31,17 @@ (define-module (gnu packages antivirus)
   #:use-module (gnu packages)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cmake)
+  #:use-module (gnu packages crates-crypto)
+  #:use-module (gnu packages crates-graphics)
+  #:use-module (gnu packages crates-io)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-check)
+  #:use-module (gnu packages rust-apps)
   #:use-module (gnu packages rust)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
@@ -62,49 +67,107 @@ (define-public clamav
               (snippet
                '(begin
                   (delete-file "Cargo.lock")
-                  (for-each
-                   delete-file
-                   (find-files ".cargo/vendor" ".cargo-checksum\\.json"))
                   (for-each delete-file-recursively
-                            '("win32"                  ; unnecessary
+                            '(".cargo"                 ; vendored rust inputs
+                              "win32"                  ; unnecessary
                               "libclamunrar"))))))     ; non-free license
-    (build-system cmake-build-system)
+    (build-system cargo-build-system)
     (arguments
-     (list
-      #:configure-flags
-      #~(list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF")
-      #:imported-modules `((guix build cargo-utils)
-                           ,@%cmake-build-system-modules)
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'inject-rust-onenote
-            (lambda _
-              (substitute* "libclamav_rust/Cargo.toml"
-                (("onenote_parser = .*")
-                 "onenote_parser = \"0.3.1\"\n"))))
-          (add-after 'patch-source-shebangs 'patch-cargo-checksums
-            (lambda _
-              (use-modules
-               (srfi srfi-1) (ice-9 ftw) (guix build cargo-utils))
-              (with-directory-excursion ".cargo/vendor"
-                (for-each generate-all-checksums
-                          (delete "." (delete ".." (scandir ".")))))))
-          (add-after 'unpack 'skip-clamd-tests
-            ;; XXX: The check?_clamd tests fail inside the build
-            ;; chroot, but pass outside.
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (substitute* "unit_tests/CMakeLists.txt"
-                  (("clamd_test\\.py" test)
-                   (string-append
-                    test " -k \"not test_clamd_08_VirusEvent\"")))))))))
+     (let ((cargo-inputs
+            `(("rust-flate2" ,rust-flate2-1)
+              ("rust-hex" ,rust-hex-0.4)
+              ("rust-libc" ,rust-libc-0.2)
+              ("rust-log" ,rust-log-0.4)
+              ("rust-sha2" ,rust-sha2-0.10)
+              ("rust-tempfile" ,rust-tempfile-3)
+              ("rust-thiserror" ,rust-thiserror-1)
+              ("rust-image" ,rust-image-0.24)
+              ("rust-rustdct" ,rust-rustdct-0.7)
+              ("rust-transpose" ,rust-transpose-0.2)
+              ("rust-num-traits" ,rust-num-traits-0.2)
+              ("rust-base64" ,rust-base64-0.21)
+              ("rust-sha1" ,rust-sha1-0.10)
+              ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+              ("rust-bindgen" ,rust-bindgen-0.66)
+              ("rust-onenote-parser" ,rust-onenote-parser-for-clamav)
+              ("rust-hex-literal" ,rust-hex-literal-0.4)
+              ("rust-inflate" ,rust-inflate-0.4)
+              ("rust-bzip2-rs" ,rust-bzip2-rs-0.1)
+              ("rust-byteorder" ,rust-byteorder-1)
+              ("rust-delharc" ,rust-delharc-0.6)))
+           (cargo-development-inputs
+            `(("rust-cbindgen" ,rust-cbindgen-0.26)
+              ("rust-bindgen" ,rust-bindgen-0.66))))
+       (list
+        #:cargo-inputs cargo-inputs
+        #:cargo-development-inputs cargo-development-inputs
+        #:vendor-dir ".cargo/vendor"
+        #:imported-modules `(,@%cmake-build-system-modules
+                             ,@%cargo-build-system-modules)
+        #:modules '((guix build cargo-build-system)
+                    ((guix build cmake-build-system) #:prefix cmake:)
+                    (guix build utils))
+        #:phases
+        #~(modify-phases %standard-phases
+            ;; There is a .exe file used in unit tests.
+            (delete 'check-for-pregenerated-files)
+            (add-after 'configure 'fix-cargo-inputs-vendoring
+              (lambda _
+                ;; Reproduce the original layout, fails with config.
+                (rename-file ".cargo/config" ".cargo/config.toml")
+                ;; Wrongly placed by configure
+                (delete-file-recursively
+                 (string-append ".cargo/vendor/clamav-" #$version ".tar.zst"))))
+            (add-after 'patch-cargo-checksums 'cmake-configure
+              (lambda* (#:key outputs #:allow-other-keys)
+                ((assoc-ref cmake:%standard-phases 'configure)
+                 #:configure-flags
+                 (list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF")
+                 #:outputs outputs)))
+            (replace 'build
+              (assoc-ref cmake:%standard-phases 'build))
+            (add-after 'patch-cargo-checksums 'patch-rust-requirements
+              (lambda _
+                (substitute* "libclamav_rust/Cargo.toml"
+                  (("onenote_parser = .*")
+                   (format #f "onenote_parser = ~s~%"
+                           #$(package-version
+                              (car (assoc-ref cargo-inputs
+                                              "rust-onenote-parser")))))
+                  (("^bindgen = .*")
+                   (format #f "bindgen = ~s~%"
+                           #$(package-version
+                              (car (assoc-ref cargo-inputs
+                                              "rust-bindgen")))))
+                  (("cbindgen = \\{ version =\".*\",")
+                   (format #f "cbindgen = { version =~s,"
+                           #$(package-version
+                              (car (assoc-ref cargo-development-inputs
+                                              "rust-cbindgen"))))))))
+            (delete 'package)
+            (replace 'install
+              (assoc-ref cmake:%standard-phases 'install))
+            (replace 'check
+              (lambda* (#:key tests? #:allow-other-keys)
+                ((assoc-ref cmake:%standard-phases 'check)
+                 #:tests? tests?
+                 #:parallel-tests? #t
+                 #:test-target "test")))
+            (add-after 'unpack 'skip-clamd-tests
+              ;; XXX: The check?_clamd tests fail inside the build
+              ;; chroot, but pass outside.
+              (lambda* (#:key tests? #:allow-other-keys)
+                (when tests?
+                  (substitute* "unit_tests/CMakeLists.txt"
+                    (("clamd_test\\.py" test)
+                     (string-append
+                      test " -k \"not test_clamd_08_VirusEvent\""))))))))))
     (native-inputs
      (list check ; for tests
+           cmake-minimal
            pkg-config
            python-minimal
-           python-pytest
-           rust
-           (list rust "cargo")))
+           python-pytest))
     (inputs
       (list bzip2
             curl
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:48 2024
Received: from localhost ([127.0.0.1]:38482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sn1-0004PD-Ln
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:47 -0500
Received: from 20.mo583.mail-out.ovh.net ([91.121.55.239]:33389)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Smy-0004Op-3V
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:45 -0500
Received: from director7.ghost.mail-out.ovh.net (unknown [10.108.2.235])
 by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkk268QNz1Qsp
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:42 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-rvswf (unknown [10.110.178.25])
 by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id A03AC1FDBB;
 Tue,  5 Nov 2024 23:16:42 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.99])
 by ghost-submission-5b5ff79f4f-rvswf with ESMTPSA
 id 6QIwIFqnKmfWIQAAkgZJFg
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:42 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-99G003cee3b622-dee8-4f35-9bf7-43775b459074,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 18/20] gnu: Add rust-rustfft-6.
Date: Wed,  6 Nov 2024 00:15:06 +0100
Message-ID: <20241105231519.22378-18-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12058950955888272098
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelleenucevlhhushhtvghrufhiiigvpeejnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=1QeGefB4ekubDbu5Lu4UiFYNPHP8f6vIdjNkINbuGeA=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848603; v=1;
 b=sD/CnmzWoCophCP/HwOV4Qgky9nPAJXXHx4av/dXMCdyT8JpE5laEtvm1AIeoMnkDRE4cQG7
 ZgiivWnzD6wa+QSSFpC/GAUTrgcqCwbPj/oW11avGcncIflxatprt2oX7f8oEamqvlxPN41c04v
 Csfl+A2OqkekZUUIrVp2/ZL2dJlYnnflJ8y8vVJiqt6l3zFNwDWSFcEgcfeZXiDyTCQosxPlWuC
 9/ZM5iY3kazYdZBcVoA1nCqKf+iGlcNezEPmV0zwB9lqGuo0+MjoE7+75lgmBkqV2D4xFheCl7K
 WS0jUByVTe4aU/Z1Q3ZT9/2VAT3S4bUi6Y9IWbZYNQ7Kg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-rustfft-6): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aaaa1102fe..cb71f71b85 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66462,6 +66462,38 @@ (define-public rust-rustdoc-types-0.23
     (description "Types for rustdoc's json output.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rustfft-6
+  (package
+    (name "rust-rustfft")
+    (version "6.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustfft" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11hx83yr2h2jszkba9qhq2d08q9i5rsashq62rfhqvahpihnb023"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.8)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-getrandom" ,rust-getrandom-0.2)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))
+       #:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4)
+                       ("rust-num-integer" ,rust-num-integer-0.1)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-primal-check" ,rust-primal-check-0.3)
+                       ("rust-strength-reduce" ,rust-strength-reduce-0.2)
+                       ("rust-transpose" ,rust-transpose-0.2)
+                       ("rust-version-check" ,rust-version-check-0.9))))
+    (home-page "https://github.com/ejmahler/RustFFT")
+    (synopsis "Rust FFT library")
+    (description
+     "This package provides a high-performance FFT (Fast Fourier Transform)
+library written in pure Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rustfix-0.8
   (package
     (name "rust-rustfix")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:41 2024
Received: from localhost ([127.0.0.1]:38474 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Smv-0004Og-9X
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:41 -0500
Received: from 17.mo561.mail-out.ovh.net ([87.98.178.58]:59327)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Smt-0004OW-8N
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:40 -0500
Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.17.160])
 by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjy1kDwz1RlL
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:38 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-m6jpx (unknown [10.111.174.161])
 by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id BD0A01FD4D;
 Tue,  5 Nov 2024 23:16:37 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.108])
 by ghost-submission-5b5ff79f4f-m6jpx with ESMTPSA
 id NgDfFFWnKmckpj4Ag9Vu6w
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:37 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-108S0028ee71bbb-6965-498d-940e-a581166a4ccb,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 17/20] gnu: rust-strength-reduce-0.2: Update to 0.2.4.
Date: Wed,  6 Nov 2024 00:15:05 +0100
Message-ID: <20241105231519.22378-17-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12057825053587333858
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutdeknecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedumgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=MHK5S+wF846S8dYwkd7NyT4jcPD4VJSUP/HLs2BoaBI=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848598; v=1;
 b=Y3qD71t2rJ47Oq4kfAHym2DPyf1EqHJy/OdlERY8dIOzfki8pUjU6oZUgUhCcIsrOdkSWPDv
 gcFnM3IyJ2X7KBYQRPtH1gqESKno7BBNPVYXnEDh7rX9aaExZrvwG0PvBAmwFNkRW7mmLyoLAjt
 b63PBx1MZ7tdlXOQWZfMCZT6yEoI7JU2y5TCr8STBEW4Nuj7gU6vsjnMQfoG1CjHobEdSvvbrFC
 WXq/TFvoYfIvhwRx6y/cXZ7mi4+sFhDSdcf8OW9Tj1Oz5+2rZJZ0qre7lAisqDzW6rzkTanXr1R
 4JDxuWGrI2i/8H0Hdw9vXFlWmV8gOT5OMQKxy29ofxB3Q==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-strength-reduce-0.2): Update to 0.2.4.
[arguments]<#:skip-build?>: Drop option.
<#:cargo-development-inputs>: Add rust-num-bigint.
---
 gnu/packages/crates-io.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e3a8609e4f..aaaa1102fe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75180,16 +75180,18 @@ (define-public rust-streaming-stats-0.2
 (define-public rust-strength-reduce-0.2
   (package
     (name "rust-strength-reduce")
-    (version "0.2.3")
+    (version "0.2.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "strength_reduce" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0m12phq654mfxpmh2h5akqkag5ha6nlhjc2bp9jwarr5r1qjzzx3"))))
+        (base32 "10jdq9dijjdkb20wg1dmwg447rnj37jbq0mwvbadvqi2gys5x2gy"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-num-bigint" ,rust-num-bigint-0.4))))
     (home-page "http://github.com/ejmahler/strength_reduce")
     (synopsis "Faster integer division and modulus operations")
     (description "Strength_reduce implements integer division and modulo via
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:30 2024
Received: from localhost ([127.0.0.1]:38470 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Smj-0004OD-Sc
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:30 -0500
Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:46547)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Smf-0004Nn-Ll
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:26 -0500
Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.140.73])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjj0S2Mz1vdq
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:25 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-q8fbt (unknown [10.108.54.28])
 by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B9C761FD20;
 Tue,  5 Nov 2024 23:16:24 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.96])
 by ghost-submission-5b5ff79f4f-q8fbt with ESMTPSA
 id xkdBHEinKme9IQAA/DnL+w
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:24 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-96R00136a46a2b-0da1-400a-9268-774626c2edbd,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 16/20] gnu: Add rust-transpose-0.2.
Date: Wed,  6 Nov 2024 00:15:04 +0100
Message-ID: <20241105231519.22378-16-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12054165880559690466
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=pT1SuVQjATxCoRlnsh6avOrcqjRDPvOT3IcLPQq8FwM=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848585; v=1;
 b=B4JB7RnXS01Sb51yMiazXxzHc6kW/Dr3Ent/7uTQsF4L7+kLcW0NVcITqD29TYV4RwycDbLi
 GVo6vBEhkK668C2UQsbUWl0zz3f2BrzRWUv8MFz+W+fGL3b8e0DJ99dQdwf4KlwdsDb2v2krCxb
 faZYIRuODQkVxHK3fB6pc0FBPZd8y2GRouMYXE4OTkvX34C8oeWca3+3Zoc8wdFV8mroe3DtPxN
 b3yv0ysjVTyMnRaCC4l0sVeJuofP5t0vDjobSDpRMJkJCdJGkjqM18HKqRz2wZ2aJGzprN58wjC
 scLlPzmsEcYvfQ88J6MVWeM6BdfAW6CB1op2/VQYKgBIg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-transpose-0.2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 95d29aff87..e3a8609e4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85039,6 +85039,27 @@ (define-public rust-traitobject-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-transpose-0.2
+  (package
+    (name "rust-transpose")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "transpose" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zp74v7jrjg4jr654dncdj6hqvacicsywyhc62jawgxwhvnimmhs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1)
+                       ("rust-strength-reduce" ,rust-strength-reduce-0.2))))
+    (home-page "https://github.com/ejmahler/transpose")
+    (synopsis "Utility for transposing multi-dimensional data")
+    (description
+     "This package provides utilities for transposing multi-dimensional data.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-trash-3
   (package
     (name "rust-trash")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:29 2024
Received: from localhost ([127.0.0.1]:38468 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Smj-0004OA-Ba
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:29 -0500
Received: from 6.mo561.mail-out.ovh.net ([188.165.43.173]:47989)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Sme-0004NR-OS
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:25 -0500
Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.25.249])
 by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjh0g9Wz1LZK
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:24 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-dbhvn (unknown [10.110.168.179])
 by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D4D3E1FEAA;
 Tue,  5 Nov 2024 23:16:23 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.101])
 by ghost-submission-5b5ff79f4f-dbhvn with ESMTPSA
 id Q+IvIkenKmenXgAAYaY34w
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:23 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-101G00424f7e6e8-5dec-4185-b811-c189caacf98a,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 15/20] gnu: Add rust-delharc-0.6.
Date: Wed,  6 Nov 2024 00:15:03 +0100
Message-ID: <20241105231519.22378-15-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12053884404350640866
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedumgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=wT2rTASyt3245dxXYooUiteAfWLyme9QL8PFzIBWZhw=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848584; v=1;
 b=ngxNFtklCsYFhpHWSwYEh3F73k/Sk7j5tuzoHs/Le+ef0efagmdePmtm03C3XRZ3XeXNbg2W
 E2mF5qRQdGhgpbFO0EW2VGmMpcOj2dhFkIaRSgv9+BFRQYqM5Rm03fpxWk1zoYpF3m3dQj1NxSq
 JmpS2H2FB9mnJbX2Q3NazT4+3IvsiEQiUsbg3MUGYAssH6VhowYDT2Ouo06M7Wz7CAxdcIL3wel
 MsWhKznBc9JO8rwD4Vr+tTP9fuqlFOrvbfTTnvwyPtVnw1ahM5jymAw8qV4F8cdMrU463o1WoF/
 Uf8KeF2aMccVlUhOWex2H1hinq8gtlx0FeBwxQDQBLHmA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-delharc-0.6): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bc585b20a5..95d29aff87 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20408,6 +20408,33 @@ (define-public rust-dejavu-2
      "This package provides the @code{DejaVu} font family for embedding.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-delharc-0.6
+  (package
+    (name "rust-delharc")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "delharc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18g5haj6bj92azif4jifhdy9vrv6blg3wyvpmxslh2gm2wkbm4qw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ; Missing files
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-memchr" ,rust-memchr-2))
+       #:cargo-development-inputs (("rust-crc-any" ,rust-crc-any-2)
+                                   ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/royaltm/rust-delharc")
+    (synopsis
+     "Parse and extract files from LHA/LZH archives.")
+    (description
+     "This package provides a Rust library for parsing and extracting files
+from LHA/LZH archives, which are often suffixed @code{.lha} or @code{.lzh}. ")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-demo-hack-0.0
   (package
     (name "rust-demo-hack")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:25 2024
Received: from localhost ([127.0.0.1]:38462 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sme-0004NW-UE
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:25 -0500
Received: from 7.mo575.mail-out.ovh.net ([46.105.63.230]:55625)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Smc-0004N5-8o
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:23 -0500
Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.2.21])
 by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjd1w3fz1mx1
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:21 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-8vgbb (unknown [10.110.101.176])
 by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 1F8A71FDD5;
 Tue,  5 Nov 2024 23:16:21 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.96])
 by ghost-submission-5b5ff79f4f-8vgbb with ESMTPSA
 id n1u0AEWnKmeFdg0APNfTyw
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:21 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-96R001a1ff7397-182e-403e-91d5-77bec6633ec8,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 14/20] gnu: rust-crc-any-2: Update to 2.5.0.
Date: Wed,  6 Nov 2024 00:15:02 +0100
Message-ID: <20241105231519.22378-14-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12053039978993017570
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehmgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=ZX+9O9fc2m9CV1IQ9WS5qu/XH+0rpF4bKdK6BpNW3sw=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848581; v=1;
 b=uBnnwZGJJ5/O9whvGe84oP+9QRL5tN2wBCHPKCmgVvDi6bro+vpr7LSsJPhiGDqEjfZi/evE
 tdDw7AOeMKKgUdc/eqNFF0oRnSetq2NzJ2tWSOqoQ4Xp75BRg9wHcAsjwHQOKi5S7A8Ms9seLXe
 Y6VfqbGpACKL/q+DIgQKQgrSAlKBjsWJe6tGJJrZ1Q8Mt37I6Wt3a0Rd6EsIekP8ZlCJa15x5kl
 AyJDhIkcou3YzWOCkC3/YhY9IELShSSVoXs/FNUBKoYV+lM2BlUC6ZqUo6tqfB0cJlYPKoN49pH
 impPdywanKg67pr08bcJySnEFVuIqwszhQH/gZKERHxmg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-crc-any-2): Update to 2.5.0.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4cb6de28b3..bc585b20a5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16925,7 +16925,7 @@ (define-public rust-crc-1
 (define-public rust-crc-any-2
   (package
     (name "rust-crc-any")
-    (version "2.3.12")
+    (version "2.5.0")
     (source
      (origin
        (method url-fetch)
@@ -16933,7 +16933,7 @@ (define-public rust-crc-any-2
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0fq85y5akcadahnj5nqbs47qhgp5cpfn2z19zc3gp4wpxr3989kr"))))
+        (base32 "0wzs26q5cf29fhfnrkrjsr8dpai0rlm4im8b53by8rbrbzzwjbm6"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:24 2024
Received: from localhost ([127.0.0.1]:38460 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sme-0004NS-GY
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:24 -0500
Received: from 5.mo583.mail-out.ovh.net ([87.98.173.103]:40985)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Smb-0004Mz-Rb
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:22 -0500
Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.25.249])
 by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjc5Ty9z1QBV
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:20 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-td768 (unknown [10.108.42.198])
 by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 89DB01FE82;
 Tue,  5 Nov 2024 23:16:20 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.97])
 by ghost-submission-5b5ff79f4f-td768 with ESMTPSA
 id LOWQEESnKmfQRQIA9/SAqQ
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:20 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-97G002a366ea51-633b-4d8c-9120-f32f517bd084,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 13/20] gnu: Add rust-primal-0.3.
Date: Wed,  6 Nov 2024 00:15:01 +0100
Message-ID: <20241105231519.22378-13-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12052758506750272226
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdeljeenucevlhhushhtvghrufhiiigvpeegnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=kvTDU/JU3yvEEL4Wq3wOC2LEtQq9pcR0n5fsUbGBFHo=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848580; v=1;
 b=H60tTJy84yDcTefbhRoiWzfSix+SiqY8UcgUoZJ8L9w9gnoNg6d1ls4innNbxpusZIzKo6m8
 nDjnJFgeMAz3a2AQZJl9bpWKSfEeXTGR5opXOpDne6Nh2CPw7P4lSu9dXRIcKer5JFUBk4OAP5U
 lAPAW5kSz52xTk2hD8mshjV4WRURH86bhGlf9zM2PRmmzVVDHxWijEBkcAXHEQFWYM1ytmb/GTA
 PhcFfLRkHygnEzHDn5Ri0zgs3xAgfegjQpFV0Zu5moVR027tnKlNYwLMBLghVI7sGMC+B8iixs4
 Fr5p6FMMGGzb9Mh8eCekB3WtizIMA20G6QiBXXFkuq7BA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-0.3): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8bab66850e..4cb6de28b3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56602,6 +56602,33 @@ (define-public rust-prettytable-rs-0.8
 formatted tables in terminal.")
     (license license:bsd-3)))
 
+(define-public rust-primal-0.3
+  (package
+    (name "rust-primal")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1s6n396cssbr86f9w31sppdf06xsymgrl7y9gw0yccl5jiag7rdi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-primal-check" ,rust-primal-check-0.3)
+                       ("rust-primal-estimate" ,rust-primal-estimate-0.3)
+                       ("rust-primal-sieve" ,rust-primal-sieve-0.3))
+       #:cargo-development-inputs
+       (("rust-primal-slowsieve" ,rust-primal-slowsieve-0.3))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Various tools for prime numbers")
+    (description
+     "This package provides various tools to work with prime numbers.  It
+includes: optimised prime sieves, checking for primality, enumerating primes,
+factorising numbers, and state-of-the-art estimation of upper and lower bounds
+for the number of primes below n and the k-th prime.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-primal-bit-0.3
   (package
     (name "rust-primal-bit")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:23 2024
Received: from localhost ([127.0.0.1]:38458 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Smc-0004N7-Ow
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:23 -0500
Received: from 8.mo560.mail-out.ovh.net ([188.165.52.147]:36603)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Sma-0004Mn-FK
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:21 -0500
Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.2.21])
 by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkjb5gQfz1dyG
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:19 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-5pt2d (unknown [10.111.174.164])
 by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 8756F1FD72;
 Tue,  5 Nov 2024 23:16:19 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.110])
 by ghost-submission-5b5ff79f4f-5pt2d with ESMTPSA
 id 9LrrCUOnKmcAVgIARTw1CA
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:19 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-110S004b4097496-138f-4a46-bd54-caee6dd017e3,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 12/20] gnu: Add rust-primal-slowsieve-0.3.
Date: Wed,  6 Nov 2024 00:15:00 +0100
Message-ID: <20241105231519.22378-12-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12052477031921017570
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtmgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=jl7cRXzvZi2vB98Pi7iY7CfHDfS6duNNqTRmZxakwP0=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848579; v=1;
 b=D+N2ocEO4WuU+/XxkRqlU4QSCTaVEj5a+Qz+VZpiWrMTANITHGfI9EKrOi7p9vcDbLcH6Xyk
 O+Qne466jsGj9mfl95YxvwVMZzNHJjI6/4niteqauzhvkUX4Dz+T6MnpW3Pxvi5CrEy3zvdStjH
 yHZ/oDmqkomFNUaArLGwVunhr60JuISIAkQUsfduTe6htTAq5C+Xu0FEYAMn7wySBFFRzttwzVJ
 2991uPhQDU8uaxstE8SL61DRl7vM3a1CRAL4GyWMxQJBVi/O3El67XfENWnNQQJOEhCO13+gKVZ
 Cidt2Z6XvmmbvcjdjMRN5bSgekruOp5nOa8WEktfbGttA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-slowsieve-0.3): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40681cee8a..8bab66850e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56690,6 +56690,30 @@ (define-public rust-primal-sieve-0.3
     (description "This package provides a high performance prime sieve.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-slowsieve-0.3
+  (package
+    (name "rust-primal-slowsieve")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-slowsieve" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02pixp7xprkmj0fvjgg6n4dn5f8syr6xj2m2dxn0nyg06b8lipy9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3)
+                       ("rust-primal-estimate" ,rust-primal-estimate-0.3))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Simple sieve of Eratosthenes")
+    (description
+     "This package provides a simple sieve of Eratosthenes designed for
+testing faster sieves.  For use in Rust crates, use @code{rust-primal-sieve}
+or @code{rust-primal} instead.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:20 2024
Received: from localhost ([127.0.0.1]:38449 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sma-0004Mp-Db
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:20 -0500
Received: from 6.mo575.mail-out.ovh.net ([46.105.63.100]:33295)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8SmX-0004MY-EY
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:18 -0500
Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.139.157])
 by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjX2v25z1n4F
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:16 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-2dsqj (unknown [10.110.164.45])
 by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2E7881FDC7;
 Tue,  5 Nov 2024 23:16:16 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.101])
 by ghost-submission-5b5ff79f4f-2dsqj with ESMTPSA
 id hU2sMj+nKmdDtT4AVLPGQw
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:16 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-101G004bcb68a8c-ed14-49a4-ba55-c1f526452ece,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 11/20] gnu: Add rust-primal-sieve-0.3.
Date: Wed,  6 Nov 2024 00:14:59 +0100
Message-ID: <20241105231519.22378-11-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12051632607027978978
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehmgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=aX7KishTov6GDMbaTAKlOVRSpC4xVz5Rg4ZaH8A7fC0=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848576; v=1;
 b=pL0NH0yYYvwSJAYOW3d0Pm1PRpdLyijYKCz6shHl8ESsi7wdBy5Pdv218e/urTYvod6L5h4q
 8zWqRKLb81qUwkxnQlda3vEeik8YXUIcVvpm8Z0PJ/nj3khu+ugbS2atDldzB8y5mJsAmw8Wxjl
 UB2jHK3URuZDAxdO19fBRqkveiLtRiczNlUqj6Fg1Tr+lCvANFycVal99Ea8r2WTvki1Lia6R86
 GWewkUTgY94etg9zLERuwiflWoSkiaLynGylh2epGLtBDc/lY0gI4CHNj+Pc79ZCo7DBDePYD16
 lsogreDfKT6sy73ZBeC1OsuBND2mz91CQQAJ3twK4LRQQ==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-sieve-0.3): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb26506de7..40681cee8a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56667,6 +56667,29 @@ (define-public rust-primal-estimate-0.3
 bounds for the number of primes below n and the k-th prime.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-sieve-0.3
+  (package
+    (name "rust-primal-sieve")
+    (version "0.3.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-sieve" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lzdllk78jqdp93h15l69s4xglbjcf6jlq6khccka0r2v2b2g64f"))))
+    (build-system cargo-build-system)
+    (arguments
+    ;; Circular development input rust-primal
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3)
+                       ("rust-primal-estimate" ,rust-primal-estimate-0.3)
+                       ("rust-smallvec" ,rust-smallvec-1))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Prime sieve")
+    (description "This package provides a high performance prime sieve.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:10 2024
Received: from localhost ([127.0.0.1]:38440 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8SmQ-0004MD-H3
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:10 -0500
Received: from 6.mo576.mail-out.ovh.net ([46.105.50.107]:48525)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8SmO-0004M4-83
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:09 -0500
Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.139.157])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjM177Yz1vfJ
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:07 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-nzvct (unknown [10.110.118.5])
 by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id EF9201FE90;
 Tue,  5 Nov 2024 23:16:06 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-5b5ff79f4f-nzvct with ESMTPSA
 id rk+nNDanKmcaRQIAD1ahAA
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:06 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R00455b9fbd3-1a62-4e44-b347-423bdd51db05,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 10/20] gnu: Add rust-primal-estimate-0.3.
Date: Wed,  6 Nov 2024 00:14:58 +0100
Message-ID: <20241105231519.22378-10-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12049099331376243426
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeimgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=ruedwbCnl5mF5Uh+AxFcKNLnwRS6fYMWYwzk1cA9JoM=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848567; v=1;
 b=nK/mFW33diyB1HPWCCGcBwf0DchXdRoVM64n9cLWcc/MY7PdM6ehV1o7SoAxewdcHWSL4yPW
 Mw+owfLgDeZfAs0om/sPx2Y6lQ4pAYnrcTjedhYCWkgLEDnLkfxVmjPsckEXMbtNaREEiOBgCmq
 yt1AnKUDCpQHEB/Au2WgJbSdHNXJDrJIwMwrYHt0AfWsyK7Lx5o7kPgzV2cRMqy7laZpVIR2wyO
 1f4zxC8lzgLb7pjIOkxmLcXGOtKdbmzZBLRDq3U6t4B+iQK/2AB8xV0D4MFzWz7pOh6owDE6QRA
 IA8eIRMA7Z0JOO3xgB4t3cditNhu6skSEJWxomMA6gdXw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-estimate-0.3): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a025472d5e..eb26506de7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56645,6 +56645,28 @@ (define-public rust-primal-check-0.3
      "This package provides a standalone primality testing tool.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-estimate-0.3
+  (package
+    (name "rust-primal-estimate")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-estimate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08nq0n0r35rni65h79fynync0wyy8agrxy5mfmg0hq9s1c510cm4"))))
+    (build-system cargo-build-system)
+    ;; Circular development input rust-primal
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Estimate upper and lower bounds for the k-th prime")
+    (description
+     "This package provides a state-of-the-art estimation of upper and lower
+bounds for the number of primes below n and the k-th prime.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:06 2024
Received: from localhost ([127.0.0.1]:38436 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8SmM-0004Lm-38
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:06 -0500
Received: from 4.mo581.mail-out.ovh.net ([178.32.122.254]:45781)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8SmJ-0004Kr-Tb
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:04 -0500
Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.2.97])
 by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjG59jXz1MHJ
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:02 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-lc2ks (unknown [10.110.164.150])
 by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 608D21FE7C;
 Tue,  5 Nov 2024 23:16:02 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.100])
 by ghost-submission-5b5ff79f4f-lc2ks with ESMTPSA
 id Ha6oNjGnKmciigIAFhrSYw
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:02 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-100R003adbe43c7-28e0-47f9-aece-2c7ab4f55bb6,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 09/20] gnu: Add rust-primal-check-0.3.
Date: Wed,  6 Nov 2024 00:14:57 +0100
Message-ID: <20241105231519.22378-9-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12047691954438857442
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedumgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=EbL/e4mjisU2GASHRk0LHQUNzc0HKW21yjSFMOAKYHo=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848562; v=1;
 b=z+nWGl9BMK09AXAnD6B40gy9juSJyiT75HmtOcvTwfxRWOufSgm/PH65nbljRcXQllFrlH5p
 nvd4M6jAtdbeeDbrQVl0ACzv0sAKE2GDNwU7WhDj/EDVzW4jdiKP5rGGK1uBDBZfTkjP14K80Ml
 OeOfPxWGzzeHgnPpuUYVNwMkwXJ8z5Vb5nc/+ILbD0nxBVxSA6BwHPvEeVxcwSZI5/1h3O9BmjH
 bn8FGPM30OXuXYSC6vidAIW2WxCwczTk+iDkVowO0ejXqLKj6zkhNcsVi28zy6liKe8IFAcrN4F
 K+IUQsKVHxR/H9p3BqryEbR7ol1tIJtnNWBiF8KcCAeyQ==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-check-0.3): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 03375f4fe4..a025472d5e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56623,6 +56623,28 @@ (define-public rust-primal-bit-0.3
 prime-number-related needs of @code{rust-primal}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-check-0.3
+  (package
+    (name "rust-primal-check")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-check" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "025xnak4rhkwa4h970bjb3cvp2k853wviyr84n8gjfhy65dqj3fw"))))
+    (build-system cargo-build-system)
+    ;; Circular development input rust-primal
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Test primality")
+    (description
+     "This package provides a standalone primality testing tool.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:04 2024
Received: from localhost ([127.0.0.1]:38427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8SmJ-0004L1-Np
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:04 -0500
Received: from 7.mo583.mail-out.ovh.net ([178.32.124.100]:52317)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8SmI-0004KP-6D
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:02 -0500
Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.2.115])
 by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjF4D0Gz1FDx
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:16:01 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-n5dl8 (unknown [10.108.54.144])
 by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4D4061FD9F;
 Tue,  5 Nov 2024 23:16:01 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.95])
 by ghost-submission-5b5ff79f4f-n5dl8 with ESMTPSA
 id 64tFOzCnKmfvmj4AQqw1xQ
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:16:01 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-95G001d834b449-a79d-4c8d-af0b-2c2c8fa5794c,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 08/20] gnu: Add rust-primal-bit-0.3.
Date: Wed,  6 Nov 2024 00:14:56 +0100
Message-ID: <20241105231519.22378-8-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12047410481812923106
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=ZzFlonmpB9NAsnqeODrnhWwx/5yYuXyyQOwmb9EabQs=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848561; v=1;
 b=XpNF6tYa6q/e0n122mxv5981/ueD3/MvqVyUGFP0dRSej29xMNDG9BtuDRUMRJ1OnbbCsX2A
 9lHz0X2UkGFyv9SDgJThaX0xQZ0YQTPN2qh25eMy9O+W3kYy/ycemE2IrpgRe2gYzV+06lIfCA8
 LKgDTMedjOg7vMhu290LCPRsMyP3wpfoaPWD5n9oNvhjQIs0I9Pz/Gs9M5hOMAoxZchjaudGIqQ
 /mjUfCqrfVBsznLdjQ2MZotxqQQJV9ECCFesYCJkcCckdGcCmsd63WgmQn71LNmZQXeAdR5fHlW
 i8Y8XFrt3Dc0b+L37E5Sd8Vm8PU///39hminfM17F32Ww==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-bit-0.3): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e551600dc7..03375f4fe4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56602,6 +56602,27 @@ (define-public rust-prettytable-rs-0.8
 formatted tables in terminal.")
     (license license:bsd-3)))
 
+(define-public rust-primal-bit-0.3
+  (package
+    (name "rust-primal-bit")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-bit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mb0cdxhlm6phhl2f4d7nf7g4yrnd8xdq07m7liw7b5fp3djj915"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-hamming" ,rust-hamming-0.1))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Bit-vector specialised for rust-primal")
+    (description
+     "This package provides a bit-vector specialised to the
+prime-number-related needs of @code{rust-primal}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:16:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:16:02 2024
Received: from localhost ([127.0.0.1]:38421 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8SmI-0004KV-5G
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:02 -0500
Received: from 7.mo583.mail-out.ovh.net ([178.32.124.100]:58823)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8SmF-0004K8-Ig
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:16:00 -0500
Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.2.97])
 by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4XjkjB3cvPz1HcV
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:15:58 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-lqqzh (unknown [10.110.178.46])
 by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 544B51FD54;
 Tue,  5 Nov 2024 23:15:58 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.101])
 by ghost-submission-5b5ff79f4f-lqqzh with ESMTPSA
 id G23jAC6nKmcjLQAAY2owgw
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:15:58 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-101G0049c60a64b-69f9-436c-a2c1-e1ffff3ff5ec,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 07/20] gnu: Add rust-hamming-0.1.
Date: Wed,  6 Nov 2024 00:14:55 +0100
Message-ID: <20241105231519.22378-7-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12046566053461943010
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpedvheelieffheetvdelhfffffejfefgudfhteekveehieetudeiudfgkeeutdehjeenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefmgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=phcV+O7t8wHaYBJDeLqwb3UgDYEhH1ly2UPru7PvyVM=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848558; v=1;
 b=CyYFuZr9w8oJUlFzfB1IbTyrGIYLygWh477PwT6KswSRWD/eGEXC22sO3mtf95dkXC3cj3O4
 AHDok/nrt3rnwpAl1hqJSWPi1SCJN+8Ld7R26ItUjl00F6TvZiKlobRMXTqKnZgrY6RZhhhnnfU
 KL5wwRpyqtzRCgc7Eoqdvor8aNXsIL+Zr2kHjmHr0ERrBNHJ42tukP82UAllBznO5xjPOj4xhp0
 kI4wN5JA7rjN1OZVlmm4GclhZQuBGBqt2BzTcJjuP4iYhYY0MdkaHLoPmfXrh5wItT2ov1C/YMy
 rTZbXZZgdIQgkIQ1H3gkiBWhcO9YxP4d5It95+8FLoRAA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-hamming-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e7124b088d..e551600dc7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31388,6 +31388,30 @@ (define-public rust-hamcrest2-0.3
      "This package provides a port of the Hamcrest testing library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hamming-0.1
+  (package
+    (name "rust-hamming")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hamming" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q9hri1l1x1y7vv153kvdw9lkqslmbwgia5r3qj6i39pfji3s135"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.2)
+        ("rust-rand" ,rust-rand-0.3))))
+    (home-page "https://github.com/huonw/hamming")
+    (synopsis "Count ones fast")
+    (description
+     "This package provides a tool to count ones, using rapid popcount
+(hamming weight) techniques.  This provides a performant popcount and bitwise
+hamming distance for a slice of bytes.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hash-hasher-2
   (package
     (name "rust-hash-hasher")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:15:56 2024
Received: from localhost ([127.0.0.1]:38416 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8SmB-0004Jy-C5
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:56 -0500
Received: from 1.mo550.mail-out.ovh.net ([178.32.127.22]:44497)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Sm8-0004Jo-8b
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:54 -0500
Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.140.196])
 by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkj23mWNz1PB3
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:15:50 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-d8ddd (unknown [10.108.54.32])
 by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B18DC1FD77;
 Tue,  5 Nov 2024 23:15:49 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.105])
 by ghost-submission-5b5ff79f4f-d8ddd with ESMTPSA
 id 1we4GiWnKmdD+gUADMDNBQ
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:15:49 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-105G0068c7deaec-e745-4a09-874d-40ea44576569,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 06/20] gnu: clamav: Update to 1.4.1.
Date: Wed,  6 Nov 2024 00:14:54 +0100
Message-ID: <20241105231519.22378-6-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12044314257680360162
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhggtgfgsehtkeertdertdejnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepudevvdeuieeiiedtkeeghfetffeiiefhleekfeejudetteeukeeigfejvdegiefhnecuffhomhgrihhnpegtlhgrmhgrvhdrnhgvthenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtdgmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=/Q0deePCOY1xrpPwRwUuQuwnHGBOJB1hVB2SPOwvZQI=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848550; v=1;
 b=nboMjZK5bhUOGOBN/UBCiFOFwnrgvCETFhEDDxpuAYZALQRWsRaoJwd/IYAHGQHNvxtvQmW4
 HiSCJQp6cGJaWOcbzAvE9Aj3Yvr2dZgb3FxuchoNfJWPwHv3haRlVElaOpTXHCCMq5j7fUNDh4P
 WNX2p/F1D5oMAimWO1DgStKqawTsfAiXA/A3V2ID3mvNpkesiQFNrwiNZOkhAlTOqNUoqeIF/Mp
 12XJv0VruQKGtIYX5v7hHZkVR3hpEvoWplAMPgLsWyu2eQ/ONP52Cyf4ms1on3Vw3s0JS/fXVxT
 FHvtQB47mMSopX/U42mp6LdFVlb85fbDN6RWMGsu5pR5Q==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav): Update to 1.4.1.
[source]<origin>: Adapt source. This currently is not unbundling all
cargo vendored packages.
[build-system]: Switch to cmake-build-system.
[arguments]: Move field up.
<#:configure-flags>: Set option.
<#:imported-modules>: Set option for patching cargo checksums.
<#:phases>: Remove all phases except adapted 'skip-clamd_tests. Add
phases 'inject-rust-onenote and 'patch-cargo-checksums.
[native-inputs]: Remove autoconf, automake, libtool. Add
python-minimal, python-pytest, rust and rust:cargo.
[inputs]: Remove libltdl, libmspack, llvm-3.6, cyrus-sasl,
tomsfastmath.
---
 gnu/packages/antivirus.scm | 129 +++++++++++++++----------------------
 1 file changed, 51 insertions(+), 78 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index 2161d60398..1a23657a61 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@HIDDEN>
 ;;; Copyright © 2018 Christopher Baines <mail@HIDDEN>
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright © 2024 Nicolas Graves <ngraves@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,24 +21,23 @@
 
 (define-module (gnu packages antivirus)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system cargo)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix utils)
   #:use-module (gnu packages)
-  #:use-module (gnu packages autotools)
-  #:use-module (gnu packages bison)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
-  #:use-module (gnu packages cyrus-sasl)
-  #:use-module (gnu packages flex)
-  #:use-module (gnu packages llvm)
-  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages rust)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml))
@@ -45,7 +45,7 @@ (define-module (gnu packages antivirus)
 (define-public clamav
   (package
     (name "clamav")
-    (version "0.103.11")
+    (version "1.4.1")
     (source (origin
               (method url-fetch)
               (uri
@@ -57,90 +57,63 @@ (define-public clamav
                                "/clamav-" version ".tar.gz")))
               (sha256
                (base32
-                "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1"))
+                "1n3a87niad76h3mn3qxq9379gppdjqpkhwb9qkbb79irmj0ff653"))
               (modules '((guix build utils)))
               (snippet
                '(begin
+                  (delete-file "Cargo.lock")
+                  (for-each
+                   delete-file
+                   (find-files ".cargo/vendor" ".cargo-checksum\\.json"))
                   (for-each delete-file-recursively
                             '("win32"                  ; unnecessary
-                              "libclamav/c++/llvm"     ; use system llvm
-                              "libclamav/tomsfastmath" ; use system tomsfastmath
-                              "libclamunrar"))))       ; non-free license
-              (patches
-               (search-patches "clamav-system-tomsfastmath.patch"
-                               "clamav-config-llvm-libs.patch"))))
-    (build-system gnu-build-system)
+                              "libclamunrar"))))))     ; non-free license
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF")
+      #:imported-modules `((guix build cargo-utils)
+                           ,@%cmake-build-system-modules)
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'inject-rust-onenote
+            (lambda _
+              (substitute* "libclamav_rust/Cargo.toml"
+                (("onenote_parser = .*")
+                 "onenote_parser = \"0.3.1\"\n"))))
+          (add-after 'patch-source-shebangs 'patch-cargo-checksums
+            (lambda _
+              (use-modules
+               (srfi srfi-1) (ice-9 ftw) (guix build cargo-utils))
+              (with-directory-excursion ".cargo/vendor"
+                (for-each generate-all-checksums
+                          (delete "." (delete ".." (scandir ".")))))))
+          (add-after 'unpack 'skip-clamd-tests
+            ;; XXX: The check?_clamd tests fail inside the build
+            ;; chroot, but pass outside.
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (substitute* "unit_tests/CMakeLists.txt"
+                  (("clamd_test\\.py" test)
+                   (string-append
+                    test " -k \"not test_clamd_08_VirusEvent\"")))))))))
     (native-inputs
-     (list autoconf
-           automake
-           check ; for tests
-           libtool
-           pkg-config))
+     (list check ; for tests
+           pkg-config
+           python-minimal
+           python-pytest
+           rust
+           (list rust "cargo")))
     (inputs
       (list bzip2
             curl
             json-c
-            libltdl
-            libmspack
-            llvm-3.6               ; requires <3.7, for JIT/verifier
-            ncurses
             libressl
-            pcre2
-            cyrus-sasl             ; for linking curl with libtool
-            tomsfastmath
             libxml2
+            ncurses
+            pcre2
             zlib))
-    (arguments
-      (list #:configure-flags
-            #~(let-syntax ((with (syntax-rules ()
-                            ((_ name use)
-                             (string-append "--with-" name "="
-                                            (assoc-ref %build-inputs use))))))
-              (list "--disable-unrar"
-                    "--enable-llvm"
-                    "--with-system-llvm"
-                    "--with-system-libmspack"
-                    "--without-included-ltdl"
-                    (with "xml" "libxml2")
-                    (with "openssl" "libressl")
-                    (with "libjson" "json-c")
-                    (with "pcre2" "pcre2")
-                    (with "zlib" "zlib")
-                    (with "libcurl" "curl")
-                    ;; For sanity, specifying --enable-* flags turns
-                    ;; "support unavailable" warnings into errors.
-                    "--enable-bzip2"
-                    "--enable-check"
-                    "--sysconfdir=/etc/clamav"
-                    ;; Default database directory needs to be writeable
-                    "--with-dbdir=/var/db/clamav"))
-            ;; install sample .conf files to %output/etc rather than /etc/clamav
-            #:make-flags
-            #~(list (string-append "sysconfdir=" %output "/etc"))
-            #:phases
-            #~(modify-phases %standard-phases
-                ;; Regenerate configure script.  Without this we don't get
-                ;; the correct value for LLVM linker variables.
-                (add-after 'unpack 'reconf
-                  (lambda _ (invoke "autoreconf" "-vfi")))
-                (add-before 'configure 'patch-llvm-config
-                  (lambda _
-                    (substitute* '("libclamav/c++/detect.cpp"
-                                   "libclamav/c++/ClamBCRTChecks.cpp"
-                                   "libclamav/c++/bytecode2llvm.cpp")
-                      (("llvm/Config/config.h") "llvm/Config/llvm-config.h"))
-                    ;; `llvm-config --libfiles` inappropriately lists lib*.a
-                    ;; libraries, rather than the lib*.so's that our llvm
-                    ;; contains.  They're used only for listing extra build
-                    ;; dependencies, so ignore them until that's fixed.
-                    (substitute* "libclamav/c++/Makefile.in"
-                      (("@LLVMCONFIG_LIBFILES@") ""))))
-                (add-before 'check 'skip-clamd-tests
-                  ;; XXX: The check?_clamd tests fail inside the build
-                  ;; chroot, but pass outside.
-                  (lambda _
-                    (substitute* "unit_tests/Makefile"
-                      (("check2_clamd.sh.*check4_clamd.sh") "")))))))
     (home-page "https://www.clamav.net")
     (synopsis "Antivirus engine")
     (description
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:15:50 2024
Received: from localhost ([127.0.0.1]:38412 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sm5-0004Ja-Tc
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:50 -0500
Received: from 10.mo582.mail-out.ovh.net ([87.98.157.236]:48913)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Sm3-0004JK-NQ
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:48 -0500
Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.2.179])
 by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhy4ZWmz1Qgk
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:15:46 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-8t5z9 (unknown [10.110.113.153])
 by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 71AA21FD54;
 Tue,  5 Nov 2024 23:15:46 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-5b5ff79f4f-8t5z9 with ESMTPSA
 id OOqxDyKnKme0XQAAEyoSQg
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:15:46 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R00417f08e10-868b-4ee9-9f3f-6e97bbf6fd48,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 05/20] gnu: clamav: Add release-monitoring-url property.
Date: Wed,  6 Nov 2024 00:14:53 +0100
Message-ID: <20241105231519.22378-5-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12043188354614026978
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeffgeejudeifeehteeuveeuledvgeeijedvjeevheeiheethefgveeuudevvdevieenucffohhmrghinheptghlrghmrghvrdhnvghtpdhgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvdgmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=hX6jNDNDz6xu5RJNheR6n6jQQVI8n/atkvV6F6jK6rQ=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848546; v=1;
 b=Ixmg8AVnz4S81aW0KiXv+YZgOV0Rau7vvsgUsqYgD9Uu4iZXwsXAXQTcozyXr91rgCJA4P7F
 PFgMCyEilAveAandKWwzYu2XCvfNcXRadcbMsVXA8CdbDkoFV96guwiOKgEu627HUltNZ+v6diu
 XCMOzfI/yMomPMs/fgQAjYZ5NlBbszxID2ZpQrzP0Y9ePjmZgPs0aYeIoclGfulNFCGf3IhBJ2P
 Q+KyPzDLpoqgCbVcuu7wZ5ZrNO+d/wStIgNW9R0DREzHjUmPJZhFLw1VoL8qATFcVCNERSocGvP
 I7qSjWumiyG7XTBKhwajXE4JU/4M69+zDmYzM4AgXu68g==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav)
[source]<uri>: Add secondary release URI.
[properties]: Add release-monitoring-url.
---
 gnu/packages/antivirus.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index d061b18b11..2161d60398 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -48,8 +48,13 @@ (define-public clamav
     (version "0.103.11")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://www.clamav.net/downloads/production/"
-                                  "clamav-" version ".tar.gz"))
+              (uri
+               (list
+                (string-append "https://www.clamav.net/downloads/production/"
+                               "clamav-" version ".tar.gz")
+                (string-append "https://github.com/Cisco-Talos/clamav/"
+                               "releases/download/clamav-" version
+                               "/clamav-" version ".tar.gz")))
               (sha256
                (base32
                 "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1"))
@@ -144,6 +149,8 @@ (define-public clamav
 flexible and scalable multi-threaded daemon, a command line scanner, and
 advanced tool for automatic database updates.  The core of the package is an
 anti-virus engine available in the form of a shared library.")
+    (properties `((release-monitoring-url
+                   . "https://github.com/Cisco-Talos/clamav/releases")))
     (license (list license:gpl2+        ;ClamAV itself
                    license:lgpl2.1      ;libclamav/mspack.[ch]
                    license:public-domain ;libclamav/7z/*, libclamav/rijndael.[ch], etc...
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:15:49 2024
Received: from localhost ([127.0.0.1]:38410 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sm5-0004JX-2w
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:49 -0500
Received: from 11.mo581.mail-out.ovh.net ([87.98.173.157]:37609)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Sm0-0004JG-Lq
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:48 -0500
Received: from director11.ghost.mail-out.ovh.net (unknown [10.108.25.16])
 by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhv4Bmvz1MFj
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:15:43 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-2gkmb (unknown [10.110.168.38])
 by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 54D8E1FE7D;
 Tue,  5 Nov 2024 23:15:43 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.99])
 by ghost-submission-5b5ff79f4f-2gkmb with ESMTPSA
 id 0Bq2Nx6nKmdDcBkALo/peQ
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:15:43 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-99G003f89c94ec-ed69-4d74-bd3d-397ec89fb4b1,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 04/20] gnu: Add rust-onenote-parser-for-clamav.
Date: Wed,  6 Nov 2024 00:14:52 +0100
Message-ID: <20241105231519.22378-4-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12042343932894372578
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 5
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecufghrlhcuvffnffculdehmdenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepueevjeduheeftedvuedtgfeghfeuhffhfeeggfejudelgfeihfekgffhvdfhtddvnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpohhnvghnohhtvgdrrhhspdhgvghnthhoohdrohhrghenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedumgdpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=o+aNOHwor4w/78FVVpabUQ55R4vA6/sjokfUG1wCy6g=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848543; v=1;
 b=WfDsGbGhb26O/JbCHx1MUtuacL+M46Uaxx5CucTpxddVWVL2tIuiLiUGJp/H7ksvRi5k8XOw
 6NJ4qmbeorIT5lfNexiazoYznv33DB4hPJyoQeWg1Ejbbrd1AD3vJRrbo968VCTN6IpTYa+jerH
 jM8BHkdqphY6sQToNomtGOoG5BVBgNt7aLr3KqyBvCTeuFBAvOWWoqag22yvYhYvQeNCeq1h7jb
 m99xG3sxU1UtonZjby6l2PkpJHuum87kRVaDvjx6H9/G1zOJrFBF7n4by0UvXbHeL0tWXjpax3R
 w86XyBgy+oFlgWvIg+PykyAuicqF07+OCJCKQbMOlfn+A==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-onenote-parser-for-clamav): New
variable.
* gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
* gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
* gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch
Add patches here...
* gnu/local.mk: ...and here.
---
 gnu/local.mk                                  |  3 +
 gnu/packages/crates-io.scm                    | 27 ++++++
 .../rust-onenote-parser-for-clamav-deps.patch | 88 +++++++++++++++++++
 ...er-for-clamav-parse-in-memory-buffer.patch | 52 +++++++++++
 ...note-parser-for-clamav-property-type.patch | 30 +++++++
 5 files changed, 200 insertions(+)
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 6eb01ca466..8bb2b41e2f 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2136,6 +2136,9 @@ dist_patch_DATA =						\
   %D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch	\
   %D%/packages/patches/rust-ndarray-0.14-remove-blas-src.patch	\
   %D%/packages/patches/rust-nettle-disable-vendor.patch		 \
+  %D%/packages/patches/rust-onenote-parser-for-clamav-deps.patch	\
+  %D%/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch	\
+  %D%/packages/patches/rust-onenote-parser-for-clamav-property-type.patch	\
   %D%/packages/patches/rust-poem-1-fewer-deps.patch		\
   %D%/packages/patches/rust-rspec-1-remove-clippy.patch	\
   %D%/packages/patches/rust-trash-2-update-windows.patch	\
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2ba9ca3bf0..e7124b088d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49347,6 +49347,33 @@ (define-public rust-onenote-parser-0.3
      "This package provides a parser for Microsoft OneNote files.")
     (license license:mpl2.0)))
 
+(define-public rust-onenote-parser-for-clamav
+  (package
+    (inherit rust-onenote-parser-0.3)
+    (name "rust-onenote-parser-for-clamav")
+    (source (origin
+              (inherit (package-source rust-onenote-parser-0.3))
+              (patches
+               (search-patches
+                "rust-onenote-parser-for-clamav-deps.patch"
+                "rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch"
+                "rust-onenote-parser-for-clamav-property-type.patch"))
+              (snippet #~(begin
+                           (delete-file "Cargo.toml")
+                           (rename-file "Cargo.toml.orig" "Cargo.toml")))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytes" ,rust-bytes-1)
+        ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-uuid" ,rust-uuid-1)
+        ("rust-widestring" ,rust-widestring-1))
+       #:cargo-development-inputs (("rust-insta" ,rust-insta-1))))))
+
 (define-public rust-onig-6
   (package
     (name "rust-onig")
diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
new file mode 100644
index 0000000000..24d5692573
--- /dev/null
+++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
@@ -0,0 +1,88 @@
+From f940d8c8fa087554583158d50df071af89c516db Mon Sep 17 00:00:00 2001
+From: Simon Lamon <32477463+silamon@HIDDEN>
+Date: Sat, 19 Nov 2022 20:32:07 +0100
+Subject: [PATCH] chore: upgrade dependencies (#9)
+
+Co-authored-by: Markus Siemens <markus@HIDDEN>
+---
+ Cargo.toml.orig | 8 ++++----
+ src/errors.rs   | 6 +++---
+ src/reader.rs   | 2 +-
+ src/utils.rs    | 5 ++---
+ 4 files changed, 10 insertions(+), 11 deletions(-)
+
+diff --git a/Cargo.toml.orig b/Cargo.toml.orig
+index 9afddd0..e302436 100644
+--- a/Cargo.toml.orig
++++ b/Cargo.toml.orig
+@@ -14,15 +14,15 @@ categories = ["parser-implementations"]
+ backtrace = []
+ 
+ [dependencies]
+-bytes = "0.5"
++bytes = "1.2.0"
+ encoding_rs = "0.8.31"
+ enum-primitive-derive = "0.2.2"
+-itertools = "0.9.0"
++itertools = "0.10.3"
+ num-traits = "0.2"
+ paste = "1.0"
+ thiserror = "1.0"
+-uuid = "0.8"
+-widestring = "0.4.3"
++uuid = "1.1.2"
++widestring = "1.0.2"
+ 
+ [dev-dependencies]
+ insta = "1.21.1"
+diff --git a/src/errors.rs b/src/errors.rs
+index 91477b3..50079a3 100644
+--- a/src/errors.rs
++++ b/src/errors.rs
+@@ -51,8 +51,8 @@ impl From<std::string::FromUtf16Error> for Error {
+     }
+ }
+ 
+-impl From<widestring::MissingNulError<u16>> for Error {
+-    fn from(err: widestring::MissingNulError<u16>) -> Self {
++impl From<widestring::error::MissingNulTerminator> for Error {
++    fn from(err: widestring::error::MissingNulTerminator) -> Self {
+         ErrorKind::from(err).into()
+     }
+ }
+@@ -128,6 +128,6 @@ pub enum ErrorKind {
+     #[error("UTF-16 string is missing null terminator: {err}")]
+     Utf16MissingNull {
+         #[from]
+-        err: widestring::MissingNulError<u16>,
++        err: widestring::error::MissingNulTerminator,
+     },
+ }
+diff --git a/src/reader.rs b/src/reader.rs
+index 64730d0..318c280 100644
+--- a/src/reader.rs
++++ b/src/reader.rs
+@@ -40,7 +40,7 @@ impl<'a> Reader<'a> {
+     }
+ 
+     pub(crate) fn bytes(&self) -> &[u8] {
+-        self.0.bytes()
++        self.0.chunk()
+     }
+ 
+     pub(crate) fn remaining(&self) -> usize {
+diff --git a/src/utils.rs b/src/utils.rs
+index fd77181..074ff50 100644
+--- a/src/utils.rs
++++ b/src/utils.rs
+@@ -12,8 +12,7 @@ impl Utf16ToString for &[u8] {
+             .map(|v| u16::from_le_bytes([v[0], v[1]]))
+             .collect();
+ 
+-        let value = U16CString::from_vec_with_nul(data)?;
+-
+-        Ok(value.to_string()?)
++        let value = U16CString::from_vec_truncate(data);
++        Ok(value.to_string().unwrap())
+     }
+ }
diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
new file mode 100644
index 0000000000..77adc550ca
--- /dev/null
+++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
@@ -0,0 +1,52 @@
+From 8b450447e58143004b68dd21c11b710fdb79be92 Mon Sep 17 00:00:00 2001
+From: Micah Snyder <micasnyd@HIDDEN>
+Date: Mon, 3 Jul 2023 21:44:57 -0700
+Subject: [PATCH] Add ability to parse section from in memory buffer
+
+Resolves: https://github.com/msiemens/onenote.rs/issues/12
+---
+ src/onenote/mod.rs | 23 ++++++++++++++++++++++-
+ 1 file changed, 22 insertions(+), 1 deletion(-)
+
+diff --git a/src/onenote/mod.rs b/src/onenote/mod.rs
+index de172c9..8bcb62b 100644
+--- a/src/onenote/mod.rs
++++ b/src/onenote/mod.rs
+@@ -6,8 +6,9 @@ use crate::onestore::parse_store;
+ use crate::reader::Reader;
+ use std::ffi::OsStr;
+ use std::fs::File;
+-use std::io::{BufReader, Read};
++use std::io::{BufReader, Read, Cursor};
+ use std::path::Path;
++use std::str::FromStr;
+ 
+ pub(crate) mod content;
+ pub(crate) mod embedded_file;
+@@ -76,6 +77,26 @@ impl Parser {
+         Ok(Notebook { entries: sections })
+     }
+ 
++    /// Parse a OneNote section buffer.
++    ///
++    /// The `data` argument must contain a OneNote section.
++    pub fn parse_section_buffer(&mut self, data: &[u8], file_name: &Path) -> Result<Section> {
++        let packaging = OneStorePackaging::parse(&mut Reader::new(data))?;
++        let store = parse_store(&packaging)?;
++
++        if store.schema_guid() != guid!({1F937CB4-B26F-445F-B9F8-17E20160E461}) {
++            return Err(ErrorKind::NotASectionFile {
++                file: file_name.to_string_lossy().into_owned(),
++            }
++            .into());
++        }
++
++        section::parse_section(
++            store,
++            file_name.to_string_lossy().into_owned(),
++        )
++    }
++
+     /// Parse a OneNote section file.
+     ///
+     /// The `path` argument must point to a `.one` file that contains a
diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch
new file mode 100644
index 0000000000..ff94fa2630
--- /dev/null
+++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch
@@ -0,0 +1,30 @@
+From 29c08532252b917543ff268284f926f30876bb79 Mon Sep 17 00:00:00 2001
+From: Matt Jolly <Matt.Jolly@HIDDEN>
+Date: Mon, 24 Jun 2024 17:34:05 +1000
+Subject: [PATCH] PropertType: Specify type for custom discriminant values
+
+We use custom discriminant values for enum variants for "PropertType" without specifying the type.
+This causes it to default to "isize" which on 64bit platforms is big enough to hold the 32bit constants,
+but causes overflow when isize is 32bit.
+
+This issue was uncovered due to build failures on arm for Gentoo Linux as a dependency of ClamAV.
+
+Bug: https://bugs.gentoo.org/927214
+Signed-off-by: Matt Jolly <kangie@HIDDEN>
+Co-authored-by: Steven Newbury <steve@HIDDEN>
+---
+ src/one/property/mod.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/one/property/mod.rs b/src/one/property/mod.rs
+index 42841c6..fcc0481 100644
+--- a/src/one/property/mod.rs
++++ b/src/one/property/mod.rs
+@@ -23,6 +23,7 @@ mod references;
+ pub(crate) mod simple;
+ pub(crate) mod time;
+ 
++#[repr(u32)]
+ #[derive(Debug, Copy, Clone, PartialEq)]
+ #[allow(dead_code)]
+ #[allow(clippy::enum_clike_unportable_variant)]
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:15:34 2024
Received: from localhost ([127.0.0.1]:38404 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Slp-0004Ix-Ls
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:33 -0500
Received: from 2.mo576.mail-out.ovh.net ([178.33.251.80]:37959)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Slm-0004IZ-8j
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:31 -0500
Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.148.12])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhd1YhKz1vhV
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:15:29 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-4p526 (unknown [10.111.174.124])
 by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E9A6D1FE90;
 Tue,  5 Nov 2024 23:15:28 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.103])
 by ghost-submission-5b5ff79f4f-4p526 with ESMTPSA
 id 0m5DIBCnKmdsYioASrjgQA
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:15:28 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-103G005b8182626-df03-4255-837c-1c36c447d0a7,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 03/20] gnu: Add rust-onenote-parser-0.3.
Date: Wed,  6 Nov 2024 00:14:51 +0100
Message-ID: <20241105231519.22378-3-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12038403280075678434
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeejtdelvefhfeegvdfgffetgfffudetieffgeeigefhheehfefhtefhteffveelveenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhonhgvnhhothgvrdhrshenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=2932A+JVxRquEY/148hI80jUSBIsN0qUMxbyVscuesY=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848529; v=1;
 b=kzo92ihoToqUedz4TnOorGnsg/Hofy7ODdXwYsuVIOp7/YD9XLHU3DZTjz8Bo4+VY1td4qG9
 GsxBwii4s8SOgwfYaBk77TpRSZEP2+5yJP8Dx/wa6guc8vfgP1mq3HdWIdEk+d6423vr2XDK4RZ
 xIaYibqrRogcsTZrAHfSh3JMxrpG9y8IcMnry+pEmEhhzmIaapFZvshKuWzctKVWi/6BqnDHREp
 2xJM+N+qfqWhNUeRT8UA+cS1lfSCrMV1Dr4Y1cAf100Mr50xc8AS1QxyWOQlbMfWUJNl+VgIaQN
 06DqCqlc2RyLSJBONhmZc9Dk7aPqYNiXplLSc1NouYPFA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-onenote-parser-0.3): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0659a10ca1..2ba9ca3bf0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49317,6 +49317,36 @@ (define-public rust-omnipath-0.1
     (description "This package provides a path utility library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-onenote-parser-0.3
+  (package
+    (name "rust-onenote-parser")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "onenote_parser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12rj3ixhnxvl2mpkad3ng4b8fx4ynxhdlwzxba36c8i98ls57zzf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytes" ,rust-bytes-0.5)
+        ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2)
+        ("rust-itertools" ,rust-itertools-0.9)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-uuid" ,rust-uuid-0.8)
+        ("rust-widestring" ,rust-widestring-0.4))
+       #:cargo-development-inputs (("rust-insta" ,rust-insta-1))))
+    (home-page "https://github.com/msiemens/onenote.rs")
+    (synopsis "Parser for Microsoft OneNote files")
+    (description
+     "This package provides a parser for Microsoft OneNote files.")
+    (license license:mpl2.0)))
+
 (define-public rust-onig-6
   (package
     (name "rust-onig")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:15:31 2024
Received: from localhost ([127.0.0.1]:38402 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sln-0004Io-BH
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:31 -0500
Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:41243)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Slk-0004IN-Mg
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:29 -0500
Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.140.207])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xjkhc0Qf5z1vhT
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:15:28 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-gwmgq (unknown [10.110.178.153])
 by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id BDCCA1FDF4;
 Tue,  5 Nov 2024 23:15:27 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.107])
 by ghost-submission-5b5ff79f4f-gwmgq with ESMTPSA
 id hHOFJA+nKmcRcwAAnsM7yg
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:15:27 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-107S0016acadd1e-03b4-4187-b39e-7dbbb8159adb,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 02/20] gnu: rust-enum-primitive-derive-0.2: Update to 0.2.2.
Date: Wed,  6 Nov 2024 00:14:50 +0100
Message-ID: <20241105231519.22378-2-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241105231519.22378-1-ngraves@HIDDEN>
References: <20241105231519.22378-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12038121804708111074
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeelffejteeutefhfeekfffffedvudekjeekgfeludeitdfhkeevhfeivdfhffeggeenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiegmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=2lBtQmS1F3j6yIfgBUGaCn/iEXXubW9WwOWIYtXQ7q4=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848528; v=1;
 b=H18FXt1aCpiD4WPgJRAf76Idr6w5bcqG+7Vvt4w4ArQQpqckElNR1BAWSFo9olWowTs+pAJz
 I4Xw0L5b8WWDydV40g+5uCbZwp/5bnnCHAG8Vp3zWfYLGx+H3a8V6WZRZloQ2sLrYkmdv8np09Y
 qnoCO9keOxwWuQqH3qYHwY8cB1ksggIF1z+pjm3a2Y/4fpFgBAT7jfiqNxui7L25FLd2OYHWV5v
 h0qlW1KnOD7ek11FAj8J1G7uxsFRwmu+dNFnule9ixoNRwu/SYowKikhIQGaXywM67u9W9KYjVN
 GklijHuIqzLfH1UwWxfgnBm3A1UuOpgoEpA7rKX7oFYYw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-enum-primitive-derive-0.2): Update to 0.2.2.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f66399c2eb..0659a10ca1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24068,7 +24068,7 @@ (define-public rust-enum-primitive-0.1
 (define-public rust-enum-primitive-derive-0.2
   (package
     (name "rust-enum-primitive-derive")
-    (version "0.2.1")
+    (version "0.2.2")
     (source
      (origin
        (method url-fetch)
@@ -24077,7 +24077,7 @@ (define-public rust-enum-primitive-derive-0.2
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0h1k2izdl5lf2na8xnj7rgwjm8gawxc2p1w8j6ahifvyka7jhljz"))))
+         "03ibjjx8dc4akpq8ck24qda5ix4jybz9jagfxykd0s6vxb2vjxf3"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 5 Nov 2024 23:15:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 05 18:15:30 2024
Received: from localhost ([127.0.0.1]:38398 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t8Sll-0004Ib-W4
	for submit <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:30 -0500
Received: from 2.mo560.mail-out.ovh.net ([188.165.53.149]:53119)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t8Slj-0004IL-Ux
 for 73896 <at> debbugs.gnu.org; Tue, 05 Nov 2024 18:15:28 -0500
Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.17.58])
 by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4XjkhZ5hlyz1dt7
 for <73896 <at> debbugs.gnu.org>; Tue,  5 Nov 2024 23:15:26 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-fqjns (unknown [10.110.118.251])
 by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 829C01FE81;
 Tue,  5 Nov 2024 23:15:26 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.103])
 by ghost-submission-5b5ff79f4f-fqjns with ESMTPSA
 id 8RpTFg6nKmf0QAIAMDCEag
 (envelope-from <ngraves@HIDDEN>); Tue, 05 Nov 2024 23:15:26 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-103G0054dcb6105-fdd3-4025-81e4-0dc3a7f4e436,
 7DA11F85E05AC71F4B07BAB71687C1137F5318AF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v4 01/20] gnu: rust-widestring-0.4: Update to 0.4.3.
Date: Wed,  6 Nov 2024 00:14:49 +0100
Message-ID: <20241105231519.22378-1-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 12037558855331603170
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeefuddrtddugddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeekffegteffgfffjeegjedvfffgtddvueeutefgfeeuvdejgedvgeejjeevueeuveenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitdgmpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=h4e8aGcWcz/ABh74rwEnXeAZWh/1GeYxhbaweI7b+aU=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730848526; v=1;
 b=UwmFcwUoeKtPRjugZPSZLl4Rn/wxromOHGoeg3NWdX7bkBgWvwR5Xumq7OBb6FroY4VUkohU
 x/fBpSn0u2iriLRMB//R5R7f2zpbGcE4jo+vivQcdYys7+GBNzsFNN9XwfnZG6N0QH2WC8OB8Gj
 CK+ZyHUW5cQOVn9xvv/s/AAhQ2GTu61KczGvRTtp4C+dAzkrTOZ813DRh0b8PJBJ2+ev1mtsv27
 3PYdjDF7ackezvnu9irAPqTyTKHZi/nNYLX9iFyv/TDS11Ap7ohkroEKLU4SOECWOiuXniTHLlf
 hp5HkVNIxbxYJfd2tV14V0vP0eKBL0O/g426w8L2TxkPw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-widestring-0.4): Update to 0.4.3.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a377d300c4..f66399c2eb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90699,7 +90699,7 @@ (define-public rust-widestring-0.4
   (package
     (inherit rust-widestring-0.5)
     (name "rust-widestring")
-    (version "0.4.2")
+    (version "0.4.3")
     (source
       (origin
         (method url-fetch)
@@ -90707,7 +90707,7 @@ (define-public rust-widestring-0.4
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "13565qy4jhpg4x0xw8mwxzzsh0p8c93p5208lh6kpwp0q01y6qx7"))))
+          "0z3ba8qrxb62vpfgk7n2xs2grm9kdaj1cz4q8s0gs8fx8h0r8s61"))))
     (arguments
      `(#:cargo-development-inputs
        (("rust-winapi" ,rust-winapi-0.3))))))
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:49 2024
Received: from localhost ([127.0.0.1]:56889 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUy-0000at-TR
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:49 -0400
Received: from 19.mo550.mail-out.ovh.net ([178.32.97.206]:48855)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUu-0000ab-Jn
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:45 -0400
Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.25.23])
 by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvW3gF3z1TW8
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:43 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-nt4t8 (unknown [10.108.54.3])
 by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C41001FDB1;
 Sun,  3 Nov 2024 01:33:42 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-5b5ff79f4f-nt4t8 with ESMTPSA
 id 9vtMIfbSJmdxLAAALLcWog
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:42 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R004e015c1f9-748f-42d2-a331-c1efa7d4220b,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 20/20] gnu: clamav: Unbundle rust dependencies.
Date: Sun,  3 Nov 2024 02:30:27 +0100
Message-ID: <20241103013258.26141-21-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15201619071012365026
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=KDhBy+0LEZ240Nj2YFMpRPvbrlr0VVjvxLF4Q9WgEK8=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597623; v=1;
 b=sMnIq/+BXwD+j2HJWGfqp7wLSbGqCBW/428pv3BUP5FS7J8DyEV7uL1wXlW6w3vB66LfVMJa
 oKqWggc28sd/xCnCNMxGAfrTUSIWTAg5RSlB1D2Zqv0WQWzvU0lHJ6HqipXCMacx97e0KewUh7R
 MGnA4JlRNoyv95G4jr1QNxpc2FpNRZ1I3w9XG2QzkeC6ETkALkyAnnS9V8mXi58YVGFiutxMvgs
 /mu96fATGJYFE1rU+Vvcr5QGs1scrI0ob0j6KUmRH4ORaSUKnCYj12s+7Jk9RO6KH9wtTVsiQzW
 uf01xHLENY/AKlfqJrRI/zj+pXNxvxfle8beKzNiSDCiQ==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav)
[origin]<snippet>: Unbundle rust dependencies.
[build-system]: Switch to cargo-build-system.
[arguments]: Adapt to the change of base build-system.
[native-inputs]: Add cmake-minimal. Remove rust and rust:cargo.
---
 gnu/packages/antivirus.scm | 135 +++++++++++++++++++++++++++----------
 1 file changed, 99 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index 1a23657a61..b561ff060a 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -31,12 +31,17 @@ (define-module (gnu packages antivirus)
   #:use-module (gnu packages)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cmake)
+  #:use-module (gnu packages crates-crypto)
+  #:use-module (gnu packages crates-graphics)
+  #:use-module (gnu packages crates-io)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-check)
+  #:use-module (gnu packages rust-apps)
   #:use-module (gnu packages rust)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
@@ -62,49 +67,107 @@ (define-public clamav
               (snippet
                '(begin
                   (delete-file "Cargo.lock")
-                  (for-each
-                   delete-file
-                   (find-files ".cargo/vendor" ".cargo-checksum\\.json"))
                   (for-each delete-file-recursively
-                            '("win32"                  ; unnecessary
+                            '(".cargo"                 ; vendored rust inputs
+                              "win32"                  ; unnecessary
                               "libclamunrar"))))))     ; non-free license
-    (build-system cmake-build-system)
+    (build-system cargo-build-system)
     (arguments
-     (list
-      #:configure-flags
-      #~(list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF")
-      #:imported-modules `((guix build cargo-utils)
-                           ,@%cmake-build-system-modules)
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'inject-rust-onenote
-            (lambda _
-              (substitute* "libclamav_rust/Cargo.toml"
-                (("onenote_parser = .*")
-                 "onenote_parser = \"0.3.1\"\n"))))
-          (add-after 'patch-source-shebangs 'patch-cargo-checksums
-            (lambda _
-              (use-modules
-               (srfi srfi-1) (ice-9 ftw) (guix build cargo-utils))
-              (with-directory-excursion ".cargo/vendor"
-                (for-each generate-all-checksums
-                          (delete "." (delete ".." (scandir ".")))))))
-          (add-after 'unpack 'skip-clamd-tests
-            ;; XXX: The check?_clamd tests fail inside the build
-            ;; chroot, but pass outside.
-            (lambda* (#:key tests? #:allow-other-keys)
-              (when tests?
-                (substitute* "unit_tests/CMakeLists.txt"
-                  (("clamd_test\\.py" test)
-                   (string-append
-                    test " -k \"not test_clamd_08_VirusEvent\"")))))))))
+     (let ((cargo-inputs
+            `(("rust-flate2" ,rust-flate2-1)
+              ("rust-hex" ,rust-hex-0.4)
+              ("rust-libc" ,rust-libc-0.2)
+              ("rust-log" ,rust-log-0.4)
+              ("rust-sha2" ,rust-sha2-0.10)
+              ("rust-tempfile" ,rust-tempfile-3)
+              ("rust-thiserror" ,rust-thiserror-1)
+              ("rust-image" ,rust-image-0.24)
+              ("rust-rustdct" ,rust-rustdct-0.7)
+              ("rust-transpose" ,rust-transpose-0.2)
+              ("rust-num-traits" ,rust-num-traits-0.2)
+              ("rust-base64" ,rust-base64-0.21)
+              ("rust-sha1" ,rust-sha1-0.10)
+              ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+              ("rust-bindgen" ,rust-bindgen-0.66)
+              ("rust-onenote-parser" ,rust-onenote-parser-for-clamav)
+              ("rust-hex-literal" ,rust-hex-literal-0.4)
+              ("rust-inflate" ,rust-inflate-0.4)
+              ("rust-bzip2-rs" ,rust-bzip2-rs-0.1)
+              ("rust-byteorder" ,rust-byteorder-1)
+              ("rust-delharc" ,rust-delharc-0.6)))
+           (cargo-development-inputs
+            `(("rust-cbindgen" ,rust-cbindgen-0.26)
+              ("rust-bindgen" ,rust-bindgen-0.66))))
+       (list
+        #:cargo-inputs cargo-inputs
+        #:cargo-development-inputs cargo-development-inputs
+        #:vendor-dir ".cargo/vendor"
+        #:imported-modules `(,@%cmake-build-system-modules
+                             ,@%cargo-build-system-modules)
+        #:modules '((guix build cargo-build-system)
+                    ((guix build cmake-build-system) #:prefix cmake:)
+                    (guix build utils))
+        #:phases
+        #~(modify-phases %standard-phases
+            ;; There is a .exe file used in unit tests.
+            (delete 'check-for-pregenerated-files)
+            (add-after 'configure 'fix-cargo-inputs-vendoring
+              (lambda _
+                ;; Reproduce the original layout, fails with config.
+                (rename-file ".cargo/config" ".cargo/config.toml")
+                ;; Wrongly placed by configure
+                (delete-file-recursively
+                 (string-append ".cargo/vendor/clamav-" #$version ".tar.zst"))))
+            (add-after 'patch-cargo-checksums 'cmake-configure
+              (lambda* (#:key outputs #:allow-other-keys)
+                ((assoc-ref cmake:%standard-phases 'configure)
+                 #:configure-flags
+                 (list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF")
+                 #:outputs outputs)))
+            (replace 'build
+              (assoc-ref cmake:%standard-phases 'build))
+            (add-after 'patch-cargo-checksums 'patch-rust-requirements
+              (lambda _
+                (substitute* "libclamav_rust/Cargo.toml"
+                  (("onenote_parser = .*")
+                   (format #f "onenote_parser = ~s~%"
+                           #$(package-version
+                              (car (assoc-ref cargo-inputs
+                                              "rust-onenote-parser")))))
+                  (("^bindgen = .*")
+                   (format #f "bindgen = ~s~%"
+                           #$(package-version
+                              (car (assoc-ref cargo-inputs
+                                              "rust-bindgen")))))
+                  (("cbindgen = \\{ version =\".*\",")
+                   (format #f "cbindgen = { version =~s,"
+                           #$(package-version
+                              (car (assoc-ref cargo-development-inputs
+                                              "rust-cbindgen"))))))))
+            (delete 'package)
+            (replace 'install
+              (assoc-ref cmake:%standard-phases 'install))
+            (replace 'check
+              (lambda* (#:key tests? #:allow-other-keys)
+                ((assoc-ref cmake:%standard-phases 'check)
+                 #:tests? tests?
+                 #:parallel-tests? #t
+                 #:test-target "test")))
+            (add-after 'unpack 'skip-clamd-tests
+              ;; XXX: The check?_clamd tests fail inside the build
+              ;; chroot, but pass outside.
+              (lambda* (#:key tests? #:allow-other-keys)
+                (when tests?
+                  (substitute* "unit_tests/CMakeLists.txt"
+                    (("clamd_test\\.py" test)
+                     (string-append
+                      test " -k \"not test_clamd_08_VirusEvent\""))))))))))
     (native-inputs
      (list check ; for tests
+           cmake-minimal
            pkg-config
            python-minimal
-           python-pytest
-           rust
-           (list rust "cargo")))
+           python-pytest))
     (inputs
       (list bzip2
             curl
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:45 2024
Received: from localhost ([127.0.0.1]:56887 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUv-0000ah-Gu
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:45 -0400
Received: from 10.mo576.mail-out.ovh.net ([46.105.73.241]:60585)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUt-0000aa-3p
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:44 -0400
Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.2.55])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvV16ySz1rfP
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:42 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-f67xt (unknown [10.110.188.21])
 by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id EDC831FD24;
 Sun,  3 Nov 2024 01:33:41 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.103])
 by ghost-submission-5b5ff79f4f-f67xt with ESMTPSA
 id 2/keNPXSJmcb2RIAvrCjuw
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:41 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-103G00550bf3a98-d721-4035-915c-973dac61f315,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 19/20] gnu: Add rust-rustdct-0.7.
Date: Sun,  3 Nov 2024 02:30:26 +0100
Message-ID: <20241103013258.26141-20-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15201337596021957346
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtfeenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=egF7HSLRgePcf1+hwD27mW4sHflqy3qnZk3KYsbLW/s=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597622; v=1;
 b=O9UTlv95Q62VSsCQFxIVT55GGvfbZ2xE9BvmejKnQNMFOxs1RYFqxHX87rUYNY52oV/a2lFA
 E12T+C9K9G2zoAcbTbqfFVu27DOVAXrEbMoGMi+t3wzqgsgXR8tFDlCn1bpYt6GHecSg7RIS8xe
 wtpWGV93HmceHlTQh0m2AdqA3p/VgSoZGQT5Mmc8BYe4FISgWJcINhcdebHdAHbBXSPAKXwT6ei
 Y/TZs98pfdp+/0DFLeUlOXC877PZaxHUCPDLP9SgNTjHBknsDEZM4R31eX4K5FHMuj1W7Ki45Ue
 iG6QbjJCxmVJ9ilrUMDatl6voMlFsqgMJJxy7T9HQlQMw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-rustdct-0.7): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f78804380..7b276676ff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66386,6 +66386,28 @@ (define-public rust-rustc-version-0.1
      `(#:cargo-inputs
        (("rust-semver" ,rust-semver-0.1))))))
 
+(define-public rust-rustdct-0.7
+  (package
+    (name "rust-rustdct")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustdct" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0lcm1191xx8wizima5j3n25fs90x58v3q1kwg6cbzafn0m8maqcb"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-rustfft" ,rust-rustfft-6))
+       #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/ejmahler/rust_dct")
+    (synopsis "Compute Discrete Cosine Transforms (DCT) in pure Rust")
+    (description
+     "This package provides a Rust library to compute the main Discrete Cosine
+Transforms (DCT) of any size in O(nlogn) time.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rustdoc-json-0.8
   (package
     (name "rust-rustdoc-json")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:39 2024
Received: from localhost ([127.0.0.1]:56879 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUp-0000aM-1e
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:39 -0400
Received: from 9.mo582.mail-out.ovh.net ([87.98.171.146]:53765)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUm-0000a3-98
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:37 -0400
Received: from director11.ghost.mail-out.ovh.net (unknown [10.109.176.128])
 by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvM0R4mz1KPJ
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:35 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-smrbl (unknown [10.110.113.115])
 by director11.ghost.mail-out.ovh.net (Postfix) with ESMTPS id B7A7E1FE64;
 Sun,  3 Nov 2024 01:33:34 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.96])
 by ghost-submission-5b5ff79f4f-smrbl with ESMTPSA
 id 6R15H+7SJmcW6wIAaz6k+Q
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:34 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-96R001cdbc4981-e0cd-4867-9254-017642e46bcc,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 18/20] gnu: Add rust-rustfft-6.
Date: Sun,  3 Nov 2024 02:30:25 +0100
Message-ID: <20241103013258.26141-19-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15199367271565222626
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleeinecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=TL+wOcgDtVqw3JxA+eB2GxTqQ8CENbzv0Z/gvppuILo=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597615; v=1;
 b=bKxP2Gc0Fn/QfKt6VPOkRa6OkzouJWy1ArO3MXYrhlstEt8jskUPcf0uY8I1V3CR1wtEKNrW
 r3X4GyWV5qufxGQT6qKiLvoB/p/rpsl53nwqYHnL7NmhNRYieR5FpLQXywept8DAjk5SiCPmR1e
 T8ReL6fLn7PI4IXWM1Z2Cqlg4jbvY24FXv2/yPe739wbxNlL33hewfMIiaxEq3U/qwHD2RaeDOt
 1M34Hl74IGlEdzaIGRnlFQB6IyGuwPIu7aFzWCmJqJLeXQh3MjHjca9rZPVEPokNjx1ON5cib2Q
 VQAq8+S3LlUiYkisvjjWfJCBHh7Amgq1eAISBlCEO718w==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-rustfft-6): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8f515590cb..7f78804380 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66459,6 +66459,38 @@ (define-public rust-rustdoc-types-0.23
     (description "Types for rustdoc's json output.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rustfft-6
+  (package
+    (name "rust-rustfft")
+    (version "6.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustfft" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11hx83yr2h2jszkba9qhq2d08q9i5rsashq62rfhqvahpihnb023"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-rand" ,rust-rand-0.8)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-getrandom" ,rust-getrandom-0.2)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))
+       #:cargo-inputs (("rust-num-complex" ,rust-num-complex-0.4)
+                       ("rust-num-integer" ,rust-num-integer-0.1)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-primal-check" ,rust-primal-check-0.3)
+                       ("rust-strength-reduce" ,rust-strength-reduce-0.2)
+                       ("rust-transpose" ,rust-transpose-0.2)
+                       ("rust-version-check" ,rust-version-check-0.9))))
+    (home-page "https://github.com/ejmahler/RustFFT")
+    (synopsis "Rust FFT library")
+    (description
+     "This package provides a high-performance FFT (Fast Fourier Transform)
+library written in pure Rust.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-rustfix-0.8
   (package
     (name "rust-rustfix")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:37 2024
Received: from localhost ([127.0.0.1]:56877 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUm-0000aA-La
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:36 -0400
Received: from 19.mo582.mail-out.ovh.net ([188.165.56.177]:47483)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUj-0000ZU-6q
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:34 -0400
Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.148.38])
 by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvJ0QG0z1KPJ
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:32 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-czdpm (unknown [10.108.42.79])
 by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id C48731FD40;
 Sun,  3 Nov 2024 01:33:31 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.101])
 by ghost-submission-5b5ff79f4f-czdpm with ESMTPSA
 id jGxSIuvSJmeFAAAAs/QfMg
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:31 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-101G004f71e5a93-87fc-4de3-aec1-f005077f0374,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 17/20] gnu: rust-strength-reduce-0.2: Update to 0.2.4.
Date: Sun,  3 Nov 2024 02:30:24 +0100
Message-ID: <20241103013258.26141-18-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15198522842890756834
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedunecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=r/ZYXIz6BxBFvV8G62y6pWrX3p6pL9YK+Rw/NsKd2XA=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597612; v=1;
 b=Gyggkft7ZV++cm4cAyBSS0Cr48f11TsMCqI4ZlixG/PJz3YlYk5PdsMUFePI3A+BAqds+od3
 lp7AFwUfiWaWJpbYYI8k5m9k1wNAyntqcOnuDQrhKp5huhcAMsNXpvhUSkQmvEABr8XmTahe3cm
 wywirgWb7pyikRZuXHAZsRLCK4w0aCwRGlj4ZMtERtkmo1zcmdmwvfFM1DZhOgvZW5GLefS9jAB
 CoFHfvbiHpEsx+EVE8iI9Y7sGOMSlXwEvxM53NH0jtfaQWuFZ+vm3iApOLqyQJkx0CECS3GX4yt
 +xszqJXvjy+7VXVoWUYgyDSIJ4YRlcPo0avL3zpg6mL0Q==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-strength-reduce-0.2): Update to 0.2.4.
[arguments]<#:skip-build?>: Drop option.
<#:cargo-development-inputs>: Add rust-num-bigint.
---
 gnu/packages/crates-io.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 725fa329e6..8f515590cb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -75177,16 +75177,18 @@ (define-public rust-streaming-stats-0.2
 (define-public rust-strength-reduce-0.2
   (package
     (name "rust-strength-reduce")
-    (version "0.2.3")
+    (version "0.2.4")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "strength_reduce" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0m12phq654mfxpmh2h5akqkag5ha6nlhjc2bp9jwarr5r1qjzzx3"))))
+        (base32 "10jdq9dijjdkb20wg1dmwg447rnj37jbq0mwvbadvqi2gys5x2gy"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-num-bigint" ,rust-num-bigint-0.4))))
     (home-page "http://github.com/ejmahler/strength_reduce")
     (synopsis "Faster integer division and modulus operations")
     (description "Strength_reduce implements integer division and modulo via
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:35 2024
Received: from localhost ([127.0.0.1]:56873 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUl-0000Zx-6T
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:35 -0400
Received: from 6.mo576.mail-out.ovh.net ([46.105.50.107]:39645)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUi-0000ZO-58
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:33 -0400
Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.2.205])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvH1NG7z1pTF
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:31 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-ztn55 (unknown [10.111.182.135])
 by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id DCB1B1FD53;
 Sun,  3 Nov 2024 01:33:30 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.98])
 by ghost-submission-5b5ff79f4f-ztn55 with ESMTPSA
 id C96eIurSJmfX7QIAT5DvtQ
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:30 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-98R002e94918dd-c36c-453c-98c4-3a65b9bd89e4,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 16/20] gnu: Add rust-transpose-0.2.
Date: Sun,  3 Nov 2024 02:30:23 +0100
Message-ID: <20241103013258.26141-17-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15198241367497564898
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=qSLuqfpKstNqHi22zREMYxTqcav6z5vOLyHyjfXxr8o=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597611; v=1;
 b=4LH+Q3XvW18UUeYsVyfa4R4OMUKn18vPIAY5ipAagnrVrYd0CsVn7QM5/BwffOVJTWJhYLbZ
 8PcKgjKu6idbYBKiAV7fONytVZJ4hbpS986GgCncuN/RtHxydiZhvQC63kbxkaVSczt+PP/OES8
 JPzMinyXTAIQ18L+qYLOFX/fiul5Tc2HTTtl44aRmAv32YyQ1e/oJs/5uioM+lwSZnQFMrdZXGJ
 6j0VWhtmOcWCq2S+RslBLtxYL4ML974kPnnWzY0pTQRUeBGUu6PUTKSfCuuwQUHXcOOQBCMkha+
 0DibsK8jICHx1tCet+WN8W3CFm+SJAHtxx+EaYelT7Row==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-transpose-0.2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fac8c5f581..725fa329e6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85035,6 +85035,27 @@ (define-public rust-traitobject-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-transpose-0.2
+  (package
+    (name "rust-transpose")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "transpose" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zp74v7jrjg4jr654dncdj6hqvacicsywyhc62jawgxwhvnimmhs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1)
+                       ("rust-strength-reduce" ,rust-strength-reduce-0.2))))
+    (home-page "https://github.com/ejmahler/transpose")
+    (synopsis "Utility for transposing multi-dimensional data")
+    (description
+     "This package provides utilities for transposing multi-dimensional data.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-trash-3
   (package
     (name "rust-trash")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:35 2024
Received: from localhost ([127.0.0.1]:56871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUk-0000Zq-Q9
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:35 -0400
Received: from 1.mo576.mail-out.ovh.net ([178.33.251.173]:44615)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUg-0000Z3-IG
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:31 -0400
Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.176.128])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvD3yXmz1rVg
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:28 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-pp7xz (unknown [10.110.96.35])
 by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4D9A01FD15;
 Sun,  3 Nov 2024 01:33:28 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.98])
 by ghost-submission-5b5ff79f4f-pp7xz with ESMTPSA
 id DyMDBejSJmfrTwkAcZBLcA
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:28 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-98R0028e74186a-8809-47f7-90d0-35b2bcf87497,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 15/20] gnu: Add rust-delharc-0.6.
Date: Sun,  3 Nov 2024 02:30:22 +0100
Message-ID: <20241103013258.26141-16-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15197396946699215586
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=Zy/7FPQu2/8+b6KLYk29RMjZ8GVGSAT7W4uZZcfcMCk=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597608; v=1;
 b=wV+4ZRuoF3QH52mvzatLQuPIyXsi+PbJbG6UL0RYP+ei2izX289lQTIAlu31SSg6a5f0osfV
 2Y3oj7tHaKvDkqAOKoYbuBuU/iHhI5rujxpht8oTmhrfD/y6CZkzMkND63KXdpTlOt4VmZGcRd6
 Fs+ruAmFdOiTS9BDz8wcd0EMiJZXb8B6X78Q9b1bnff2B3IlloXiBO+Qicg2ebnh+ySVLV2aZl6
 JXPZqlAZfJ8er5FHTA6JkGJvnTY1Tt+EBBI05gHn7cK4RokNl8NKCclHe5Fg69bffpCFLx+nUB2
 Oq7NLP/yTzkvpoKATDinKmGUu8LM1M8nVrTZF4BNx6LpA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-delharc-0.6): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be8153b11d..fac8c5f581 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20408,6 +20408,33 @@ (define-public rust-dejavu-2
      "This package provides the @code{DejaVu} font family for embedding.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-delharc-0.6
+  (package
+    (name "rust-delharc")
+    (version "0.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "delharc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18g5haj6bj92azif4jifhdy9vrv6blg3wyvpmxslh2gm2wkbm4qw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f  ; Missing files
+       #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-memchr" ,rust-memchr-2))
+       #:cargo-development-inputs (("rust-crc-any" ,rust-crc-any-2)
+                                   ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/royaltm/rust-delharc")
+    (synopsis
+     "Parse and extract files from LHA/LZH archives.")
+    (description
+     "This package provides a Rust library for parsing and extracting files
+from LHA/LZH archives, which are often suffixed @code{.lha} or @code{.lzh}. ")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-demo-hack-0.0
   (package
     (name "rust-demo-hack")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:34 2024
Received: from localhost ([127.0.0.1]:56869 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUk-0000Zj-FA
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:34 -0400
Received: from 9.mo576.mail-out.ovh.net ([46.105.56.78]:34299)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUe-0000Yg-R3
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:29 -0400
Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.9.41])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvC5bcWz1rT5
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:27 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-cm97j (unknown [10.108.54.88])
 by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 95FC41FD53;
 Sun,  3 Nov 2024 01:33:27 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.100])
 by ghost-submission-5b5ff79f4f-cm97j with ESMTPSA
 id UyHoFOfSJmf1AQUA9Luj4w
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:27 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-100R003e3ea91e5-b981-4c61-9f9f-0e351470bbcd,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 14/20] gnu: rust-crc-any-2: Update to 2.5.0.
Date: Sun,  3 Nov 2024 02:30:21 +0100
Message-ID: <20241103013258.26141-15-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15197115471113544418
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddtnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=qNPo8vIyhL+P5DporhT0aTfMZ9nNQyeE0g+gP1emNXs=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597607; v=1;
 b=PXBVGccG9VeiTouKSNUVxztyMLFpkG4RWELEa943CNdElvuRtHjXaMFztFxZE07aDpTTZi8f
 B8HxP5awfk8U3jxe9XZq1TpIwXrxavABdsEN0cT/+uQKkXldaJBLt/vNUhXkzlgIt25RhiHUrtZ
 +zNfCwtudMZfJ8XkfbKLGx2WZ4nUKDwbZbPLONMCPiRMVBKlHurhW7T8N2Kjx/NhzraTwzHGHdq
 OEIj2EXZ0ILlrcov/Z/3kU+OwzkAPXsVIXNPonv2ryT5jsg+SeSaoWEjEW+GsEXqy5f7ykIzB3/
 EUwdeORqiHb5iceSF7fdRE3cT5aJ+S17bTUA6cAiJ8pFQ==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-crc-any-2): Update to 2.5.0.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 108c9a126e..be8153b11d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16925,7 +16925,7 @@ (define-public rust-crc-1
 (define-public rust-crc-any-2
   (package
     (name "rust-crc-any")
-    (version "2.3.12")
+    (version "2.5.0")
     (source
      (origin
        (method url-fetch)
@@ -16933,7 +16933,7 @@ (define-public rust-crc-any-2
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0fq85y5akcadahnj5nqbs47qhgp5cpfn2z19zc3gp4wpxr3989kr"))))
+        (base32 "0wzs26q5cf29fhfnrkrjsr8dpai0rlm4im8b53by8rbrbzzwjbm6"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:34 2024
Received: from localhost ([127.0.0.1]:56867 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUk-0000Zc-23
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:34 -0400
Received: from 11.mo584.mail-out.ovh.net ([46.105.34.195]:52437)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUd-0000YZ-VH
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:29 -0400
Received: from director2.ghost.mail-out.ovh.net (unknown [10.108.17.43])
 by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvB653Nz1PWD
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:26 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-s8tbk (unknown [10.108.42.70])
 by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id A2AC71FD18;
 Sun,  3 Nov 2024 01:33:26 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.96])
 by ghost-submission-5b5ff79f4f-s8tbk with ESMTPSA
 id tO4AGubSJmd2AAAAo5szMg
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:26 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-96R001e182d038-f4a4-438b-ae0a-b3489d91b257,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 13/20] gnu: Add rust-primal-0.3.
Date: Sun,  3 Nov 2024 02:30:20 +0100
Message-ID: <20241103013258.26141-14-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15196833993339101922
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleeinecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=Uu+LC/kCNQBegbQHc3o/Ks0+KEedRH1k3VPaD16MSGY=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597607; v=1;
 b=juGGJ7rlSjpF9drWnGZGvItliPMIZHAPf/3GGyGTtyfU7f5j4K9w4G7k3rL0sRN9UBH6UglJ
 qH3N4WZcsONuN3EKoSYAWMzKJszu9wKPm54xV4OVMpQk8Gcsi/J2GluS/YqHNS2a0Ll4dmpr9r0
 i+SwHS05bBNgUOpd5iY28CoSKUiRMvMksVjuWxLtEzYjplHhsIiLXM1i/rs9qTUVT02GhLWyCFf
 5RXWd9EKubNU6X4PScz0lLu9RLsVGnsGOK3EGFQJfD+Ai1qMQQo4wvF9XUzv5RH77ynTQkAl4oA
 dudU7oWwKmwAx9Eb7D6XcxyQHFedXelxN6XF6Wcs0WeAw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-0.3): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 455d8d2608..108c9a126e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56601,6 +56601,33 @@ (define-public rust-prettytable-rs-0.8
 formatted tables in terminal.")
     (license license:bsd-3)))
 
+(define-public rust-primal-0.3
+  (package
+    (name "rust-primal")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1s6n396cssbr86f9w31sppdf06xsymgrl7y9gw0yccl5jiag7rdi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-primal-check" ,rust-primal-check-0.3)
+                       ("rust-primal-estimate" ,rust-primal-estimate-0.3)
+                       ("rust-primal-sieve" ,rust-primal-sieve-0.3))
+       #:cargo-development-inputs
+       (("rust-primal-slowsieve" ,rust-primal-slowsieve-0.3))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Various tools for prime numbers")
+    (description
+     "This package provides various tools to work with prime numbers.  It
+includes: optimised prime sieves, checking for primality, enumerating primes,
+factorising numbers, and state-of-the-art estimation of upper and lower bounds
+for the number of primes below n and the k-th prime.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-primal-bit-0.3
   (package
     (name "rust-primal-bit")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:30 2024
Received: from localhost ([127.0.0.1]:56859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUg-0000ZG-HA
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:30 -0400
Received: from 3.mo560.mail-out.ovh.net ([46.105.58.226]:55921)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUd-0000YS-MS
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:28 -0400
Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.139.191])
 by mo560.mail-out.ovh.net (Postfix) with ESMTP id 4XgxvB3T4zz1b2t
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:26 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-ghtn2 (unknown [10.110.113.226])
 by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id EEE9D1FE7B;
 Sun,  3 Nov 2024 01:33:25 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.95])
 by ghost-submission-5b5ff79f4f-ghtn2 with ESMTPSA
 id w/irMuXSJmcjRzEAfj5jXg
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:25 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-95G0019a5891fe-92f0-48dc-8615-8186afe6a7de,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 12/20] gnu: Add rust-primal-slowsieve-0.3.
Date: Sun,  3 Nov 2024 02:30:19 +0100
Message-ID: <20241103013258.26141-13-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15196833994285441762
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedtpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=Mk/ML91zyvMF+8hgKi/D+doPr2eDqdjTaYWvp1mUH8A=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597606; v=1;
 b=bPLyoioq3OLz6qXr6rhb4ldVz79jHWuCoZl8/+QcxbUOL/GQmju1R0XWHhCmMqg13fv6aM5h
 nl5BomM3dOtTXU0APdID0jYf+iL16uSeNO1C99PI0orMOjY68eEOGoTvbvrMbX6MdVG2g716mly
 KaOzvPrwZPm+T27qUkuHvbDKLNAQaWDXuS8hl1USinsOrUtdEiz00YIHfwnL1RWVu67lcOm51so
 Gky46xv25kb/rwnJckG/hPS8gTcAmXIyr5xMFPxMzrS9YyaWCUU0aubVAhRKMxSwT6iVgzfZLoQ
 CDAzUwe+ts2+SbILerCzLb+962C3+x3kzwhbNHSRvRvHA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-slowsieve-0.3): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8c336f5f12..455d8d2608 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56689,6 +56689,30 @@ (define-public rust-primal-sieve-0.3
     (description "This package provides a high performance prime sieve.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-slowsieve-0.3
+  (package
+    (name "rust-primal-slowsieve")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-slowsieve" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02pixp7xprkmj0fvjgg6n4dn5f8syr6xj2m2dxn0nyg06b8lipy9"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3)
+                       ("rust-primal-estimate" ,rust-primal-estimate-0.3))
+       #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Simple sieve of Eratosthenes")
+    (description
+     "This package provides a simple sieve of Eratosthenes designed for
+testing faster sieves.  For use in Rust crates, use @code{rust-primal-sieve}
+or @code{rust-primal} instead.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:30 2024
Received: from localhost ([127.0.0.1]:56857 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUg-0000Z5-0b
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:30 -0400
Received: from 16.mo583.mail-out.ovh.net ([87.98.174.144]:42569)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUd-0000YI-5y
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:28 -0400
Received: from director10.ghost.mail-out.ovh.net (unknown [10.108.17.43])
 by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxv942TNz1RXL
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:25 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-4p526 (unknown [10.108.54.55])
 by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4588F1FDC0;
 Sun,  3 Nov 2024 01:33:25 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-5b5ff79f4f-4p526 with ESMTPSA
 id /vQbOeTSJmcr1CAASrjgQA
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:25 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R0044cfd077c-84c2-4c36-b602-1ce5e07d1199,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 11/20] gnu: Add rust-primal-sieve-0.3.
Date: Sun,  3 Nov 2024 02:30:18 +0100
Message-ID: <20241103013258.26141-12-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15196552518672114402
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=lCSHyz0lo9IZjr8ZsLQjHjFHfHV592vinVXLDqxSpPs=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597605; v=1;
 b=DT3sDE6A7tn3AndnqVYi7rUQlmq7aVU3KDyEHOp5KwsmkrV/rFJWjXAuhnYYMvguxD1NU66K
 yYIbumcFLz83eVh+WmhL4L2dom9zphVl77fTMHN2n/N4Jfp0uPhSNS/hyVTnfOzrxjrlO+Oj7KA
 3sSyj5nCE162tWXBMSvs9qVokUpaG8kfw2H8fqXKT7yvQHlOtOh6MmEQZnuV7fiCfyRNGlnVkXr
 Hztp3b/k/hn74ai4EyGPCN6+jlpfahge/78kMq/c+/4GZSM7Hh+IbJVYQGjcRijJuc70cOx9CfM
 ZlE1JaznFr1Ukn7RUQfqmF/Gaxm8riCXQNle538oZfqMA==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-sieve-0.3): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fccbd97f56..8c336f5f12 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56666,6 +56666,29 @@ (define-public rust-primal-estimate-0.3
 bounds for the number of primes below n and the k-th prime.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-sieve-0.3
+  (package
+    (name "rust-primal-sieve")
+    (version "0.3.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-sieve" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1lzdllk78jqdp93h15l69s4xglbjcf6jlq6khccka0r2v2b2g64f"))))
+    (build-system cargo-build-system)
+    (arguments
+    ;; Circular development input rust-primal
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-primal-bit" ,rust-primal-bit-0.3)
+                       ("rust-primal-estimate" ,rust-primal-estimate-0.3)
+                       ("rust-smallvec" ,rust-smallvec-1))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Prime sieve")
+    (description "This package provides a high performance prime sieve.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:30 2024
Received: from localhost ([127.0.0.1]:56855 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUf-0000Ys-Bu
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:29 -0400
Received: from 7.mo581.mail-out.ovh.net ([46.105.43.131]:55203)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUb-0000Xx-IG
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:26 -0400
Received: from director4.ghost.mail-out.ovh.net (unknown [10.108.25.134])
 by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxv83fJcz19jg
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:24 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-2dsqj (unknown [10.110.118.54])
 by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2935E1FD7D;
 Sun,  3 Nov 2024 01:33:23 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.99])
 by ghost-submission-5b5ff79f4f-2dsqj with ESMTPSA
 id tTUZGePSJmdsJDUAVLPGQw
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:23 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-99G00330fa4b01-04b8-4dd8-8f91-693601a4b054,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 10/20] gnu: Add rust-primal-estimate-0.3.
Date: Sun,  3 Nov 2024 02:30:17 +0100
Message-ID: <20241103013258.26141-11-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15196271042784256738
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleelnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedupdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=glltF+ExB3Nug8j0sloy+e+vaEIxCe6qyEfTOYvBDgg=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597604; v=1;
 b=cJ4pVkxb+t88Se208kxgI+cpEjoFEhsLncBZRYtzev+FUcArbSWGbxE5p2QmsgM3RAkU5JqC
 cCKOIOREoxln5aWJvuuITy8kFQZ/rZVV6D/GH5D+g0oBkd+scH1AeMkZxmsoWn1jmDkQ81RH7Yu
 KsVzy0ZCUGW5xN85aZbGyTessDV0d0MkBzskC59z8R2g0/XKry3xisyEpuXoDKl+FCB7S4fBJjc
 zGo+zfSjXgQD5A6ApeYifVWdaQQbwvluloRt+eUIjiE7n2pmaTCUBGzykRMr2c3fCGpFKNdjbLN
 pFXTxuUaSCVBwcwKSufTOWZhpJo4oyRVxpzLUZQscdj1g==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-estimate-0.3): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 89ce5e176a..fccbd97f56 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56644,6 +56644,28 @@ (define-public rust-primal-check-0.3
      "This package provides a standalone primality testing tool.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-estimate-0.3
+  (package
+    (name "rust-primal-estimate")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-estimate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "08nq0n0r35rni65h79fynync0wyy8agrxy5mfmg0hq9s1c510cm4"))))
+    (build-system cargo-build-system)
+    ;; Circular development input rust-primal
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Estimate upper and lower bounds for the k-th prime")
+    (description
+     "This package provides a state-of-the-art estimation of upper and lower
+bounds for the number of primes below n and the k-th prime.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:27 2024
Received: from localhost ([127.0.0.1]:56845 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUc-0000YT-Sm
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:27 -0400
Received: from 12.mo582.mail-out.ovh.net ([178.32.125.228]:46003)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUa-0000Xc-4x
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:25 -0400
Received: from director5.ghost.mail-out.ovh.net (unknown [10.108.2.210])
 by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxv66PwFz1MJc
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:22 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-f67xt (unknown [10.110.164.113])
 by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 88B281FD30;
 Sun,  3 Nov 2024 01:33:22 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.108])
 by ghost-submission-5b5ff79f4f-f67xt with ESMTPSA
 id 5OstBeLSJmfS2BIAvrCjuw
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:22 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-108S002668b0187-c385-44d3-b347-264fae2cc977,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 09/20] gnu: Add rust-primal-check-0.3.
Date: Sun,  3 Nov 2024 02:30:16 +0100
Message-ID: <20241103013258.26141-10-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15195708096710632162
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=kQjm1Uxjwim7wbEvAO9cAv0fqZER1N1h8oDgALo6p5s=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597603; v=1;
 b=cbmkBumqIUsa1KlGdRalmiR4PHv+/8t1DPAeeAG/ISNcu2UnOttCYvB+xdYB5sAjBjnKuzU9
 gQhVCO2hPHtrhsFh7/j0iVFbwN2duCh4TePsXBGsZ79KXbHEqdXJhFrRIregqht94cgB4dQ4FvD
 U2Tbno7jHMZIEYOXm358eQd5a2qNlRd9E8VrGAC+yVaAtSx92fno+fRtUYTMH9+17/fQ9trDaT9
 a1iVNKsbwO8iR9BbCHcbh742I5yItns6wYg+Q2Oho6Pc88XVWB48omKfaIlaZWBddyxfVNMHyRt
 /RYfJI89FZIDTkNXaPAP7M1S6OQeZMzuMinLsbP8+VcQQ==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-check-0.3): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b4559865b7..89ce5e176a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56622,6 +56622,28 @@ (define-public rust-primal-bit-0.3
 prime-number-related needs of @code{rust-primal}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-primal-check-0.3
+  (package
+    (name "rust-primal-check")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-check" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "025xnak4rhkwa4h970bjb3cvp2k853wviyr84n8gjfhy65dqj3fw"))))
+    (build-system cargo-build-system)
+    ;; Circular development input rust-primal
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-num-integer" ,rust-num-integer-0.1))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Test primality")
+    (description
+     "This package provides a standalone primality testing tool.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:26 2024
Received: from localhost ([127.0.0.1]:56843 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUc-0000YD-18
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:26 -0400
Received: from 4.mo575.mail-out.ovh.net ([46.105.59.63]:39057)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUY-0000XQ-QO
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:23 -0400
Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.2.210])
 by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxv54Jf9z1jqs
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:21 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-2l5c8 (unknown [10.110.168.168])
 by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 6097D1FE30;
 Sun,  3 Nov 2024 01:33:21 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.107])
 by ghost-submission-5b5ff79f4f-2l5c8 with ESMTPSA
 id UwY2CuHSJmeU3wMAKH+/rA
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:21 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-107S001d5b592e0-0561-4e66-bd8e-4db5b7d2eb30,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 08/20] gnu: Add rust-primal-bit-0.3.
Date: Sun,  3 Nov 2024 02:30:15 +0100
Message-ID: <20241103013258.26141-9-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15195426618170991330
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejhedpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=B9MNdG0t4ujf3Am7yBQY7kGKRy+vd4dj+91ZS/zkP8I=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597601; v=1;
 b=mR6z1zVecNqLx19G7LyPuaCe3LzH90CF23YQx9vCPFo7EhUa6QELR8IXqmNaCyMgNyF5E+0Q
 jjrMhmtJIAj/kkz7uToqTt9k3d9VZGvECMtOIdlEq0AQ8SB9y6/sDjbC+R2uXDp4xT1uWSHUvZC
 nry3kubWYNFERe8tT7K5CTeH1OvbQnqRxy1RMPImqrX+KJXWczwHvq0++d/oYChfnK9i52pPnra
 C0uw8Proby0WjahjqKimFRK5H+BuHfCScUj2wNP3GrPkWqzleTZVd21mSHzsVpI0O/tdzgXJGUm
 WYePD2fCJfvkI+czmIZxnNFCCUDq4X8TEzLId6lMjW4lQ==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-primal-bit-0.3): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5dc34eaa18..b4559865b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56601,6 +56601,27 @@ (define-public rust-prettytable-rs-0.8
 formatted tables in terminal.")
     (license license:bsd-3)))
 
+(define-public rust-primal-bit-0.3
+  (package
+    (name "rust-primal-bit")
+    (version "0.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "primal-bit" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mb0cdxhlm6phhl2f4d7nf7g4yrnd8xdq07m7liw7b5fp3djj915"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-hamming" ,rust-hamming-0.1))))
+    (home-page "https://github.com/huonw/primal")
+    (synopsis "Bit-vector specialised for rust-primal")
+    (description
+     "This package provides a bit-vector specialised to the
+prime-number-related needs of @code{rust-primal}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-print-bytes-1
   (package
     (name "rust-print-bytes")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:26 2024
Received: from localhost ([127.0.0.1]:56839 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUb-0000Y5-Jm
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:25 -0400
Received: from 13.mo561.mail-out.ovh.net ([188.165.33.202]:41207)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUY-0000XP-Dy
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:23 -0400
Received: from director6.ghost.mail-out.ovh.net (unknown [10.108.25.2])
 by mo561.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxv46QNtz1My2
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:20 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-gnvld (unknown [10.110.101.130])
 by director6.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 9C6941FD54;
 Sun,  3 Nov 2024 01:33:20 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.98])
 by ghost-submission-5b5ff79f4f-gnvld with ESMTPSA
 id AyryGODSJmenCSoAq+rktg
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:20 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-98R002f7ad34e4-c9cf-47c4-aef5-9da1187d7f8b,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 07/20] gnu: Add rust-hamming-0.1.
Date: Sun,  3 Nov 2024 02:30:14 +0100
Message-ID: <20241103013258.26141-8-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15195145143248282338
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddrleeknecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehiedupdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=ZcXQ6GLGwY1veBS4TM4miHPrB/pLV5lJeNMY5wQCG5I=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597601; v=1;
 b=bW4wr3ZcR6rx2/4mrhn7Ypt3XTH15bqwzmqp5f5OkDwWVCTkAkA6abzXGW6ZHoWsOYXvz7os
 lnAyPWttpMyfEaq7g8WNqOlFOjVgzXuk+S3WNQ5NDSdjtIHjTp0m8G9ya0ntxNf9rNI6SeZujrk
 S0TMoBaMeeTU7NAvbm62Fbz7wOd1+WVLuKWvmsAFxvV1t9AYkgTY1jwsldTVurCpZm4E+YfBlW3
 onpC4iNE+a6YJQfaFjB/ECAEWcM8hOgr5WPUqx1E8n1NgjN33i2uPFLL6LeHfqgbOt95mGffwcG
 IbHBLP9Ba/od1GjfrAumVNvpMXM9bGyzDhhajilmXfWpw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-hamming-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2a66385d10..5dc34eaa18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31388,6 +31388,30 @@ (define-public rust-hamcrest2-0.3
      "This package provides a port of the Hamcrest testing library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-hamming-0.1
+  (package
+    (name "rust-hamming")
+    (version "0.1.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hamming" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q9hri1l1x1y7vv153kvdw9lkqslmbwgia5r3qj6i39pfji3s135"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-quickcheck" ,rust-quickcheck-0.2)
+        ("rust-rand" ,rust-rand-0.3))))
+    (home-page "https://github.com/huonw/hamming")
+    (synopsis "Count ones fast")
+    (description
+     "This package provides a tool to count ones, using rapid popcount
+(hamming weight) techniques.  This provides a performant popcount and bitwise
+hamming distance for a slice of bytes.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-hash-hasher-2
   (package
     (name "rust-hash-hasher")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:25 2024
Received: from localhost ([127.0.0.1]:56837 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUa-0000Xs-OZ
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:25 -0400
Received: from 3.mo575.mail-out.ovh.net ([46.105.58.60]:45229)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUX-0000XB-Dt
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:23 -0400
Received: from director2.ghost.mail-out.ovh.net (unknown [10.109.176.72])
 by mo575.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxv36Zkyz1jrl
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:19 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-dk7fm (unknown [10.110.164.38])
 by director2.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 91AE31FD18;
 Sun,  3 Nov 2024 01:33:19 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.107])
 by ghost-submission-5b5ff79f4f-dk7fm with ESMTPSA
 id EyAKAd/SJmc6kC0AbQeWaQ
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:19 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-107S001991c5beb-5368-4f8b-9ec5-2e332fcb376f,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 06/20] gnu: clamav: Update to 1.4.1.
Date: Sun,  3 Nov 2024 02:30:13 +0100
Message-ID: <20241103013258.26141-7-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15194863671387677410
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeduvedvueeiieeitdekgefhteffieeihfelkeefjeduteetueekiefgjedvgeeihfenucffohhmrghinheptghlrghmrghvrdhnvghtnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeehpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=/Q0deePCOY1xrpPwRwUuQuwnHGBOJB1hVB2SPOwvZQI=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597600; v=1;
 b=fyubGfR9NDBbTU5TXxjxsm955wuRf/XBZ1R1q+Y7aax5u08yPPRLgX+JuF9VIDWg+vtHbytz
 NMcl+LUwWETgKZP5Lm7HzEB9wtTz4/1lFyvQ5C21JK/H8lQIZYj7GAkP9uNnOeC1YjRGylozzOL
 RG5nq2OOWh4E/Wtrg7LUknpgX3BcBP8MVNNgTBfq8q85qOzPnHfPOS/t8c5mZDeyQJiuBtT319e
 DUutG7BuB/kjqMjaDGV/91Vyw+Bs3iMdgteD//bqQKJR6QvMux4lOqEAblQCmKFk1Z0t+h2qXS3
 r1cfOU5/aPwZGzxrETZjU+Drn8tfYOL4mOIPfeOu93ong==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav): Update to 1.4.1.
[source]<origin>: Adapt source. This currently is not unbundling all
cargo vendored packages.
[build-system]: Switch to cmake-build-system.
[arguments]: Move field up.
<#:configure-flags>: Set option.
<#:imported-modules>: Set option for patching cargo checksums.
<#:phases>: Remove all phases except adapted 'skip-clamd_tests. Add
phases 'inject-rust-onenote and 'patch-cargo-checksums.
[native-inputs]: Remove autoconf, automake, libtool. Add
python-minimal, python-pytest, rust and rust:cargo.
[inputs]: Remove libltdl, libmspack, llvm-3.6, cyrus-sasl,
tomsfastmath.
---
 gnu/packages/antivirus.scm | 129 +++++++++++++++----------------------
 1 file changed, 51 insertions(+), 78 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index 2161d60398..1a23657a61 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@HIDDEN>
 ;;; Copyright © 2018 Christopher Baines <mail@HIDDEN>
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright © 2024 Nicolas Graves <ngraves@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,24 +21,23 @@
 
 (define-module (gnu packages antivirus)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system cargo)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix utils)
   #:use-module (gnu packages)
-  #:use-module (gnu packages autotools)
-  #:use-module (gnu packages bison)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
-  #:use-module (gnu packages cyrus-sasl)
-  #:use-module (gnu packages flex)
-  #:use-module (gnu packages llvm)
-  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages rust)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml))
@@ -45,7 +45,7 @@ (define-module (gnu packages antivirus)
 (define-public clamav
   (package
     (name "clamav")
-    (version "0.103.11")
+    (version "1.4.1")
     (source (origin
               (method url-fetch)
               (uri
@@ -57,90 +57,63 @@ (define-public clamav
                                "/clamav-" version ".tar.gz")))
               (sha256
                (base32
-                "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1"))
+                "1n3a87niad76h3mn3qxq9379gppdjqpkhwb9qkbb79irmj0ff653"))
               (modules '((guix build utils)))
               (snippet
                '(begin
+                  (delete-file "Cargo.lock")
+                  (for-each
+                   delete-file
+                   (find-files ".cargo/vendor" ".cargo-checksum\\.json"))
                   (for-each delete-file-recursively
                             '("win32"                  ; unnecessary
-                              "libclamav/c++/llvm"     ; use system llvm
-                              "libclamav/tomsfastmath" ; use system tomsfastmath
-                              "libclamunrar"))))       ; non-free license
-              (patches
-               (search-patches "clamav-system-tomsfastmath.patch"
-                               "clamav-config-llvm-libs.patch"))))
-    (build-system gnu-build-system)
+                              "libclamunrar"))))))     ; non-free license
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF")
+      #:imported-modules `((guix build cargo-utils)
+                           ,@%cmake-build-system-modules)
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'inject-rust-onenote
+            (lambda _
+              (substitute* "libclamav_rust/Cargo.toml"
+                (("onenote_parser = .*")
+                 "onenote_parser = \"0.3.1\"\n"))))
+          (add-after 'patch-source-shebangs 'patch-cargo-checksums
+            (lambda _
+              (use-modules
+               (srfi srfi-1) (ice-9 ftw) (guix build cargo-utils))
+              (with-directory-excursion ".cargo/vendor"
+                (for-each generate-all-checksums
+                          (delete "." (delete ".." (scandir ".")))))))
+          (add-after 'unpack 'skip-clamd-tests
+            ;; XXX: The check?_clamd tests fail inside the build
+            ;; chroot, but pass outside.
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (substitute* "unit_tests/CMakeLists.txt"
+                  (("clamd_test\\.py" test)
+                   (string-append
+                    test " -k \"not test_clamd_08_VirusEvent\"")))))))))
     (native-inputs
-     (list autoconf
-           automake
-           check ; for tests
-           libtool
-           pkg-config))
+     (list check ; for tests
+           pkg-config
+           python-minimal
+           python-pytest
+           rust
+           (list rust "cargo")))
     (inputs
       (list bzip2
             curl
             json-c
-            libltdl
-            libmspack
-            llvm-3.6               ; requires <3.7, for JIT/verifier
-            ncurses
             libressl
-            pcre2
-            cyrus-sasl             ; for linking curl with libtool
-            tomsfastmath
             libxml2
+            ncurses
+            pcre2
             zlib))
-    (arguments
-      (list #:configure-flags
-            #~(let-syntax ((with (syntax-rules ()
-                            ((_ name use)
-                             (string-append "--with-" name "="
-                                            (assoc-ref %build-inputs use))))))
-              (list "--disable-unrar"
-                    "--enable-llvm"
-                    "--with-system-llvm"
-                    "--with-system-libmspack"
-                    "--without-included-ltdl"
-                    (with "xml" "libxml2")
-                    (with "openssl" "libressl")
-                    (with "libjson" "json-c")
-                    (with "pcre2" "pcre2")
-                    (with "zlib" "zlib")
-                    (with "libcurl" "curl")
-                    ;; For sanity, specifying --enable-* flags turns
-                    ;; "support unavailable" warnings into errors.
-                    "--enable-bzip2"
-                    "--enable-check"
-                    "--sysconfdir=/etc/clamav"
-                    ;; Default database directory needs to be writeable
-                    "--with-dbdir=/var/db/clamav"))
-            ;; install sample .conf files to %output/etc rather than /etc/clamav
-            #:make-flags
-            #~(list (string-append "sysconfdir=" %output "/etc"))
-            #:phases
-            #~(modify-phases %standard-phases
-                ;; Regenerate configure script.  Without this we don't get
-                ;; the correct value for LLVM linker variables.
-                (add-after 'unpack 'reconf
-                  (lambda _ (invoke "autoreconf" "-vfi")))
-                (add-before 'configure 'patch-llvm-config
-                  (lambda _
-                    (substitute* '("libclamav/c++/detect.cpp"
-                                   "libclamav/c++/ClamBCRTChecks.cpp"
-                                   "libclamav/c++/bytecode2llvm.cpp")
-                      (("llvm/Config/config.h") "llvm/Config/llvm-config.h"))
-                    ;; `llvm-config --libfiles` inappropriately lists lib*.a
-                    ;; libraries, rather than the lib*.so's that our llvm
-                    ;; contains.  They're used only for listing extra build
-                    ;; dependencies, so ignore them until that's fixed.
-                    (substitute* "libclamav/c++/Makefile.in"
-                      (("@LLVMCONFIG_LIBFILES@") ""))))
-                (add-before 'check 'skip-clamd-tests
-                  ;; XXX: The check?_clamd tests fail inside the build
-                  ;; chroot, but pass outside.
-                  (lambda _
-                    (substitute* "unit_tests/Makefile"
-                      (("check2_clamd.sh.*check4_clamd.sh") "")))))))
     (home-page "https://www.clamav.net")
     (synopsis "Antivirus engine")
     (description
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:24 2024
Received: from localhost ([127.0.0.1]:56835 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUa-0000Xp-BW
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:24 -0400
Received: from 8.mo550.mail-out.ovh.net ([178.33.110.239]:46337)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUV-0000X9-RD
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:21 -0400
Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.148.38])
 by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxv24fg7z1TTR
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:18 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-9r2nc (unknown [10.108.54.36])
 by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2DD0D1FD24;
 Sun,  3 Nov 2024 01:33:18 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-5b5ff79f4f-9r2nc with ESMTPSA
 id LlUZON3SJmdXKwAAXJCBWA
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:18 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R004bc02a47f-c829-436b-b3d3-75664611981a,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 05/20] gnu: clamav: Add release-monitoring-url property.
Date: Sun,  3 Nov 2024 02:30:12 +0100
Message-ID: <20241103013258.26141-6-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15194582193623982818
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepffegjeduieefheetueevueelvdegieejvdejveehieehteehgfevueduvedvveeinecuffhomhgrihhnpegtlhgrmhgrvhdrnhgvthdpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehhedtpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=hX6jNDNDz6xu5RJNheR6n6jQQVI8n/atkvV6F6jK6rQ=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597598; v=1;
 b=l2hx5yDbTyVxP2yjjF2wyhhNkQGSXr+/walRQKpVaEdgJEziYrC06qWS+lo1YJwDpK0iq5l8
 pK4VhQyQUT9u0ibdgaUMydiNbRgZpuLyO5AlAvIfDdpV7S73uCiSRB8LOAZ+hjvxJMoF5xAStrw
 lZ7TcvjCwvD88aad3UpXALN17MHk/r3H9XpetTyU7qFZVJD1TroR7BiDRXXDX9DYxIs0yGnNWxi
 +NrQUi9wyfCeyYZCoXwiNIRzcY+DcorJvTesNt+LRb249Ca9VpIg/D68fTLdqMfsHWryrwkXP9e
 5vtwwzH08YOpEqDKIA6JVPkwnisP2s4HAtag8Pe9eofzg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav)
[source]<uri>: Add secondary release URI.
[properties]: Add release-monitoring-url.
---
 gnu/packages/antivirus.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index d061b18b11..2161d60398 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -48,8 +48,13 @@ (define-public clamav
     (version "0.103.11")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://www.clamav.net/downloads/production/"
-                                  "clamav-" version ".tar.gz"))
+              (uri
+               (list
+                (string-append "https://www.clamav.net/downloads/production/"
+                               "clamav-" version ".tar.gz")
+                (string-append "https://github.com/Cisco-Talos/clamav/"
+                               "releases/download/clamav-" version
+                               "/clamav-" version ".tar.gz")))
               (sha256
                (base32
                 "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1"))
@@ -144,6 +149,8 @@ (define-public clamav
 flexible and scalable multi-threaded daemon, a command line scanner, and
 advanced tool for automatic database updates.  The core of the package is an
 anti-virus engine available in the form of a shared library.")
+    (properties `((release-monitoring-url
+                   . "https://github.com/Cisco-Talos/clamav/releases")))
     (license (list license:gpl2+        ;ClamAV itself
                    license:lgpl2.1      ;libclamav/mspack.[ch]
                    license:public-domain ;libclamav/7z/*, libclamav/rijndael.[ch], etc...
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:22 2024
Received: from localhost ([127.0.0.1]:56825 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUX-0000XD-61
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:22 -0400
Received: from 5.mo584.mail-out.ovh.net ([188.165.44.50]:37849)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUQ-0000Wa-Jc
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:17 -0400
Received: from director8.ghost.mail-out.ovh.net (unknown [10.108.17.95])
 by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxtx1vJpz1PSy
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:13 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-7tssz (unknown [10.111.182.244])
 by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id A50BB1FE30;
 Sun,  3 Nov 2024 01:33:12 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.96])
 by ghost-submission-5b5ff79f4f-7tssz with ESMTPSA
 id 3JozDNjSJmf+GgAAQnACNA
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:12 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-96R0019e0b09f2-005f-43cb-bca1-5843bbc5fc23,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 04/20] gnu: Add rust-onenote-parser-for-clamav.
Date: Sun,  3 Nov 2024 02:30:11 +0100
Message-ID: <20241103013258.26141-5-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15193174819911820002
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 5
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucgfrhhlucfvnfffucdlhedmnecujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeuveejudehfeetvdeutdfggefhuefhhfefgefgjedulefgiefhkefghfdvhfdtvdenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhonhgvnhhothgvrdhrshdpghgvnhhtohhordhorhhgnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekgedpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=R0yTzDmif0AT2GBYEH1f57vF0NvL2YbqntLPtd32H60=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597593; v=1;
 b=CC6N1ihuH1+f62L/WUSVuLrt+ORLGcs096d9+MF4fS8urt9EUbQdFljG7DRWuXrquxt/aRqU
 fS9jWYfTkIa4AsKJs0gB8ytjgBAZFlFEZJRE0yDTMCzpwNW9m4ToRYAqhF0SOiFxs9tTLT/86gv
 aPjlLSOIbK9F3TExviYdTyD+6yWIJ6aLtGU65ZUWbZAZjQADc8EMeCRKQuPcb83qBEts8pSBaPD
 9FcdR7KaebBrRwutwPmqEspaJ/D9Fxo/bIKH+8kEJAIhzouv30FGFXBJf5tTsv6H9O54rZWVHZJ
 caAAncZNCU+mIHRX5U1DngLbm69bnqN+kDAOtBH43kwYw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-onenote-parser-for-clamav): New
variable.
* gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
* gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
* gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch
Add patches here...
* gnu/local.mk: ...and here.
---
 gnu/local.mk                                  |  3 +
 gnu/packages/crates-io.scm                    | 27 ++++++
 .../rust-onenote-parser-for-clamav-deps.patch | 88 +++++++++++++++++++
 ...er-for-clamav-parse-in-memory-buffer.patch | 52 +++++++++++
 ...note-parser-for-clamav-property-type.patch | 30 +++++++
 5 files changed, 200 insertions(+)
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch

diff --git a/gnu/local.mk b/gnu/local.mk
index 7e5fb2948e..3c7f27a3d3 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -2133,6 +2133,9 @@ dist_patch_DATA =						\
   %D%/packages/patches/rust-ndarray-0.13-remove-blas-src.patch	\
   %D%/packages/patches/rust-ndarray-0.14-remove-blas-src.patch	\
   %D%/packages/patches/rust-nettle-disable-vendor.patch		 \
+  %D%/packages/patches/rust-onenote-parser-for-clamav-deps.patch	\
+  %D%/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch	\
+  %D%/packages/patches/rust-onenote-parser-for-clamav-property-type.patch	\
   %D%/packages/patches/rust-poem-1-fewer-deps.patch		\
   %D%/packages/patches/rust-rspec-1-remove-clippy.patch	\
   %D%/packages/patches/rust-trash-2-update-windows.patch	\
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d3815e7f28..2a66385d10 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49347,6 +49347,33 @@ (define-public rust-onenote-parser-0.3
      "This package provides a parser for Microsoft OneNote files.")
     (license license:mpl2.0)))
 
+(define-public rust-onenote-parser-for-clamav
+  (package
+    (inherit rust-onenote-parser-0.3)
+    (name "rust-onenote-parser-for-clamav")
+    (source (origin
+              (inherit (package-source rust-onenote-parser-0.3))
+              (patches
+               (search-patches
+                "rust-onenote-parser-for-clamav-deps.patch"
+                "rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch"
+                "rust-onenote-parser-for-clamav-property-type.patch"))
+              (snippet #~(begin
+                           (delete-file "Cargo.toml")
+                           (rename-file "Cargo.toml.orig" "Cargo.toml")))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytes" ,rust-bytes-1)
+        ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-uuid" ,rust-uuid-1)
+        ("rust-widestring" ,rust-widestring-1))
+       #:cargo-development-inputs (("rust-insta" ,rust-insta-1))))))
+
 (define-public rust-onig-6
   (package
     (name "rust-onig")
diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
new file mode 100644
index 0000000000..24d5692573
--- /dev/null
+++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
@@ -0,0 +1,88 @@
+From f940d8c8fa087554583158d50df071af89c516db Mon Sep 17 00:00:00 2001
+From: Simon Lamon <32477463+silamon@HIDDEN>
+Date: Sat, 19 Nov 2022 20:32:07 +0100
+Subject: [PATCH] chore: upgrade dependencies (#9)
+
+Co-authored-by: Markus Siemens <markus@HIDDEN>
+---
+ Cargo.toml.orig | 8 ++++----
+ src/errors.rs   | 6 +++---
+ src/reader.rs   | 2 +-
+ src/utils.rs    | 5 ++---
+ 4 files changed, 10 insertions(+), 11 deletions(-)
+
+diff --git a/Cargo.toml.orig b/Cargo.toml.orig
+index 9afddd0..e302436 100644
+--- a/Cargo.toml.orig
++++ b/Cargo.toml.orig
+@@ -14,15 +14,15 @@ categories = ["parser-implementations"]
+ backtrace = []
+ 
+ [dependencies]
+-bytes = "0.5"
++bytes = "1.2.0"
+ encoding_rs = "0.8.31"
+ enum-primitive-derive = "0.2.2"
+-itertools = "0.9.0"
++itertools = "0.10.3"
+ num-traits = "0.2"
+ paste = "1.0"
+ thiserror = "1.0"
+-uuid = "0.8"
+-widestring = "0.4.3"
++uuid = "1.1.2"
++widestring = "1.0.2"
+ 
+ [dev-dependencies]
+ insta = "1.21.1"
+diff --git a/src/errors.rs b/src/errors.rs
+index 91477b3..50079a3 100644
+--- a/src/errors.rs
++++ b/src/errors.rs
+@@ -51,8 +51,8 @@ impl From<std::string::FromUtf16Error> for Error {
+     }
+ }
+ 
+-impl From<widestring::MissingNulError<u16>> for Error {
+-    fn from(err: widestring::MissingNulError<u16>) -> Self {
++impl From<widestring::error::MissingNulTerminator> for Error {
++    fn from(err: widestring::error::MissingNulTerminator) -> Self {
+         ErrorKind::from(err).into()
+     }
+ }
+@@ -128,6 +128,6 @@ pub enum ErrorKind {
+     #[error("UTF-16 string is missing null terminator: {err}")]
+     Utf16MissingNull {
+         #[from]
+-        err: widestring::MissingNulError<u16>,
++        err: widestring::error::MissingNulTerminator,
+     },
+ }
+diff --git a/src/reader.rs b/src/reader.rs
+index 64730d0..318c280 100644
+--- a/src/reader.rs
++++ b/src/reader.rs
+@@ -40,7 +40,7 @@ impl<'a> Reader<'a> {
+     }
+ 
+     pub(crate) fn bytes(&self) -> &[u8] {
+-        self.0.bytes()
++        self.0.chunk()
+     }
+ 
+     pub(crate) fn remaining(&self) -> usize {
+diff --git a/src/utils.rs b/src/utils.rs
+index fd77181..074ff50 100644
+--- a/src/utils.rs
++++ b/src/utils.rs
+@@ -12,8 +12,7 @@ impl Utf16ToString for &[u8] {
+             .map(|v| u16::from_le_bytes([v[0], v[1]]))
+             .collect();
+ 
+-        let value = U16CString::from_vec_with_nul(data)?;
+-
+-        Ok(value.to_string()?)
++        let value = U16CString::from_vec_truncate(data);
++        Ok(value.to_string().unwrap())
+     }
+ }
diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
new file mode 100644
index 0000000000..77adc550ca
--- /dev/null
+++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
@@ -0,0 +1,52 @@
+From 8b450447e58143004b68dd21c11b710fdb79be92 Mon Sep 17 00:00:00 2001
+From: Micah Snyder <micasnyd@HIDDEN>
+Date: Mon, 3 Jul 2023 21:44:57 -0700
+Subject: [PATCH] Add ability to parse section from in memory buffer
+
+Resolves: https://github.com/msiemens/onenote.rs/issues/12
+---
+ src/onenote/mod.rs | 23 ++++++++++++++++++++++-
+ 1 file changed, 22 insertions(+), 1 deletion(-)
+
+diff --git a/src/onenote/mod.rs b/src/onenote/mod.rs
+index de172c9..8bcb62b 100644
+--- a/src/onenote/mod.rs
++++ b/src/onenote/mod.rs
+@@ -6,8 +6,9 @@ use crate::onestore::parse_store;
+ use crate::reader::Reader;
+ use std::ffi::OsStr;
+ use std::fs::File;
+-use std::io::{BufReader, Read};
++use std::io::{BufReader, Read, Cursor};
+ use std::path::Path;
++use std::str::FromStr;
+ 
+ pub(crate) mod content;
+ pub(crate) mod embedded_file;
+@@ -76,6 +77,26 @@ impl Parser {
+         Ok(Notebook { entries: sections })
+     }
+ 
++    /// Parse a OneNote section buffer.
++    ///
++    /// The `data` argument must contain a OneNote section.
++    pub fn parse_section_buffer(&mut self, data: &[u8], file_name: &Path) -> Result<Section> {
++        let packaging = OneStorePackaging::parse(&mut Reader::new(data))?;
++        let store = parse_store(&packaging)?;
++
++        if store.schema_guid() != guid!({1F937CB4-B26F-445F-B9F8-17E20160E461}) {
++            return Err(ErrorKind::NotASectionFile {
++                file: file_name.to_string_lossy().into_owned(),
++            }
++            .into());
++        }
++
++        section::parse_section(
++            store,
++            file_name.to_string_lossy().into_owned(),
++        )
++    }
++
+     /// Parse a OneNote section file.
+     ///
+     /// The `path` argument must point to a `.one` file that contains a
diff --git a/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch
new file mode 100644
index 0000000000..ff94fa2630
--- /dev/null
+++ b/gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch
@@ -0,0 +1,30 @@
+From 29c08532252b917543ff268284f926f30876bb79 Mon Sep 17 00:00:00 2001
+From: Matt Jolly <Matt.Jolly@HIDDEN>
+Date: Mon, 24 Jun 2024 17:34:05 +1000
+Subject: [PATCH] PropertType: Specify type for custom discriminant values
+
+We use custom discriminant values for enum variants for "PropertType" without specifying the type.
+This causes it to default to "isize" which on 64bit platforms is big enough to hold the 32bit constants,
+but causes overflow when isize is 32bit.
+
+This issue was uncovered due to build failures on arm for Gentoo Linux as a dependency of ClamAV.
+
+Bug: https://bugs.gentoo.org/927214
+Signed-off-by: Matt Jolly <kangie@HIDDEN>
+Co-authored-by: Steven Newbury <steve@HIDDEN>
+---
+ src/one/property/mod.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/one/property/mod.rs b/src/one/property/mod.rs
+index 42841c6..fcc0481 100644
+--- a/src/one/property/mod.rs
++++ b/src/one/property/mod.rs
+@@ -23,6 +23,7 @@ mod references;
+ pub(crate) mod simple;
+ pub(crate) mod time;
+ 
++#[repr(u32)]
+ #[derive(Debug, Copy, Clone, PartialEq)]
+ #[allow(dead_code)]
+ #[allow(clippy::enum_clike_unportable_variant)]
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:21 2024
Received: from localhost ([127.0.0.1]:56823 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUW-0000XA-4G
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:21 -0400
Received: from 11.mo582.mail-out.ovh.net ([188.165.38.119]:46365)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUP-0000WZ-38
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:16 -0400
Received: from director9.ghost.mail-out.ovh.net (unknown [10.109.148.126])
 by mo582.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxtv6TxDz1KtK
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:11 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-f67xt (unknown [10.110.101.176])
 by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 7E7E71FD71;
 Sun,  3 Nov 2024 01:33:11 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.104])
 by ghost-submission-5b5ff79f4f-f67xt with ESMTPSA
 id ga9rA9fSJmeZ2BIAvrCjuw
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:11 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-104R00589e0ae66-2cc4-4c2d-bf17-6b9749d1381a,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 03/20] gnu: Add rust-onenote-parser-0.3.
Date: Sun,  3 Nov 2024 02:30:10 +0100
Message-ID: <20241103013258.26141-4-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15192611871066809058
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepjedtleevhfefgedvgffftefgffduteeiffegieeghfehheefhfethfetffevleevnecuffhomhgrihhnpehgihhthhhusgdrtghomhdpohhnvghnohhtvgdrrhhsnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrddutdegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedvpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=6otkv6c4XxsirMtfzBElG5yunUJWI61pEiyFQI0kfiI=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597592; v=1;
 b=g+3W8hZIuX3+2WeS0dDlGGaENn9jBrvh+vRtj4OVQir995JGaZQqFRs628R7EAJ4g0OhcAMl
 EWVjwyPueflW4u83QRM58EGqdUdYwoF546CJW6dtA8qrnyG4JPKMTqRW1pOVUJp84wfqibKK0DI
 XSsBbFQpHJlebGUaZpE2pn+bHC8x6y4tIWGFyJBvIkmsLd7QiR+i/pOkehuIdclRUSKUWODEtmp
 mJtl1R4FtXLAX45HE7jIIb0J3c/qJdkqXl06qLTqO6N3WwghfVzLBkvraw+krDDaUitWsxkTNpQ
 98Vyt2xdS46aJ7Eyn/NWawL+N2BPXuSvH+puuP9oZ4d/g==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-onenote-parser-0.3): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 621aeb6c21..d3815e7f28 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49317,6 +49317,36 @@ (define-public rust-omnipath-0.1
     (description "This package provides a path utility library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-onenote-parser-0.3
+  (package
+    (name "rust-onenote-parser")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "onenote_parser" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "12rj3ixhnxvl2mpkad3ng4b8fx4ynxhdlwzxba36c8i98ls57zzf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-bytes" ,rust-bytes-0.5)
+        ("rust-encoding-rs" ,rust-encoding-rs-0.8)
+        ("rust-enum-primitive-derive" ,rust-enum-primitive-derive-0.2)
+        ("rust-itertools" ,rust-itertools-0.9)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-uuid" ,rust-uuid-0.8)
+        ("rust-widestring" ,rust-widestring-0.4))
+       #:cargo-development-inputs (("rust-insta" ,rust-insta-1))))
+    (home-page "https://github.com/msiemens/onenote.rs")
+    (synopsis "Parser for Microsoft OneNote files")
+    (description
+     "This package provides a parser for Microsoft OneNote files.")
+    (license license:mpl2.0)))
+
 (define-public rust-onig-6
   (package
     (name "rust-onig")
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:17 2024
Received: from localhost ([127.0.0.1]:56818 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUS-0000Wv-KG
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:17 -0400
Received: from 5.mo576.mail-out.ovh.net ([46.105.43.105]:57841)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUJ-0000WG-CO
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:11 -0400
Received: from director7.ghost.mail-out.ovh.net (unknown [10.108.2.210])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxtp2J4gz1ncQ
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:06 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-m6jpx (unknown [10.111.182.101])
 by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 033C21FE7B;
 Sun,  3 Nov 2024 01:33:05 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.110])
 by ghost-submission-5b5ff79f4f-m6jpx with ESMTPSA
 id v7PWJNHSJmc3EzUAg9Vu6w
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:05 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-110S004a65b4196-f7e3-458f-bf8d-9739620b4a5a,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 02/20] gnu: rust-enum-primitive-derive-0.2: Update to 0.2.2.
Date: Sun,  3 Nov 2024 02:30:09 +0100
Message-ID: <20241103013258.26141-3-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15191204495685444322
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdduuddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=FoNohpRdoWWIs1lc3v5YbyA7E/3iY9r/polkauFYbno=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597586; v=1;
 b=1o3G/OxNcxoQI+qbhE9LXsVIw2IL8ehvhKbHIzrLsTyBXa3tA8YpZ/xLuiCEXMBNYeEvaq32
 uKDaUJl+MOLnATQLe/UfCz0tjGSZZ//+TBpclxbKHp9hCISFOJsJemLcPT5NYCuktydvIEN+uE5
 OBER1vrSMxtOQL6YI06FNLUoO7EgvQQjhHF/r3U4DF2oOPUwMf7rFAhh46rpfUS2cZVqO+7VdMc
 dO6Is7UBfNR02h8eVbMjtsK9W/eMXSYQi494CQBEzB4KmChm4JhYtcQOuZRQxIGDUkIm+gUaaIL
 pae068Bbeddea+xatkqBcDiAvR7YwW2LZhWNH7F19knGg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-enum-primitive-derive-0.2): Update to 0.2.2.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 474a2a7bfe..621aeb6c21 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24068,7 +24068,7 @@ (define-public rust-enum-primitive-0.1
 (define-public rust-enum-primitive-derive-0.2
   (package
     (name "rust-enum-primitive-derive")
-    (version "0.2.1")
+    (version "0.2.2")
     (source
      (origin
        (method url-fetch)
@@ -24077,7 +24077,7 @@ (define-public rust-enum-primitive-derive-0.2
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0h1k2izdl5lf2na8xnj7rgwjm8gawxc2p1w8j6ahifvyka7jhljz"))))
+         "03ibjjx8dc4akpq8ck24qda5ix4jybz9jagfxykd0s6vxb2vjxf3"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:15 2024
Received: from localhost ([127.0.0.1]:56816 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUR-0000Wj-2D
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:15 -0400
Received: from 14.mo581.mail-out.ovh.net ([178.33.251.19]:44653)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUG-0000WF-I3
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:10 -0400
Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.17.183])
 by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxtl0xPsz1HZc
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:03 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-sr8xh (unknown [10.110.101.117])
 by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E53121FE04;
 Sun,  3 Nov 2024 01:33:02 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.96])
 by ghost-submission-5b5ff79f4f-sr8xh with ESMTPSA
 id 7nLjK87SJmdY7RIAJqehCg
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:02 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-96R001e8e89e62-9d81-47a2-9145-958232278371,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 01/20] gnu: rust-widestring-0.4: Update to 0.4.3.
Date: Sun,  3 Nov 2024 02:30:08 +0100
Message-ID: <20241103013258.26141-2-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241103013258.26141-1-ngraves@HIDDEN>
References: <20241103013258.26141-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15190360069503574754
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepleffjeetueethfefkeffffefvddukeejkefgleduiedthfekvefhiedvhfffgeegnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=+AfWL/YlrhKD6/yAapwZMNgrvhZKcMR7EOzAG4Cjjqs=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597583; v=1;
 b=GgufHEOOUE8ZXIp8buyHSFgYC1kymJ7TwSQz8zFTTrZfOdk/chSK2OLVzbEJ8WG9OUdq9V0m
 WO2JWrZ4HetFeSGVQjVavaBcIpqNqv1wX0dDKj3nT9XMNDyJ9xY7vyj9oRT+5Yurqtd6KjX29xs
 FgFanLPO7tA/5hAze230FJZ4xCSRyanYf3o6PlT8gp/BODFYmSZSnl9knsqamr+DluE3FKHuiKT
 H+MfRcWVM1avKWiXXgnimZASjTHAuzz2HYvOcQpHj3oKacqCKz4vRGH0eTH5OT3Zmr3aR9Bnetq
 QzcrF/TGR5sa6Fw3x+tnsrTh/2Rr3HN0Bujw8RmwICIkw==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/crates-io.scm (rust-widestring-0.4): Update to 0.4.3.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 90761bb626..474a2a7bfe 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -90694,7 +90694,7 @@ (define-public rust-widestring-0.4
   (package
     (inherit rust-widestring-0.5)
     (name "rust-widestring")
-    (version "0.4.2")
+    (version "0.4.3")
     (source
       (origin
         (method url-fetch)
@@ -90702,7 +90702,7 @@ (define-public rust-widestring-0.4
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "13565qy4jhpg4x0xw8mwxzzsh0p8c93p5208lh6kpwp0q01y6qx7"))))
+          "0z3ba8qrxb62vpfgk7n2xs2grm9kdaj1cz4q8s0gs8fx8h0r8s61"))))
     (arguments
      `(#:cargo-development-inputs
        (("rust-winapi" ,rust-winapi-0.3))))))
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 3 Nov 2024 01:33:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Nov 02 21:33:14 2024
Received: from localhost ([127.0.0.1]:56812 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t7PUQ-0000Wb-A1
	for submit <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:14 -0400
Received: from 7.mo576.mail-out.ovh.net ([46.105.50.32]:41063)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t7PUG-0000WE-IR
 for 73896 <at> debbugs.gnu.org; Sat, 02 Nov 2024 21:33:10 -0400
Received: from director1.ghost.mail-out.ovh.net (unknown [10.109.176.72])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4Xgxtk5yXmz1nYy
 for <73896 <at> debbugs.gnu.org>; Sun,  3 Nov 2024 01:33:02 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-4p526 (unknown [10.108.54.69])
 by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 62F641FD15;
 Sun,  3 Nov 2024 01:33:01 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.95])
 by ghost-submission-5b5ff79f4f-4p526 with ESMTPSA
 id 7oUIBc3SJme80yAASrjgQA
 (envelope-from <ngraves@HIDDEN>); Sun, 03 Nov 2024 01:33:01 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-95G001c28ddb94-f720-4662-b977-63557632262c,
 AE4F9A324CDBAF4B52618B2723BB28A1C21EBFEF) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 86.246.19.221
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v3 00/20] Clamav update [security fixes]
Date: Sun,  3 Nov 2024 02:30:07 +0100
Message-ID: <20241103013258.26141-1-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 15190078596149863138
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdelvddgfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepkeffgeetfffgffejgeejvdffgfdtvdeuueetgfefuedvjeegvdegjeejveeuueevnecukfhppeduvdejrddtrddtrddupdekiedrvdegiedrudelrddvvddupdefjedrheelrddugedvrdelheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjeefkeelieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheejiedpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=Up6moZrS6zP3BKbiGQ+PbF6DWveGQKo1EUCMWLFjvhI=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1730597583; v=1;
 b=NRYwDqVQdZr6zik9NbcJgb8u7lsXigCDpYETZFgHMLaiX130puzFO3eU+Kv+6M7ASIZXz7d7
 ziVf86COMXdnPm+k7gU+mOXOGHvLI7TKWMVJ72e5x6IBmKsGVqUlDXxsb+iIBHKptpBNJ4JWdBz
 R0zHN/3S4rQHj9JnLvSBy20uPO5hhodt75Nhf8pX5gXBLUlBL0NcPpN1uA9eVkXtlXSDYWoTWX8
 7dIWehBTgz+DacvL1ns3N+0Lx8gBj5kvmxjkvlAHBfTXeUgJ7O/5WkUl8Rxt0x0DiWyIs6fDC+z
 vZ1bpMc7baRGqg9bOl7GSF3g3lmwAEphSVEu0aTo5FAVg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

This patch series completes the work on clamav update with a complete
unbundling of its rust dependencies.

Nicolas Graves (20):
  gnu: rust-widestring-0.4: Update to 0.4.3.
  gnu: rust-enum-primitive-derive-0.2: Update to 0.2.2.
  gnu: Add rust-onenote-parser-0.3.
  gnu: Add rust-onenote-parser-for-clamav.
  gnu: clamav: Add release-monitoring-url property.
  gnu: clamav: Update to 1.4.1.
  gnu: Add rust-hamming-0.1.
  gnu: Add rust-primal-bit-0.3.
  gnu: Add rust-primal-check-0.3.
  gnu: Add rust-primal-estimate-0.3.
  gnu: Add rust-primal-sieve-0.3.
  gnu: Add rust-primal-slowsieve-0.3.
  gnu: Add rust-primal-0.3.
  gnu: rust-crc-any-2: Update to 2.5.0.
  gnu: Add rust-delharc-0.6.
  gnu: Add rust-transpose-0.2.
  gnu: rust-strength-reduce-0.2: Update to 0.2.4.
  gnu: Add rust-rustfft-6.
  gnu: Add rust-rustdct-0.7.
  gnu: clamav: Unbundle rust dependencies.

 gnu/local.mk                                  |   3 +
 gnu/packages/antivirus.scm                    | 205 ++++++-----
 gnu/packages/crates-io.scm                    | 342 +++++++++++++++++-
 .../rust-onenote-parser-for-clamav-deps.patch |  88 +++++
 ...er-for-clamav-parse-in-memory-buffer.patch |  52 +++
 ...note-parser-for-clamav-property-type.patch |  30 ++
 6 files changed, 630 insertions(+), 90 deletions(-)
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-deps.patch
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-parse-in-memory-buffer.patch
 create mode 100644 gnu/packages/patches/rust-onenote-parser-for-clamav-property-type.patch

-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 21 Oct 2024 09:06:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 21 05:06:39 2024
Received: from localhost ([127.0.0.1]:50213 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t2oN4-00061s-Qf
	for submit <at> debbugs.gnu.org; Mon, 21 Oct 2024 05:06:39 -0400
Received: from 8.mo576.mail-out.ovh.net ([46.105.56.233]:52065)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t2oN0-00061T-Vz
 for 73896 <at> debbugs.gnu.org; Mon, 21 Oct 2024 05:06:36 -0400
Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.140.5])
 by mo576.mail-out.ovh.net (Postfix) with ESMTP id 4XX8YV6DDNz1thw
 for <73896 <at> debbugs.gnu.org>; Mon, 21 Oct 2024 09:06:06 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-pfxjl (unknown [10.110.96.204])
 by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 2AC241FEB0;
 Mon, 21 Oct 2024 09:06:06 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.102])
 by ghost-submission-5b5ff79f4f-pfxjl with ESMTPSA
 id g6EXAH4ZFmdekAwALqpFYw
 (envelope-from <ngraves@HIDDEN>); Mon, 21 Oct 2024 09:06:06 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-102R004173b2636-7473-42b6-a867-bd446b597f44,
 AEC48F3592C4E1BE08593FA81C590F8E4994FFB1) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 80.215.72.128
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v2 2/2] gnu: clamav: Update to 1.4.1.
Date: Mon, 21 Oct 2024 11:05:49 +0200
Message-ID: <20241021090600.20076-2-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241021090600.20076-1-ngraves@HIDDEN>
References: <20241021090600.20076-1-ngraves@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 1836905700905837282
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehledgudduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeduvedvueeiieeitdekgefhteffieeihfelkeefjeduteetueekiefgjedvgeeihfenucffohhmrghinheptghlrghmrghvrdhnvghtnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrjedvrdduvdekpdefjedrheelrddugedvrddutddvnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehjeeipdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=/Q0deePCOY1xrpPwRwUuQuwnHGBOJB1hVB2SPOwvZQI=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1729501567; v=1;
 b=ptTRf0ofxjYiYvGpblKbMoSVgro7I1p4oCdfVWb1l/oUq1W7bUG0NtaDf37ms0ozqZQ78Hy+
 jlc3s7pr/o69rFJTFRf12y1UtiMeozhVMsWAMG36GuNUVIgUVGof8GahnLDO7eYGcSBDu0V6+Eb
 FwoQhnflcXrxddmNJHG3RkHoJd2rHiaZKQgjidP6mxrK7rp2L9vWBsjbybc8DYhIajaRfeZM6dH
 qfId968mCK1tm2NbJete+qOlxhcbOXPF/7YCnkiAcTLU3NchAQ1YRJswFBW8q51RWouAAjbUuIl
 0ypBq8fUZLA3LoggVb0ZWDe4MUfuJvuYLP3431LJcDUsg==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav): Update to 1.4.1.
[source]<origin>: Adapt source. This currently is not unbundling all
cargo vendored packages.
[build-system]: Switch to cmake-build-system.
[arguments]: Move field up.
<#:configure-flags>: Set option.
<#:imported-modules>: Set option for patching cargo checksums.
<#:phases>: Remove all phases except adapted 'skip-clamd_tests. Add
phases 'inject-rust-onenote and 'patch-cargo-checksums.
[native-inputs]: Remove autoconf, automake, libtool. Add
python-minimal, python-pytest, rust and rust:cargo.
[inputs]: Remove libltdl, libmspack, llvm-3.6, cyrus-sasl,
tomsfastmath.
---
 gnu/packages/antivirus.scm | 129 +++++++++++++++----------------------
 1 file changed, 51 insertions(+), 78 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index 2161d60398..1a23657a61 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020 Eric Bavier <bavier@HIDDEN>
 ;;; Copyright © 2018 Christopher Baines <mail@HIDDEN>
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@HIDDEN>
+;;; Copyright © 2024 Nicolas Graves <ngraves@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -20,24 +21,23 @@
 
 (define-module (gnu packages antivirus)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix build-system cargo)
+  #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix gexp)
   #:use-module (guix packages)
   #:use-module (guix download)
   #:use-module (guix utils)
   #:use-module (gnu packages)
-  #:use-module (gnu packages autotools)
-  #:use-module (gnu packages bison)
   #:use-module (gnu packages check)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages curl)
-  #:use-module (gnu packages cyrus-sasl)
-  #:use-module (gnu packages flex)
-  #:use-module (gnu packages llvm)
-  #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages rust)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages web)
   #:use-module (gnu packages xml))
@@ -45,7 +45,7 @@ (define-module (gnu packages antivirus)
 (define-public clamav
   (package
     (name "clamav")
-    (version "0.103.11")
+    (version "1.4.1")
     (source (origin
               (method url-fetch)
               (uri
@@ -57,90 +57,63 @@ (define-public clamav
                                "/clamav-" version ".tar.gz")))
               (sha256
                (base32
-                "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1"))
+                "1n3a87niad76h3mn3qxq9379gppdjqpkhwb9qkbb79irmj0ff653"))
               (modules '((guix build utils)))
               (snippet
                '(begin
+                  (delete-file "Cargo.lock")
+                  (for-each
+                   delete-file
+                   (find-files ".cargo/vendor" ".cargo-checksum\\.json"))
                   (for-each delete-file-recursively
                             '("win32"                  ; unnecessary
-                              "libclamav/c++/llvm"     ; use system llvm
-                              "libclamav/tomsfastmath" ; use system tomsfastmath
-                              "libclamunrar"))))       ; non-free license
-              (patches
-               (search-patches "clamav-system-tomsfastmath.patch"
-                               "clamav-config-llvm-libs.patch"))))
-    (build-system gnu-build-system)
+                              "libclamunrar"))))))     ; non-free license
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "-DENABLE_MILTER=OFF" "-DENABLE_UNRAR=OFF")
+      #:imported-modules `((guix build cargo-utils)
+                           ,@%cmake-build-system-modules)
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'inject-rust-onenote
+            (lambda _
+              (substitute* "libclamav_rust/Cargo.toml"
+                (("onenote_parser = .*")
+                 "onenote_parser = \"0.3.1\"\n"))))
+          (add-after 'patch-source-shebangs 'patch-cargo-checksums
+            (lambda _
+              (use-modules
+               (srfi srfi-1) (ice-9 ftw) (guix build cargo-utils))
+              (with-directory-excursion ".cargo/vendor"
+                (for-each generate-all-checksums
+                          (delete "." (delete ".." (scandir ".")))))))
+          (add-after 'unpack 'skip-clamd-tests
+            ;; XXX: The check?_clamd tests fail inside the build
+            ;; chroot, but pass outside.
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (substitute* "unit_tests/CMakeLists.txt"
+                  (("clamd_test\\.py" test)
+                   (string-append
+                    test " -k \"not test_clamd_08_VirusEvent\"")))))))))
     (native-inputs
-     (list autoconf
-           automake
-           check ; for tests
-           libtool
-           pkg-config))
+     (list check ; for tests
+           pkg-config
+           python-minimal
+           python-pytest
+           rust
+           (list rust "cargo")))
     (inputs
       (list bzip2
             curl
             json-c
-            libltdl
-            libmspack
-            llvm-3.6               ; requires <3.7, for JIT/verifier
-            ncurses
             libressl
-            pcre2
-            cyrus-sasl             ; for linking curl with libtool
-            tomsfastmath
             libxml2
+            ncurses
+            pcre2
             zlib))
-    (arguments
-      (list #:configure-flags
-            #~(let-syntax ((with (syntax-rules ()
-                            ((_ name use)
-                             (string-append "--with-" name "="
-                                            (assoc-ref %build-inputs use))))))
-              (list "--disable-unrar"
-                    "--enable-llvm"
-                    "--with-system-llvm"
-                    "--with-system-libmspack"
-                    "--without-included-ltdl"
-                    (with "xml" "libxml2")
-                    (with "openssl" "libressl")
-                    (with "libjson" "json-c")
-                    (with "pcre2" "pcre2")
-                    (with "zlib" "zlib")
-                    (with "libcurl" "curl")
-                    ;; For sanity, specifying --enable-* flags turns
-                    ;; "support unavailable" warnings into errors.
-                    "--enable-bzip2"
-                    "--enable-check"
-                    "--sysconfdir=/etc/clamav"
-                    ;; Default database directory needs to be writeable
-                    "--with-dbdir=/var/db/clamav"))
-            ;; install sample .conf files to %output/etc rather than /etc/clamav
-            #:make-flags
-            #~(list (string-append "sysconfdir=" %output "/etc"))
-            #:phases
-            #~(modify-phases %standard-phases
-                ;; Regenerate configure script.  Without this we don't get
-                ;; the correct value for LLVM linker variables.
-                (add-after 'unpack 'reconf
-                  (lambda _ (invoke "autoreconf" "-vfi")))
-                (add-before 'configure 'patch-llvm-config
-                  (lambda _
-                    (substitute* '("libclamav/c++/detect.cpp"
-                                   "libclamav/c++/ClamBCRTChecks.cpp"
-                                   "libclamav/c++/bytecode2llvm.cpp")
-                      (("llvm/Config/config.h") "llvm/Config/llvm-config.h"))
-                    ;; `llvm-config --libfiles` inappropriately lists lib*.a
-                    ;; libraries, rather than the lib*.so's that our llvm
-                    ;; contains.  They're used only for listing extra build
-                    ;; dependencies, so ignore them until that's fixed.
-                    (substitute* "libclamav/c++/Makefile.in"
-                      (("@LLVMCONFIG_LIBFILES@") ""))))
-                (add-before 'check 'skip-clamd-tests
-                  ;; XXX: The check?_clamd tests fail inside the build
-                  ;; chroot, but pass outside.
-                  (lambda _
-                    (substitute* "unit_tests/Makefile"
-                      (("check2_clamd.sh.*check4_clamd.sh") "")))))))
     (home-page "https://www.clamav.net")
     (synopsis "Antivirus engine")
     (description
-- 
2.46.0





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

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


Received: (at 73896) by debbugs.gnu.org; 21 Oct 2024 09:06:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 21 05:06:36 2024
Received: from localhost ([127.0.0.1]:50211 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t2oN2-00061b-8G
	for submit <at> debbugs.gnu.org; Mon, 21 Oct 2024 05:06:36 -0400
Received: from 4.mo584.mail-out.ovh.net ([178.32.98.131]:35617)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t2oMx-00061P-RF
 for 73896 <at> debbugs.gnu.org; Mon, 21 Oct 2024 05:06:34 -0400
Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.139.17])
 by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4XX8YR6t6Wz1QXC
 for <73896 <at> debbugs.gnu.org>; Mon, 21 Oct 2024 09:06:03 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-6sn7g (unknown [10.110.96.237])
 by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 3E5521FEC0;
 Mon, 21 Oct 2024 09:06:03 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.103])
 by ghost-submission-5b5ff79f4f-6sn7g with ESMTPSA
 id mOyqBXsZFme/QwAAw6oSDQ
 (envelope-from <ngraves@HIDDEN>); Mon, 21 Oct 2024 09:06:03 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-103G005636ff450-ad5e-454d-be04-fd2d0dd9f0f8,
 AEC48F3592C4E1BE08593FA81C590F8E4994FFB1) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 80.215.72.128
From: Nicolas Graves <ngraves@HIDDEN>
To: 73896 <at> debbugs.gnu.org
Subject: [PATCH v2 1/2] gnu: clamav: Add release-monitoring-url property.
Date: Mon, 21 Oct 2024 11:05:48 +0200
Message-ID: <20241021090600.20076-1-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 1836061273415869154
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehledguddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdelgeffjeejvedvueettdekgfeivdduieefleefhfehvdfgteevfefgleejieehnecuffhomhgrihhnpegtlhgrmhgrvhdrnhgvthdpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdektddrvdduhedrjedvrdduvdekpdefjedrheelrddugedvrddutdefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejfeekleeiseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth
DKIM-Signature: a=rsa-sha256; bh=hX6jNDNDz6xu5RJNheR6n6jQQVI8n/atkvV6F6jK6rQ=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1729501564; v=1;
 b=5zwyGF9JhyLpT0zzxMFzQnB5gyEOO4emOnO+jR+9hy7bHmnQBiaqre2hFHoQwwCwku/oNImf
 QUSjPsnXtkZHQENR9iFjRO595ZWkChQHPPAiDFMnj0jrFqh3jTSFG9dX7dpcbs2PBfX7HuInJGO
 Wjse7ME2BjryqBc5rQKiUyTT1EiOfhwpgUjurR0ZMP9UHfg6iyr/dYY3cyT4gwzAbOAaN3/8yE0
 M6YcNzMqMRbKAGQ1n40sKNNwk7SjL4U7j36nWnjRyWmMiNs5GPzuXqU9q9qSeRx7GfhCBsQRBJR
 HTFcgvnXTkd2JW/GMvd+kGIf5kUY27JZsL4TYSsp7foDQ==
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73896
Cc: Nicolas Graves <ngraves@HIDDEN>
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 (-)

* gnu/packages/antivirus.scm (clamav)
[source]<uri>: Add secondary release URI.
[properties]: Add release-monitoring-url.
---
 gnu/packages/antivirus.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index d061b18b11..2161d60398 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -48,8 +48,13 @@ (define-public clamav
     (version "0.103.11")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://www.clamav.net/downloads/production/"
-                                  "clamav-" version ".tar.gz"))
+              (uri
+               (list
+                (string-append "https://www.clamav.net/downloads/production/"
+                               "clamav-" version ".tar.gz")
+                (string-append "https://github.com/Cisco-Talos/clamav/"
+                               "releases/download/clamav-" version
+                               "/clamav-" version ".tar.gz")))
               (sha256
                (base32
                 "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1"))
@@ -144,6 +149,8 @@ (define-public clamav
 flexible and scalable multi-threaded daemon, a command line scanner, and
 advanced tool for automatic database updates.  The core of the package is an
 anti-virus engine available in the form of a shared library.")
+    (properties `((release-monitoring-url
+                   . "https://github.com/Cisco-Talos/clamav/releases")))
     (license (list license:gpl2+        ;ClamAV itself
                    license:lgpl2.1      ;libclamav/mspack.[ch]
                    license:public-domain ;libclamav/7z/*, libclamav/rijndael.[ch], etc...
-- 
2.46.0





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

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


Received: (at submit) by debbugs.gnu.org; 19 Oct 2024 23:09:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 19 19:09:18 2024
Received: from localhost ([127.0.0.1]:45092 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t2IZS-0001YX-9w
	for submit <at> debbugs.gnu.org; Sat, 19 Oct 2024 19:09:18 -0400
Received: from lists.gnu.org ([209.51.188.17]:35302)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ngraves@HIDDEN>) id 1t2IZQ-0001YO-5k
 for submit <at> debbugs.gnu.org; Sat, 19 Oct 2024 19:09:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ngraves@HIDDEN>)
 id 1t2IZ0-0004YB-EB
 for guix-patches@HIDDEN; Sat, 19 Oct 2024 19:08:50 -0400
Received: from 7.mo550.mail-out.ovh.net ([87.98.158.110])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ngraves@HIDDEN>)
 id 1t2IYx-0001Wh-8Q
 for guix-patches@HIDDEN; Sat, 19 Oct 2024 19:08:50 -0400
Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.148.164])
 by mo550.mail-out.ovh.net (Postfix) with ESMTP id 4XWHLg53bxz1Sds
 for <guix-patches@HIDDEN>; Sat, 19 Oct 2024 23:08:43 +0000 (UTC)
Received: from ghost-submission-5b5ff79f4f-76zrf (unknown [10.110.118.207])
 by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 5B1D81FD3B;
 Sat, 19 Oct 2024 23:08:42 +0000 (UTC)
Received: from ngraves.fr ([37.59.142.109])
 by ghost-submission-5b5ff79f4f-76zrf with ESMTPSA
 id 0hMKNvo7FGfszAcAyyemgg
 (envelope-from <ngraves@HIDDEN>); Sat, 19 Oct 2024 23:08:42 +0000
Authentication-Results: garm.ovh; auth=pass
 (GARM-109S00321bbb768-c047-4df8-bb62-cf279e1965c2,
 FA5DCE6FD238C77E776584D68A2B59A15A69FDEC) smtp.auth=ngraves@HIDDEN
X-OVh-ClientIp: 90.110.172.34
From: Nicolas Graves <ngraves@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: clamav: Add release-monitoring-url property.
Date: Sun, 20 Oct 2024 01:08:39 +0200
Message-ID: <20241019230841.993-1-ngraves@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 4322048271422841570
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: 0
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehiedgudekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdelgeffjeejvedvueettdekgfeivdduieefleefhfehvdfgteevfefgleejieehnecuffhomhgrihhnpegtlhgrmhgrvhdrnhgvthdpghhithhhuhgsrdgtohhmnecukfhppeduvdejrddtrddtrddupdeltddruddutddrudejvddrfeegpdefjedrheelrddugedvrddutdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopehguhhigidqphgrthgthhgvshesghhnuhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht
DKIM-Signature: a=rsa-sha256; bh=hX6jNDNDz6xu5RJNheR6n6jQQVI8n/atkvV6F6jK6rQ=; 
 c=relaxed/relaxed; d=ngraves.fr; h=From;
 s=ovhmo4487190-selector1; t=1729379323; v=1;
 b=qOqOp0EDF4BBSh4eKf6DZFqkN/eexYc9F88cdpbIdSbWp4+7aJpqWOFijtFa9uXgrUwGYVES
 FCpt6PDLgrkmBI0lfejdgOvDpbbXic2m/IftAZsFNre2NRQkXD7B8ABA8g3w920BZMBx19HYbfO
 ZGC1mJiU/GK4rHiYBDsOxmopx9hpnMO7j/2v8eymuyFEjTvBo8K+J9nuXWTx5LzqMySrUX9b0Qf
 tKi6sh0E463i4B8RONV7O24sCne/9CcDlZHphI0B2JvWfyFmyITPj/GkDGJoWMpAFau2xR8Dhvx
 W5AaFfMmOH9qi8yghTJf5duWeCJO+0rZoA+44SceuetsA==
Received-SPF: pass client-ip=87.98.158.110; envelope-from=ngraves@HIDDEN;
 helo=7.mo550.mail-out.ovh.net
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,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Nicolas Graves <ngraves@HIDDEN>
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.3 (--)

* gnu/packages/antivirus.scm (clamav)
[source]<uri>: Add secondary release URI.
[properties]: Add release-monitoring-url.
---
 gnu/packages/antivirus.scm | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/antivirus.scm b/gnu/packages/antivirus.scm
index d061b18b11..2161d60398 100644
--- a/gnu/packages/antivirus.scm
+++ b/gnu/packages/antivirus.scm
@@ -48,8 +48,13 @@ (define-public clamav
     (version "0.103.11")
     (source (origin
               (method url-fetch)
-              (uri (string-append "https://www.clamav.net/downloads/production/"
-                                  "clamav-" version ".tar.gz"))
+              (uri
+               (list
+                (string-append "https://www.clamav.net/downloads/production/"
+                               "clamav-" version ".tar.gz")
+                (string-append "https://github.com/Cisco-Talos/clamav/"
+                               "releases/download/clamav-" version
+                               "/clamav-" version ".tar.gz")))
               (sha256
                (base32
                 "04by1g3p6awhi3j1y6zpwzmasdnvjgi6lwm34l2gadlwgkdfpmv1"))
@@ -144,6 +149,8 @@ (define-public clamav
 flexible and scalable multi-threaded daemon, a command line scanner, and
 advanced tool for automatic database updates.  The core of the package is an
 anti-virus engine available in the form of a shared library.")
+    (properties `((release-monitoring-url
+                   . "https://github.com/Cisco-Talos/clamav/releases")))
     (license (list license:gpl2+        ;ClamAV itself
                    license:lgpl2.1      ;libclamav/mspack.[ch]
                    license:public-domain ;libclamav/7z/*, libclamav/rijndael.[ch], etc...
-- 
2.46.0





Acknowledgement sent to Nicolas Graves <ngraves@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#73896; 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: Sun, 12 Jan 2025 05:45:02 UTC

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