From patchwork Wed Feb 28 13:32:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61214 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 A289527BBE9; Wed, 28 Feb 2024 13:41:07 +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 7CC0A27BBE2 for ; Wed, 28 Feb 2024 13:41:02 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfKAr-00088x-Vz; Wed, 28 Feb 2024 08:40:43 -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 1rfKAn-00087B-Cc for guix-patches@gnu.org; Wed, 28 Feb 2024 08:40:37 -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 1rfKAm-0002qS-EF for guix-patches@gnu.org; Wed, 28 Feb 2024 08:40:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfKBB-0007Nf-Rh; Wed, 28 Feb 2024 08:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH v3 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, guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 13:41: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?= X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170912762228254 (code B ref 69424); Wed, 28 Feb 2024 13:41:01 +0000 Received: (at 69424) by debbugs.gnu.org; 28 Feb 2024 13:40:22 +0000 Received: from localhost ([127.0.0.1]:40411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfKAW-0007Lb-G5 for submit@debbugs.gnu.org; Wed, 28 Feb 2024 08:40:22 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:53010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK3X-00072H-Tu for 69424@debbugs.gnu.org; Wed, 28 Feb 2024 08:33:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709127142; 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=uPgEKdgszdN/vVgaYrc8W0hv1O0v9CJ4LOUBM4onfb0qOzwuP15N7CXWRzVRAUFC6Nl/eq /N1Ddz7scAN/e25Cs4DbHEOO74r/bZD/7Kq1WU0jUofsJ1wWYbBHeL5q3ZoEEP+Nz/ng/J etdUO5Lf1Cx8jFQhYu1i5LZIKqnZkyznvo9fQi2Jf09Nxjbs9qJjz693nd5pFcJGTLr6qL +rmK9IgL5joNsVqPqOI16hggtn92dM73wVI6mpI1rHGemNu+3TOwTlR9CFWIAZqkZ6GQ2y wc+L8mrAHx8T90kqlubdnnPaD0B7XHd0dxFFEYx1sSJ6YXNy4FovVOfCzmR31Q== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Wed, 28 Feb 2024 21:32:18 +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(-) 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 Wed Feb 28 13:32:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61217 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 4F8F727BBE9; Wed, 28 Feb 2024 13:52:57 +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 6B41D27BBE2 for ; Wed, 28 Feb 2024 13:52:56 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfKMV-0003kM-C5; Wed, 28 Feb 2024 08:52:43 -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 1rfKMU-0003k8-02 for guix-patches@gnu.org; Wed, 28 Feb 2024 08:52: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 1rfKMT-0000tH-Kv for guix-patches@gnu.org; Wed, 28 Feb 2024 08:52:41 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfKMo-00082K-0z; Wed, 28 Feb 2024 08:53:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH v3 2/5] gnu: font-google-noto: Prefer variable fonts and 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: Wed, 28 Feb 2024 13:53: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 , Jiwei YANG , Zhu Zihao , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170912837130866 (code B ref 69424); Wed, 28 Feb 2024 13:53:01 +0000 Received: (at 69424) by debbugs.gnu.org; 28 Feb 2024 13:52:51 +0000 Received: from localhost ([127.0.0.1]:41216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfKMd-00081m-EF for submit@debbugs.gnu.org; Wed, 28 Feb 2024 08:52:51 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:43486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfKMb-00081Y-AN for 69424@debbugs.gnu.org; Wed, 28 Feb 2024 08:52:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709127145; 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=M3yaA3QTBkKFg+jr1fn3xfUHUVFered2vb1S8Pa+4MQ=; b=hvew+DF4QjCENgPtvpOCpuTAp+U2BndH+uwAFspxrG1cS3CK1lqVQVlj5Q1W+RitZLr2mB ac0PIyTrulv5rFkb48f/LcF7Sa0dYfQ78M2WXqBjHOf1+WE7DNtNNqqfx/D3LuuHWqpEbh Pcg7DacYDPWngkP8s2zuPrMcx5pO9ViV48/cTdC0JtjA87Y681nNqhmTTfvs+PfbBlkQ5F CZ7rCke5oejVHpgtDEOn+BD5f7Kjes73dTNAHsadXsI4QJlQ3uFY4/UXI5jUlUmJjV5In2 vq41wuCUiWeKTMfr61OLk8YTkA29NOqO06hTnG4Ra06cPD9rrBrpfgEvq0/Psw== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Wed, 28 Feb 2024 21:32:19 +0800 Message-ID: <5eada4da5298fdaba9d6a05b411161637b3a42a4.1709126510.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)[outputs]: Add "ttf". [arguments]<#:phase>: Move hinted TTFs into it. Prefer variable fonts. Suggested-by: Jiwei YANG Change-Id: Icac2927fb6c35d08504c379e273a5fc03b08ac46 --- gnu/packages/fonts.scm | 45 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 72bf0124c4..4f9400047f 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1092,6 +1092,51 @@ (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)) + #:phases + #~(modify-phases %standard-phases + (replace 'install + (lambda _ + (define* (install source #:optional (output #$output)) + (let ((%install (assoc-ref %standard-phases 'install))) + (with-directory-excursion source + (%install #:outputs `(("out" . ,output)))))) + + (define (scan-directory name) + (scandir name (lambda (file) + (not (member file '("." ".." "LICENSE")))))) + + (define (install-font-variant variant) + "Given font variant VARIANT, install one of its formats, +variable TTF or OTF or TTF." + (with-directory-excursion variant + (let ((formats (scan-directory "."))) + (cond + ((member "variable-ttf" formats) + (install "variable-ttf")) + ((member "otf" formats) + (install "otf")) + ((member "ttf" formats) + (install "ttf")))))) + + (define (install-font font) + "Given FONT, install one of its variants, either full or +unhinted, and install its hinted variant into 'ttf' output. According to the +source, unhinted and hinted variants are always available." + (with-directory-excursion font + (if (member "full" (scan-directory ".")) + (install-font-variant "full") + (install-font-variant "unhinted")) + (install "hinted" #$output:ttf))) + + (with-directory-excursion "fonts" + (for-each install-font (scan-directory ".")))))))) + (outputs '("out" "ttf")) (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 Wed Feb 28 13:32:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61215 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 B647D27BBE2; Wed, 28 Feb 2024 13:41:08 +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 9FF6527BBEA for ; Wed, 28 Feb 2024 13:41:02 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfKAq-00088V-O8; Wed, 28 Feb 2024 08:40:40 -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 1rfKAn-00087A-Ce for guix-patches@gnu.org; Wed, 28 Feb 2024 08:40:37 -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 1rfKAm-0002qT-ED for guix-patches@gnu.org; Wed, 28 Feb 2024 08:40:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfKBC-0007Nl-9n; Wed, 28 Feb 2024 08:41:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH v3 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, guix-patches@gnu.org Resent-Date: Wed, 28 Feb 2024 13:41: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?= X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170912762428270 (code B ref 69424); Wed, 28 Feb 2024 13:41:02 +0000 Received: (at 69424) by debbugs.gnu.org; 28 Feb 2024 13:40:24 +0000 Received: from localhost ([127.0.0.1]:40415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfKAY-0007Lh-CP for submit@debbugs.gnu.org; Wed, 28 Feb 2024 08:40:24 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:35084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK3c-00072Z-9v for 69424@debbugs.gnu.org; Wed, 28 Feb 2024 08:33:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709127147; 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=WQXpPUu75v4cIg5g+W2hmDTFwKsZ7Dg8iBAMAPw83k4=; b=Nulmk+VIGu+PhoKSktAjK1/bTNWa7kE58CmPl3LDShwA4xUgzXTiw6V+aQgpNwRgpHvPvc CL6CQvNqsaK7pzNvN/ZGFEXRA4Sr63bi18upof5LRGplhIBX0TZ9JJvejpVeQcbrWA/Z42 Um/cXAoXRGahBga7dY9zAv8M+HzXsVsE2j9epzIc26lAxqZAhWbkicF7TRSGCGBFti0mV0 R7Ufngs6Mq4aWOQe1N6tlT45jrIjqqjfZK5DXTOy8671jCcArAiqWn8enxp5QAanICY76i F88Ih0QZNGvC4VUb+NK0dVz0TlrOhJKt7fbNofbU8gZtw4EqOQgq5sUEIHwVag== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Wed, 28 Feb 2024 21:32:20 +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-emoji): Update to 2.042. [arguments]<#:phases>: Remove 'remove-unsupported. Install only "NotoColorEmoji.ttf". Change-Id: I76cfbf3f8d34c484ed59b99969da7d93aaf41d72 --- gnu/packages/fonts.scm | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 4f9400047f..e1e1127ab5 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1147,7 +1147,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) @@ -1157,7 +1157,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 @@ -1167,11 +1167,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 Wed Feb 28 13:32: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: 61212 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 783BC27BBEA; Wed, 28 Feb 2024 13:34:03 +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 1B93227BBE2 for ; Wed, 28 Feb 2024 13:34:03 +0000 (GMT) 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?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= 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== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space 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 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. [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 From patchwork Wed Feb 28 13:32:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61211 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 514E927BBE9; Wed, 28 Feb 2024 13:34: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 C58F027BBE2 for ; Wed, 28 Feb 2024 13:34:00 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfK42-0006nL-JJ; 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 1rfK41-0006mp-Hk for guix-patches@gnu.org; Wed, 28 Feb 2024 08:33:37 -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 1rfK41-0007qo-8V for guix-patches@gnu.org; Wed, 28 Feb 2024 08:33:37 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfK4R-000754-0m; Wed, 28 Feb 2024 08:34:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH v3 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, 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?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170912720427122 (code B ref 69424); Wed, 28 Feb 2024 13:34:02 +0000 Received: (at 69424) by debbugs.gnu.org; 28 Feb 2024 13:33:24 +0000 Received: from localhost ([127.0.0.1]:40053 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK3l-000739-1P for submit@debbugs.gnu.org; Wed, 28 Feb 2024 08:33:24 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:35108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfK3g-00072s-DO for 69424@debbugs.gnu.org; Wed, 28 Feb 2024 08:33:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709127151; 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=uDPnDofkxvPik3mDI/rcc2zFHTVgLVhzLjxem9fcVYc=; b=hNK9MipuoHQHQ1CcFWn7CN283GqouVeUKnlTnu1ZwHPxFYw3JP2KnuD6CQ5MZKhin9+qV1 v9j3JXbWuH5Ny7wFcncIKj5TNrpG+VF0oJOivbFlNqCy6r5BNgkKF2uMxz4YaoMxxyQDqu dnb9TIEPABAAI0oW9J+H38BPg50/IBcqzxD6u6NGHZwKqZl0Z3Xu9uCzkfoEZLoLGerEWV dYVnsoAhi/mA8v5JSzDZmZtJNYRjmXh4daUMHSH8alJgOLgJ7zRjAlIoG5bMviQ/a1Zvam 7L7n2WPF3QtcYLN7tNpiuxV0jxjD/M+kk9DIKjJBjJ2UiGDav3UZia3KgLHshQ== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Wed, 28 Feb 2024 21:32:22 +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-serif-cjk): Update to 2.002. [source]: Switch to variable fonts. [outputs]: Add "otf". [arguments]<#:phases>: Install OTFs into it. Keep TTCs in "out". Change-Id: Id22401ce85028951b6044ba418dbad764d581f01 --- gnu/packages/fonts.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 42ebda3ef4..cdd6e80655 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1214,17 +1214,28 @@ (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 ((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