From patchwork Thu May 16 00:46:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: James Smith X-Patchwork-Id: 64480 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 3BB9427BBEC; Thu, 16 May 2024 01:48:26 +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,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 B09ED27BBE2 for ; Thu, 16 May 2024 01:48:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7PHy-0001v6-PB; Wed, 15 May 2024 20:48: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 1s7PHt-0001uH-IX for guix-patches@gnu.org; Wed, 15 May 2024 20:48:02 -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 1s7PHs-0004Nd-Q6 for guix-patches@gnu.org; Wed, 15 May 2024 20:48:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7PHu-0001w8-Hv; Wed, 15 May 2024 20:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70971] [PATCH 1/3] gnu: dhewm3: Use git repository. Resent-From: James Smith Original-Sender: "Debbugs-submit" Resent-CC: adam.faiz@disroot.org, liliana.prikler@gmail.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Thu, 16 May 2024 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70971 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70971@debbugs.gnu.org Cc: James Smith , Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Adam Faiz , Liliana Marie Prikler , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 70971-submit@debbugs.gnu.org id=B70971.17158204757416 (code B ref 70971); Thu, 16 May 2024 00:48:02 +0000 Received: (at 70971) by debbugs.gnu.org; 16 May 2024 00:47:55 +0000 Received: from localhost ([127.0.0.1]:45389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7PHm-0001vY-Lx for submit@debbugs.gnu.org; Wed, 15 May 2024 20:47:54 -0400 Received: from layka.disroot.org ([178.21.23.139]:54780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7PHk-0001vS-O3 for 70971@debbugs.gnu.org; Wed, 15 May 2024 20:47:53 -0400 X-Virus-Scanned: SPAM Filter at disroot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1715820469; bh=DjurhqC0MYlKWT8gDBzEKBWSF8O2xt7btH6D5bWC+Tc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=AgOcfaondbBixBFdYbctbx9GvLQuPDqtVpowJYT0IxWP5WweZTEi14JNI9xjVKfuo 2Fd6Ipr2kTygb4YPVynlxqikSYOPVV1S3J26o42s+BgsEty10uWPZncu/C2RkX4ZlX 2Fj4xpGcIupFt09Gj2DwwEDQpygk+sILiqm18yrrMmg0TV+ZHsgFW2Phh3DWH5TETM vwqozxpry+f3q8Gz4XPUOqi63BDn2k005YTeeKqJEKURy/2eSjptKGaT3uIku7VzJ3 gbqqbCdgMvxU0RK5SvAuoVyz2uInN+p2NyN55P4rfw2ihsFrjC2SdQLlxhYu5EX4mf ENskNM3H6u+sw== Date: Wed, 15 May 2024 17:46:39 -0700 Message-ID: In-Reply-To: References: MIME-Version: 1.0 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: James Smith X-ACL-Warn: , James Smith via Guix-patches X-Patchwork-Original-From: James Smith via Guix-patches via From: James Smith 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/game-development.scm (dhewm3) [source]: Use git repository instead of downloading a tarball from GitHub. Change-Id: I81ff5de0687221d7eec64b0165dbf10c2d041260 --- gnu/packages/game-development.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm index bf0f984ec7..86d3cc0a06 100644 --- a/gnu/packages/game-development.scm +++ b/gnu/packages/game-development.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 dan ;;; Copyright © 2023 John Kehayias +;;; Copyright © 2024 James Smith ;;; ;;; This file is part of GNU Guix. ;;; @@ -3099,13 +3100,13 @@ (define-public dhewm3 (name "dhewm3") (version "1.5.2") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/dhewm/dhewm3/releases/download/" - version "/dhewm3-" version "-src.tar.xz")) + (method git-fetch) + (uri (git-reference (url "https://github.com/dhewm/dhewm3") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "10p0w1x5wx9b7d8mzvb6yqjia9prhkjwz04vbvphy8p383r33am6")))) + "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; No tests.