From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wBYwNaQJ3mX9FQEA62LTzQ:P1 (envelope-from ) for ; Tue, 27 Feb 2024 17:11:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wBYwNaQJ3mX9FQEA62LTzQ (envelope-from ) for ; Tue, 27 Feb 2024 17:11:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="gKrcJ4V/"; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709050276; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=XnAFEEmC4+tmTRuTc1owOnIUUhyrH/Zt2ETDVrj4uxo=; b=VDVvY1v1S4QxhVw+0SeqTNkGCFUS2c4yAnG6Xw41mTjSEEGq5WGipZx4+VnXvK6hAlHKQp J7SRt3QALVA1pClCIQa/RkZY8QA7nyeQipm77LlIhW4Wcy3ui6+nIz4u48okeBV+wHcFDD 96A/wax9p08j+NYIBxpwEE4Pe6+iLmruaPbT+5oVOJpuHQuttI8n936Zl23sSceeVqBD8v JyGBgujvzILknddLTiVXg05tSQMejsUOJcp1dL0fGVVSMkhzeZ1nqHmqomKccP4+opOyk4 q4IIgh/85p0GkYIlJ9zbZtsZ7fFRJ6QmY6ioL1uXJW4a8Y5i4vjfCPc/T8rsFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="gKrcJ4V/"; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709050276; a=rsa-sha256; cv=none; b=aLXCmDMv3ZOLf8Vqt09123S230CsohepQUlKQ1mD0P/6/4uG9XP9L/dMPmz+i4h1/I6jZ4 vtSe3ViZKwtzO6q5p+qP6q8jtgpxeTg6o/RTs0xZAdtJo9Gz8c3Tw049MwekNdsZvEO7ro +dQk2MpvMQz9oqBgwr+3JY/91MR68swMHIXIkp+R4Z2059X/Np4NaGYMXNLB6lzo3+aEF2 WortWmS3A2jssoW+avWZF1WnOalvWMGQzksEoWhHT8TvrCAcLozV6yQf843cQxYyHRWbGd 2C86coFkCEN0K+ccHxcpAzLXCYS+7O5lVOFiCrMr8vAcOU4VogHv3R0Q1jAPfg== 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 82F147EF22 for ; Tue, 27 Feb 2024 17:11:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rf02T-0007p2-AB; Tue, 27 Feb 2024 11:10:41 -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 1rf02Q-0007o2-W6 for guix-patches@gnu.org; Tue, 27 Feb 2024 11:10:39 -0500 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 1rf02Q-0004cM-NC for guix-patches@gnu.org; Tue, 27 Feb 2024 11:10:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rf02o-0005vt-Mg; Tue, 27 Feb 2024 11:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69429] [PATCH 3/3] gnu: font-chiron-sung-hk: Split outputs. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: all_but_last@163.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 16:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69429 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69429@debbugs.gnu.org Cc: Hilton Chain , Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 69429-submit@debbugs.gnu.org id=B69429.170905022122645 (code B ref 69429); Tue, 27 Feb 2024 16:11:02 +0000 Received: (at 69429) by debbugs.gnu.org; 27 Feb 2024 16:10:21 +0000 Received: from localhost ([127.0.0.1]:35118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rf028-0005t3-HP for submit@debbugs.gnu.org; Tue, 27 Feb 2024 11:10:21 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:55260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rezrM-0005GB-2c for 69429@debbugs.gnu.org; Tue, 27 Feb 2024 10:59:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709049509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XnAFEEmC4+tmTRuTc1owOnIUUhyrH/Zt2ETDVrj4uxo=; b=gKrcJ4V//mAtJWpioH0HtY9SR75hWczVDGh67T8mcYwOHpOsKFiBfz3QM/Hwmqdx3+b2hP JnE11B6Nn7WVfC/0AI7j9JBTwf3VIOiX4sQTnVIQhyN0ZuB0tIDjVcON8nuP4z1VQoKyr2 22oBBfk9kiyW1pyrLKP/qsjZcy41ADpN435pg0NYlhXPvaqSjqIVoUPcdpGiJZJmEBjh9q 3yA7vW29xIisdiEgqGyJjKZabO/LRJ1ooCfz23GzkBJajD2737hGJQ+SfIIPkxZIxF2Fwu qDMjSlCCpWDVw4B5lKjhy1GWGPV2u9PysQh5gBeIqK0YMXTZ8bLf7TNbG91eWg== Date: Tue, 27 Feb 2024 23:58:23 +0800 Message-ID: <300bc46ba7044331916e7b89ec49267fcbda718d.1709046857.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: -- 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: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.41 X-Spam-Score: -4.41 X-Migadu-Queue-Id: 82F147EF22 X-TUID: HKcoJfEPcz2P * gnu/packages/fonts.scm (font-chiron-sung-hk)[arguments]: Split outputs. [outputs]: Add "otf" and "ttf". Change-Id: Id96bba47e8f9ae9404a528bcceab3e110a05db4e --- gnu/packages/fonts.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 73041ce79c..7b2cd7a396 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -3332,6 +3332,28 @@ (define-public font-chiron-sung-hk (base32 "1916bb834y4r4312g14zid7w3pbx1i70jcgkkfbf4z20grrj891m")))) (build-system font-build-system) + (arguments + (list #:modules + '((guix build font-build-system) + (guix build utils) + (srfi srfi-26)) + #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda _ + (let ((var-dir (string-append + #$output "/share/fonts/opentype")) + (otf-dir (string-append + #$output:otf "/share/fonts/opentype")) + (ttf-dir (string-append + #$output:ttf "/share/fonts/truetype"))) + (for-each (cut install-file <> var-dir) + (find-files "VAR" "\\.otf$")) + (mkdir-p (dirname otf-dir)) + (copy-recursively "OTF" otf-dir) + (mkdir-p (dirname ttf-dir)) + (copy-recursively "TTF" ttf-dir))))))) + (outputs '("out" "otf" "ttf")) (home-page "https://chiron-fonts.github.io/") (synopsis "Traditional Chinese Song typeface") (description -- 2.41.0