From patchwork Mon Sep 11 15:47:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hendursaga X-Patchwork-Id: 53733 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4CCED27BBE9; Mon, 11 Sep 2023 16:49:39 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 647DF27BBE2 for ; Mon, 11 Sep 2023 16:49:37 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfj9u-0002Vw-Fh; Mon, 11 Sep 2023 11:49:06 -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 ) id 1qfj9m-0002VI-QO for guix-patches@gnu.org; Mon, 11 Sep 2023 11:48:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfj9m-0005Sg-I5 for guix-patches@gnu.org; Mon, 11 Sep 2023 11:48:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfj9q-0005ux-FD for guix-patches@gnu.org; Mon, 11 Sep 2023 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65869] [PATCH] gnu: xxhash: Update to 0.8.2. Resent-From: Hendursaga Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Sep 2023 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65869@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169444729922553 (code B ref -1); Mon, 11 Sep 2023 15:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2023 15:48:19 +0000 Received: from localhost ([127.0.0.1]:54502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfj98-0005rd-I0 for submit@debbugs.gnu.org; Mon, 11 Sep 2023 11:48:19 -0400 Received: from lists.gnu.org ([2001:470:142::17]:36746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfj96-0005qo-DQ for submit@debbugs.gnu.org; Mon, 11 Sep 2023 11:48:17 -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 ) id 1qfj8r-0002OS-IN for guix-patches@gnu.org; Mon, 11 Sep 2023 11:48:03 -0400 Received: from sonic317-32.consmr.mail.ne1.yahoo.com ([66.163.184.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfj8n-0005JB-N4 for guix-patches@gnu.org; Mon, 11 Sep 2023 11:48:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1694447272; bh=DJKrUyW5jCfQGEwULqzsZtmowuXynimJxk9wOkFoXnA=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=Ev5DEvAfvni1LWLQMZV+7Lf/OWJ8tj636loALDgKHsPCqF0sh7CxBHkwj/JToF9vut2ej2M+ObrkrGH+GdBc8CXT9ra1l3Dc1chTRIHzYQEyb75yItL9RrDbsf8NLfN+uHxdrGlqL8EtExdL+YcxRnRcLPbxV2yTPQIN52N236ZmPmet9iDGXHw88MzmxjQz01zbXqHMWjUiF+D6d+dskyLR/KVfzQ2MA6AiYH6UNlbhZQwLWmxpBc4Gi6dTIvo0trLJ1yOW6oEG/IHwRO9EVkuOmtr8BhHZEsE/wgOyIT9St793gL2E3RBmcYy+39Yh8JGzdfc4qvaks25/E/FwTA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694447272; bh=KA2KdJs4bHa9xNFjVZ613bprsn5QEKigfnxg5KM66KN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=gD2qECwh01tIxWKPtFSkI9/1GfzsrqiURMO1w4P+Vq5OeMp58YxcqLAHEH/HZ86YuKXER1yl37ApJZ2mAUk9Kie4o+sKfSj8izv60JsO7m9zeRhqVRMgvefHxAEdN51B2X3R3TJQmYlEQJRPzJgIhYLbLjKmaWvEBsB1ldYa3dx9HWYyZK4QH/grDL7RJ44z35CUHeXvlcXySuiQZk0f0NhNUdPeyG5QGxQtoaV8fFV1AXhnImeZKITkhP87cj3zwL2NOnzwixivvhSiDhMCoBWq8hDhVMqxkeg395iCUET+5kJ63Xoxv/yaTI86bH2qFJTUI91tNjFamRUi0hA4Rw== X-YMail-OSG: 2SM.yQYVM1k94tg5LFpmnvB3.dZDm08fqLfWxvsTzDmt9J27gSkjb5U5qulyteB F1xrachc5zrTrtHZaE8yRQNRyM_v3ZHLmrmEDDyDpuplJAUkxuQ9lz_fWfahYqDzEeVdAi1HmQpv N0Su6hqADEf9lY5lzCF3yfH_vmukaYT97Vi0ZGxj0ciNeCLcYWOHYYKlxQHrlG23Y1MaBgMFrnpH pY_Q0G_cvI73WDQVTVjhNTsg_RjwmlDss0U2VTzUaFZKOPjX5Z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LSAILkrj7b4d7Jb nRYgilI3H.6tJHFpeRxFVJhQ.RH75QK9FTMW7bfbTW1st7dT37JZpBA.NusgqQxtHq4xN5mOYgra kMyRW4A2lh9EfJ0fkHrfbRHhzkg.PdU2yjZAf2Fi0ELzcK4v0MGPKBk8r_h8NzH1DY3jCBT9Ck36 aZBHT_0bqYE9GZni2NKn.NqB1pfKJJXskt5UDdIk5n7YzNhL1UU6ztwQHMhWWtXnfZWt8.z2xFaH 4sDNqa3WiufX8bRSic8Gcbt7PGRi6F2v4kxmBkxP6xaIBHMIr8TQM1EHjbG6ILwye7Na6_GssGbw DWA8J26rLiN3g8qT7hPhJ5dGCKN5QQ.5X3I7mCy5i7VLRWorTw4yRm34eCi304MpN9BlJvtl4kW7 GzAsAlRt12qlaz3y2o0v4RZj3bVcsd5sCbGqJHeUhGxPtKf9nS8oDTd1S30Ky76Eocg41lnaByiC O5tzLpqTOK8Tp.JTgs_ixt_AgB4nArljbwIntyo8b5Ly_PsFrfngn8ax2rygc5LgtUspBbCeeg5K jZZU1WtYd8SLruU8qMSrTbpU9LqQ02DfVVN3N74lWJyqqDHRGw4VNJuCQ1V0CkSRDYL7WjEKR16O sX.1U8dg1A.lOqfDC1IT.Sh35GjbeML2PiPlMpJ6NghfAsGc0QlGhCFspof_NY5GlthxXdszXM6F GmTqhEG2KwxWM7rvr_iXJMX2UPC4PFgeI7ccrjwbaxcdCyEmRtKQgtJ3ju0Pah_R7q7w2p1373zy PTGQace8sJAof6TS3aPWFr_.HtVvb1ef6taYTtNZqqylhQm_smK4HpWDQsUK8BMQx9uiQThOqzfj YBvVwUmA48wwMQE1IruLA9l_tDbM0ak5Xu.VQLFYrD9HVaf_yuGMuLyqx0m0dVGIWKA-- X-Sonic-MF: X-Sonic-ID: a6c793e8-e9fc-425a-b160-d9fcd6d4f2e5 Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.ne1.yahoo.com with HTTP; Mon, 11 Sep 2023 15:47:52 +0000 Received: by hermes--production-ne1-7b767b77cc-fbxjt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2f9e18bce83cfa020df019bee8c563e1; Mon, 11 Sep 2023 15:47:51 +0000 (UTC) Date: Mon, 11 Sep 2023 11:47:06 -0400 Message-Id: <4c5c02439c0e000ad59bbf512d5326fa249b726f.1694447118.git.hendursaga@aol.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 References: <4c5c02439c0e000ad59bbf512d5326fa249b726f.1694447118.git.hendursaga.ref@aol.com> Received-SPF: pass client-ip=66.163.184.43; envelope-from=hendursaga@aol.com; helo=sonic317-32.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hendursaga X-ACL-Warn: , Hendursaga via Guix-patches X-Patchwork-Original-From: Hendursaga via Guix-patches via From: Hendursaga Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/digest.scm (xxhash): Update to 0.8.2. [arguments]: Use Gexp. <#:phases>: Remove 'fix-man-page-links phase. [home-page]: Update URL. --- gnu/packages/digest.scm | 58 ++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 32 deletions(-) base-commit: 2eb6df537c36da8bf8e81ff698421f6fb1bfd1ab diff --git a/gnu/packages/digest.scm b/gnu/packages/digest.scm index 481771804b..9ed3b895a2 100644 --- a/gnu/packages/digest.scm +++ b/gnu/packages/digest.scm @@ -69,46 +69,40 @@ (define-public wyhash (define-public xxhash (package (name "xxhash") - ;; XXX Remove the 'fix-man-page-links phase when updating. - (version "0.8.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/Cyan4973/xxHash") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1h6080lvcr5mpbvy4fhb4i7wvhpy72nrixk3djmpai4hxq41hsnr")))) + (version "0.8.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Cyan4973/xxHash") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ljsmxcxfyxzxzk435qnjiyy441bgrxirn285lymyvv39nrwz1wj")))) (build-system gnu-build-system) (arguments - (list #:make-flags - #~(list #$(string-append "CC=" (cc-for-target)) - #$(match (or (%current-target-system) - (%current-system)) - ;; Detect vector instruction set at run time. - ((or "i686-linux" "x86_64-linux") "DISPATCH=1") - (_ "DISPATCH=0")) - "XXH_FORCE_MEMORY_ACCESS=1" ; improved performance with GCC - (string-append "prefix=" (assoc-ref %outputs "out"))) - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-man-page-links - ;; https://github.com/Cyan4973/xxHash/issues/647 - (lambda _ - (substitute* "Makefile" - (("ln -sf \\$\\(MAN\\)") - "ln -sf xxhsum.1")))) - (delete 'configure)))) ; no configure script - (home-page "https://cyan4973.github.io/xxHash/") + (list #:make-flags #~(list #$(string-append "CC=" + (cc-for-target)) + #$(match (or (%current-target-system) + (%current-system)) + ;; Detect vector instruction set at run time. + ((or "i686-linux" "x86_64-linux") + "DISPATCH=1") + (_ "DISPATCH=0")) + "XXH_FORCE_MEMORY_ACCESS=1" ;improved performance with GCC + (string-append "prefix=" + (assoc-ref %outputs "out"))) + #:phases #~(modify-phases %standard-phases + (delete 'configure)))) ;no configure script + (home-page "https://xxhash.com/") (synopsis "Extremely fast hash algorithm") (description "xxHash is an extremely fast non-cryptographic hash algorithm. It works at speeds close to RAM limits, and comes in both 32- and 64-bit flavours. The code is highly portable, and hashes of the same length are identical on all platforms (both big and little endian).") - (license (list license:bsd-2 ; xxhash library (xxhash.[ch]) - license:gpl2+)))) ; xxhsum.c + (license (list license:bsd-2 ;xxhash library (xxhash.[ch]) + license:gpl2+)))) ;xxhsum.c (define-public python-xxhash (package