From patchwork Tue Feb 27 12:54:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61161 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 9151127BBEA; Tue, 27 Feb 2024 13:26:10 +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=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 E48D127BBE2 for ; Tue, 27 Feb 2024 13:26:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rexT1-0007Is-Qe; Tue, 27 Feb 2024 08:25:55 -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 1rexSq-0007En-SM for guix-patches@gnu.org; Tue, 27 Feb 2024 08:25:49 -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 1rexSp-0001Jg-0a for guix-patches@gnu.org; Tue, 27 Feb 2024 08:25:43 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rexT7-00068g-UJ; Tue, 27 Feb 2024 08:26:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH 1/5] gnu: font-google-noto: Update to 24.2.1. 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:26:01 +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?b?5a6L5paH5q2m?= , Jiwei YANG X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= , Jiwei YANG Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170904031823487 (code B ref 69424); Tue, 27 Feb 2024 13:26:01 +0000 Received: (at 69424) by debbugs.gnu.org; 27 Feb 2024 13:25:18 +0000 Received: from localhost ([127.0.0.1]:52703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexSP-00066k-4U for submit@debbugs.gnu.org; Tue, 27 Feb 2024 08:25:17 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:55010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexGB-0005YR-Tc for 69424@debbugs.gnu.org; Tue, 27 Feb 2024 08:12:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709038523; 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=xwn8Tzpm3woC0p+gcujD+11tuBx5l2xT2ohaSaQK7V0=; b=aApuydKdQGeh51ZrZVoQEXClk60DwhtnQ7TeFPNeKQPWDOAk53++Ym4vFon5KAJT71jSVW o/7ooDhJFeirRAjSDTudhNIaWPo7CwIsszDss4nLcl0kEsHGg7GEtpkqXUu+fdI9wf1gbl hPv8elcu+4S/mH72bJiprbLYM+k5yiVZt8O6GFQkymV9bzapli74LS6liEjOyht/PcZG54 pjd8sklZH3hO/p6cp3Eoc5ZykdXdw49xkJsmVOeBX/H390+CUaVgYWF0UO3IL/Rly5QTpq ijjVKv5u41X9oALScO94TPI3wOEMSALd/TtncNMlOOx8D2scSamFUXS9sSVc/g== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Tue, 27 Feb 2024 20:54:21 +0800 Message-ID: In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain 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-google-noto): Update to 24.2.1. Change-Id: I238f914388a2d808b817de1252ba8ee84c6299bd --- gnu/packages/fonts.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.41.0 diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 2cc420f7ba..72bf0124c4 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1081,7 +1081,7 @@ (define-public font-gnu-unifont (define-public font-google-noto (package (name "font-google-noto") - (version "23.11.1") + (version "24.2.1") (source (origin (method git-fetch) @@ -1090,7 +1090,7 @@ (define-public font-google-noto (commit (string-append "noto-monthly-release-" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0vvxhky35l4i0ha60yw0gj26f3v33hpf2zax17yyj16mww4cn4d8")))) + (base32 "087jg8ahpq35xwyrmvm9ivxl0wjic2j4r28bbrwqmgdva9brms40")))) (build-system font-build-system) (home-page "https://www.google.com/get/noto/") (synopsis "Fonts to cover all languages") From patchwork Tue Feb 27 12:54:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61156 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 97A4227BBEC; Tue, 27 Feb 2024 12:57:00 +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=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 17AA227BBE2 for ; Tue, 27 Feb 2024 12:57:00 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rex0m-0004JQ-Sx; Tue, 27 Feb 2024 07:56: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 1rex0l-0004Ft-UH for guix-patches@gnu.org; Tue, 27 Feb 2024 07:56:44 -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 1rex0l-0003bi-Ki for guix-patches@gnu.org; Tue, 27 Feb 2024 07:56:43 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rex14-0004oT-Gf; Tue, 27 Feb 2024 07:57:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH 2/5] gnu: font-google-noto: Keep only variable fonts when available. 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 12:57: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 , Jiwei YANG , Zhu Zihao , =?utf-8?b?5a6L5paH5q2m?= , Jiwei YANG X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= , Jiwei YANG Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170903858918385 (code B ref 69424); Tue, 27 Feb 2024 12:57:02 +0000 Received: (at 69424) by debbugs.gnu.org; 27 Feb 2024 12:56:29 +0000 Received: from localhost ([127.0.0.1]:50942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rex0X-0004mT-DP for submit@debbugs.gnu.org; Tue, 27 Feb 2024 07:56:29 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:44622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rex0V-0004mH-5w for 69424@debbugs.gnu.org; Tue, 27 Feb 2024 07:56:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709038544; 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=HvWaPfW1GmLkFyeTRghsh6iWLcxC9QgNyFnCCexJd0Q=; b=2dxiq6Z/aMWQUTZ3tmK4H+/cGAtmAestGqwvXkzHrXKejkKQpVbueEbL8WDMHOBleE6+S5 ri04TybhaBPe/kjEddBNesroMhQDSx7ACDla38s48I8WxFim4h3wP5FHBtcpIHoRHZ+1cb J3ScrnPeZtkthgv/YUpnuRaok3FQfcNrn3qhSDD3WmongjgI0FOzY6h9hS5Il41mHpuZ/Q Jc5Pb/6MhLZZgUnV7urpKFWCd9yXgzLVsmHDHPYUE0RecXNOLTnNja/rvr3vHyEq7cVcHO zvRgDs3WVBlv9zh7zZwWinlk8R0RJn5/7vtfICVRfeRTpqLRx6hghWgj+FIYGg== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Tue, 27 Feb 2024 20:54:23 +0800 Message-ID: <3621bba8af092abc980ff31e8ac578b47b59c50b.1709038102.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain 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-google-noto)[arguments]: When available, keep only variable fonts. Suggested-by: Jiwei YANG Change-Id: Icac2927fb6c35d08504c379e273a5fc03b08ac46 --- gnu/packages/fonts.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) -- 2.41.0 diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 72bf0124c4..1ed648f5a2 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1092,6 +1092,48 @@ (define-public font-google-noto (sha256 (base32 "087jg8ahpq35xwyrmvm9ivxl0wjic2j4r28bbrwqmgdva9brms40")))) (build-system font-build-system) + (arguments + (list + #:modules + '((guix build font-build-system) + (guix build utils) + (ice-9 ftw) + (srfi srfi-26)) + #:phases + #~(modify-phases %standard-phases + (add-before 'install 'delete-extra-fonts + (lambda _ + (define (scan-directory name) + (scandir name (lambda (file) + (not (member file '("." ".." "LICENSE")))))) + (define (delete-extra-font-formats variant) + "Keep one font format, variable or OTF or TTF." + (with-directory-excursion variant + (let ((formats (scan-directory "."))) + (for-each + delete-file-recursively + (cond + ((member "variable-ttf" formats) + (delete "variable-ttf" formats)) + ((member "otf" formats) + (delete "otf" formats)) + ((member "ttf" formats) + (delete "ttf" formats))))))) + (define (delete-extra-font-variants font) + "Keep one font variant, full or unhinted." + (with-directory-excursion font + (let ((variants (scan-directory "."))) + (for-each + delete-file-recursively + (cond + ((member "full" variants) + (delete-extra-font-formats "full") + (delete "full" variants)) + ((member "unhinted" variants) + (delete-extra-font-formats "unhinted") + (delete "unhinted" variants))))))) + (with-directory-excursion "fonts" + (for-each delete-extra-font-variants (scan-directory ".")))))))) (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 From patchwork Tue Feb 27 12:54:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61157 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 1EA6927BBE2; Tue, 27 Feb 2024 12:57:01 +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=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 1D9F827BBE9 for ; Tue, 27 Feb 2024 12:57:00 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rex0p-0004PJ-7V; Tue, 27 Feb 2024 07:56:47 -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 1rex0m-0004JP-Np for guix-patches@gnu.org; Tue, 27 Feb 2024 07:56:44 -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 1rex0m-0003cd-EY for guix-patches@gnu.org; Tue, 27 Feb 2024 07:56:44 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rex15-0004oc-Bc; Tue, 27 Feb 2024 07:57:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH 3/5] gnu: font-google-noto-emoji: Update to 2.042. 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 12:57:03 +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?b?5a6L5paH5q2m?= , Jiwei YANG X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= , Jiwei YANG Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170903860318430 (code B ref 69424); Tue, 27 Feb 2024 12:57:03 +0000 Received: (at 69424) by debbugs.gnu.org; 27 Feb 2024 12:56:43 +0000 Received: from localhost ([127.0.0.1]:50960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rex0k-0004nC-Pt for submit@debbugs.gnu.org; Tue, 27 Feb 2024 07:56:43 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:49714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rex0j-0004n3-EH for 69424@debbugs.gnu.org; Tue, 27 Feb 2024 07:56:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709038558; 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=pTp9/guTR6uqOWULXcKxBPDTonrfdRfU8RSWlDPSo9g=; b=nfTGa9v8E1CMbxowraD9o3dGKjG0vkWbAKix0FqrnWP89PI2wGzBUjqXaWx7LaIP0Ss2t4 zAq1ld8jfslkIRd2eFr7Ny80wY2jHIHB0KuVLDQILUmjOpjEUs6xaIZiLwwsUYqYkIJU2W kR4tiopIszi+OZSlhpGnkmy8YyPsrdUuWkgyuqhYarAvueP6iSkB7HC+BJtUFdf4TPYnKS TBaJjEe8UxB1Jm2gl8OQFCxnAk4bMGCN8Do7SQRoidBiQD3/Ihnoqth7ie4qnmpKc+u5na y6xi/eBshwD51snYO322PhtiqqAYTk8BZMd7TlVydZZA7WJZrwB3g/a5xoBw6w== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Tue, 27 Feb 2024 20:54:25 +0800 Message-ID: <55c7838b2dfebd7b7205b3aa0d2c22a1b18a2061.1709038102.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain 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-google-noto-emoji): Update to 2.042. [arguments]<#:phases>: Remove 'remove-unsupported. Replace install phase instead. Change-Id: I76cfbf3f8d34c484ed59b99969da7d93aaf41d72 --- gnu/packages/fonts.scm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) -- 2.41.0 diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 1ed648f5a2..472853afa4 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1144,7 +1144,7 @@ (define-public font-google-noto (define-public font-google-noto-emoji (package (name "font-google-noto-emoji") - (version "2.038") + (version "2.042") (source (origin (method git-fetch) @@ -1154,7 +1154,7 @@ (define-public font-google-noto-emoji (file-name (git-file-name name version)) (sha256 (base32 - "1rgmcc6nqq805iqr8kvxxlk5cf50q714xaxk3ld6rjrd69kb8ix9")))) + "17i7awyqz9jv0j2blcf0smmpas375c3pdhjv1zqzl861g8qm1lm2")))) (build-system font-build-system) (arguments (list @@ -1164,11 +1164,10 @@ (define-public font-google-noto-emoji (lambda _ ;; Note this ensures the correct license file is installed. (chdir "fonts"))) - (add-after 'enter-font-directory 'remove-unsupported - (lambda* _ - (delete-file "NotoColorEmoji_WindowsCompatible.ttf") - (delete-file "Noto-COLRv1-noflags.ttf") - (delete-file "Noto-COLRv1.ttf")))))) + (replace 'install + (lambda _ + (let (dir ((string-append #$output "/share/fonts/truetype"))) + (install-file "NotoColorEmoji.ttf" dir))))))) (home-page "https://fonts.google.com/noto/specimen/Noto+Color+Emoji") (synopsis "Font for rendering color emoji characters") (description From patchwork Tue Feb 27 12:54:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61160 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 F128E27BBE2; Tue, 27 Feb 2024 13:11:17 +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=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 2503C27BBEB for ; Tue, 27 Feb 2024 13:11:10 +0000 (GMT) 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?b?5a6L5paH5q2m?= , Jiwei YANG X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= , 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== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Tue, 27 Feb 2024 20:54:27 +0800 Message-ID: In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain 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-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(-) -- 2.41.0 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 From patchwork Tue Feb 27 12:54:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61159 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 CBC1627BBEC; Tue, 27 Feb 2024 13:11:13 +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=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 17A0F27BBE2 for ; Tue, 27 Feb 2024 13:11:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rexER-0000nr-6X; Tue, 27 Feb 2024 08:10:51 -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 1rexEG-0000hy-39 for guix-patches@gnu.org; Tue, 27 Feb 2024 08:10:41 -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 1rexEF-0006Yr-0b for guix-patches@gnu.org; Tue, 27 Feb 2024 08:10:39 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rexEc-0005Tz-RF; Tue, 27 Feb 2024 08:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH 5/5] gnu: font-google-noto-serif-cjk: Update to 2.002. 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?b?5a6L5paH5q2m?= , Jiwei YANG X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= , Jiwei YANG Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170903941820958 (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]:51841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rexDu-0005Rw-3Q for submit@debbugs.gnu.org; Tue, 27 Feb 2024 08:10:18 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:47612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rex1B-0004p8-KI for 69424@debbugs.gnu.org; Tue, 27 Feb 2024 07:57:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709038586; 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=V+KhSWnXXiuov5/25YTXheSycr/dvS1q5D1JVN2DaZg=; b=cHaKOLu9YWR9/COhl9J2D3ELW64qe7wkfvC/AB7+xfqjeg2Md+3A+2KCspsXBaBZgo1fB2 XVXRtrymo92qzTWpq6p5pY8u99hdt4TtsfBfmPAJKg0rzZmTRKk/KqpxAE7hNeqAf+JHeD wRnXsIqcxfoOQUGPsNfncPh4v+RzlWnaQ/n82S/tvMXdr23hh5jo6wNQc+ZHPcpBlHM56m X6wBibGmTH//YkmX4KvK7uae2LXDE0JmEhAu03Z6Os/sNRHmX9IKyRq1D4fjso3GDb08oZ aIVwQqoFrwwHTqQvkk7nyu2gqUNneX22N4jd+M2vvbx7rycQWD1uRb8FRErmUg== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Tue, 27 Feb 2024 20:54:29 +0800 Message-ID: <047da485326b71bb3e83610fe7a17275ff0a4e74.1709038102.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 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 X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain 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-google-noto-serif-cjk): Update to 2.002. [source]: Switch to variable fonts. [arguments]<#:phases>: Only install ttc files. Change-Id: Id22401ce85028951b6044ba418dbad764d581f01 --- gnu/packages/fonts.scm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) -- 2.41.0 diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 69a2c62474..61b3118529 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1212,17 +1212,25 @@ (define-public font-google-noto-sans-cjk (define-public font-google-noto-serif-cjk (package (name "font-google-noto-serif-cjk") - (version "2.001") + (version "2.002") (source (origin (method url-fetch) (uri (string-append "https://github.com/googlefonts/noto-cjk/releases/download/Serif" - version "/04_NotoSerifCJKOTC.zip")) + version "/02_NotoSerifCJK-OTF-VF.zip")) (file-name (string-append name "-" version ".zip")) (sha256 - (base32 "1l6r3sz2s0vcyfx6ria7wqcq45zp40gxgg97lh8hpmajhzw301ig")))) + (base32 "007jk7rmfapq5zq4ji9d1l5gpp34p98l9ylhiw33q42d66v2g717")))) (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" + (install-file "NotoSerifCJK-VF.otf.ttc" dir)))))))) (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