From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WEIsAsYB3WNGFwEAbAwnHQ (envelope-from ) for ; Fri, 03 Feb 2023 13:44:54 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2F0dAsYB3WPQEQEA9RJhRA (envelope-from ) for ; Fri, 03 Feb 2023 13:44:54 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC74E91C8 for ; Fri, 3 Feb 2023 13:44:53 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNvQJ-0005lY-6w; Fri, 03 Feb 2023 07:44:11 -0500 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 1pNvQG-0005iO-80 for guix-patches@gnu.org; Fri, 03 Feb 2023 07:44:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pNvQF-0004ZG-W7 for guix-patches@gnu.org; Fri, 03 Feb 2023 07:44:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNvQF-0004La-S5 for guix-patches@gnu.org; Fri, 03 Feb 2023 07:44:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61253] [PATCH core-updates 15/19] gnu: font-dseg: Simplify "install" phase. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Feb 2023 12:44:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61253 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61253@debbugs.gnu.org Received: via spool by 61253-submit@debbugs.gnu.org id=B61253.167542821716542 (code B ref 61253); Fri, 03 Feb 2023 12:44:07 +0000 Received: (at 61253) by debbugs.gnu.org; 3 Feb 2023 12:43:37 +0000 Received: from localhost ([127.0.0.1]:36736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNvPl-0004Ie-Fl for submit@debbugs.gnu.org; Fri, 03 Feb 2023 07:43:37 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:44260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNvPe-0004FF-OA for 61253@debbugs.gnu.org; Fri, 03 Feb 2023 07:43:32 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 39E5168506 for <61253@debbugs.gnu.org>; Fri, 3 Feb 2023 12:43:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo07-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo07-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RJiqL91Itojo for <61253@debbugs.gnu.org>; Fri, 3 Feb 2023 12:43:20 +0000 (UTC) Received: from localhost.localdomain (23-233-96-72.cpe.pppoe.ca [23.233.96.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 952E66850B for <61253@debbugs.gnu.org>; Fri, 3 Feb 2023 12:43:20 +0000 (UTC) From: Simon South Date: Fri, 3 Feb 2023 07:43:12 -0500 Message-Id: <037c0b4bd82e3590131d4f344fb75161719ea694.1675425307.git.simon@simonsouth.net> X-Mailer: git-send-email 2.38.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675428293; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=xh42In49Iss3NqgbhMRgc7zV43Ro8sYcPq7Zl/iNiPk=; b=aLtmyasYS6u22zPRqXZJei8rV9TbxJxzHtpdqPh2TxX/iaXdRnJC4zYG6rYjUDzlXrd7xX zRJUJbncR4nHWFcDLOhycr2k24wKuXC4REz8W3O9g+vVfyNmQmXUHXZwMs1ZVw+cwkvQPv IwOexDYWwvR3CTkrTsS2MO/tlXcqVjzGi0q+dA0YqZ93tqt5O+t6xJ7hhsvZyr7XOvAlpP A+GzFHNWAg4UQgsyE4Q95yhPyrAoe4/43eob4LGnd8GcUVfJbc5gP/7vojIN2tgLlgnKYy z0+M2hAGOMNKIP2E6Vva628smsqsccUf2UG/N1rqxGUP7iTtdmBgIbXRqLi27g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675428293; a=rsa-sha256; cv=none; b=It8bHUQLJh0tThrxxLNj4svhxbKSB6N32AQhbj1TD3++ZmdggnO4EfColjdmFizROEDT/O jxqzSUJdcgXF4WCZ7rTpoUwj+faZtKKaQW5xz5ywMAmb7BIOzwRFNf+xFeKGDzwie1mpP3 AnDHtB9cOf0m/uUEzx0R7bDNmDcQf0Ve990y95fm7p/aU4SyEXCjZxG01GUPdyWDn2Koio zd93QnZJW4XojqAEWWNfW+6JTwXSnWiS7UWfXe2W5iwOdBf6vqdAtKJVh9kMoSUX/om/Ok TR0k4yJHDkeDI4a5UqswiWylhqWdCIxqkC0/6tSrl8k83+Mq+u3G4Vax62s4Bg== X-Migadu-Spam-Score: -1.77 X-Spam-Score: -1.77 X-Migadu-Queue-Id: DC74E91C8 Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-Migadu-Scanner: scn1.migadu.com X-TUID: L3YLqVwO/oP8 * gnu/packages/fonts.scm (font-dseg)[source]: Use url-fetch. [arguments]<#:phases>: Remove "with-directory-excursion" from "install" phase. --- gnu/packages/fonts.scm | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 3e9bd193fc..335ce9885f 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -2176,7 +2176,7 @@ (define-public font-dseg (version "0.46") (source (origin - (method url-fetch/zipbomb) + (method url-fetch) (uri (string-append "https://github.com/keshikan/DSEG/" "releases/download/v" version @@ -2194,13 +2194,9 @@ (define-public font-dseg (let* ((out (assoc-ref outputs "out")) (font-dir (string-append out "/share/fonts")) (truetype-dir (string-append font-dir "/truetype"))) - (with-directory-excursion - (string-append "fonts-DSEG_v" - (apply string-append (string-split ,version - #\.))) - (for-each (lambda (f) (install-file f truetype-dir)) - (find-files "." "\\.ttf$")) - #t))))))) + (for-each (lambda (f) (install-file f truetype-dir)) + (find-files "." "\\.ttf$")) + #t)))))) (home-page "https://www.keshikan.net/fonts-e.html") (synopsis "DSEG: 7-segment and 14-segment fonts") (description -- 2.39.1