From patchwork Sun Sep 18 22:09:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arun Isaac X-Patchwork-Id: 42722 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 8210A27BBEA; Sun, 18 Sep 2022 23:10:28 +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=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 4695427BBE9 for ; Sun, 18 Sep 2022 23:10:28 +0100 (BST) Received: from localhost ([::1]:45392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oa2Ud-0000ux-DS for patchwork@mira.cbaines.net; Sun, 18 Sep 2022 18:10:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oa2UE-0000uj-5O for guix-patches@gnu.org; Sun, 18 Sep 2022 18:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52388) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oa2UD-0002zv-TB for guix-patches@gnu.org; Sun, 18 Sep 2022 18:10:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oa2UD-0005fL-Hn for guix-patches@gnu.org; Sun, 18 Sep 2022 18:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57918] [PATCH] gnu: font-ibm-plex: Use git source. Resent-From: Arun Isaac Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Sep 2022 22:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57918 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57918@debbugs.gnu.org Cc: Arun Isaac X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166353899821764 (code B ref -1); Sun, 18 Sep 2022 22:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Sep 2022 22:09:58 +0000 Received: from localhost ([127.0.0.1]:51466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa2UA-0005ey-4f for submit@debbugs.gnu.org; Sun, 18 Sep 2022 18:09:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:56806) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oa2U7-0005eo-St for submit@debbugs.gnu.org; Sun, 18 Sep 2022 18:09:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oa2U7-0000uW-OY for guix-patches@gnu.org; Sun, 18 Sep 2022 18:09:55 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:35212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oa2U4-0002zE-7t for guix-patches@gnu.org; Sun, 18 Sep 2022 18:09:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=systemreboot.net; s=default; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6u3mWT3aeBKDBa+2PNQId/MG1dwkiUwBGO1cDGQtlEc=; b=cRYlKdfOfDTNcpplgaNVfs7Jfv MCCQf645OcxhPsj6CbbbZ6w3BIBfSKRMd8bGKPwhb38N575LEFfaHAisu0wVSzxGX2Kyw3bPNj7Kl zqiDTFfAZkyexOARyqQsbfZ9hmhOB2KPgp6XgwpPNmuCpA8S4RgnRyH4rSbOGZ+Pv+P+x0JmU5BDA rKnAyvFF+aPNqnfSm+S+kqk580s8Riir0HTBJBD3rbmwNmK3xKrHnwwlP5IAgcuYIT+NhHAKkWQkB gx4KWfONn+4JmMLZebRknxhWFBWknv2WnY/d5/P24ZnlRVxHvuLq8x56EL/w3iKQ448vQWQ/nNTqW +JPZTsTA==; Received: from [192.168.2.1] (port=39072 helo=localhost.localdomain) by systemreboot.net with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oa2Tv-00058s-21; Mon, 19 Sep 2022 03:39:43 +0530 From: Arun Isaac Date: Mon, 19 Sep 2022 03:39:37 +0530 Message-Id: <20220918220937.7722-1-arunisaac@systemreboot.net> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 Received-SPF: pass client-ip=139.59.75.54; envelope-from=arunisaac@systemreboot.net; helo=mugam.systemreboot.net 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, 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/fonts.scm (font-ibm-plex)[source]: Use git source. --- gnu/packages/fonts.scm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index cf3892ae8d..83e3a2c945 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -118,14 +118,18 @@ (define-public font-ibm-plex (package (name "font-ibm-plex") (version "6.1.1") + ;; We prefer git-fetch since it lets us get the opentype, truetype and web + ;; fonts all in one download. The zip archive releases separate the + ;; opentype, truetype and web fonts into three separate archives. (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/IBM/plex/releases/download/" - "v" version "/OpenType.zip")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/IBM/plex") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1z9nxac9ha6gqz5yvfy5lp6hyl39f8f8hdrw3llcp89rdpjfqdn9")))) + "1jxyd0zl7jssn7mwz8x5xvjmw59x4mn82s2kywf9583k1pg949k1")))) (build-system font-build-system) (home-page "https://github.com/IBM/plex") (synopsis "IBM Plex typeface")