From patchwork Tue Apr 13 19:22:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 28485 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 B069427BC74; Tue, 13 Apr 2021 20:23:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6957E27BC73 for ; Tue, 13 Apr 2021 20:23:25 +0100 (BST) Received: from localhost ([::1]:43504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWOdA-0002Xv-Ex for patchwork@mira.cbaines.net; Tue, 13 Apr 2021 15:23:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57734) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWOco-0002Xe-DO for guix-patches@gnu.org; Tue, 13 Apr 2021 15:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWOco-0001dQ-5W for guix-patches@gnu.org; Tue, 13 Apr 2021 15:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWOcn-0004r3-Ti for guix-patches@gnu.org; Tue, 13 Apr 2021 15:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47756] [PATCH] gnu: guile-git: Update to 0.5.0. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 13 Apr 2021 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47756 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 47756@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161834178018640 (code B ref -1); Tue, 13 Apr 2021 19:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2021 19:23:00 +0000 Received: from localhost ([127.0.0.1]:60850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWOcm-0004qZ-7g for submit@debbugs.gnu.org; Tue, 13 Apr 2021 15:23:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:45108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWOck-0004qR-QP for submit@debbugs.gnu.org; Tue, 13 Apr 2021 15:22:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57720) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWOck-0002X7-JA for guix-patches@gnu.org; Tue, 13 Apr 2021 15:22:58 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:45762 helo=mail.yoctocell.xyz) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWOci-0001Wd-G4 for guix-patches@gnu.org; Tue, 13 Apr 2021 15:22:58 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1618341765; bh=uOpbI4BP9NLJPBi9Mo3HrnpVpszBIj7mu8KwbQYEs2s=; h=From:To:Subject:Date; b=SRIMPQ4OsE05KT/Pg+oJOkKVEk1mwmAhU6g/wqnPYiPdGea0widiOevoMADqzNqGT XPPofAe/d3P7kd+9IA3BeU8fT7uPonjmOUP2yDffDMoWdMooLB0JpkCsLe5/9tvyQ8 ij4gN4Aaej7QUfQQdJKq4+soANlxKZ4NRHvh0aSM= Message-Id: <9456fb365b313b1553317db1cccdedcf58e29182.1618340546.git.public@yoctocell.xyz> Date: Tue, 13 Apr 2021 21:22:44 +0200 MIME-Version: 1.0 Received-SPF: pass client-ip=87.96.130.155; envelope-from=public@yoctocell.xyz; helo=mail.yoctocell.xyz X-Spam_score_int: 14 X-Spam_score: 1.4 X-Spam_bar: + X-Spam_report: (1.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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/guile.scm (guile-git): Update to 0.5.0. [source]: Use ‘git-fetch’ instead of ‘url-fetch’. [native-inputs]: Add autoconf, automake, and texinfo. --- I used ‘git-fetch’ because it is more flexible than ‘url-fetch’, users can for example use package transformations to easily use a desired commit/branch. Because the distributed tarball includes files that are generated by running ‘./configure’, users would then have to manually add some native-inputs to make it build with a custom version of the package (this has happened to me a few times). gnu/packages/guile.scm | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) base-commit: 82543e9649da2da9a5285ede4ec4f718fd740fcb diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index 0dad390275..76741504c8 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -776,21 +776,24 @@ type system, elevating types to first-class status.") (define-public guile-git (package (name "guile-git") - (version "0.4.0") + (version "0.5.0") (home-page "https://gitlab.com/guile-git/guile-git.git") (source (origin - (method url-fetch) - (uri (string-append "https://gitlab.com/guile-git/guile-git/uploads/" - "2600bb0dfdfb00bfbe46811dccad51d8/guile-git-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/guile-git/guile-git") + (commit (string-append "v" version)))) (sha256 (base32 - "1kxyg9x2aa1pg69cl48wysq0pbxvwfahy1xpl5ab6p8babhf7kic")))) + "1hqw3jy81cnsgybsbnfvwvhv1bajwq662hikkrr6dcgky6yspsxx")))) (build-system gnu-build-system) (arguments `(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings (native-inputs `(("pkg-config" ,pkg-config) + ("autoconf" ,autoconf) + ("automake" ,automake) + ("texinfo" ,texinfo) ("guile" ,guile-3.0) ("guile-bytestructures" ,guile-bytestructures))) (inputs