From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iCFQFW7f3WXRaAAA62LTzQ:P1 (envelope-from ) for ; Tue, 27 Feb 2024 14:11:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id iCFQFW7f3WXRaAAA62LTzQ (envelope-from ) for ; Tue, 27 Feb 2024 14:11:10 +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="S3TJAyA/"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709039470; 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=WQWbtxG+gYjIia7Rer43upeE0rnizdJyQ5OQN/MC+pw=; b=VhmLaxaTwJdW5SE8uBxZnp1MYuey8prI0Yrq0lw1PPyQY67TpUfmaT5V7E1VCvQp+wW+x9 juB5hD63DHDbPNjmBT44OfB1ANlF2U2Hh5xwTgo0yp3iPJgLjWgR4BjsbWTLyJrj5E0VUe cgp0hLwOvc03DwKNIFIV+e7oWHm61HKoZqEFATwLfzBkvBsArv7keb+pZg766rJmjYkUaq 14jBHbtqPJfeVWvtsEkRlFfOREFo1AzWFpCE2dr04ebXGbLf1uYAHtaeyGM4372vGRvGol cCpS2XB0vsCv5ZQ4M8sUbO3q4trgh9YO1RDwkikvGDCVzayH0/eBqr4XyZsKOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b="S3TJAyA/"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709039470; a=rsa-sha256; cv=none; b=aMbF6tajH97TNJi37DOVWUkAWsFZPDUYXaeJ878IEjFNVqO0dOqyiNTZXUGbcbHi5Utg56 YhBovAgoN1Csi1sUkzdVo7BIWPkMYW499BVUdwN58495dhhfwDzjlv3p8DSm3Mp98GGLlG nx/KYjJbmo7FfeAuFf6UGVDE7HmqXwrIEFbT3EJ6MMQCe3OvDwnS7EmKAbDFOw2B1Mq/8V nsksXlKP0zsU7wEUVoyIDpWWC1AV2dgcMsvC71OlsQggfxqjzTOUMr2p7bwhykUAN8pTxD UM38EcIreGaVo1wGTwh2RkOKfT8tyhK4JIvQ6izhfcpEgdEwN3bjcDmUnrYvqA== 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 2F50A42F07 for ; Tue, 27 Feb 2024 14:11:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rexET-0000sd-UF; Tue, 27 Feb 2024 08:10:53 -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 1rexEL-0000lz-5g for guix-patches@gnu.org; Tue, 27 Feb 2024 08:10:47 -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 1rexEK-0006bG-Pj for guix-patches@gnu.org; Tue, 27 Feb 2024 08:10:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rexEc-0005Ts-D4; Tue, 27 Feb 2024 08:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH 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, yangjiwei@protonmail.com, guix-patches@gnu.org Resent-Date: Tue, 27 Feb 2024 13:11: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?= , Jiwei YANG X-Debbugs-Original-Xcc: Zhu Zihao , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Jiwei YANG Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170903941820950 (code B ref 69424); Tue, 27 Feb 2024 13:11:02 +0000 Received: (at 69424) by debbugs.gnu.org; 27 Feb 2024 13:10:18 +0000 Received: from localhost ([127.0.0.1]:51839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexDt-0005Ro-9h for submit@debbugs.gnu.org; Tue, 27 Feb 2024 08:10:18 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:52342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rex0y-0004nr-I6 for 69424@debbugs.gnu.org; Tue, 27 Feb 2024 07:56:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709038572; 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=WQWbtxG+gYjIia7Rer43upeE0rnizdJyQ5OQN/MC+pw=; b=S3TJAyA/EenezYa/eYK6I3SKKZ8hxa74NeH3MuZ7hRN566yBN4bLOtlsHo8FS09XHCEcVM oY6OTUjss1gpbe78HIXyt/urkAD44Nv4CGi5KGQq0p19lVku+dAnUmcF7lt45Z25xqUx5A MzsjiZGNw5rNTrDyK48VXHALYt03XURIWecqEG30QpjoGIyqIPu323sla18+Efn93mTV4E TD7O7iDzm5OrBzKz5nw+lWv6YqZmWvdzH7y44An7tMAD1W7NvQY0FpHjjmn8kQ4B0tE71p HAJy9gVcYwhJDdhiPNnbCLuT12+L0HWMTtdrxikSvGnZUlKq5lW6jDO2z5PPhQ== Date: Tue, 27 Feb 2024 20:54:27 +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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.27 X-Spam-Score: -6.27 X-Migadu-Queue-Id: 2F50A42F07 X-Migadu-Scanner: mx13.migadu.com X-TUID: X+3LmjDZr/g5 * gnu/packages/fonts.scm (font-google-noto-sans-cjk)[source]: Switch to variable fonts. [arguments]<#:phases>: Only install ttc files. Change-Id: I996d75b7892333bc69d21af53a5243a442e3a6b3 --- gnu/packages/fonts.scm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 472853afa4..69a2c62474 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1184,11 +1184,23 @@ (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 ((dir (string-append #$output "/share/fonts/truetype"))) + (with-directory-excursion "OTC" + (for-each + (lambda (font) + (install-file font dir)) + '("NotoSansCJK-VF.otf.ttc" + "NotoSansMonoCJK-VF.otf.ttc"))))))))) (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