From patchwork Fri Feb 3 12:43:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon South X-Patchwork-Id: 46641 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 DC9EE27BBEB; Fri, 3 Feb 2023 12:45:05 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,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 AE64527BBE9 for ; Fri, 3 Feb 2023 12:45:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pNvQI-0005kM-0k; Fri, 03 Feb 2023 07:44:10 -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 1pNvQC-0005hs-TG 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 1pNvQC-0004YK-B3 for guix-patches@gnu.org; Fri, 03 Feb 2023 07:44:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pNvQC-0004KW-79 for guix-patches@gnu.org; Fri, 03 Feb 2023 07:44:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61253] [PATCH core-updates 12/19] gnu: font-go: Install license files. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 03 Feb 2023 12:44:04 +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.167542821416468 (code B ref 61253); Fri, 03 Feb 2023 12:44:04 +0000 Received: (at 61253) by debbugs.gnu.org; 3 Feb 2023 12:43:34 +0000 Received: from localhost ([127.0.0.1]:36717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNvPi-0004HX-JW for submit@debbugs.gnu.org; Fri, 03 Feb 2023 07:43:34 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:44238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pNvPe-0004Er-15 for 61253@debbugs.gnu.org; Fri, 03 Feb 2023 07:43:30 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 9E7C36850C for <61253@debbugs.gnu.org>; Fri, 3 Feb 2023 12:43:20 +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 0F6BS5FP1q5c 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 3CDC868508 for <61253@debbugs.gnu.org>; Fri, 3 Feb 2023 12:43:20 +0000 (UTC) From: Simon South Date: Fri, 3 Feb 2023 07:43:09 -0500 Message-Id: <9bfd9fc244ba3ad5e7b413aa58aa23d04714a52c.1675425307.git.simon@simonsouth.net> X-Mailer: git-send-email 2.38.0 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: , 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/fonts.scm (font-go)[arguments]<#:license-file-regexp>: Add. <#:phases>: Add "enter-license-directory" phase. --- gnu/packages/fonts.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 29c26fa6b3..0d373c7393 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1787,12 +1787,16 @@ (define-public font-go "1aq6mnjayks55gd9ahavk6jfydlq5lm4xm0xk4pd5sqa74p5p74d")))) (build-system font-build-system) (arguments - `(#:phases + `(#:license-file-regexp "^(LICENSE|PATENTS)$" + #:phases (modify-phases %standard-phases (add-before 'install 'chdir (lambda _ (chdir "font/gofont/ttfs") - #t))))) + #t)) + (add-before 'install-license-files 'enter-license-directory + (lambda _ + (chdir "../../..")))))) (home-page "https://blog.golang.org/go-fonts") (synopsis "The Go font family") (description