[patch] font-cns11643: Open_Data hash changed

  • Open
  • quality assurance status badge
Details
3 participants
  • Dr. Arne Babenhauserheide
  • Brendan Tildesley
  • Maxime Devos
Owner
unassigned
Submitted by
Dr. Arne Babenhauserheide
Severity
normal
D
D
Dr. Arne Babenhauserheide wrote on 12 Jan 2022 09:54
(address . bug-guix@gnu.org)
87zgo1e3jy.fsf@web.de
Hi,

the archive Open_Data.zip changed and the fonts were updated. The
attached patch should fix it:
From c70a046791ffa1fc3cf28f770a2edba5db0d0560 Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <arne_bab@web.de>
Date: Wed, 12 Jan 2022 09:39:08 +0100
Subject: [PATCH] Update hash of Open_Data.zip

---
gnu/packages/fonts.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (22 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 63d1240d5c..ed13e01194 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -532,13 +532,13 @@ (define-public font-cns11643
;; it elsewhere to avoid suddenly losing the current source file.
(package
(name "font-cns11643")
- (version "98.1.20180605")
+ (version "98.1.20220107")
(source (origin
(method url-fetch)
(uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip")
(sha256
(base32
- "000a9whrjr1cd4pjc23pbl60zwkq3wcb5g61p9qi7fn3hwkp0kyw"))))
+ "0ygq7a0gb0nah74wlvf84kss68k514dml1wkcihv2s5v5j9rys0y"))))
(build-system font-build-system)
(home-page "http://www.cns11643.gov.tw/AIDB/welcome.do")
(synopsis "CJK TrueType fonts, TW-Kai and TW-Sung")
--
2.34.0
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmHel4IQHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD6965EACvDLQcQyHrVZpW2mlZEUGuNR/o7BZo0WAv
UvguAcsv2s8+n8DjtCL6NnBQJpo/BF/Epv7kVFi2BxCKhzQ00MXQiKjoeHqD35b2
BO00subBDmaGVRTYhP1+hCuOz69ZuhN/eHhK0w2HcFIK2WnSjEtItXuX9e1rhh0b
oNwlBq2tT2wS+WlO+H58ZlomnOsdzlmr/q4WcT/tS6AjSb6kIfoHciu6yITOkHo9
necMeZo0UmR13bVBnQTDWuScLaydUWT343ym8NwlBe79X9DUYWywM5mH3lzIcY5T
BVpcEcOuMQ2UVCzPXnAT7WfdarmmdEbjSJn5FFmfPF3HKw3AaCkf55L16zNvwJaA
Vm3RS7U4LzSnDHaaFVVisyYHZhlqqst/LZMB61n+rFAeLjRwDF2KASM6qKCIHdM3
Na+fAEG264FA0nCLXylmCcbrK0roBabUVX6W6WLByaQdmujUZ8AzMZi6bFPW25ni
TVMH+xGT8R/J5TAWpLeSehY5e5BSEqEPn82Ql2n1C+AuuHPbtgw/GeicqG9ZAGjL
Oh6ZWQQ701A3hAtnRx4v9Od3Gk760c+nBtYwwnvQFJkMAYDjGLcMXJaPFrkxWhaD
VlmVTNBGv+NdjY42L/q9K/Rwcw0Gpu6Q2JVQEeHcYcIZ05CCb6WZzo5qZb1KVaM3
a12VFrUsA4jEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmHel4IQHGFy
bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSLnUA/0XFKYbZQt5Atc558mr+OQQz1ff
w3wH+n0emUJiNxJFKUuvfzJzdwp/07xfBRRPqyzL6p0TbkJkLK1gjfTNjyp7wW/M
JcQ3W5EgUY0wjbYIzHOd7WxKnYSN7qC1VAKcL3KVcuZ39JTA4jwE4ZYw38BxRQNL
1UJbgEhg+BoMa+u/rg==
=Nn39
-----END PGP SIGNATURE-----

M
M
Maxime Devos wrote on 12 Jan 2022 11:45
b259b0327cdb8f64cc03ad4368948b9890ad27b8.camel@telenet.be
Dr. Arne Babenhauserheide schreef op wo 12-01-2022 om 09:54 [+0100]:
Toggle quote (5 lines)
> Hi,
>
> the archive Open_Data.zip changed and the fonts were updated. The
> attached patch should fix it: [...]

From (gnu packages fonts):

;; Since upstream doesn't provide any version numbers, the date of the last
;; edit is used, taken from https://data.gov.tw/dataset/5961
;; XXX: The source is also updated in-place, so it may be desirable to mirror
;; it elsewhere to avoid suddenly losing the current source file.
(package
(name "font-cns11643")
(version "98.1.20180605")
(source (origin
(method url-fetch)


Given that Open_Data.zip has a history of being modified in-place,
maybe it would be a good idea to use the Internet Archive Machine instead?

Latest version current in the archive:

I requested a fresh archival, but it will take some time to complete.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYd6xMxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7iVBAQDD+XZtS6+ZR5M3FBzNHiVk+A1R
ZBHQw+bQshzW4AXtxQEA6tw45DCT4ATx4QQmrQewPCuOrp9jDUfQTIZENKOajwo=
=2Edh
-----END PGP SIGNATURE-----


M
M
Maxime Devos wrote on 12 Jan 2022 12:13
101588534c32f35841f2ff986fed566008e81e93.camel@telenet.be
Maxime Devos schreef op wo 12-01-2022 om 10:45 [+0000]:
Toggle quote (4 lines)
> [...]
> On <https://web.archive.org/save/http://www.cns11643.gov.tw/AIDB/Open_Data.zip>,
> I requested a fresh archival, but it will take some time to complete.

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYd63yBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7qGKAQDmZAQdKzQ3c+B800gpwy24b/ZT
PBl3W38NZ/IlRoVf/QEA7lGhwtX+coPrOqNUREpwp+aWwzC/dDjfNQ6BPbZMFAM=
=gqn5
-----END PGP SIGNATURE-----


D
D
Dr. Arne Babenhauserheide wrote on 12 Jan 2022 12:41
(name . Maxime Devos)(address . maximedevos@telenet.be)(address . 53204@debbugs.gnu.org)
87v8ypdvp0.fsf@web.de
Maxime Devos <maximedevos@telenet.be> writes:

Toggle quote (3 lines)
> Given that Open_Data.zip has a history of being modified in-place,
> maybe it would be a good idea to use the Internet Archive Machine instead?

That sounds good, yes.

Toggle quote (6 lines)
> Latest version current in the archive:
> https://web.archive.org/web/20211004150815/http://www.cns11643.gov.tw/AIDB/Open_Data.zip
>
> On <https://web.archive.org/save/http://www.cns11643.gov.tw/AIDB/Open_Data.zip>,
> I requested a fresh archival, but it will take some time to complete.

Thank you!

Will you get an info when it’s done?

Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmHev0wQHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD64SgEACis7rra1wXrEX/TQSvdDfRtiZoq4klE9S/
zb66e7SYtLEn9rGRXJ8IjSWDUPptvhx+repXWWGfY3OvU3B2dOvrl2BLlxWPGGu4
H62sqXMLddw8Wx7FFzfmWUkSOBz0nwONWi/s9MPOw5fF6b5HKju7nV7yHBulZILC
lG7LgMSRB+7HVDm8p9X7Xu/CUhzvppW8dbuuFh9c8ilEZdubh0ksHkfUnyOV0kM4
x4ZYzuAW7A8yXafTmFGNB8RnZWgaUVsMqvj01REHH1jmqXGU4FziWXZa3MBA5iq3
Eacl787alRf8cTdhJ83uUCCl3Spe2vIhUpbqDC9elEjfh92gquRGc09sK4n/B0fd
ouAORTPrRnPNnFYiVHRwo6Ug+NV0W5LFM7pDWc6i+a7eD/nrHSXluU79LpXPYSa+
54bOifLckEqMggzBadDWxMppt+h0WmGwuC5DgS6lgiJkMSZ1uTYRwRjNTIlhtFiC
8/OUMpUNjBwuvRXimg/c4DC9jlqSqIVOrMjvGL0Wu9XsdgcxNsSxbz2cKRwqGGYY
R4c1aas9iqvPruNQf8zTfyMJtipFGzueFd72Hv/XAa5kdNlyBEEmr/FUFMwGUzx4
jEZDk1709YP/142zxSk4D1Y6pD5cX76zf3PPqczZVo52W/jfsVnZVqEaTcAn21hT
4z6lZBYsmIjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmHev0wQHGFy
bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSMOABAChKD6e616GSFCS4+zt4WpTAYGh
vj2uW4U6se9q/T/1m/PxQTjQwGli1FMBTG/6ZViJUsqnmz0+G1rz5SpW+oTsJeZS
tRBjTZYriddMBkeHsnx8S0QUJnIHmZ5WDSvehRFpo5klbtolipnP5v6XG48JulMt
kQRrxjgCrH8SMJxnjQ==
=oxet
-----END PGP SIGNATURE-----

M
M
Maxime Devos wrote on 12 Jan 2022 13:18
(name . Dr. Arne Babenhauserheide)(address . arne_bab@web.de)(address . 53204@debbugs.gnu.org)
ce45b7225be01e2b5e937a67d2ff2d5bcb3d43cd.camel@telenet.be
Dr. Arne Babenhauserheide schreef op wo 12-01-2022 om 12:41 [+0100]:
Toggle quote (17 lines)
> Maxime Devos <maximedevos@telenet.be> writes:
>
> > Given that Open_Data.zip has a history of being modified in-place,
> > maybe it would be a good idea to use the Internet Archive Machine instead?
>
> That sounds good, yes.
>
> > Latest version current in the archive:
> > https://web.archive.org/web/20211004150815/http://www.cns11643.gov.tw/AIDB/Open_Data.zip
> >
> > On <https://web.archive.org/save/http://www.cns11643.gov.tw/AIDB/Open_Data.zip>,
> > I requested a fresh archival, but it will take some time to complete.
>
> Thank you!
>
> Will you get an info when it’s done?

-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYd7HBhccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7i4wAP4p6c6eKlWGufb0pMfSYnlfGq0p
wmCgX6raf9GoSJSWFQD7BYj9d+x6d2CVAqoEnNHMx27jsGt9kRR+nVRb0wqwKgE=
=JyaO
-----END PGP SIGNATURE-----


B
B
Brendan Tildesley wrote on 31 Jan 2022 02:59
Re: [patch] font-cns11643: ... unzip error
605642958.119824.1643594369280@office.mailbox.org
I tried updating it but came across an unzip error, maybe unicode related. I've also noticed in my Icecat there are all these icons that are showing as random korean characters, so I wonder if my configuration is wrong somehow??:

starting phase `unpack'
Archive: /gnu/store/lcnarbk2vd6l1qj77i2s4ny92chzpbzg-Open_Data.zip
creating: Open_Data/
creating: Open_Data/Fonts/
inflating: Open_Data/Fonts/png_24x24.zip
inflating: Open_Data/Fonts/TW-Kai-98_1.ttf
inflating: Open_Data/Fonts/TW-Kai-Ext-B-98_1.ttf
inflating: Open_Data/Fonts/TW-Kai-Plus-98_1.ttf
inflating: Open_Data/Fonts/TW-Sung-98_1.ttf
inflating: Open_Data/Fonts/TW-Sung-Ext-B-98_1.ttf
inflating: Open_Data/Fonts/TW-Sung-Plus-98_1.ttf
Open_Data/Fonts/#U5168#U5b57#U5eab#U5b57#U578b#U8aaa#U660e#U6587#U4ef6.txt: mismatching "local" filename (Open_Data/Fonts/???????????????????????????.txt),
continuing with "central" filename version
inflating: Open_Data/Fonts/#U5168#U5b57#U5eab#U5b57#U578b#U8aaa#U660e#U6587#U4ef6.txt
creating: Open_Data/MapingTables/
creating: Open_Data/MapingTables/Big5/
inflating: Open_Data/MapingTables/Big5/CNS2BIG5.txt
inflating: Open_Data/MapingTables/Big5/CNS2BIG5_Big5E.txt
Open_Data/MapingTables/Big5/CNS2BIG5_#U4e03#U500b#U501a#U5929#U5916#U5b57.txt: mismatching "local" filename (Open_Data/MapingTables/Big5/CNS2BIG5_??????????????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/Big5/CNS2BIG5_#U4e03#U500b#U501a#U5929#U5916#U5b57.txt
Open_Data/MapingTables/Big5/CNS2BIG5_#U7b26#U865f.txt: mismatching "local" filename (Open_Data/MapingTables/Big5/CNS2BIG5_??????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/Big5/CNS2BIG5_#U7b26#U865f.txt
inflating: Open_Data/MapingTables/CNS2DCI.txt
inflating: Open_Data/MapingTables/CNS2FIN.txt
inflating: Open_Data/MapingTables/CNS2INC.txt
inflating: Open_Data/MapingTables/CNS2TAX.txt
creating: Open_Data/MapingTables/Unicode/
inflating: Open_Data/MapingTables/Unicode/CNS2UNICODE_Unicode 15.txt
inflating: Open_Data/MapingTables/Unicode/CNS2UNICODE_Unicode 2.txt
inflating: Open_Data/MapingTables/Unicode/CNS2UNICODE_Unicode BMP.txt
Open_Data/MapingTables/#U5168#U5b57#U5eab#U4e2d#U6587#U5c0d#U7167#U8868#U8aaa#U660e#U6587#U4ef6.txt: mismatching "local" filename (Open_Data/MapingTables/????????????????????????????????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5168#U5b57#U5eab#U4e2d#U6587#U5c0d#U7167#U8868#U8aaa#U660e#U6587#U4ef6.txt
Open_Data/MapingTables/#U5730#U653f/: mismatching "local" filename (Open_Data/MapingTables/??????/),
continuing with "central" filename version
creating: Open_Data/MapingTables/#U5730#U653f/
Open_Data/MapingTables/#U5730#U653f/#U5357#U6295#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U5357#U6295#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U53f0#U4e2d#U5e02.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U53f0#U4e2d#U5e02.txt
Open_Data/MapingTables/#U5730#U653f/#U53f0#U4e2d#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U53f0#U4e2d#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U53f0#U5317#U5e02.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U53f0#U5317#U5e02.txt
Open_Data/MapingTables/#U5730#U653f/#U53f0#U5317#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U53f0#U5317#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U53f0#U5357#U5e02.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U53f0#U5357#U5e02.txt
Open_Data/MapingTables/#U5730#U653f/#U53f0#U5357#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U53f0#U5357#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U53f0#U6771#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U53f0#U6771#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U5609#U7fa9#U5e02.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U5609#U7fa9#U5e02.txt
Open_Data/MapingTables/#U5730#U653f/#U5609#U7fa9#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U5609#U7fa9#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U57fa#U9686#U5e02.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U57fa#U9686#U5e02.txt
Open_Data/MapingTables/#U5730#U653f/#U5b9c#U862d#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U5b9c#U862d#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U5c4f#U6771#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U5c4f#U6771#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U5f70#U5316#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U5f70#U5316#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U65b0#U7af9#U5e02.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U65b0#U7af9#U5e02.txt
Open_Data/MapingTables/#U5730#U653f/#U65b0#U7af9#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U65b0#U7af9#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U6843#U5712#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U6843#U5712#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U6f8e#U6e56#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U6f8e#U6e56#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U82b1#U84ee#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U82b1#U84ee#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U82d7#U6817#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U82d7#U6817#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U9023#U6c5f#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U9023#U6c5f#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U91d1#U9580#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U91d1#U9580#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U96f2#U6797#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U96f2#U6797#U7e23.txt
Open_Data/MapingTables/#U5730#U653f/#U9ad8#U96c4#U5e02.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U9ad8#U96c4#U5e02.txt
Open_Data/MapingTables/#U5730#U653f/#U9ad8#U96c4#U7e23.txt: mismatching "local" filename (Open_Data/MapingTables/??????/?????????.txt),
continuing with "central" filename version
inflating: Open_Data/MapingTables/#U5730#U653f/#U9ad8#U96c4#U7e23.txt
creating: Open_Data/Properties/
inflating: Open_Data/Properties/CNS_cangjie.txt
inflating: Open_Data/Properties/CNS_component.txt
inflating: Open_Data/Properties/CNS_component_word.txt
inflating: Open_Data/Properties/CNS_component_word.zip
inflating: Open_Data/Properties/CNS_phonetic.txt
inflating: Open_Data/Properties/CNS_pinyin_1.txt
inflating: Open_Data/Properties/CNS_pinyin_2.txt
inflating: Open_Data/Properties/CNS_radical.txt
inflating: Open_Data/Properties/CNS_radical_word.txt
inflating: Open_Data/Properties/CNS_source.txt
inflating: Open_Data/Properties/CNS_stroke.txt
inflating: Open_Data/Properties/CNS_strokes_sequence.txt
Open_Data/Properties/#U5168#U5b57#U5eab#U5c6c#U6027#U8cc7#U6599#U8aaa#U660e#U6587#U4ef6.txt: mismatching "local" filename (Open_Data/Properties/?????????????????????????????????.txt),
continuing with "central" filename version
inflating: Open_Data/Properties/#U5168#U5b57#U5eab#U5c6c#U6027#U8cc7#U6599#U8aaa#U660e#U6587#U4ef6.txt
creating: Open_Data/Voice/
inflating: Open_Data/Voice/CNS_pinyin_voice.zip
Open_Data/Voice/#U5168#U5b57#U5eab#U97f3#U6a94#U8aaa#U660e#U6587#U4ef6.txt: mismatching "local" filename (Open_Data/Voice/???????????????????????????.txt),
continuing with "central" filename version
inflating: Open_Data/Voice/#U5168#U5b57#U5eab#U97f3#U6a94#U8aaa#U660e#U6587#U4ef6.txt
Open_Data/#U8cc7#U6599#U66f4#U65b0#U8aaa#U660e.txt: mismatching "local" filename (Open_Data/??????????????????.txt),
continuing with "central" filename version
inflating: Open_Data/#U8cc7#U6599#U66f4#U65b0#U8aaa#U660e.txt
error: in phase 'unpack': uncaught exception:
%exception #<&invoke-error program: "unzip" arguments: ("/gnu/store/lcnarbk2vd6l1qj77i2s4ny92chzpbzg-Open_Data.zip") exit-status: 1 term-signal: #f stop-signal: #f>
From 81861618f25285f5acc85aafd461bd958ae0eb04 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <mail@brendan.scot>
Date: Mon, 31 Jan 2022 12:55:23 +1100
Subject: [PATCH] gnu: font-cns11643: Update to 98.1.20220104.

* gnu/packages/fonts.scm (font-cns11643): Update to 98.1.20220104.
Also, use stable archive.org link.
---
gnu/packages/fonts.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

Toggle diff (25 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 8afb453970..2955b98a4a 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -534,13 +534,15 @@ (define-public font-cns11643
;; it elsewhere to avoid suddenly losing the current source file.
(package
(name "font-cns11643")
- (version "98.1.20180605")
+ (version "98.1.20220104")
(source (origin
(method url-fetch)
- (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip")
+ (uri (string-append
+ "https://web.archive.org/web/20220119072046/"
+ "http://www.cns11643.gov.tw/AIDB/Open_Data.zip"))
(sha256
(base32
- "000a9whrjr1cd4pjc23pbl60zwkq3wcb5g61p9qi7fn3hwkp0kyw"))))
+ "0ygq7a0gb0nah74wlvf84kss68k514dml1wkcihv2s5v5j9rys0y"))))
(build-system font-build-system)
(home-page "http://www.cns11643.gov.tw/AIDB/welcome.do")
(synopsis "CJK TrueType fonts, TW-Kai and TW-Sung")
--
2.34.0
M
M
Maxime Devos wrote on 31 Jan 2022 10:18
417f2792a426652273e9558f31b13cb64b937183.camel@telenet.be
Brendan Tildesley schreef op ma 31-01-2022 om 02:59 [+0100]:
Toggle quote (2 lines)
> I tried updating it but came across an unzip error, maybe unicode related. I've also noticed in my Icecat there are all these icons that are showing as random korean characters, so I wonder if my configuration is wrong somehow??:

Maybe add glibc-utf8-locales to the native-inputs of the package
definition, such that an UTF-8 locale can be installed?

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYfepfxccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7seHAP4njBct9eyxwdK1E+fUyhEwABWl
+m8IZTj000vMiZH09AEAy78n9gNeFq/SDv8BvpWyXG7f2x9xYDMAQAnzApVIcw4=
=/fVC
-----END PGP SIGNATURE-----


B
B
Brendan Tildesley wrote on 31 Jan 2022 12:23
(name . 53204@debbugs.gnu.org)(address . 53204@debbugs.gnu.org)
1070829080.156978.1643628182234@office.mailbox.org
Toggle quote (12 lines)
> On 01/31/2022 10:18 AM Maxime Devos <maximedevos@telenet.be> wrote:
>
>
> Brendan Tildesley schreef op ma 31-01-2022 om 02:59 [+0100]:
> > I tried updating it but came across an unzip error, maybe unicode related. I've also noticed in my Icecat there are all these icons that are showing as random korean characters, so I wonder if my configuration is wrong somehow??:
>
> Maybe add glibc-utf8-locales to the native-inputs of the package
> definition, such that an UTF-8 locale can be installed?
>
> Greetings,
> Maxime.

I just noticed there is also this:

starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument


It occurs for other font-build-system fonts too. Adding glibc-utf8-locales or glibc-locales didn't fix it.
I don't understand it because its just based off gnu-build-system which doesn't have that issue.

It doesn't GUIX_LOCPATH either
M
M
Maxime Devos wrote on 31 Jan 2022 13:35
(name . Arne Babenhauserheide)(address . arne_bab@web.de)
4e25e509335d3794271767594ba2988f9ab82cab.camel@telenet.be
Brendan Tildesley schreef op ma 31-01-2022 om 12:23 [+0100]:
Toggle quote (11 lines)
> I just noticed there is also this:
>
> starting phase `install-locale'
> warning: failed to install 'en_US.utf8' locale: Invalid argument
>
>
> It occurs for other font-build-system fonts too. Adding glibc-utf8-locales or glibc-locales didn't fix it.
> I don't understand it because its just based off gnu-build-system which doesn't have that issue.
>
> It doesn't GUIX_LOCPATH either

Perhaps the cause is that font-build-system doesn't have glibc among
its (implicit) native-inputs, and hence there's no GUIX_LOCPATH search

Adding glibc to the native-inputs might work.

Greetings,
Maxime.
-----BEGIN PGP SIGNATURE-----

iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYffXdBccbWF4aW1lZGV2
b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7m6KAP4l2IbkwdfURF4NPOJDFHLGwTBN
updmYOXUQKFSCgD9sgEAzQ8Go41GYqHvSGl6MMNzn4eEf4C0x1SdazR6Uny0ow8=
=2AvU
-----END PGP SIGNATURE-----


B
B
Brendan Tildesley wrote on 1 Feb 2022 02:23
(name . Arne Babenhauserheide)(address . arne_bab@web.de)
1142880891.227439.1643678630203@office.mailbox.org
Toggle quote (24 lines)
> On 01/31/2022 1:35 PM Maxime Devos <maximedevos@telenet.be> wrote:
>
>
> Brendan Tildesley schreef op ma 31-01-2022 om 12:23 [+0100]:
> > I just noticed there is also this:
> >
> > starting phase `install-locale'
> > warning: failed to install 'en_US.utf8' locale: Invalid argument
> >
> >
> > It occurs for other font-build-system fonts too. Adding glibc-utf8-locales or glibc-locales didn't fix it.
> > I don't understand it because its just based off gnu-build-system which doesn't have that issue.
> >
> > It doesn't GUIX_LOCPATH either
>
> Perhaps the cause is that font-build-system doesn't have glibc among
> its (implicit) native-inputs, and hence there's no GUIX_LOCPATH search
> path (see <https://issues.guix.gnu.org/22138>)?
>
> Adding glibc to the native-inputs might work.
>
> Greetings,
> Maxime.

Fixed it (attached).
From 7af44a6109dae1c056abb10d18e8eecb7113e836 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <mail@brendan.scot>
Date: Mon, 31 Jan 2022 12:55:23 +1100
Subject: [PATCH] gnu: font-cns11643: Update to 98.1.20220104.

* gnu/packages/fonts.scm (font-cns11643): Update to 98.1.20220104.
Use stable archive.org link.
Only extract the files we need, and fix an error caused by unzip
"missmatch local filename" warnings.
---
gnu/packages/fonts.scm | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)

Toggle diff (47 lines)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 8afb453970..e3a974b6b0 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -18,7 +18,7 @@
;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.com>
;;; Copyright © 2017 Alex Griffin <a@ajgrf.com>
;;; Copyright © 2017 Clément Lassieur <clement@lassieur.org>
-;;; Copyright © 2017 Brendan Tildesley <mail@brendan.scot>
+;;; Copyright © 2017, 2022 Brendan Tildesley <mail@brendan.scot>
;;; Copyright © 2017, 2018, 2019, 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2017 Mohammed Sadiq <sadiq@sadiqpk.org>
;;; Copyright © 2018 Charlie Ritter <chewzerita@posteo.net>
@@ -530,17 +530,26 @@ (define-public font-adobe-source-han-sans
(define-public font-cns11643
;; Since upstream doesn't provide any version numbers, the date of the last
;; edit is used, taken from https://data.gov.tw/dataset/5961
- ;; XXX: The source is also updated in-place, so it may be desirable to mirror
- ;; it elsewhere to avoid suddenly losing the current source file.
+ ;; Use the archive.org mirror since the source is updated in place.
(package
(name "font-cns11643")
- (version "98.1.20180605")
+ (version "98.1.20220104")
(source (origin
(method url-fetch)
- (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip")
+ (uri (string-append
+ "https://web.archive.org/web/20220119072046/"
+ "http://www.cns11643.gov.tw/AIDB/Open_Data.zip"))
(sha256
(base32
- "000a9whrjr1cd4pjc23pbl60zwkq3wcb5g61p9qi7fn3hwkp0kyw"))))
+ "0ygq7a0gb0nah74wlvf84kss68k514dml1wkcihv2s5v5j9rys0y"))))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'unpack
+ (lambda* (#:key source #:allow-other-keys)
+ ;; Prevent filename warnings from causing an error, and only
+ ;; extract the .ttf files we need.
+ (invoke "unzip" "-j" source "Open_Data/Fonts/*ttf"))))))
(build-system font-build-system)
(home-page "http://www.cns11643.gov.tw/AIDB/welcome.do")
(synopsis "CJK TrueType fonts, TW-Kai and TW-Sung")
--
2.34.0
B
B
Brendan Tildesley wrote on 9 Oct 2022 08:38
Re: bug#53204: [patch] font-cns11643: Open_Data hash changed
cc5b93e7-112c-496a-934c-78f91f45355c@brendan.scot
PING... Is the previous patch I sent OK?>
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 53204@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 53204
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch