From patchwork Sun May 17 19:44:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anadon X-Patchwork-Id: 22182 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 31B3C27BBE3; Sun, 17 May 2020 20:45:10 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 ESMTP id DF25A27BBE1 for ; Sun, 17 May 2020 20:45:09 +0100 (BST) Received: from localhost ([::1]:60508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaPDh-0002NC-Cy for patchwork@mira.cbaines.net; Sun, 17 May 2020 15:45:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaPDa-0002Kg-5f for guix-patches@gnu.org; Sun, 17 May 2020 15:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaPDZ-0006lp-RQ for guix-patches@gnu.org; Sun, 17 May 2020 15:45:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaPDZ-0002HY-P6 for guix-patches@gnu.org; Sun, 17 May 2020 15:45:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41368] [PATCH] Moved gettext to use git to better conform to better bootstrapping, better integration with Software Heritage, and what looks like emerging best practices for package sources. Resent-From: joshua.r.marshall.1991@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 May 2020 19:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41368 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41368@debbugs.gnu.org Cc: Josh Marshall X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15897446798712 (code B ref -1); Sun, 17 May 2020 19:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 May 2020 19:44:39 +0000 Received: from localhost ([127.0.0.1]:44804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaPDC-0002GR-FR for submit@debbugs.gnu.org; Sun, 17 May 2020 15:44:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:57794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaPDA-0002GG-ET for submit@debbugs.gnu.org; Sun, 17 May 2020 15:44:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaPDA-0001Yg-5B for guix-patches@gnu.org; Sun, 17 May 2020 15:44:36 -0400 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]:39194) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaPD8-0006iE-NB for guix-patches@gnu.org; Sun, 17 May 2020 15:44:35 -0400 Received: by mail-qv1-xf2c.google.com with SMTP id d1so3742403qvl.6 for ; Sun, 17 May 2020 12:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PBq3/EyK5moGhz6Fzq2IKXGr6/g8qPhLLf5VaAO3E2o=; b=CnUxh5P5wmuutm/Vx6IXmGQ0VvCa4k3RVXx9ScgWFG0UZJzxS5K/Okp5OI+IjQk2Ux OZJL9Z9o5FWHKlRpRi1Io5oiI8NVdM/sVLBFS7eIK5ma+d4O/DYsk7eeAH7PA/2b2a4c eV1qIJS8iAEFHbnMHrn3hZK0YqRQwZ4oTBeewvO6yAZDH6RpakK9IaleTdAszpNJH8Bl 67gnsthfmQgQ2oNjauZd+nsIqXIRkiKZXw+9Q8+xlORCvv31Hcrtz8VsIhfzbPhKQ7o6 4IlRTyp56i4dmPNFAN2KVS3YEkl7yAqXRCU36JPgv2JChW9xDCbDthpUJESkUFBuNblY ulhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PBq3/EyK5moGhz6Fzq2IKXGr6/g8qPhLLf5VaAO3E2o=; b=A5Y/LWfIzYU1oxh0ixD8SehmMMyj2a+yRMHZTWdBtDIn/9ryHWPOcgZ0/QEwek1q8O Y3reQo1usLP70RY1CZvXPoZhOjGImK8VTKqLpWDI6R4mXcO7YZuXZf4NQrox9+mxEBIp ue8J4ABEDy1m6HzgcayOM8mk7VUNM1vUYbPABChW79RHPEbyQ6CtH9eM9fmS40Q78j7N 0NfgvQkRfhryTZXKkhep/bgK5a7OJ8pYes9+M/W8+xJHgnz+7Adu23rYhLKHVbH8TgJ2 +Oisa/nK7S6fkWddyJSbI+02yzlArp+cz0qrvhsyl/s4PIORhQsAQuXIviNap5GPEAZq yV+g== X-Gm-Message-State: AOAM532gu41ei8k46nMTWOmZDFBZMKVl6ly+o9Ph05jX6Wh8uxLm6FTf FTu81y7PtRbydDao4sKlrpVV05BXC/sEBA== X-Google-Smtp-Source: ABdhPJzxObv8Ca9lVDrbviXwpDo7w4LDykfMyrIsvQ2A98zMO+SOkhtUBgGnDUqLXC6JT5cJ70gHxQ== X-Received: by 2002:ad4:5843:: with SMTP id de3mr13264048qvb.195.1589744673452; Sun, 17 May 2020 12:44:33 -0700 (PDT) Received: from localhost.localdomain (c-73-186-18-223.hsd1.ct.comcast.net. [73.186.18.223]) by smtp.gmail.com with ESMTPSA id n7sm5097268qtr.40.2020.05.17.12.44.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 May 2020 12:44:32 -0700 (PDT) From: joshua.r.marshall.1991@gmail.com Date: Sun, 17 May 2020 15:44:00 -0400 Message-Id: <20200517194400.349638-1-joshua.r.marshall.1991@gmail.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=joshua.r.marshall.1991@gmail.com; helo=mail-qv1-xf2c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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 From: Josh Marshall --- gnu/packages/gettext.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 202acf25d4..19920aa210 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -30,6 +30,7 @@ #:use-module (gnu packages) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system perl) #:use-module (gnu packages docbook) @@ -46,12 +47,13 @@ (name "gettext-minimal") (version "0.20.1") (source (origin - (method url-fetch) - (uri (string-append "mirror://gnu/gettext/gettext-" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://git.savannah.gnu.org/git/gettext.git") + (commit (string-append "v" version)))) (sha256 - (base32 - "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6")))) + (base32 + "0p3zwkk27wm2m2ccfqm57nj7vqkmfpn7ja1nf65zmhz8qqs5chb6")))) (build-system gnu-build-system) (outputs '("out" "doc")) ;9 MiB of HTML