From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MPTyJA+k3mXFXwAAe85BDQ:P1 (envelope-from ) for ; Wed, 28 Feb 2024 04:10:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MPTyJA+k3mXFXwAAe85BDQ (envelope-from ) for ; Wed, 28 Feb 2024 04:10:07 +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=KURk4Jm3; 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=1709089807; 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=O9fuj3yWabPK2KCZDnxkwSN+1TnJYc3uzvS9nSWb7fA=; b=ALP+D7KBf0/AwU2a7ZUayL1JyiDqy8+ZGSJZtgewIgTetmQ35z5Ku0CMpeeC2JDqJ2ijnm wBDbAmEi4PLPbAC/sy/tU3vKxWuw32ckKyzqaocGy8cPRyK9tBFBIap5QNkOzCYWR2qb+9 QNbQSn89iEu/xYLandkPQmHh/WVjD7BWqqDE7vJSa3wPIf61+gBgd4/IV4OpxBcAvqAbIh 8T0x83azOdJlvdmPGumiRTaf2pG5uh6SIm2lS0W4kmMmxMadLDiVfA6lzb6Hd8uT5jkp6H ilFlxBiLud03FSFmwJZVhNGXZj1HwTwzk4JFsBAbpq691n56V8VxW/AV/gdyvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=KURk4Jm3; 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=1709089807; a=rsa-sha256; cv=none; b=IMhUcYtCoDU1KVpMvQHbkLNmuv1TKtfh4kIFAjntXRNecYK66v+wlVDOBTKL64wudSVbhb rhIrWv6429wuUS18coQkmhVeTe8WWhOj676d/mvieA3t4QfWai/ddR3VN+oqxuipdnA7lZ U57CCPk96rJX0e2UU+/iJfrQQ4Bwg33oV+StI99+CPlWnDqk414OTkQxJmsHOU7boUf2yb nPRifOCPHsV/FX8YubWaevTNit8n4i+Pt5h2dTs19zfFBVcrHCYYJGmCIjOm7a/YO99oMV XOOHG4k0ftPAJdMmfjIAWTHfhNkj5nXh0EbSTKL0eib313DI628/yLWCElT0Tg== 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 E87A55C7CD for ; Wed, 28 Feb 2024 04:10:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfAKG-0000px-Mh; Tue, 27 Feb 2024 22:09:44 -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 1rfAKE-0000p8-GR for guix-patches@gnu.org; Tue, 27 Feb 2024 22:09:42 -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 1rfAKE-0005rf-8E for guix-patches@gnu.org; Tue, 27 Feb 2024 22:09:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfAKc-0005SH-CQ; Tue, 27 Feb 2024 22:10:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH v2 4/5] gnu: font-google-noto-sans-cjk: Switch to variable fonts. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: hako@ultrarare.space, all_but_last@163.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 03:10:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69424 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69424@debbugs.gnu.org Cc: Hilton Chain , Hilton Chain , Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= X-Debbugs-Original-Xcc: Hilton Chain , Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170908979620898 (code B ref 69424); Wed, 28 Feb 2024 03:10:06 +0000 Received: (at 69424) by debbugs.gnu.org; 28 Feb 2024 03:09:56 +0000 Received: from localhost ([127.0.0.1]:54913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfAKS-0005Qx-8n for submit@debbugs.gnu.org; Tue, 27 Feb 2024 22:09:56 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:39664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfAKM-0005QR-Cv for 69424@debbugs.gnu.org; Tue, 27 Feb 2024 22:09:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709089746; 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=O9fuj3yWabPK2KCZDnxkwSN+1TnJYc3uzvS9nSWb7fA=; b=KURk4Jm3mzwQNuvlI97BqWY1KYOe6T7Q7WIq3mGqkPlcdseY8ClLDCgtnUkQ2jYtJYx6OU vF0MuMZsM4T/VDKQrI75EYx3e7lH4lVChZgPpCNH+58HWRMHvEplOCAuwgBe2vsKX6ht5Z /whNWHUoBoJ6j/paSxOgbGyJBajALVAUnDj8GCrRsr9K4fTu2Rc7ygLTKuFXlgfA3lN6rG SjuGqtZhBcjtDm7v9hJN5x+MlwlWxmuzjcNpwG+jIX8uK6c/GaYX+2zNBhD4/Q0C7Nno7+ fnDHjFN8AW6xhS4Fq8m6Rkc8N3tAg129Dv7StWeB26vfSalqtDiwJ3Gps/PMwg== Date: Wed, 28 Feb 2024 11:08:35 +0800 Message-ID: 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.77 X-Spam-Score: -4.77 X-Migadu-Queue-Id: E87A55C7CD X-Migadu-Scanner: mx11.migadu.com X-TUID: ZBpvfn6PZqun * gnu/packages/fonts.scm (font-google-noto-sans-cjk) [source]: Switch to variable fonts. [arguments]<#:phases>: Keep only TTCs in "out". Install OTFs into "otf" output. [outputs]: Add "otf". Change-Id: I996d75b7892333bc69d21af53a5243a442e3a6b3 --- gnu/packages/fonts.scm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 9674f9bab5..356103c6a1 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1186,11 +1186,22 @@ (define-public font-google-noto-sans-cjk (method url-fetch) (uri (string-append "https://github.com/googlefonts/noto-cjk/releases/download/Sans" - version "/03_NotoSansCJK-OTC.zip")) + version "/01_NotoSansCJK-OTF-VF.zip")) (file-name (string-append name "-" version ".zip")) (sha256 - (base32 "1v9yda7r98g4a3pk0y3cjbgc1i2lv4ax0f0v6aqasfzz4ldlx3sj")))) + (base32 "1ka37kqyd0sfqwk485nv6ihrdjl5xycr38m4jq40r2lzmpmkmqym")))) (build-system font-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda _ + (let ((install (assoc-ref %standard-phases 'install))) + (with-directory-excursion "OTC" + (install #:outputs `(("out" . ,#$output)))) + (with-directory-excursion "OTF" + (install #:outputs `(("out" . ,#$output:otf)))))))))) + (outputs '("out" "otf")) (home-page "https://www.google.com/get/noto/") (synopsis "Fonts to cover all languages") (description "Google Noto Fonts is a family of fonts designed to support -- 2.41.0