From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qHikJks232VNvwAA62LTzQ:P1 (envelope-from ) for ; Wed, 28 Feb 2024 14:34:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qHikJks232VNvwAA62LTzQ (envelope-from ) for ; Wed, 28 Feb 2024 14:34:03 +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=NPoskAYv; 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=1709127243; 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=eNrtvjwv+wvWGf/Ivne6O0EefNkHFa1lQRD22h8lmQc=; b=t0p6D0MTTp1C0SHGrp8b0ht8PsIqMB4r/HgxPBY/YxQ3FPBfKPjxS6ymLF0WQkjjIEX4k1 WbTrUrtahGK/kdd1l7ZGJr+c+o+YObIV40lxYLqOkjDAK5ejQTo7jGyN2NVTQ8LU5c0oZO Q6NFIxPMgT93qrT18D+Nzk2Lqnl0wyg5KmOFf1AXYUPzMHiRQQmRRF7cnJyuMPhi3604ib HbeQJhZw4pAQBIDuP6bty/h0xmfNif/xfKVuW9UURcee40ykDxNdB1eaHp/wm1jWqTJxc+ 0xonmVxxYjc3GhhrqO+TH8K+UuYJbogPrN4idSAyf1UXuw8yzXEOnJ/vn3fRyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=NPoskAYv; 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=1709127243; a=rsa-sha256; cv=none; b=s0npbiHUOsqIVH5U05O1G8HruEYEyhbMm7Hn7/b6UHKAJ5SAXnyJPNH9fAjUeFaTkU9ufK CJTC0AXJZnurt4RwmgQWAsCzLeGz2ihkZWq6LaEvFqkOfinkmi3Xic+59Ll5sBXSH6s0yY 9QV+wleJeAj9NIpVvX0K1FYWgb7nCDPVbBDPuuW4UeUYpOP1Or3nDeAk8uU/DlASsylQEd ZRcqaVFmCDO5BQpSL4XKEvBvfttXYEcattEVYtDc8P5ux0QNKN4EOV6ghGwnlKMO2fw2Z7 /leapOeiXjug3A2KhFHigeZT8ltyTeXFf3QatrD+56zrtiwXL2KalmPFHsI/AA== 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 809711334B for ; Wed, 28 Feb 2024 14:34:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfK42-0006nF-8j; Wed, 28 Feb 2024 08:33:38 -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 1rfK40-0006md-JD for guix-patches@gnu.org; Wed, 28 Feb 2024 08:33:36 -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 1rfK40-0007qh-An for guix-patches@gnu.org; Wed, 28 Feb 2024 08:33:36 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfK4Q-00074v-GF; Wed, 28 Feb 2024 08:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH v3 4/5] gnu: font-google-noto-sans-cjk: Switch to variable fonts. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: all_but_last@163.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 13:34:02 +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 , 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 69424-submit@debbugs.gnu.org id=B69424.170912720127106 (code B ref 69424); Wed, 28 Feb 2024 13:34:02 +0000 Received: (at 69424) by debbugs.gnu.org; 28 Feb 2024 13:33:21 +0000 Received: from localhost ([127.0.0.1]:40050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK3j-000735-G4 for submit@debbugs.gnu.org; Wed, 28 Feb 2024 08:33:20 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:35098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK3e-00072h-Bo for 69424@debbugs.gnu.org; Wed, 28 Feb 2024 08:33:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709127149; 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=eNrtvjwv+wvWGf/Ivne6O0EefNkHFa1lQRD22h8lmQc=; b=NPoskAYvE4fFYyhh853qmDy7ZzqcUCc4YqjkryQLaOwkbvrsLLTe+dV9rwG5Yh5QhmGkv8 8QNP4ZkDrtKInRUqIG1ZN5mLX7j626Nk9B6MXdgq0kGT6HYpbJ6FCyJjXEcei5fshs8369 CH4hAgve0ZDJ1wKzHiSxSgDOQnR4meWCm8a0Sf0dfUfUd4UhTzx3ncqPC0Fy9aim1cuq1s AcRpogL9klp+CHTzlK4uiDaV9Wkd66XcFwFE8Nbh674+wNB2JqxJg149no4ZaxybDipJcY Erahdr8rY7iljrC8KIWJsLLf/eJcpATCh+0wqTVeQO9hDRZ6o0Li8L4KQSK9uw== Date: Wed, 28 Feb 2024 21:32:21 +0800 Message-ID: <3f1bd566a3e844a620543a010915b4d298fbd08f.1709126510.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.27 X-Spam-Score: -6.27 X-Migadu-Queue-Id: 809711334B X-TUID: Dmtfp5KKfFC+ * gnu/packages/fonts.scm (font-google-noto-sans-cjk) [source]: Switch to variable fonts. [outputs]: Add "otf". [arguments]<#:phases>: Install OTFs into it. Keep TTCs in "out". 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 e1e1127ab5..42ebda3ef4 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1187,11 +1187,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