From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Apr 2017 19:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 26702@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149340805231572 (code B ref -1); Fri, 28 Apr 2017 19:35:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2017 19:34:12 +0000 Received: from localhost ([127.0.0.1]:45076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4Bed-0008D9-On for submit@debbugs.gnu.org; Fri, 28 Apr 2017 15:34:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4B1N-00076C-7J for submit@debbugs.gnu.org; Fri, 28 Apr 2017 14:53:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4B1G-0004dt-UE for submit@debbugs.gnu.org; Fri, 28 Apr 2017 14:53:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d4B1G-0004dn-RE for submit@debbugs.gnu.org; Fri, 28 Apr 2017 14:53:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4B1F-0003b2-Bq for guix-patches@gnu.org; Fri, 28 Apr 2017 14:53:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4B1B-0004bU-J3 for guix-patches@gnu.org; Fri, 28 Apr 2017 14:53:29 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:53092 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d4B1B-0004aF-9x for guix-patches@gnu.org; Fri, 28 Apr 2017 14:53:25 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id E51C7514C63; Fri, 28 Apr 2017 20:53:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493405601; bh=xgoHUrExVAyN6KC3QKAWqD1t3u6PsNaUtbNhb0FnlWA=; h=To:From:Subject:Date:From; b=aj5jufLyMH2E//FOEm0QlG0no9Pzgwgkdn+C5XwemmqQfvCQTGe4NRvb641TWi8VV pgjwpw/k/0jGPrkHLeB8tIMymdf51F4jdauM69gntNao8nX06DyeIaqBC9oVNNI3h+ HbLq5FDdMh1W1fAtleJ3DyrdO0tt6zNKy4da/UQ4= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493405600; bh=xgoHUrExVAyN6KC3QKAWqD1t3u6PsNaUtbNhb0FnlWA=; h=To:From:Subject:Date:From; b=MVv5k8gDz/qbkxVBlJRTbYZKGSdWWYyNyzoctXSVpOQQ34KA1dO0So7Btu6oz2dRD cwVz0a8IF6iCi7G3qmoACxHAcTcmfhCxJJkGtjRSm4hRjqrXrP6K3b9zlE//2T24tg ZYYJiO+5U7hxkEn3tWXDloTu/w6vIj6SYcaVBmcQ= From: Brendan Tildesley Message-ID: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> Date: Sat, 29 Apr 2017 04:53:13 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------AA7B1349E44EBA07EA156791" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Fri, 28 Apr 2017 15:34:10 -0400 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: -4.0 (----) This is a multi-part message in MIME format. --------------AA7B1349E44EBA07EA156791 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit --------------AA7B1349E44EBA07EA156791 Content-Type: text/x-patch; name="0001-gnu-Add-font-cns11643.patch" Content-Disposition: attachment; filename="0001-gnu-Add-font-cns11643.patch" Content-Transfer-Encoding: quoted-printable >From 69bd2f347a516bc978406f9810a5355812c58491 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sat, 29 Apr 2017 04:30:48 +1000 Subject: [PATCH 1/2] gnu: Add font-cns11643 * gnu/packages/fonts.scm (font-cns11643): New variable. --- gnu/packages/fonts.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 2452a1c81..821fce69a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2017 Jos=C3=A9 Miguel S=C3=A1nchez Garc=C3=ADa ;;; Copyright =C2=A9 2017 Alex Griffin +;;; Copyrihgt =C2=A9 2017 Brendan Tildesley =20 ;;; ;;; This file is part of GNU Guix. ;;; @@ -518,6 +519,64 @@ fonts are intended to support the characters necessa= ry to render or display text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.") (license license:silofl1.1))) =20 +(define-public font-cns11643 + (package + (name "font-cns11643") + (version "98.1.20170405") + (source (origin + (method url-fetch) + (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip") + (sha256 + (base32 + "1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455"))= )) + (outputs '("out" "tw-kai" "tw-sung")) + (build-system trivial-build-system) + (native-inputs + `(("unzip" ,unzip))) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((font-dir "/share/fonts/truetype/cns11643") + (out (string-append %output font-dir)) + (unzip (string-append + (assoc-ref %build-inputs "unzip") "/bin/unzip")) + (tw-kai (string-append + (assoc-ref %outputs "tw-kai") font-dir)) + (tw-sung (string-append + (assoc-ref %outputs "tw-sung") font-dir))) + (system* unzip (assoc-ref %build-inputs "source")) + (chdir "Open_Data/Fonts/") + (install-file "TW-Kai-98_1.ttf" tw-kai) + (install-file "TW-Sung-98_1.ttf" tw-sung) + (install-file "TW-Kai-98_1.ttf" out) + (install-file "TW-Kai-Ext-B-98_1.ttf" out) + (install-file "TW-Kai-Plus-98_1.ttf" out) + (install-file "TW-Sung-98_1.ttf" out) + (install-file "TW-Sung-Ext-B-98_1.ttf" out) + (install-file "TW-Sung-Plus-98_1.ttf" out))))) + (home-page "http://www.cns11643.gov.tw/AIDB/welcome.do") + (synopsis "CJK TrueType fonts, TW-Kai and TW-Sung") + (description + "@code{CNS 11643} character set (Chinese National Standard, or Chin= ese +Standard Interchange Code) is the standard character set of the Republic= of +China (Taiwan) for Chinese Characters and other Unicode symbols. Contai= ned +are six TrueType fonts based on two script styles, Regular Script (Kai),= and +Sung/Ming Script, each with three variants: + +@itemize +@item @code{CNS 11643} (@code{TW-Kai} and @code{TW-Sung}): Tens of thous= ands +of CJK characters from frequency tables published by the Taiwanese +Ministry of Education. ISO 10646 and Unicode compatible code encoding. +@item @code{Big-5 Plus}: Several thousand frequently used CJK characters +encoded in the user defined area of the Big-5 code. +@item @code{Big-5 Extended}: A Big-5 character set based on the +@code{Big-5 Plus} and @code{CNS 11643} character sets. +@end itemize\n") + (license (license:non-copyleft + "http://data.gov.tw/license")))) + (define-public font-wqy-zenhei (package (name "font-wqy-zenhei") --=20 2.12.2 --------------AA7B1349E44EBA07EA156791-- From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Apr 2017 15:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brendan Tildesley , 26702@debbugs.gnu.org Received: via spool by 26702-submit@debbugs.gnu.org id=B26702.14935650075646 (code B ref 26702); Sun, 30 Apr 2017 15:11:01 +0000 Received: (at 26702) by debbugs.gnu.org; 30 Apr 2017 15:10:07 +0000 Received: from localhost ([127.0.0.1]:47907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4qUB-0001T0-BU for submit@debbugs.gnu.org; Sun, 30 Apr 2017 11:10:07 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:52525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4qU8-0001Sr-Ca for 26702@debbugs.gnu.org; Sun, 30 Apr 2017 11:10:06 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 3D52920878; Sun, 30 Apr 2017 11:10:04 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 30 Apr 2017 11:10:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=8/mm6uoW/4pl807Rp8ckqE0Xz9gt950Zy6qkeQ8wC tE=; b=Fb9DyIxvpMWiWmqu7+SE8O6SV3kF5xU51EGpKRIL6X+2zKy5dWZm3roje zKC/Oci6EdPaO4a8PHvPG5zQ8ya65jtEOQnWvWW9rV22vcytsRVPtugHf1poZ2PV hc2ndCKoSPGtsh3jouBTlgBt69c+v/GhjmGTrNOTuB7SBXc42y/svRzZKfyHEyoj FgmWBYdRSQHqifFAtY07chhU2YTY4J/mX+wh6knxtjd+cRErsMMzo8D9f7ktRGfx teIMpvy/rRk3+N4VPmrfcTzdEz3f/gdnBXMdXK9p6VUjMgcZkKDkuBVVvJQ8y5ky uaHOHIwYeHu990nQ2+0T11xVg69tg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=8/mm6uoW/4pl807Rp8 ckqE0Xz9gt950Zy6qkeQ8wCtE=; b=b0QoH8GEaSw14N8kZRjDMDznXoqnJwEGhF joirc+W7qWfTXasl7ocpCFxBB5ykkERJG6ajIrqwI0EBv2II99kXEDfxVoYn4wKk Vdnli4GxhTRc/3MyMPx+elzRjR0EcAwERpEG/6hIoMqywPV0t4yfpC6XH8951E3m oqDQ2x4Y2qJ3LBkVFpllZb5C3FzWOIATgL2P+kCX/ba0WEvRdmV1z+qOQRC88nSk +wGwd70y9oVa+sa1pbFeJk8kuzA5YY6sIOmCdvtaHjhITfcH9iCq1oM9aPRE+gF0 UZw5lHzn2cyoTml30EbuOkAlYkBq9/fZe2tgVSAnzzAVDPt3wkUg== X-ME-Sender: X-Sasl-enc: ciJjXnWa4z+t2NQzowfKgJTdxGUbqcCI/6jQeTlHR3AQ 1493565003 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id B95147E32F; Sun, 30 Apr 2017 11:10:03 -0400 (EDT) From: Marius Bakke In-Reply-To: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Sun, 30 Apr 2017 17:10:02 +0200 Message-ID: <87wpa2gcdx.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Brendan, thanks for this! Brendan Tildesley writes: > * gnu/packages/fonts.scm (font-cns11643): New variable. [...] =20=20 > +(define-public font-cns11643 > + (package > + (name "font-cns11643") > + (version "98.1.20170405") > + (source (origin > + (method url-fetch) > + (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip") > + (sha256 > + (base32 > + "1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455"))= )) I'm getting a different hash when downloading this: @ build-failed /gnu/store/b4s6pjp7pvwn5028zxm7dn7hxb7akhxn-Open_Data.zip.dr= v - 1 output path `/gnu/store/kv2291fl8p8r3ic15pp68751qncrv830-Open_Data.zi= p' should have sha256 hash `1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr= 6d455', instead has `02kb3bwjrra0k2hlr2p8xswd2y0xs6j8d9vm6yrby734h02a40qf' Maybe I'm getting a newer version? If this is updated in-place upstream very frequently, it would be good to have a way to access older downloads. Any ideas? Minor nit-picks follow, but I've corrected this in my local branch: > + (outputs '("out" "tw-kai" "tw-sung")) > + (build-system trivial-build-system) > + (native-inputs > + `(("unzip" ,unzip))) > + (arguments > + `(#:modules ((guix build utils)) > + #:builder > + (begin > + (use-modules (guix build utils)) > + (let* ((font-dir "/share/fonts/truetype/cns11643") > + (out (string-append %output font-dir)) I've changes this to use (assoc-ref outputs "out") instead of the magical %output. > + (unzip (string-append > + (assoc-ref %build-inputs "unzip") "/bin/unzip")) > + (tw-kai (string-append > + (assoc-ref %outputs "tw-kai") font-dir)) > + (tw-sung (string-append > + (assoc-ref %outputs "tw-sung") font-dir))) > + (system* unzip (assoc-ref %build-inputs "source")) > + (chdir "Open_Data/Fonts/") > + (install-file "TW-Kai-98_1.ttf" tw-kai) > + (install-file "TW-Sung-98_1.ttf" tw-sung) > + (install-file "TW-Kai-98_1.ttf" out) > + (install-file "TW-Kai-Ext-B-98_1.ttf" out) > + (install-file "TW-Kai-Plus-98_1.ttf" out) > + (install-file "TW-Sung-98_1.ttf" out) > + (install-file "TW-Sung-Ext-B-98_1.ttf" out) > + (install-file "TW-Sung-Plus-98_1.ttf" out))))) And added a #t at the end here, since the return value of "install-file" is unspecified. > + (home-page "http://www.cns11643.gov.tw/AIDB/welcome.do") > + (synopsis "CJK TrueType fonts, TW-Kai and TW-Sung") > + (description > + "@code{CNS 11643} character set (Chinese National Standard, or Chin= ese > +Standard Interchange Code) is the standard character set of the Republic= of > +China (Taiwan) for Chinese Characters and other Unicode symbols. Contai= ned > +are six TrueType fonts based on two script styles, Regular Script (Kai),= and > +Sung/Ming Script, each with three variants: > + > +@itemize > +@item @code{CNS 11643} (@code{TW-Kai} and @code{TW-Sung}): Tens of thous= ands > +of CJK characters from frequency tables published by the Taiwanese > +Ministry of Education. ISO 10646 and Unicode compatible code encoding. > +@item @code{Big-5 Plus}: Several thousand frequently used CJK characters > +encoded in the user defined area of the Big-5 code. > +@item @code{Big-5 Extended}: A Big-5 character set based on the > +@code{Big-5 Plus} and @code{CNS 11643} character sets. > +@end itemize\n") > + (license (license:non-copyleft > + "http://data.gov.tw/license")))) ...and added a comment about this license being compatible with CC-BY 4.0 here. Thanks a lot for packaging these! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkF/koACgkQoqBt8qM6 VPp9tQgApIrKTalZjSYtCXM7gI3hveZM+2FuZvp45gjLqMFT4/kPSbvnROxtt3zs LrrXVjp0QAxLMJuQzmHGjyoX4sJ37WBFmVXH/Fz4ffrVodesqjcGblxK/zBjbz6j tjnjxxjq+XD+dudaxQXUEO9mluzegCoZTQUvBg8BZP+xLNJuKC8XE2OPli6Gbvw9 enuMn/T8tfKeK2ceeTx6vA9Au5e24LzCXGTHIgEnkFUtdkk5Y8m2mRL/nOh3zhA+ RVcbYHhaoZQSYziDqM4Euq8VhGrMttKxz3R0R8PIaD9NhBn8FisxqpdgWx4Mtwjb dRpD2JPI8Dt5hh8atBNkaMpUfFY1Nw== =ljRS -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Kei Kebreau Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Apr 2017 18:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: Brendan Tildesley , 26702@debbugs.gnu.org Received: via spool by 26702-submit@debbugs.gnu.org id=B26702.149357567521642 (code B ref 26702); Sun, 30 Apr 2017 18:08:01 +0000 Received: (at 26702) by debbugs.gnu.org; 30 Apr 2017 18:07:55 +0000 Received: from localhost ([127.0.0.1]:48002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4tGF-0005d0-KB for submit@debbugs.gnu.org; Sun, 30 Apr 2017 14:07:55 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:54276 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4tGD-0005cq-9e for 26702@debbugs.gnu.org; Sun, 30 Apr 2017 14:07:54 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id EF7375080BB; Sun, 30 Apr 2017 20:07:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493575672; bh=Td8m2zI9OOgsNKgQOKZpED1Lbh5zacSNv7BsAHFGSLE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=G84SD5o7wAe+O4IFUuuinBb5U7QY+o9zw2VgB7bE5Loa03wzC2rQZpL6pKr7+6PU3 4xUu/wiNzd119OZrHF/mUY8y5tIawG4md56C5FlDF1gAAAYk0MF40CXM7LCPrYjyoD YUAuV4zR3QU9DvHpn6DHwG40V91JdBJjP+FtEcB0= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR003 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID autolearn=disabled version=3.4.0 From: Kei Kebreau DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493575670; bh=Td8m2zI9OOgsNKgQOKZpED1Lbh5zacSNv7BsAHFGSLE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=I+gMHqicUxDo2aWPhaRp6I62R5tYdjb75VS/K5vfgOdswfWNu974OkPIFrfV37QPY P5pyKntu31UDjI1Eeej/pVJnbPttxHft8gbZFf/bLs7TfDAUgM7nkuvnuga7M53QEj s5UtC9aE7WpiFMEOHcDBP2fo/P1yoYU7q08trx4c= References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> Date: Sun, 30 Apr 2017 14:07:34 -0400 In-Reply-To: <87wpa2gcdx.fsf@fastmail.com> (Marius Bakke's message of "Sun, 30 Apr 2017 17:10:02 +0200") Message-ID: <8760hlpy55.fsf@openmailbox.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -2.8 (--) 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: -2.8 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Marius Bakke writes: > Hi Brendan, thanks for this! > > Brendan Tildesley writes: > >> * gnu/packages/fonts.scm (font-cns11643): New variable. > > [...] >=20=20=20 >> +(define-public font-cns11643 >> + (package >> + (name "font-cns11643") >> + (version "98.1.20170405") >> + (source (origin >> + (method url-fetch) >> + (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip") >> + (sha256 >> + (base32 >> + "1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455")= ))) > > I'm getting a different hash when downloading this: > > @ build-failed > /gnu/store/b4s6pjp7pvwn5028zxm7dn7hxb7akhxn-Open_Data.zip.drv - 1 > output path > `/gnu/store/kv2291fl8p8r3ic15pp68751qncrv830-Open_Data.zip' should > have sha256 hash > `1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455', instead has > `02kb3bwjrra0k2hlr2p8xswd2y0xs6j8d9vm6yrby734h02a40qf' > I just wanted to say that I get the same incorrect hash when downloading the source. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEg7ZwOtzKO2lLzi2m5qXuPBlGeg0FAlkGJ+gACgkQ5qXuPBlG eg2Rew//YeXwsJNHbbIHQU6mWLfT3s/yXmhuhmZ6UsSAuWVNO+HBcAOBVMTGe62Y r1iVX5fbQCwYMBm95FzlvTYyCkAc/Ie9sYiM/MAmPPVMmOSCm0kSm6QB+VwesD8B vXsF/IrRY5ICrGatdch5dcn2DgmLhdeUMRUtgrUin6aPi3FLfDeO2RHki/glAmXF u38fmKeohizKmiWrrtLifNMr1vd6cXsrAxSBE1+IoVI6SPfcDK++FlTphAWby3q4 GcCiw9X+slaaAxlGHZgTx7M+bIDhG+9N8u35AA2r8ZCkRNya0OIdwnm6T7mdNWUe ZldkqYNoeIBWfISYo0lt7UvS4YsHPEVSODl3hYqeqWpRyL2+iFqnNP4P9/u2zDC6 fEGstudOzr/qQ1/JvE3DvcoAzNbWgo4XfzG4gvg3zubkkuY8s5z6FzwyXnS+t5Pm VJqH4mRxjPMNwBzoeBvK3pgcVWVhgWm9NlLO37gAN/dKV1EN10MjTQ+Y/0CGiryu 0AstO/rUgy+PJUTOxpcSkUJELsAe4VFwZ19vz+RIJZWPU8cexUYueuIwzMf4rhvZ 914TDyhQroTvFjsFlOZpGFrHIQTsKiGj/TgpaLdYa9q7kHkq617NUonVP+9haVWV 3zAE0FB/ZwlDaHwh+vxT8OpIW6jzKQXdNDqRIByVy2B1WGMAxF4= =0Qxo -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 May 2017 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 26702@debbugs.gnu.org Received: via spool by 26702-submit@debbugs.gnu.org id=B26702.149364984131304 (code B ref 26702); Mon, 01 May 2017 14:44:02 +0000 Received: (at 26702) by debbugs.gnu.org; 1 May 2017 14:44:01 +0000 Received: from localhost ([127.0.0.1]:49727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CYQ-00088n-1j for submit@debbugs.gnu.org; Mon, 01 May 2017 10:44:01 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:45494 helo=mail.openmailbox.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5CYM-00088d-QL for 26702@debbugs.gnu.org; Mon, 01 May 2017 10:43:56 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id 624D850FC6B; Mon, 1 May 2017 16:43:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493649833; bh=JOerlCwbPgrr25nxUtMoZl04JXMBFQnGgVuXN3VQ91Q=; h=Subject:References:To:From:Date:In-Reply-To:From; b=FbdfikMc5tdv4On2QeWXozmtC+4o4aHQw7a6LqDSsJYL0a8lunF12u96eKhurPqS+ AaiVT7pKHFpuQHSGKBoskdOemw6WG9tamtr3HvSoVPas+tZXKYlmEdhKMH+Bmfarxl tj7FqGBbMBsMStkHpVqXWsyJY/OdBjWItW0NgwpI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ZDZR002 X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=NO_RECEIVED,NO_RELAYS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=disabled version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493649830; bh=JOerlCwbPgrr25nxUtMoZl04JXMBFQnGgVuXN3VQ91Q=; h=Subject:References:To:From:Date:In-Reply-To:From; b=05vvZqZz7GMWm8hYXR+876svlZg4Ttt+T+k/GmxYNJmGhH7bjetJm2hiBY9TLug6z 2/aGKbN0D0r9ZowYi3+npvA6RJNtRiAVt0mRCYs9Y7A8Cy6ylHXQItKxNg86LLT4oq qc9p2kF8m6T+vJKZLYgDMrx8HekzRu77+t2I9ZqM= References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> From: Brendan Tildesley Message-ID: <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> Date: Tue, 2 May 2017 00:43:41 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0 MIME-Version: 1.0 In-Reply-To: <87wpa2gcdx.fsf@fastmail.com> Content-Type: multipart/mixed; boundary="------------69F20DCA133BB5DDFEA8977A" X-Spam-Score: -2.8 (--) 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: -2.8 (--) This is a multi-part message in MIME format. --------------69F20DCA133BB5DDFEA8977A Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 8bit Marius Bakke ©ó 2017-05-01 01:10 ¼g¹D: > Hi Brendan, thanks for this! > > Brendan Tildesley writes: > >> * gnu/packages/fonts.scm (font-cns11643): New variable. > [...] > >> +(define-public font-cns11643 >> + (package >> + (name "font-cns11643") >> + (version "98.1.20170405") >> + (source (origin >> + (method url-fetch) >> + (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip") >> + (sha256 >> + (base32 >> + "1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455")))) > I'm getting a different hash when downloading this: > > @ build-failed /gnu/store/b4s6pjp7pvwn5028zxm7dn7hxb7akhxn-Open_Data.zip.drv - 1 output path `/gnu/store/kv2291fl8p8r3ic15pp68751qncrv830-Open_Data.zip' should have sha256 hash `1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455', instead has `02kb3bwjrra0k2hlr2p8xswd2y0xs6j8d9vm6yrby734h02a40qf' > > Maybe I'm getting a newer version? If this is updated in-place upstream > very frequently, it would be good to have a way to access older > downloads. Any ideas? > > Minor nit-picks follow, but I've corrected this in my local branch: I have confirmed that the new hash represents an update to the font. I have thought about hosting this file, but I'm not sure where I can host ~300MiB. Also, It means I have to bother updating that file frequently. On the other hand if we use upstream, a failing hash typically means there is an update. There is unlikely any other Guix user interested in these fonts at the present. So I'm not sure what to do. >> + (outputs '("out" "tw-kai" "tw-sung")) >> + (build-system trivial-build-system) >> + (native-inputs >> + `(("unzip" ,unzip))) >> + (arguments >> + `(#:modules ((guix build utils)) >> + #:builder >> + (begin >> + (use-modules (guix build utils)) >> + (let* ((font-dir "/share/fonts/truetype/cns11643") >> + (out (string-append %output font-dir)) > I've changes this to use (assoc-ref outputs "out") instead of the > magical %output. Ok, I don't understand much about those. Are the uses of %outputs (with the 's') below also problematic? >> + (unzip (string-append >> + (assoc-ref %build-inputs "unzip") "/bin/unzip")) >> + (tw-kai (string-append >> + (assoc-ref %outputs "tw-kai") font-dir)) >> + (tw-sung (string-append >> + (assoc-ref %outputs "tw-sung") font-dir))) >> + (system* unzip (assoc-ref %build-inputs "source")) >> + (chdir "Open_Data/Fonts/") >> + (install-file "TW-Kai-98_1.ttf" tw-kai) >> + (install-file "TW-Sung-98_1.ttf" tw-sung) >> + (install-file "TW-Kai-98_1.ttf" out) >> + (install-file "TW-Kai-Ext-B-98_1.ttf" out) >> + (install-file "TW-Kai-Plus-98_1.ttf" out) >> + (install-file "TW-Sung-98_1.ttf" out) >> + (install-file "TW-Sung-Ext-B-98_1.ttf" out) >> + (install-file "TW-Sung-Plus-98_1.ttf" out))))) > And added a #t at the end here, since the return value of "install-file" > is unspecified. > >> [...] >> + (license (license:non-copyleft >> + "http://data.gov.tw/license")))) > ...and added a comment about this license being compatible with CC-BY > 4.0 here. > > Thanks a lot for packaging these! I have attached an updated patch file, and will follow up a with [PATCH 2/2] update --------------69F20DCA133BB5DDFEA8977A Content-Type: text/x-patch; name="0001-gnu-Add-font-cns11643.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="0001-gnu-Add-font-cns11643.patch" >From 88afaaa9307ccb62fbfa9a4809c5a6b27a69dc30 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sat, 29 Apr 2017 04:30:48 +1000 Subject: [PATCH 1/2] gnu: Add font-cns11643 * gnu/packages/fonts.scm (font-cns11643): New variable. --- gnu/packages/fonts.scm | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 2452a1c81..83ac27c6c 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2017 Tobias Geerinckx-Rice ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2017 Alex Griffin +;;; Copyright © 2017 Brendan Tildesley ;;; ;;; This file is part of GNU Guix. ;;; @@ -518,6 +519,66 @@ fonts are intended to support the characters necessary to render or display text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.") (license license:silofl1.1))) +(define-public font-cns11643 + (package + (name "font-cns11643") + (version "98.1.20170405") + (source (origin + (method url-fetch) + (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip") + (sha256 + (base32 + "02kb3bwjrra0k2hlr2p8xswd2y0xs6j8d9vm6yrby734h02a40qf")))) + (outputs '("out" "tw-kai" "tw-sung")) + (build-system trivial-build-system) + (native-inputs + `(("unzip" ,unzip))) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((font-dir "/share/fonts/truetype/cns11643") + (out (string-append + (assoc-ref %outputs "out") font-dir)) + (tw-kai (string-append + (assoc-ref %outputs "tw-kai") font-dir)) + (tw-sung (string-append + (assoc-ref %outputs "tw-sung") font-dir)) + (unzip (string-append + (assoc-ref %build-inputs "unzip") "/bin/unzip"))) + (system* unzip (assoc-ref %build-inputs "source")) + (chdir "Open_Data/Fonts/") + (install-file "TW-Kai-98_1.ttf" tw-kai) + (install-file "TW-Sung-98_1.ttf" tw-sung) + (install-file "TW-Kai-98_1.ttf" out) + (install-file "TW-Kai-Ext-B-98_1.ttf" out) + (install-file "TW-Kai-Plus-98_1.ttf" out) + (install-file "TW-Sung-98_1.ttf" out) + (install-file "TW-Sung-Ext-B-98_1.ttf" out) + (install-file "TW-Sung-Plus-98_1.ttf" out) + #t)))) + (home-page "http://www.cns11643.gov.tw/AIDB/welcome.do") + (synopsis "CJK TrueType fonts, TW-Kai and TW-Sung") + (description + "@code{CNS 11643} character set (Chinese National Standard, or Chinese +Standard Interchange Code) is the standard character set of the Republic of +China (Taiwan) for Chinese Characters and other Unicode symbols. Contained +are six TrueType fonts based on two script styles, Regular script (Kai), and +Sung/Ming script, each with three variants: + +@itemize +@item @code{CNS 11643} (@code{TW-Kai} and @code{TW-Sung}): Tens of thousands +of CJK characters from frequency tables published by the Taiwanese +Ministry of Education. ISO 10646 and Unicode compatible encoding. +@item @code{Big-5 Plus}: Several thousand frequently used CJK characters +encoded in the user defined area of the Big-5 code. +@item @code{Big-5 Extended}: A Big-5 character set based on the +@code{Big-5 Plus} and @code{CNS 11643} character sets. +@end itemize\n") + (license (license:non-copyleft + "http://data.gov.tw/license")))) ; CC-BY 4.0 compatible + (define-public font-wqy-zenhei (package (name "font-wqy-zenhei") -- 2.12.2 --------------69F20DCA133BB5DDFEA8977A-- From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 May 2017 22:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brendan Tildesley , 26702@debbugs.gnu.org Received: via spool by 26702-submit@debbugs.gnu.org id=B26702.149367807022232 (code B ref 26702); Mon, 01 May 2017 22:35:02 +0000 Received: (at 26702) by debbugs.gnu.org; 1 May 2017 22:34:30 +0000 Received: from localhost ([127.0.0.1]:50059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Jtm-0005mW-F3 for submit@debbugs.gnu.org; Mon, 01 May 2017 18:34:30 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:55857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d5Jtj-0005mM-3b for 26702@debbugs.gnu.org; Mon, 01 May 2017 18:34:28 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 16A4020648; Mon, 1 May 2017 18:34:25 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 01 May 2017 18:34:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=kSdifDbylNQnwdUxAw6qFFGxZ2SdboZ95IS1kw5o2 24=; b=SXw5E1pNt0wk3fHJXpti2aTt8TUwVAUz6Aim3yTaYrVZiI2geZm/QEReq g5mn6LycuwXo1NTMHWzcMV+nwXZ3bHF/urVdJdVsC0rDeGUVYSs7RFVtefe5kCMW VAYKgpRlnOFPH+Q72PvVabIYqYypKhX3xRM7IO+YsJRlofGJW0yzxXqyWNWzsHT4 HW9lCMCCOfzTE8IZ6cbfVChjnuR3AoIc4PVV8LIWWbz6CF/aynbZIxYl4tMawAuw OE3J3nUAWizClh4xfjNsa9qTDmKuPi3RGrTkg2YkzJpoqebbnYgsgW+eRaVV5R2/ BuvYHvMo2FoKYfxeLfRUxbT5MpxWg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=kSdifDbylNQnwdUxAw 6qFFGxZ2SdboZ95IS1kw5o224=; b=KqW9XTyxN1id6X59bmPZDCqqfhmfRcWls0 EQy525RmhtfDbqOvsrUB5YtEIdx7UO+YGqIDulISXoTGtPX3ny02AxTg21JSn/zo ugTmadDBDzqEJibfhoKPcZFhqqAcFBWHv4YMXPjqmtFzt9JB/FzAXvkZU6s/TGqd aBcmtUtWqH5PaPuTeyREplsz0HimZS6DdGxTiiv+Iy/mjW4a2KsQGXm8PNXIZJne HgX8u9sGkodjFYrjghp/WGhDIGJdzdT1vTtuxsMLAStm6AgBfZ7OMecYlzOgv29p QjKsXBxDPnR3gb74rsOJwCfs4AUuV7HJIjIYHNLoVdkq98t9fhlA== X-ME-Sender: X-Sasl-enc: tZoyWoXzIpE0u56H7501twSUNnWXTBVrqnJReuHPYIL6 1493678064 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 93EA67E21D; Mon, 1 May 2017 18:34:24 -0400 (EDT) From: Marius Bakke In-Reply-To: <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Tue, 02 May 2017 00:34:23 +0200 Message-ID: <87mvawfbps.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Brendan Tildesley writes: > Marius Bakke =E6=96=BC 2017-05-01 01:10 =E5=AF=AB=E9=81=93: >> Hi Brendan, thanks for this! >> >> Brendan Tildesley writes: >> >>> * gnu/packages/fonts.scm (font-cns11643): New variable. >> [...] >>=20=20=20 >>> +(define-public font-cns11643 >>> + (package >>> + (name "font-cns11643") >>> + (version "98.1.20170405") >>> + (source (origin >>> + (method url-fetch) >>> + (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip") >>> + (sha256 >>> + (base32 >>> + "1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455"= )))) >> I'm getting a different hash when downloading this: >> >> @ build-failed /gnu/store/b4s6pjp7pvwn5028zxm7dn7hxb7akhxn-Open_Data.zip= .drv - 1 output path `/gnu/store/kv2291fl8p8r3ic15pp68751qncrv830-Open_Data= .zip' should have sha256 hash `1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphikn= lbr6d455', instead has `02kb3bwjrra0k2hlr2p8xswd2y0xs6j8d9vm6yrby734h02a40q= f' >> >> Maybe I'm getting a newer version? If this is updated in-place upstream >> very frequently, it would be good to have a way to access older >> downloads. Any ideas? >> >> Minor nit-picks follow, but I've corrected this in my local branch: > I have confirmed that the new hash represents an update to the font. I > have thought about hosting this file, but I'm not sure where I can host > ~300MiB. Also, It means I have to bother updating that file frequently. > On the other hand if we use upstream, a failing hash typically means > there is an update. There is unlikely any other Guix user interested in > these fonts at the present. So I'm not sure what to do. Thanks for checking! Where did you take the version number and datestamp from? Are you willing to help maintain this package? The current situation is suboptimal, but I think it's fine if we can ping you about any problems. What do you think? I've committed this for now, let's see how long it holds. I may be able to provide a fallback mirror in a not-too-distant future, but immediate suggestions welcome. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkHt+8ACgkQoqBt8qM6 VPrezwf/SdXTto6U1kG/DXXpyxJzhmRpD6/NtxrA+deVOzBjzTEFKtq2zii1USNx e9mFPQiDtWz8e2If0icvpteHK1h9bt2vUJZUugCqOkJhw39/dNoMIOrVny6O3k8e Pt2pRMqtLioI5yl7k+7wbpJf+HeJzPDuo93B9iABp7msnDB4EuJw1x1i9kp/Z9Qb AYl0NMr2pr4LvSEv/BU3ArH4yvx+HBpcCBh1WTVUikat+H1eM9qHTzVQamdDUghL n6RdwXwOv4TNsLnLdWqk1/9hHMy3k3DEQmR4Ek32NFqBCwDgEt8QDWcifL7IhzNJ aguCB57cbfGEuB9dtk20J/O3Kjm/uA== =TBNS -----END PGP SIGNATURE----- --=-=-=-- From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 May 2017 20:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: Brendan Tildesley , 26702@debbugs.gnu.org Received: via spool by 26702-submit@debbugs.gnu.org id=B26702.149392823015159 (code B ref 26702); Thu, 04 May 2017 20:04:01 +0000 Received: (at 26702) by debbugs.gnu.org; 4 May 2017 20:03:50 +0000 Received: from localhost ([127.0.0.1]:54877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6Myc-0003wR-1r for submit@debbugs.gnu.org; Thu, 04 May 2017 16:03:50 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:35036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6Mya-0003wF-NP for 26702@debbugs.gnu.org; Thu, 04 May 2017 16:03:49 -0400 Received: by mail-lf0-f68.google.com with SMTP id t144so2282015lff.2 for <26702@debbugs.gnu.org>; Thu, 04 May 2017 13:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=3qA+n9CSGkIpiMj7+HyhY8YgnI/x5Uu+OJ7VguqClEo=; b=Dt+haH3xo8acdzFySshl91wKtuUryZzIETyq9MlOv3B2+gP6DLQ6UtJOrlGMVuTdSx Mq0W9M+wTwpd9Ur23egJCCrcOtmTb5OEvdmjEwM8WyOaaW2KAxhsANol3f6c7qJUs34k AItC8IG13XHYbC+hCz1IYBuCHFHsrnPshX4muJr8oSY/fgK2iDo6jMiRapmOCu4iLiLu FvB7CpcxAr5CyeQgcdGgwpu2fUW6jug/ErL/6VTp9U6SDEfDqRURbf5tt7S2DdzbXzEi DFnV07uG2EhQi6yUDM21C2oT38/qRtBW8c79CKI4JwgBDgKlReTZt0WVOH0Gp0JUrxu+ Y4nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=3qA+n9CSGkIpiMj7+HyhY8YgnI/x5Uu+OJ7VguqClEo=; b=X/0e3rgUzbJL1g+zDPDedaQbYS2kK3P45GwxepqFkWoQBsVUVHkG92+OciA0nCx/4w 65o6GKMFyhPcKcY/JBnnI27URiMSCSi1xJOwTX+Jrtmj2H4XfRQss82Ojf4OOzRsLAUq otyQ407mnXkf4k2Kh7s/XqTby+S42z+HWk1iJwA6aK2UaNeHY46bPxK7ZKr7a/nHWAYu JCNrx0v3sJe6dAraN6zaFbmve2yBLlum1Nqqu/5kv81SJfZCNph+3Zor+qLuya4J2jEK mETn/WSSPpjoxvdh6+Q/dyP6LnpQjnVJ5YpD7aZBQlKf/o7RH0xoIsNVWX7KLcD/qxr3 8klg== X-Gm-Message-State: AODbwcC247bN2Q0VtEvA6bDsy58oSI/jlSC2W1yIAOAmfMbnJPTXMg/2 pare16VLQq3ASg== X-Received: by 10.25.196.13 with SMTP id u13mr160971lff.81.1493928223042; Thu, 04 May 2017 13:03:43 -0700 (PDT) Received: from leviafan ([217.107.194.136]) by smtp.gmail.com with ESMTPSA id 31sm624984ljb.60.2017.05.04.13.03.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 May 2017 13:03:42 -0700 (PDT) From: Alex Kost References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> Date: Thu, 04 May 2017 23:03:42 +0300 In-Reply-To: <87wpa2gcdx.fsf@fastmail.com> (Marius Bakke's message of "Sun, 30 Apr 2017 17:10:02 +0200") Message-ID: <87o9v8crtt.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) 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.5 (/) Marius Bakke (2017-04-30 17:10 +0200) wrote: >> + (outputs '("out" "tw-kai" "tw-sung")) >> + (build-system trivial-build-system) >> + (native-inputs >> + `(("unzip" ,unzip))) >> + (arguments >> + `(#:modules ((guix build utils)) >> + #:builder >> + (begin >> + (use-modules (guix build utils)) >> + (let* ((font-dir "/share/fonts/truetype/cns11643") >> + (out (string-append %output font-dir)) > > I've changes this to use (assoc-ref outputs "out") instead of the > magical %output. I would leave the magical %output :-) Besides (assoc-ref outputs "out") wouldn't work here; you probably meant (assoc-ref %outputs "out"). Regarding =E2=80=9C%output=E2=80=9D vs =E2=80=9C(assoc-ref %outputs "out")= =E2=80=9D: I always prefer the former (Ludovic prefers the latter). Why does =E2=80=9C%output=E2=80=9D ex= ist anyway, if not for using it? --=20 Alex From unknown Tue Sep 09 17:57:25 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: Brendan Tildesley Subject: bug#26702: closed (Re: bug#26702: [PATCH 1/2] gnu: Add font-cns11643) Message-ID: References: <87h910crfz.fsf@gmail.com> <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> X-Gnu-PR-Message: they-closed 26702 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 26702@debbugs.gnu.org Date: Thu, 04 May 2017 20:13:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1493928782-16042-1" This is a multi-part message in MIME format... ------------=_1493928782-16042-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #26702: [PATCH 1/2] gnu: Add font-cns11643 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 26702@debbugs.gnu.org. --=20 26702: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D26702 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1493928782-16042-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 26702-done) by debbugs.gnu.org; 4 May 2017 20:12:08 +0000 Received: from localhost ([127.0.0.1]:54885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6N6e-00049R-7u for submit@debbugs.gnu.org; Thu, 04 May 2017 16:12:08 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:33483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6N6c-00048v-At for 26702-done@debbugs.gnu.org; Thu, 04 May 2017 16:12:06 -0400 Received: by mail-lf0-f52.google.com with SMTP id r17so14464744lfg.0 for <26702-done@debbugs.gnu.org>; Thu, 04 May 2017 13:12:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=KMn06BZnYgUMXIGdOO8UtIx5GnC85t6UCqVJdvKEIlQ=; b=Jn+01U8iFoR4OxTjbH2vDlFM1hs39uDKjXaElug5SK1Hct6fa5NYm5isQ1qsXtqDEs rYRDVdW6nfaZ2636CWG70utGF+3ce4kEUhbK2MSv6Vb7wEE0YFc7lxCRC4NnV39jAFQk I2ecZ++Tn8J2BoNQT3G29jMuNhyR1rdhmRyl7lrp0qVtlw7SUAAaxtRt8FX9H1AHVOtn yOEY3e68g98m/qlxHCTvH2a1YAC6Zq06Crp9hOlondvRN8J9gq9NbWgh3Nun3CDIDjGX bOvNlUOvDDkH48qloy8tzUe46AObrSnmpqPPm7ERk3WACVZ5+2KBhdVRw5p5TWFA/J0d Y4Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=KMn06BZnYgUMXIGdOO8UtIx5GnC85t6UCqVJdvKEIlQ=; b=lovM/jYOrbXv4bJP7tWvz7TjJzKT19WJsx/bGMkQt3gvyW0dJsSVqM2/h0lwcF6tKO sDbCdaJMpPGJjtBOD3fmKvH1y6zov/CZqjH3eeP6UtcKZ8nH7cdUUstcjdk9QRH5/FtP j3jG6LTqIdq0MuR0mk6G2ep4gnbUHEYspbgzKn/HWZjSodbNMgHGbG5aEY9niLWPvIwA M3WEIMWz3bglOukGKjPjLKUUsLdTzc8dThrze6X3WhbuETqGIY0Y3ms1GZ5nQQplctwY XaK/WvSYYqRe1OzXKvpmsWkYieSmqZ7lkzovzVOdqi6sVvve1JPHUkxLS7PX2SYvviIG RAuw== X-Gm-Message-State: AN3rC/57J1L86rWI/TLFEd0hY4f+u+IfGiO9FlVO+oVEGDhCJ4G7Z2jY L+uEDtBa4BtuTA== X-Received: by 10.46.0.228 with SMTP id e97mr15926523lji.68.1493928720423; Thu, 04 May 2017 13:12:00 -0700 (PDT) Received: from leviafan ([217.107.194.136]) by smtp.gmail.com with ESMTPSA id g130sm628553lfe.27.2017.05.04.13.11.59 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 May 2017 13:11:59 -0700 (PDT) From: Alex Kost To: Brendan Tildesley Subject: Re: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> Date: Thu, 04 May 2017 23:12:00 +0300 In-Reply-To: <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> (Brendan Tildesley's message of "Tue, 2 May 2017 00:43:41 +1000") Message-ID: <87h910crfz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 26702-done Cc: 26702-done@debbugs.gnu.org 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.5 (/) Brendan Tildesley (2017-05-02 00:43 +1000) wrote: > Marius Bakke =E6=96=BC 2017-05-01 01:10 =E5=AF=AB=E9=81=93: [...] >>> + (outputs '("out" "tw-kai" "tw-sung")) >>> + (build-system trivial-build-system) >>> + (native-inputs >>> + `(("unzip" ,unzip))) >>> + (arguments >>> + `(#:modules ((guix build utils)) >>> + #:builder >>> + (begin >>> + (use-modules (guix build utils)) >>> + (let* ((font-dir "/share/fonts/truetype/cns11643") >>> + (out (string-append %output font-dir)) >> I've changes this to use (assoc-ref outputs "out") instead of the >> magical %output. > Ok, I don't understand much about those. Are the uses of %outputs (with > the 's') below also problematic? No they are OK, moreover this is the only way to access the outputs. --=20 Alex ------------=_1493928782-16042-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Apr 2017 19:34:12 +0000 Received: from localhost ([127.0.0.1]:45076 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4Bed-0008D9-On for submit@debbugs.gnu.org; Fri, 28 Apr 2017 15:34:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d4B1N-00076C-7J for submit@debbugs.gnu.org; Fri, 28 Apr 2017 14:53:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4B1G-0004dt-UE for submit@debbugs.gnu.org; Fri, 28 Apr 2017 14:53:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:58754) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d4B1G-0004dn-RE for submit@debbugs.gnu.org; Fri, 28 Apr 2017 14:53:30 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d4B1F-0003b2-Bq for guix-patches@gnu.org; Fri, 28 Apr 2017 14:53:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d4B1B-0004bU-J3 for guix-patches@gnu.org; Fri, 28 Apr 2017 14:53:29 -0400 Received: from lb1.openmailbox.org ([5.79.108.160]:53092 helo=mail.openmailbox.org) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d4B1B-0004aF-9x for guix-patches@gnu.org; Fri, 28 Apr 2017 14:53:25 -0400 Received: by mail.openmailbox.org (Postfix, from userid 20002) id E51C7514C63; Fri, 28 Apr 2017 20:53:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493405601; bh=xgoHUrExVAyN6KC3QKAWqD1t3u6PsNaUtbNhb0FnlWA=; h=To:From:Subject:Date:From; b=aj5jufLyMH2E//FOEm0QlG0no9Pzgwgkdn+C5XwemmqQfvCQTGe4NRvb641TWi8VV pgjwpw/k/0jGPrkHLeB8tIMymdf51F4jdauM69gntNao8nX06DyeIaqBC9oVNNI3h+ HbLq5FDdMh1W1fAtleJ3DyrdO0tt6zNKy4da/UQ4= To: guix-patches@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1493405600; bh=xgoHUrExVAyN6KC3QKAWqD1t3u6PsNaUtbNhb0FnlWA=; h=To:From:Subject:Date:From; b=MVv5k8gDz/qbkxVBlJRTbYZKGSdWWYyNyzoctXSVpOQQ34KA1dO0So7Btu6oz2dRD cwVz0a8IF6iCi7G3qmoACxHAcTcmfhCxJJkGtjRSm4hRjqrXrP6K3b9zlE//2T24tg ZYYJiO+5U7hxkEn3tWXDloTu/w6vIj6SYcaVBmcQ= From: Brendan Tildesley Subject: [PATCH 1/2] gnu: Add font-cns11643 Message-ID: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> Date: Sat, 29 Apr 2017 04:53:13 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.8.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------AA7B1349E44EBA07EA156791" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 28 Apr 2017 15:34:10 -0400 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: -4.0 (----) This is a multi-part message in MIME format. --------------AA7B1349E44EBA07EA156791 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit --------------AA7B1349E44EBA07EA156791 Content-Type: text/x-patch; name="0001-gnu-Add-font-cns11643.patch" Content-Disposition: attachment; filename="0001-gnu-Add-font-cns11643.patch" Content-Transfer-Encoding: quoted-printable >From 69bd2f347a516bc978406f9810a5355812c58491 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Sat, 29 Apr 2017 04:30:48 +1000 Subject: [PATCH 1/2] gnu: Add font-cns11643 * gnu/packages/fonts.scm (font-cns11643): New variable. --- gnu/packages/fonts.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 2452a1c81..821fce69a 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -17,6 +17,7 @@ ;;; Copyright =C2=A9 2017 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2017 Jos=C3=A9 Miguel S=C3=A1nchez Garc=C3=ADa ;;; Copyright =C2=A9 2017 Alex Griffin +;;; Copyrihgt =C2=A9 2017 Brendan Tildesley =20 ;;; ;;; This file is part of GNU Guix. ;;; @@ -518,6 +519,64 @@ fonts are intended to support the characters necessa= ry to render or display text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.") (license license:silofl1.1))) =20 +(define-public font-cns11643 + (package + (name "font-cns11643") + (version "98.1.20170405") + (source (origin + (method url-fetch) + (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip") + (sha256 + (base32 + "1kyfrwamr8zpdp4qw3z9j3cimhsvr4xd05dmxmfphiknlbr6d455"))= )) + (outputs '("out" "tw-kai" "tw-sung")) + (build-system trivial-build-system) + (native-inputs + `(("unzip" ,unzip))) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + (let* ((font-dir "/share/fonts/truetype/cns11643") + (out (string-append %output font-dir)) + (unzip (string-append + (assoc-ref %build-inputs "unzip") "/bin/unzip")) + (tw-kai (string-append + (assoc-ref %outputs "tw-kai") font-dir)) + (tw-sung (string-append + (assoc-ref %outputs "tw-sung") font-dir))) + (system* unzip (assoc-ref %build-inputs "source")) + (chdir "Open_Data/Fonts/") + (install-file "TW-Kai-98_1.ttf" tw-kai) + (install-file "TW-Sung-98_1.ttf" tw-sung) + (install-file "TW-Kai-98_1.ttf" out) + (install-file "TW-Kai-Ext-B-98_1.ttf" out) + (install-file "TW-Kai-Plus-98_1.ttf" out) + (install-file "TW-Sung-98_1.ttf" out) + (install-file "TW-Sung-Ext-B-98_1.ttf" out) + (install-file "TW-Sung-Plus-98_1.ttf" out))))) + (home-page "http://www.cns11643.gov.tw/AIDB/welcome.do") + (synopsis "CJK TrueType fonts, TW-Kai and TW-Sung") + (description + "@code{CNS 11643} character set (Chinese National Standard, or Chin= ese +Standard Interchange Code) is the standard character set of the Republic= of +China (Taiwan) for Chinese Characters and other Unicode symbols. Contai= ned +are six TrueType fonts based on two script styles, Regular Script (Kai),= and +Sung/Ming Script, each with three variants: + +@itemize +@item @code{CNS 11643} (@code{TW-Kai} and @code{TW-Sung}): Tens of thous= ands +of CJK characters from frequency tables published by the Taiwanese +Ministry of Education. ISO 10646 and Unicode compatible code encoding. +@item @code{Big-5 Plus}: Several thousand frequently used CJK characters +encoded in the user defined area of the Big-5 code. +@item @code{Big-5 Extended}: A Big-5 character set based on the +@code{Big-5 Plus} and @code{CNS 11643} character sets. +@end itemize\n") + (license (license:non-copyleft + "http://data.gov.tw/license")))) + (define-public font-wqy-zenhei (package (name "font-wqy-zenhei") --=20 2.12.2 --------------AA7B1349E44EBA07EA156791-- ------------=_1493928782-16042-1-- From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Alex Kost Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 May 2017 20:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Marius Bakke Cc: 26702@debbugs.gnu.org Received: via spool by 26702-submit@debbugs.gnu.org id=B26702.149392896116427 (code B ref 26702); Thu, 04 May 2017 20:16:01 +0000 Received: (at 26702) by debbugs.gnu.org; 4 May 2017 20:16:01 +0000 Received: from localhost ([127.0.0.1]:54895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6NAO-0004Gt-P0 for submit@debbugs.gnu.org; Thu, 04 May 2017 16:16:00 -0400 Received: from mail-lf0-f52.google.com ([209.85.215.52]:35640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6NAN-0004Gc-6T for 26702@debbugs.gnu.org; Thu, 04 May 2017 16:15:59 -0400 Received: by mail-lf0-f52.google.com with SMTP id j1so14470082lfh.2 for <26702@debbugs.gnu.org>; Thu, 04 May 2017 13:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=HNx/tvuDDWfYnhifPEs8MtJLXrrduEUs8IIHwVBnhY0=; b=kcgGuUvftU1UquA+ytbnhhRgtFXGCP4xvf+WC3hXe2jlmbvnz5s+dW7pA4bkJ6jm/w x772SE3T8z/gBEstft8Fr5iEy/nYl3vltho8qoOxjxflpcI6iQozY6obq6GikXqHuZAt WiTh/hcGcrEHNla9oPjES/h+ZZ6LyJIrGfdnEMH34bHJglWKvr1m5DIl/RBu9NXJYtnS usJWsCMESB3EqpMSmWuxO3IfCCKXFOUx7hqEosZc3kzgTmdiZ2LsZv6rf8urkFGyj5/Z bqpGp1Vnq69rCpZL2acBg+VYTAliDRkOg7OAbTwsH5cvLaf3IhdmiVRuPhRV7j9Mkn4G 8I0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=HNx/tvuDDWfYnhifPEs8MtJLXrrduEUs8IIHwVBnhY0=; b=i0iaQ2J/YWXnira3tZrsZJFgEuBoR3OXB+yhCznj5g623fNd39h9Ve1Rc8srZeeaJy 1wYzBzJYTd0gEmBIOquBlIXCvNyzrl5OMimowL/AcbPiUxPvkqy5loNPNqXA/wfVgItJ 4GIifZ52zSn4v+IRj3BEdJDJkSdEZDbUDQpd/jqMsb8No5Zu0N9cpAX59h4Dquq6Utpe Ol0yGD+cXHdG/U7YdqvcPWD6+wKPTkshltTcgwfXRyeJ5Go5t9tpG1RzZPrSJq+ntuvE mzjfpMgD7eIVFMdQ8vtGIeAMocPA2Qf2B1B/hP+4GUnDb4yoIPNdss910B8yBnpjNPVU IyLA== X-Gm-Message-State: AN3rC/4aMOemv22XqWN0pb6+cPDZp4E6OSZM+o8afrA/ll+TPDqThWa/ n8nAT5ciZcwE1g== X-Received: by 10.46.5.147 with SMTP id 141mr1221358ljf.108.1493928953638; Thu, 04 May 2017 13:15:53 -0700 (PDT) Received: from leviafan ([217.107.194.136]) by smtp.gmail.com with ESMTPSA id y17sm623689lja.61.2017.05.04.13.15.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 May 2017 13:15:53 -0700 (PDT) From: Alex Kost References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> <87mvawfbps.fsf@fastmail.com> Date: Thu, 04 May 2017 23:15:53 +0300 In-Reply-To: <87mvawfbps.fsf@fastmail.com> (Marius Bakke's message of "Tue, 02 May 2017 00:34:23 +0200") Message-ID: <87fugkcr9i.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.5 (/) 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.5 (/) Marius Bakke (2017-05-02 00:34 +0200) wrote: > Brendan Tildesley writes: [...] >> I have confirmed that the new hash represents an update to the font. I >> have thought about hosting this file, but I'm not sure where I can host >> ~300MiB. Also, It means I have to bother updating that file frequently. >> On the other hand if we use upstream, a failing hash typically means >> there is an update. There is unlikely any other Guix user interested in >> these fonts at the present. So I'm not sure what to do. > > Thanks for checking! Where did you take the version number and datestamp > from? Are you willing to help maintain this package? > > The current situation is suboptimal, but I think it's fine if we can > ping you about any problems. What do you think? > > I've committed this for now, let's see how long it holds. I may be able > to provide a fallback mirror in a not-too-distant future, but immediate > suggestions welcome. Hi Marius, I've just found that you pushed this patch but didn't close this "bug thread" (or whatever it should be called). Was it intentional? -- Alex From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 May 2017 07:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alex Kost Cc: Marius Bakke , 26702@debbugs.gnu.org Received: via spool by 26702-submit@debbugs.gnu.org id=B26702.149397097330736 (code B ref 26702); Fri, 05 May 2017 07:57:02 +0000 Received: (at 26702) by debbugs.gnu.org; 5 May 2017 07:56:13 +0000 Received: from localhost ([127.0.0.1]:55348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6Y60-0007zg-Ni for submit@debbugs.gnu.org; Fri, 05 May 2017 03:56:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55817) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6Y5z-0007zT-Ag for 26702@debbugs.gnu.org; Fri, 05 May 2017 03:56:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d6Y5p-000584-EZ for 26702@debbugs.gnu.org; Fri, 05 May 2017 03:56:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d6Y5p-00057u-B1; Fri, 05 May 2017 03:56:01 -0400 Received: from [193.50.110.181] (port=54832 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1d6Y5o-00065O-MV; Fri, 05 May 2017 03:56:01 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> <87o9v8crtt.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 =?UTF-8?Q?Flor=C3=A9al?= an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 05 May 2017 09:55:58 +0200 In-Reply-To: <87o9v8crtt.fsf@gmail.com> (Alex Kost's message of "Thu, 04 May 2017 23:03:42 +0300") Message-ID: <87mvarbuup.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Alex Kost skribis: > Marius Bakke (2017-04-30 17:10 +0200) wrote: > >>> + (outputs '("out" "tw-kai" "tw-sung")) >>> + (build-system trivial-build-system) >>> + (native-inputs >>> + `(("unzip" ,unzip))) >>> + (arguments >>> + `(#:modules ((guix build utils)) >>> + #:builder >>> + (begin >>> + (use-modules (guix build utils)) >>> + (let* ((font-dir "/share/fonts/truetype/cns11643") >>> + (out (string-append %output font-dir)) >> >> I've changes this to use (assoc-ref outputs "out") instead of the >> magical %output. > > I would leave the magical %output :-) Besides (assoc-ref outputs "out") > wouldn't work here; you probably meant (assoc-ref %outputs "out"). > > Regarding =E2=80=9C%output=E2=80=9D vs =E2=80=9C(assoc-ref %outputs "out"= )=E2=80=9D: I always prefer the > former (Ludovic prefers the latter). Why does =E2=80=9C%output=E2=80=9D = exist anyway, > if not for using it? Both are meant to disappear with the advent of gexps anyway. :-) Ludo=E2=80=99. From unknown Tue Sep 09 17:57:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#26702: [PATCH 1/2] gnu: Add font-cns11643 Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 May 2017 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26702 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Alex Kost Cc: 26702-done@debbugs.gnu.org Received: via spool by 26702-done@debbugs.gnu.org id=D26702.149399588425426 (code D ref 26702); Fri, 05 May 2017 14:52:02 +0000 Received: (at 26702-done) by debbugs.gnu.org; 5 May 2017 14:51:24 +0000 Received: from localhost ([127.0.0.1]:56529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6eZn-0006c2-QJ for submit@debbugs.gnu.org; Fri, 05 May 2017 10:51:23 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58693) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d6eZm-0006bu-5r for 26702-done@debbugs.gnu.org; Fri, 05 May 2017 10:51:23 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8D9582094E; Fri, 5 May 2017 10:51:21 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Fri, 05 May 2017 10:51:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=fm1; bh=EJJzzml9KqI9Yo09erUpDtjD/mB89AeuzUEIXp+vs xQ=; b=0s1tncqYGf30/vvjAii9rnW4a0pSj3GEhubfCa7mBocWIGfZIVii6X7qJ 017RA8PnBiIMBZ5J27K/XiOmb5reekuChdWfqATyTiIcyaw5ZDMQo0TXQdI8lB1X AY7JtoJnNUf8n5+8ZmL0eKPS7U6ku4Ail+//xT2M/li0QMmnBlGgdMpw2O9wSHbE cZw5HeiiAge9Uc8FsrZdpKPA72PRjhtXnOA5MVHbVTdRe+fV6l1WENS1OZi3t90g PI8WRD6nYob3quuPsW/pcArnXFGfbd5NFWJVAmC9Uf0AP9aSa1phfUL23c9y0Sop Wt2j+6rOdGLURhI7w9Vy463LmV8YQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=EJJzzml9KqI9Yo09er UpDtjD/mB89AeuzUEIXp+vsxQ=; b=XxeDUH/43OW+IB1lDE33f0hqe9D/pjMPDt lTcd+/fhgbnzNnoF5MxDJMf31Eh2XhTgp6BL7GEj10cQKptNHTRWtYLP+A+zvMIb PRrb2fXxGFTBUaL+KhePgXADdUDiUAt3xdwUWGHNsVIjiOjTcRh9t82rWS+UAosh awEDVITP2YwLgVaFUw/q1S7tftK/OMYQn7uWztkUzUhiJ8IE1kFLscpv27K+wCV0 jdq1l/N6uF5Le8C04H+nt2bh9j17PYTuob9UWJirkwyYsxWFD+8paMT9yIGZMm6c hKWAj/vtodylyWNEJlEyX9MGDrcIQTIXurmpP9NF4SF3vlEPcY9A== X-ME-Sender: X-Sasl-enc: huUD7N0qAU7RH9reLgw7XJTisXfriJgTRMTadOwDbEd9 1493995881 Received: from localhost (unknown [188.113.81.93]) by mail.messagingengine.com (Postfix) with ESMTPA id 21A3024050; Fri, 5 May 2017 10:51:21 -0400 (EDT) From: Marius Bakke In-Reply-To: <87fugkcr9i.fsf@gmail.com> References: <36cee073-4427-d584-2d9c-c0e2e22fd4ff@openmailbox.org> <87wpa2gcdx.fsf@fastmail.com> <994b0c86-c4ce-8b20-5c02-acf592fdc8bf@openmailbox.org> <87mvawfbps.fsf@fastmail.com> <87fugkcr9i.fsf@gmail.com> User-Agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu) Date: Fri, 05 May 2017 16:51:19 +0200 Message-ID: <87vapfxspk.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (/) --=-=-= Content-Type: text/plain Alex Kost writes: > Marius Bakke (2017-05-02 00:34 +0200) wrote: > >> Brendan Tildesley writes: > [...] >>> I have confirmed that the new hash represents an update to the font. I >>> have thought about hosting this file, but I'm not sure where I can host >>> ~300MiB. Also, It means I have to bother updating that file frequently. >>> On the other hand if we use upstream, a failing hash typically means >>> there is an update. There is unlikely any other Guix user interested in >>> these fonts at the present. So I'm not sure what to do. >> >> Thanks for checking! Where did you take the version number and datestamp >> from? Are you willing to help maintain this package? >> >> The current situation is suboptimal, but I think it's fine if we can >> ping you about any problems. What do you think? >> >> I've committed this for now, let's see how long it holds. I may be able >> to provide a fallback mirror in a not-too-distant future, but immediate >> suggestions welcome. > > Hi Marius, I've just found that you pushed this patch but didn't close > this "bug thread" (or whatever it should be called). Was it intentional? Oops, didn't realize the two patches were in separate bugs. Closing this one too. Still waiting for feedback about extracting version information, though. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlkMkWcACgkQoqBt8qM6 VPr81AgAl0luRXV7/uLVQaB79Y04P2Hk+EupMU9FOoEckv3p3Pi7GmxmlkKw+g5K eWcNU5HMWCJrZ/jjpqB59RJH3MbZ0DaVJY+tdocbO4Qm/dC8PSDjDozEbnijIflX mUQMbqWJweC9HNnU+5DYe4HwDVhOyB8dcrwCu8TuIzXDbbLVlXxqhdN6ElwHwvlH 13xrto6/rLHtm4RmP/uQMzh+0NZS/evJKDppTQ62nLCx1v0PUO+FaB5mF3t5doYd X6cc3Gr5eVi3RMfq8zAIPOcLNvW9XQSvcCU///jejI3x4tMzmj6rtnWeJCvfM1Mw H2N6iC709s2oBUhbH7WkwMovHJuh9g== =/O0K -----END PGP SIGNATURE----- --=-=-=--