From unknown Fri Sep 12 13:51:01 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#35984 <35984@debbugs.gnu.org> To: bug#35984 <35984@debbugs.gnu.org> Subject: Status: [PATCH 2/9] gnu: Add swap-bytes. Reply-To: bug#35984 <35984@debbugs.gnu.org> Date: Fri, 12 Sep 2025 20:51:01 +0000 retitle 35984 [PATCH 2/9] gnu: Add swap-bytes. reassign 35984 guix-patches submitter 35984 Pierre Neidhardt severity 35984 normal tag 35984 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed May 29 09:30:10 2019 Received: (at submit) by debbugs.gnu.org; 29 May 2019 13:30:10 +0000 Received: from localhost ([127.0.0.1]:58333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVyef-0002bH-Jt for submit@debbugs.gnu.org; Wed, 29 May 2019 09:30:09 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVyed-0002aS-Jk for submit@debbugs.gnu.org; Wed, 29 May 2019 09:30:08 -0400 Received: from lists.gnu.org ([209.51.188.17]:55781) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVyeY-0006eK-GG for submit@debbugs.gnu.org; Wed, 29 May 2019 09:30:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVyeX-00042w-8z for guix-patches@gnu.org; Wed, 29 May 2019 09:30:02 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVyeW-0006cG-6r for guix-patches@gnu.org; Wed, 29 May 2019 09:30:01 -0400 Received: from relay11.mail.gandi.net ([217.70.178.231]:53767) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hVyeW-0006aK-1G for guix-patches@gnu.org; Wed, 29 May 2019 09:30:00 -0400 Received: from localhost.localdomain (lfbn-1-4117-19.w92-169.abo.wanadoo.fr [92.169.116.19]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id E7377100014 for ; Wed, 29 May 2019 13:29:56 +0000 (UTC) From: Pierre Neidhardt To: guix-patches@gnu.org Subject: [PATCH 2/9] gnu: Add swap-bytes. Date: Wed, 29 May 2019 15:29:49 +0200 Message-Id: <20190529132956.7454-2-mail@ambrevar.xyz> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190529132956.7454-1-mail@ambrevar.xyz> References: <20190529132917.7142-1-mail@ambrevar.xyz> <20190529132956.7454-1-mail@ambrevar.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.178.231 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) * gnu/packages/lisp.scm (cl-swap-bytes, ecl-swap-bytes, sbcl-swap-bytes): New variables. --- gnu/packages/lisp.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 27a868c559..537150dd61 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -5350,3 +5350,39 @@ decoding routines for IDNA, the International Domain Names in Applications.") (define-public ecl-idna (sbcl-package->ecl-package sbcl-idna)) + +(define-public sbcl-swap-bytes + (package + (name "sbcl-swap-bytes") + (build-system asdf-build-system/sbcl) + (version "1.1") + (home-page "https://github.com/sionescu/swap-bytes") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qysbv0jngdfkv53y874qjhcxc4qi8ixaqq6j8bzxh5z0931wv55")))) + (inputs + `(("trivial-features" ,sbcl-trivial-features))) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (arguments + ;; TODO: Tests fail, why? + `(#:tests? #f)) + (synopsis "Efficient endianness conversion for Common Lisp") + (description "This Common Lisp library provides optimized byte-swapping +primitives. The library can change endianness of unsigned integers of length +1/2/4/8. Very useful in implementing various network protocols and file +formats.") + (license license:expat))) + +(define-public cl-swap-bytes + (sbcl-package->cl-source-package sbcl-swap-bytes)) + +(define-public ecl-swap-bytes + (sbcl-package->ecl-package sbcl-swap-bytes)) -- 2.21.0 From debbugs-submit-bounces@debbugs.gnu.org Wed May 29 10:08:45 2019 Received: (at control) by debbugs.gnu.org; 29 May 2019 14:08:45 +0000 Received: from localhost ([127.0.0.1]:59474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVzG1-00040U-2q for submit@debbugs.gnu.org; Wed, 29 May 2019 10:08:45 -0400 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:33961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVzFy-00040E-9Z for control@debbugs.gnu.org; Wed, 29 May 2019 10:08:43 -0400 X-Originating-IP: 92.169.116.19 Received: from bababa (lfbn-1-4117-19.w92-169.abo.wanadoo.fr [92.169.116.19]) (Authenticated sender: pierre@atlas.engineer) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 41AFF240017 for ; Wed, 29 May 2019 14:08:40 +0000 (UTC) From: Pierre Neidhardt To: control@debbugs.gnu.org Subject: control message for bug #35984 Date: Wed, 29 May 2019 16:08:38 +0200 Message-ID: <87imttjqu1.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) --=-=-= Content-Type: text/plain close 35984 --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --==-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlzukmYACgkQm9z0l6S7 zH9FQggAlXO49pygjkEd9AVeBV28Im3e15wNzEFqEMeebu570b6u7qpOBqaRc2X1 elLwz5/59tbIY7RRHcg1b482pPDLsKk7gwMsgBuIDaqjDV5dJeRItZsHdqIZ6BuI fupd5S+jz6IDaNgTvecnPKJHYuoiWbysDvql8i2jfF+9HfQZERJhpHS3qLl84lSI xblUWS+voZiiFR02XrKH0W3QSiUgkQudb5tz2PVo/NtGByID+T1AUWVLc6Icmwdr c9oqV8cMvK7XXcqdPVlW6da/mFqLLbyYDpGBAKvDxl10EUNRZIav8T1h3ppfl4v2 lPuUsgqJH3RG7HR5m7KPJg5abSfHmQ== =+DrX -----END PGP SIGNATURE----- --==-=-=-- --=-=-=-- From unknown Fri Sep 12 13:51:01 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 27 Jun 2019 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator