From unknown Fri Jun 20 20:03:02 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#77662] [PATCH] gnu: font-adobe-source-han-sans: Update to 2.004. Resent-From: Kurome Original-Sender: "Debbugs-submit" Resent-CC: hako@ultrarare.space, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Wed, 09 Apr 2025 05:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 77662 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77662@debbugs.gnu.org Cc: Kurome , hako@ultrarare.space, iyzsong@envs.net X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: hako@ultrarare.space, iyzsong@envs.net Received: via spool by submit@debbugs.gnu.org id=B.174417705715268 (code B ref -1); Wed, 09 Apr 2025 05:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Apr 2025 05:37:37 +0000 Received: from localhost ([127.0.0.1]:36784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2O81-0003y8-1a for submit@debbugs.gnu.org; Wed, 09 Apr 2025 01:37:37 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52696) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2O7x-0003xq-Tn for submit@debbugs.gnu.org; Wed, 09 Apr 2025 01:37:34 -0400 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 1u2O7s-0002S2-18 for guix-patches@gnu.org; Wed, 09 Apr 2025 01:37:28 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u2O7p-0000Yd-Pp for guix-patches@gnu.org; Wed, 09 Apr 2025 01:37:27 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-22a976f3131so37003005ad.3 for ; Tue, 08 Apr 2025 22:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744177044; x=1744781844; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oYNiHKA7U1YlzMWSSQoFVmqlfTuRJKf9WSNKSN0aQY8=; b=Sp0GRL8ocWHRWMmS1rWoaWvh9TicoWK56SYUQM32E48FB80coLp+mwdB3FsLlnVmQy W8QX6XV7BqC5cvFgg1oHoRlmSRpItQ2hiq49mVPX6EABVwyfLaACmmZIJ+OyVuAYDrtA aG1KKma62102GE/Nb0gr7a9XJx3uLhuWfFcahWoCfOpPsClIpdOZUlAB0scE+DYOQTR8 xtAO6vtNHtoVusIZ1XHKlN31vCVAsuqvtqvVvZ9jimfZeiTgevUXUQspYVSXnlaS7v7t xpdf4Lb47ZcU7VQ873eNH/r6y8FtZdB/NUSTzMrcFofPWYo9cbn7+bAMsElGFr9GAMXH B9rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744177044; x=1744781844; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oYNiHKA7U1YlzMWSSQoFVmqlfTuRJKf9WSNKSN0aQY8=; b=s6lzlG9SMv5ewIaJzSskz9qdQjvkNCr1mdaHW/e9hFJKVbhC26rAFgPyA7rtWAGW9i CuDUgjdKKqL20Ck7pbg5DBilF/JxFFozMWEiplAFwC1ApnsbrsHTHqpA9rJkCcyComIo P2QTt3Wdo73h+rooLXp+fthBbZPtqpmW/gcqArqCNp3YvrvpTiTO+65fdeNirfio4LjQ nmxHEi9Qdtk/4Q2MSk1aMKfHj9C8phM89rJVG+9ORNPihvCZwgO3nLKnLgRLJd5S3GWt ByqsZQKvNPT95sIW3am5omCyxlvjaxX3cdDhZ2wDIFic1EI8ksF7TKO1gn+BPltkM5Vu cpHQ== X-Gm-Message-State: AOJu0Yzo0b2yf9cyjhNbNez34vlSKzRgnNz8DVrWGnrLYSOL9EB3ZW4z bs2QswxqAWkZKVoQsQ3ardsEtaJaj2D2NfRmv9F855UNUh9RjvcIm+nkLixmwv4= X-Gm-Gg: ASbGnct2+rIOOc5Gf8HdLfygRFhCPv9viJS7C3uPfxgCmI/lv7zEzolaKdCLZ08C4Vf 5tW/IM7BLoIZDS0k6ylz9MIut5PXjYBFQLkO9mVDTeNFufW2k+5dpo4bmYidDM+GMfF9OkXuxM8 HLDC7lCu9X3+RSmOjqXEpUcN1zjEpDJ2RkUO51zUBLYeEOa2IeoKIt0ZthVyTavkQj6hksWTgNt SqcEleKwKOna+1YdL5HNz4TSI7BniqQy58KO6tum6KUC55vRA6xQULpvjI+t8RTH4lT7YUD8lEp irId5Uw9xNSXM/Z1zMU7+9C4/6NiWNz9ericgcERDzPOQR+LtA0TvYGqvFXx0TCyjk3Fynhy X-Google-Smtp-Source: AGHT+IEfwT74OUP41i1S3mriGIrqlugTrcW2xE+1rTpA4Mma/nN44ZV9qkaIgfQj7HZ2p8Gboz/FdA== X-Received: by 2002:a17:902:c944:b0:224:2207:5130 with SMTP id d9443c01a7336-22ac2c2ddbemr25444455ad.45.1744177043616; Tue, 08 Apr 2025 22:37:23 -0700 (PDT) Received: from kuroputer.flets-east.jp ([240b:10:3481:ee00:8906:977f:5873:985e]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22ac7c9725asm2973985ad.158.2025.04.08.22.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Apr 2025 22:37:23 -0700 (PDT) From: Kurome Date: Wed, 9 Apr 2025 14:36:43 +0900 Message-ID: <20250409053710.13704-1-hunt31999@gmail.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=hunt31999@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Since the OTC directory was deleted from the repo, I moved the source for output "out" from OTC to SuperOTC. SuperOTC is a combination of all the weights of OTC. The contents should not change. * gnu/packages/fonts.scm: Import (guix build-system copy). (font-adobe-source-han-sans): Update to 2.004. [outputs] Add "hk" (Hong Kong). Switch to SuperOTC for "out". [build-system] Switch to copy-bu [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (hunt31999[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (hunt31999[at]gmail.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Since the OTC directory was deleted from the repo, I moved the source for output "out" from OTC to SuperOTC. SuperOTC is a combination of all the weights of OTC. The contents should not change. * gnu/packages/fonts.scm: Import (guix build-system copy). (font-adobe-source-han-sans): Update to 2.004. [outputs] Add "hk" (Hong Kong). Switch to SuperOTC for "out". [build-system] Switch to copy-build-system for simplicity.. [arguments] Fixes for build system transition. Use G-Expression. [native-inputs]: Add unzip. Change-Id: I3b37b9406c932b3e4f936367670cbd2ca4a0f926 --- gnu/packages/fonts.scm | 60 ++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 9d558eccbc..c3aed12bbd 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -93,6 +93,7 @@ (define-module (gnu packages fonts) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system trivial) + #:use-module (guix build-system copy) #:use-module (gnu packages) #:use-module (gnu packages c) #:use-module (gnu packages base) @@ -795,46 +796,47 @@ (define-public font-terminus (define-public font-adobe-source-han-sans (package (name "font-adobe-source-han-sans") - (version "1.004") + (version "2.004") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/adobe-fonts/source-han-sans") - (commit (string-append version "R")))) + (url "https://github.com/adobe-fonts/source-han-sans") + (commit (string-append version "R")))) (file-name (git-file-name name version)) (sha256 (base32 - "0zm884d8fp5gvirq324050kqv7am9khyqhs9kk4r4rr3jzn61jpk")))) - (outputs '("out" ; OpenType/CFF Collection (OTC), 121 MiB. - "cn" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF. - (build-system trivial-build-system) + "0sgfvdigq9vdmf8wizapy8wcyzqrqj8il9sx1xzfm20qy376qvbf")))) + (outputs '("out" ; OpenType/CFF Collection (OTC), 112 MiB. + "cn" "hk" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF. + (build-system copy-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((install-opentype-fonts - (lambda (fonts-dir out) - (copy-recursively fonts-dir - (string-append (assoc-ref %outputs out) - "/share/fonts/opentype"))))) - (chdir (assoc-ref %build-inputs "source")) - (install-opentype-fonts "OTC" "out") - (install-opentype-fonts "SubsetOTF/CN" "cn") - (install-opentype-fonts "SubsetOTF/JP" "jp") - (install-opentype-fonts "SubsetOTF/KR" "kr") - (install-opentype-fonts "SubsetOTF/TW" "tw") - (for-each delete-file (find-files %output "\\.zip$")) - #t)))) + (list + #:install-plan + #~'(("SubsetOTF/CN" "share/fonts/opentype" #:output "cn") + ("SubsetOTF/HK" "share/fonts/opentype" #:output "hk") + ("SubsetOTF/JP" "share/fonts/opentype" #:output "jp") + ("SubsetOTF/KR" "share/fonts/opentype" #:output "kr") + ("SubsetOTF/TW" "share/fonts/opentype" #:output "tw")) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-otc + (lambda _ + (let ((destination-directory + (string-append #$output "/share/fonts/opentype"))) + (mkdir-p destination-directory) + (invoke "unzip" "SuperOTC/SourceHanSans.ttc.zip" + "-d" destination-directory))))))) + (native-inputs (list unzip)) (home-page "https://github.com/adobe-fonts/source-han-sans") (synopsis "Pan-CJK fonts") (description "Source Han Sans is a sans serif Pan-CJK font family that is offered in -seven weights: ExtraLight, Light, Normal, Regular, Medium, Bold, and Heavy. -And in several OpenType/CFF-based deployment configurations to accommodate -various system requirements or limitations. As the name suggests, Pan-CJK -fonts are intended to support the characters necessary to render or display -text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.") +seven weights: ExtraLight, Light, Normal, Regular, Medium, Bold, and Heavy. And +in several OpenType/CFF-based deployment configurations to accommodate various +system requirements or limitations. As the name suggests, Pan-CJK fonts are +intended to support the characters necessary to render or display text in +Simplified Chinese, Traditional Chinese (Taiwan, Hong Kong), Japanese, and +Korean.") (license license:silofl1.1))) (define-public font-cns11643 -- 2.49.0 From unknown Fri Jun 20 20:03:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Kurome Subject: bug#77662: closed (Re: [bug#77662] [PATCH] gnu: font-adobe-source-han-sans: Update to 2.004.) Message-ID: References: <875xjbvsj5.fsf@cbaines.net> <20250409053710.13704-1-hunt31999@gmail.com> X-Gnu-PR-Message: they-closed 77662 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 77662@debbugs.gnu.org Date: Fri, 11 Apr 2025 11:37:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1744371423-25138-1" This is a multi-part message in MIME format... ------------=_1744371423-25138-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #77662: [PATCH] gnu: font-adobe-source-han-sans: Update to 2.004. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 77662@debbugs.gnu.org. --=20 77662: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77662 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1744371423-25138-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 77662-done) by debbugs.gnu.org; 11 Apr 2025 11:36:49 +0000 Received: from localhost ([127.0.0.1]:49113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u3Cgj-0006We-1E for submit@debbugs.gnu.org; Fri, 11 Apr 2025 07:36:49 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:43805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u3Cgh-0006WS-4Z for 77662-done@debbugs.gnu.org; Fri, 11 Apr 2025 07:36:47 -0400 Received: from localhost (unknown [IPv6:2a02:6b67:e390:8b00::1ce5]) by mira.cbaines.net (Postfix) with ESMTPSA id C419027BC49; Fri, 11 Apr 2025 12:36:46 +0100 (BST) Received: from fang (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 5ad9804d; Fri, 11 Apr 2025 11:36:46 +0000 (UTC) From: Christopher Baines To: Kurome Subject: Re: [bug#77662] [PATCH] gnu: font-adobe-source-han-sans: Update to 2.004. In-Reply-To: <20250409053710.13704-1-hunt31999@gmail.com> (Kurome's message of "Wed, 9 Apr 2025 14:36:43 +0900") References: <20250409053710.13704-1-hunt31999@gmail.com> User-Agent: mu4e 1.12.9; emacs 29.4 Date: Fri, 11 Apr 2025 12:36:46 +0100 Message-ID: <875xjbvsj5.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 77662-done Cc: 77662-done@debbugs.gnu.org, iyzsong@envs.net, hako@ultrarare.space X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Kurome writes: > Since the OTC directory was deleted from the repo, I moved the source for > output "out" from OTC to SuperOTC. SuperOTC is a combination of all the > weights of OTC. The contents should not change. > > * gnu/packages/fonts.scm: Import (guix build-system copy). > (font-adobe-source-han-sans): Update to 2.004. > [outputs] Add "hk" (Hong Kong). Switch to SuperOTC for "out". > [build-system] Switch to copy-build-system for simplicity.. > [arguments] Fixes for build system transition. Use G-Expression. > [native-inputs]: Add unzip. > > Change-Id: I3b37b9406c932b3e4f936367670cbd2ca4a0f926 > --- > gnu/packages/fonts.scm | 60 ++++++++++++++++++++++-------------------- > 1 file changed, 31 insertions(+), 29 deletions(-) Thanks for the patch, I've pushed this to master as 70aa3b9c2fa4a8d6755fa4345210404223972628. Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmf4/s5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeiCg//Z4sHuJlTZnk8XqUvPozJw7pzH/A4SOHB dcyqqmK+PgvFQWn/pE4KA/sIGHT3LYG1TqG/sEnm6/F6akH5yv/0U4lBXyAYKlr5 yPRWC98PiuNSKFfVx023yD3LvKe85CZM4xHOPC84zAyzxKKUG0zdEyNoEWWPFNRx h1Ym4QUEN9B+j9XqOfudhBQq8v4ftAayj3YSegKQxUibT4vzuGID4BK/Kdnj5+rT hdRsHEob0FUs4oyW0umi/blDePFkYPbVT09RwJOCtPZeeWO0lnY7HHihn7DD+dHT wkCxge/hf2NYFFYpZAiL4y2Cz8nAY+PMdmyNRf65aPLKE4vCMWLYTmIRkzX0KFEq ByAPSnQinGYJxrkDERD2Zcdu3W/baRhE7SqqEKFRsMZUDgVO4BTfp9c054n52T2A n/C1odByfNZ44nL4vBCF62OCgSqRL/QFxdjNsQUVILOA/WpAdxXHtEfCbl2/+5ml mGGe7vdmTL2z8vic/inIZYykNnwVu7Q3hyi/8arPrcO197O95Wq5hExwGE3FOV14 1x+X984q0GwsDllxNI3OMK4oaOAlwXeyPOE6UUTpvna4N0ER6ukrBwQSTdLefmZ9 2oa0MvM/GD8YC3Y48o3KkTupsu3eMrZaW4rIpZ1vLmlf2KnlqOzD9duoPnq3ors5 pEeOyGuQHTw= =KkcF -----END PGP SIGNATURE----- --=-=-=-- ------------=_1744371423-25138-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Apr 2025 05:37:37 +0000 Received: from localhost ([127.0.0.1]:36784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1u2O81-0003y8-1a for submit@debbugs.gnu.org; Wed, 09 Apr 2025 01:37:37 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52696) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1u2O7x-0003xq-Tn for submit@debbugs.gnu.org; Wed, 09 Apr 2025 01:37:34 -0400 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 1u2O7s-0002S2-18 for guix-patches@gnu.org; Wed, 09 Apr 2025 01:37:28 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u2O7p-0000Yd-Pp for guix-patches@gnu.org; Wed, 09 Apr 2025 01:37:27 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-22a976f3131so37003005ad.3 for ; Tue, 08 Apr 2025 22:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744177044; x=1744781844; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oYNiHKA7U1YlzMWSSQoFVmqlfTuRJKf9WSNKSN0aQY8=; b=Sp0GRL8ocWHRWMmS1rWoaWvh9TicoWK56SYUQM32E48FB80coLp+mwdB3FsLlnVmQy W8QX6XV7BqC5cvFgg1oHoRlmSRpItQ2hiq49mVPX6EABVwyfLaACmmZIJ+OyVuAYDrtA aG1KKma62102GE/Nb0gr7a9XJx3uLhuWfFcahWoCfOpPsClIpdOZUlAB0scE+DYOQTR8 xtAO6vtNHtoVusIZ1XHKlN31vCVAsuqvtqvVvZ9jimfZeiTgevUXUQspYVSXnlaS7v7t xpdf4Lb47ZcU7VQ873eNH/r6y8FtZdB/NUSTzMrcFofPWYo9cbn7+bAMsElGFr9GAMXH B9rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744177044; x=1744781844; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oYNiHKA7U1YlzMWSSQoFVmqlfTuRJKf9WSNKSN0aQY8=; b=s6lzlG9SMv5ewIaJzSskz9qdQjvkNCr1mdaHW/e9hFJKVbhC26rAFgPyA7rtWAGW9i CuDUgjdKKqL20Ck7pbg5DBilF/JxFFozMWEiplAFwC1ApnsbrsHTHqpA9rJkCcyComIo P2QTt3Wdo73h+rooLXp+fthBbZPtqpmW/gcqArqCNp3YvrvpTiTO+65fdeNirfio4LjQ nmxHEi9Qdtk/4Q2MSk1aMKfHj9C8phM89rJVG+9ORNPihvCZwgO3nLKnLgRLJd5S3GWt ByqsZQKvNPT95sIW3am5omCyxlvjaxX3cdDhZ2wDIFic1EI8ksF7TKO1gn+BPltkM5Vu cpHQ== X-Gm-Message-State: AOJu0Yzo0b2yf9cyjhNbNez34vlSKzRgnNz8DVrWGnrLYSOL9EB3ZW4z bs2QswxqAWkZKVoQsQ3ardsEtaJaj2D2NfRmv9F855UNUh9RjvcIm+nkLixmwv4= X-Gm-Gg: ASbGnct2+rIOOc5Gf8HdLfygRFhCPv9viJS7C3uPfxgCmI/lv7zEzolaKdCLZ08C4Vf 5tW/IM7BLoIZDS0k6ylz9MIut5PXjYBFQLkO9mVDTeNFufW2k+5dpo4bmYidDM+GMfF9OkXuxM8 HLDC7lCu9X3+RSmOjqXEpUcN1zjEpDJ2RkUO51zUBLYeEOa2IeoKIt0ZthVyTavkQj6hksWTgNt SqcEleKwKOna+1YdL5HNz4TSI7BniqQy58KO6tum6KUC55vRA6xQULpvjI+t8RTH4lT7YUD8lEp irId5Uw9xNSXM/Z1zMU7+9C4/6NiWNz9ericgcERDzPOQR+LtA0TvYGqvFXx0TCyjk3Fynhy X-Google-Smtp-Source: AGHT+IEfwT74OUP41i1S3mriGIrqlugTrcW2xE+1rTpA4Mma/nN44ZV9qkaIgfQj7HZ2p8Gboz/FdA== X-Received: by 2002:a17:902:c944:b0:224:2207:5130 with SMTP id d9443c01a7336-22ac2c2ddbemr25444455ad.45.1744177043616; Tue, 08 Apr 2025 22:37:23 -0700 (PDT) Received: from kuroputer.flets-east.jp ([240b:10:3481:ee00:8906:977f:5873:985e]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-22ac7c9725asm2973985ad.158.2025.04.08.22.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Apr 2025 22:37:23 -0700 (PDT) From: Kurome To: guix-patches@gnu.org Subject: [PATCH] gnu: font-adobe-source-han-sans: Update to 2.004. Date: Wed, 9 Apr 2025 14:36:43 +0900 Message-ID: <20250409053710.13704-1-hunt31999@gmail.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: hako@ultrarare.space, iyzsong@envs.net Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=hunt31999@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Since the OTC directory was deleted from the repo, I moved the source for output "out" from OTC to SuperOTC. SuperOTC is a combination of all the weights of OTC. The contents should not change. * gnu/packages/fonts.scm: Import (guix build-system copy). (font-adobe-source-han-sans): Update to 2.004. [outputs] Add "hk" (Hong Kong). Switch to SuperOTC for "out". [build-system] Switch to copy-bu [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (hunt31999[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (hunt31999[at]gmail.com) X-Debbugs-Envelope-To: submit Cc: Kurome X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Since the OTC directory was deleted from the repo, I moved the source for output "out" from OTC to SuperOTC. SuperOTC is a combination of all the weights of OTC. The contents should not change. * gnu/packages/fonts.scm: Import (guix build-system copy). (font-adobe-source-han-sans): Update to 2.004. [outputs] Add "hk" (Hong Kong). Switch to SuperOTC for "out". [build-system] Switch to copy-build-system for simplicity.. [arguments] Fixes for build system transition. Use G-Expression. [native-inputs]: Add unzip. Change-Id: I3b37b9406c932b3e4f936367670cbd2ca4a0f926 --- gnu/packages/fonts.scm | 60 ++++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 9d558eccbc..c3aed12bbd 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -93,6 +93,7 @@ (define-module (gnu packages fonts) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system trivial) + #:use-module (guix build-system copy) #:use-module (gnu packages) #:use-module (gnu packages c) #:use-module (gnu packages base) @@ -795,46 +796,47 @@ (define-public font-terminus (define-public font-adobe-source-han-sans (package (name "font-adobe-source-han-sans") - (version "1.004") + (version "2.004") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/adobe-fonts/source-han-sans") - (commit (string-append version "R")))) + (url "https://github.com/adobe-fonts/source-han-sans") + (commit (string-append version "R")))) (file-name (git-file-name name version)) (sha256 (base32 - "0zm884d8fp5gvirq324050kqv7am9khyqhs9kk4r4rr3jzn61jpk")))) - (outputs '("out" ; OpenType/CFF Collection (OTC), 121 MiB. - "cn" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF. - (build-system trivial-build-system) + "0sgfvdigq9vdmf8wizapy8wcyzqrqj8il9sx1xzfm20qy376qvbf")))) + (outputs '("out" ; OpenType/CFF Collection (OTC), 112 MiB. + "cn" "hk" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF. + (build-system copy-build-system) (arguments - `(#:modules ((guix build utils)) - #:builder - (begin - (use-modules (guix build utils)) - (let ((install-opentype-fonts - (lambda (fonts-dir out) - (copy-recursively fonts-dir - (string-append (assoc-ref %outputs out) - "/share/fonts/opentype"))))) - (chdir (assoc-ref %build-inputs "source")) - (install-opentype-fonts "OTC" "out") - (install-opentype-fonts "SubsetOTF/CN" "cn") - (install-opentype-fonts "SubsetOTF/JP" "jp") - (install-opentype-fonts "SubsetOTF/KR" "kr") - (install-opentype-fonts "SubsetOTF/TW" "tw") - (for-each delete-file (find-files %output "\\.zip$")) - #t)))) + (list + #:install-plan + #~'(("SubsetOTF/CN" "share/fonts/opentype" #:output "cn") + ("SubsetOTF/HK" "share/fonts/opentype" #:output "hk") + ("SubsetOTF/JP" "share/fonts/opentype" #:output "jp") + ("SubsetOTF/KR" "share/fonts/opentype" #:output "kr") + ("SubsetOTF/TW" "share/fonts/opentype" #:output "tw")) + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-otc + (lambda _ + (let ((destination-directory + (string-append #$output "/share/fonts/opentype"))) + (mkdir-p destination-directory) + (invoke "unzip" "SuperOTC/SourceHanSans.ttc.zip" + "-d" destination-directory))))))) + (native-inputs (list unzip)) (home-page "https://github.com/adobe-fonts/source-han-sans") (synopsis "Pan-CJK fonts") (description "Source Han Sans is a sans serif Pan-CJK font family that is offered in -seven weights: ExtraLight, Light, Normal, Regular, Medium, Bold, and Heavy. -And in several OpenType/CFF-based deployment configurations to accommodate -various system requirements or limitations. As the name suggests, Pan-CJK -fonts are intended to support the characters necessary to render or display -text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.") +seven weights: ExtraLight, Light, Normal, Regular, Medium, Bold, and Heavy. And +in several OpenType/CFF-based deployment configurations to accommodate various +system requirements or limitations. As the name suggests, Pan-CJK fonts are +intended to support the characters necessary to render or display text in +Simplified Chinese, Traditional Chinese (Taiwan, Hong Kong), Japanese, and +Korean.") (license license:silofl1.1))) (define-public font-cns11643 -- 2.49.0 ------------=_1744371423-25138-1--