From patchwork Wed Feb 28 03:08:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 61191 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 A4E9027BBEA; Wed, 28 Feb 2024 03:10:55 +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 2A88727BBE2 for ; Wed, 28 Feb 2024 03:10:55 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rfALC-0001If-Ji; Tue, 27 Feb 2024 22:10:42 -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 1rfAL8-0001HZ-VA for guix-patches@gnu.org; Tue, 27 Feb 2024 22:10:40 -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 1rfAL8-0006Be-Mw for guix-patches@gnu.org; Tue, 27 Feb 2024 22:10:38 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rfALW-0005Ve-4i; Tue, 27 Feb 2024 22:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69424] [PATCH v2 5/5] gnu: font-google-noto-serif-cjk: Update to 2.002. 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: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 , Hilton Chain , Zhu Zihao , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Hilton Chain , Zhu Zihao , =?utf-8?b?5a6L5paH5q2m?= Received: via spool by 69424-submit@debbugs.gnu.org id=B69424.170908980720989 (code B ref 69424); Wed, 28 Feb 2024 03:11:02 +0000 Received: (at 69424) by debbugs.gnu.org; 28 Feb 2024 03:10:07 +0000 Received: from localhost ([127.0.0.1]:54937 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfAKc-0005SL-Qf for submit@debbugs.gnu.org; Tue, 27 Feb 2024 22:10:07 -0500 Received: from mail.boiledscript.com ([144.168.59.46]:47238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rfAKR-0005Qj-DE for 69424@debbugs.gnu.org; Tue, 27 Feb 2024 22:09:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1709089751; 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=VKKiqN3GHJ0jN5Csvmfm7iR6xubxrFDc0PCpwC2x5qY=; b=j100lKFPUwIXAgwxgD2MeS6u9ibkC8ugA9WQQ9OXSOb2a76S5svvAfjrjM5aE6QQO4P/Qo mipDvMpdggy99rkzxWlcG+tJMkumrkRuhpqOp6OQteL2+CiVgZimycdbgyyxTebk6HDDF9 GBc8TMKmWSFuYOASvPfSOq1QWxnXchqEpnu79atYxW/k7DZRd8Crcse4sqTZSDAd4x7DQB 8rWKifjNEe1xb2OBelXEN/STS+OKnfURVpikLGmDjb+BBGuQ2/QIJTKuIRJem09i9OIP9l 7uR8OEjOrxXZ2VIGsThtoLITIU5ftgFe7iciJCgNF3qNX+a6CRSk4RAy68buqA== Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Date: Wed, 28 Feb 2024 11:08:36 +0800 Message-ID: <37d4c99859fa0cd8b6d1802ea1181fcec8e100db.1709089250.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>: Keep only TTCs in "out". Install OTFs into "otf" output. [outputs]: Add "otf". 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 356103c6a1..02c299cdd4 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1213,17 +1213,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