From patchwork Mon Sep 12 10:57:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: M X-Patchwork-Id: 42521 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 EFE4127BBEA; Mon, 12 Sep 2022 11:58:48 +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, URIBL_BLOCKED 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 A686027BBE9 for ; Mon, 12 Sep 2022 11:58:48 +0100 (BST) Received: from localhost ([::1]:43254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXh9L-0001Tb-LV for patchwork@mira.cbaines.net; Mon, 12 Sep 2022 06:58:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39806) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXh8c-0001Ri-Sb for guix-patches@gnu.org; Mon, 12 Sep 2022 06:58:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXh8b-0004KR-RW for guix-patches@gnu.org; Mon, 12 Sep 2022 06:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXh8b-00027s-Ms for guix-patches@gnu.org; Mon, 12 Sep 2022 06:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57747] [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Sep 2022 10:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57747 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57747@debbugs.gnu.org Cc: Maxime Devos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16629802458115 (code B ref -1); Mon, 12 Sep 2022 10:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Sep 2022 10:57:25 +0000 Received: from localhost ([127.0.0.1]:44258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXh80-00026p-Tr for submit@debbugs.gnu.org; Mon, 12 Sep 2022 06:57:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:35620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXh7z-00026h-Go for submit@debbugs.gnu.org; Mon, 12 Sep 2022 06:57:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXh7v-0000Ln-Sy for guix-patches@gnu.org; Mon, 12 Sep 2022 06:57:22 -0400 Received: from xavier.telenet-ops.be ([2a02:1800:120:4::f00:14]:48494) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXh7s-0004As-O4 for guix-patches@gnu.org; Mon, 12 Sep 2022 06:57:19 -0400 Received: from localhost.localdomain ([188.189.44.112]) by xavier.telenet-ops.be with bizsmtp id Jyx8280052RCsK801yx9bG; Mon, 12 Sep 2022 12:57:11 +0200 From: Maxime Devos Date: Mon, 12 Sep 2022 12:57:06 +0200 Message-Id: <20220912105706.3699-1-maximedevos@telenet.be> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1662980232; bh=88NkqM/C3/A3o+wWT/3g1kmZbWwNQBy/cPq3CFEGdk4=; h=From:To:Cc:Subject:Date; b=A4oc60t98g30IgFmcDaKabp/eUQ/ZnrbLZWnfjnEzlQOXoTyvj39Pu6Cd8nIitEfe oMQ2s8oNmhcx5gB9Prol5Acz65Oeh7NsZ0hkE+eHl6gV747J3tg3xa6oNEwkIKy6/V k/FJb0ZwOwXvFUuuhw6hkodL5/Y4tWBQfJ6F5FzR2C83wpRzDF6jQkTH+ikIIxr9Eo kgpsjCQWlaj3lDt4T97CWi2IFBSH8t/XHqw4hCjJivJyw4HMtxv/g67R4S3bPKmgvW gN163wvd4yALFGHLTaByhziIWfbvUlKvF22fTd6y32YXwEyfvGhwpQzIVJC/ZrSZ2q uoOQkUjHgxMQA== Received-SPF: pass client-ip=2a02:1800:120:4::f00:14; envelope-from=maximedevos@telenet.be; helo=xavier.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-libloading-0.7)[source]: Add snippet. (rust-libloading-0.6)[source]: Inherit from rust-liboading-0.7's source. (rust-libloading-0.5)[source]: Likewise. (rust-libloading-0.3)[source]: Likewise. --- gnu/packages/crates-io.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) Number of dependents is unchecked (so not sure if core-updates is appropriate), I intend to wait for https://qa.guix.gnu.org to inform me (guix refresh -l cannot be used meaningfully on rust packages currently). base-commit: d08411ffd0a36a6b67a238be69d32c9f74101389 prerequisite-patch-id: 7f0d22c4b2743e932cf97342abd5bac2e7bbdaa6 prerequisite-patch-id: 87e197146284fb770478e0c2d73027e68ee3db6d diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index db820a3d24..44b6f01c36 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -31737,7 +31737,11 @@ (define-public rust-libloading-0.7 (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g")))) + "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g")) + (modules '((guix build utils))) + (snippet + ;; Remove binaries. + '(for-each delete-file (find-files "." "\\.dll$"))))) (build-system cargo-build-system) (arguments `(#:cargo-inputs @@ -31761,7 +31765,7 @@ (define-public rust-libloading-0.6 (version "0.6.7") (source (origin - (method url-fetch) + (inherit (package-source rust-libloading-0.7)) (uri (crate-uri "libloading" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 @@ -31783,7 +31787,7 @@ (define-public rust-libloading-0.5 (version "0.5.2") (source (origin - (method url-fetch) + (inherit (package-source rust-libloading-0.7)) (uri (crate-uri "libloading" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 @@ -31811,7 +31815,7 @@ (define-public rust-libloading-0.3 (version "0.3.4") (source (origin - (method url-fetch) + (inherit (package-source rust-libloading-0.7)) (uri (crate-uri "libloading" version)) (file-name (string-append name "-" version ".tar.gz"))