unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#53204: [patch] font-cns11643: Open_Data hash changed
@ 2022-01-12  8:54 Dr. Arne Babenhauserheide
  2022-01-12 10:45 ` Maxime Devos
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Dr. Arne Babenhauserheide @ 2022-01-12  8:54 UTC (permalink / raw)
  To: 53204


[-- Attachment #1.1: Type: text/plain, Size: 102 bytes --]

Hi,

the archive Open_Data.zip changed and the fonts were updated. The
attached patch should fix it:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-Update-hash-of-Open_Data.zip.patch --]
[-- Type: text/x-patch, Size: 1190 bytes --]

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(-)

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


[-- Attachment #1.3: Type: text/plain, Size: 101 bytes --]


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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply related	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: Open_Data hash changed
  2022-01-12  8:54 bug#53204: [patch] font-cns11643: Open_Data hash changed Dr. Arne Babenhauserheide
@ 2022-01-12 10:45 ` Maxime Devos
  2022-01-12 11:13   ` Maxime Devos
  2022-01-12 11:41   ` Dr. Arne Babenhauserheide
  2022-01-31  1:59 ` bug#53204: [patch] font-cns11643: ... unzip error Brendan Tildesley
  2022-10-09  6:38 ` bug#53204: [patch] font-cns11643: Open_Data hash changed Brendan Tildesley
  2 siblings, 2 replies; 11+ messages in thread
From: Maxime Devos @ 2022-01-12 10:45 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide, 53204

[-- Attachment #1: Type: text/plain, Size: 1168 bytes --]

Dr. Arne Babenhauserheide schreef op wo 12-01-2022 om 09:54 [+0100]:
> 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)
              (uri "http://www.cns11643.gov.tw/AIDB/Open_Data.zip")


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: 
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.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: Open_Data hash changed
  2022-01-12 10:45 ` Maxime Devos
@ 2022-01-12 11:13   ` Maxime Devos
  2022-01-12 11:41   ` Dr. Arne Babenhauserheide
  1 sibling, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-01-12 11:13 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide, 53204

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

Maxime Devos schreef op wo 12-01-2022 om 10:45 [+0000]:
> [...]
> 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.

It has finished:

https://web.archive.org/web/20220112104233/http://www.cns11643.gov.tw/AIDB/Open_Data.zip


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: Open_Data hash changed
  2022-01-12 10:45 ` Maxime Devos
  2022-01-12 11:13   ` Maxime Devos
@ 2022-01-12 11:41   ` Dr. Arne Babenhauserheide
  2022-01-12 12:18     ` Maxime Devos
  1 sibling, 1 reply; 11+ messages in thread
From: Dr. Arne Babenhauserheide @ 2022-01-12 11:41 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 53204

[-- Attachment #1: Type: text/plain, Size: 680 bytes --]


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?

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 1125 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: Open_Data hash changed
  2022-01-12 11:41   ` Dr. Arne Babenhauserheide
@ 2022-01-12 12:18     ` Maxime Devos
  0 siblings, 0 replies; 11+ messages in thread
From: Maxime Devos @ 2022-01-12 12:18 UTC (permalink / raw)
  To: Dr. Arne Babenhauserheide; +Cc: 53204

[-- Attachment #1: Type: text/plain, Size: 774 bytes --]

Dr. Arne Babenhauserheide schreef op wo 12-01-2022 om 12:41 [+0100]:
> 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?

<https://web.archive.org/web/20220112104233/http://www.cns11643.gov.tw/AIDB/Open_Data.zip>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: ... unzip error
  2022-01-12  8:54 bug#53204: [patch] font-cns11643: Open_Data hash changed Dr. Arne Babenhauserheide
  2022-01-12 10:45 ` Maxime Devos
@ 2022-01-31  1:59 ` Brendan Tildesley
  2022-01-31  9:18   ` Maxime Devos
  2022-10-09  6:38 ` bug#53204: [patch] font-cns11643: Open_Data hash changed Brendan Tildesley
  2 siblings, 1 reply; 11+ messages in thread
From: Brendan Tildesley @ 2022-01-31  1:59 UTC (permalink / raw)
  To: 53204@debbugs.gnu.org, Arne Babenhauserheide, Maxime Devos

[-- Attachment #1: Type: text/plain, Size: 11270 bytes --]

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>

[-- Attachment #2: 0001-gnu-font-cns11643-Update-to-98.1.20220104.patch --]
[-- Type: text/x-patch, Size: 1451 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: ... unzip error
  2022-01-31  1:59 ` bug#53204: [patch] font-cns11643: ... unzip error Brendan Tildesley
@ 2022-01-31  9:18   ` Maxime Devos
  2022-01-31 11:23     ` Brendan Tildesley
  0 siblings, 1 reply; 11+ messages in thread
From: Maxime Devos @ 2022-01-31  9:18 UTC (permalink / raw)
  To: Brendan Tildesley, 53204@debbugs.gnu.org, Arne Babenhauserheide

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: ... unzip error
  2022-01-31  9:18   ` Maxime Devos
@ 2022-01-31 11:23     ` Brendan Tildesley
  2022-01-31 12:35       ` Maxime Devos
  0 siblings, 1 reply; 11+ messages in thread
From: Brendan Tildesley @ 2022-01-31 11:23 UTC (permalink / raw)
  To: 53204@debbugs.gnu.org


> 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




^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: ... unzip error
  2022-01-31 11:23     ` Brendan Tildesley
@ 2022-01-31 12:35       ` Maxime Devos
  2022-02-01  1:23         ` Brendan Tildesley
  0 siblings, 1 reply; 11+ messages in thread
From: Maxime Devos @ 2022-01-31 12:35 UTC (permalink / raw)
  To: Brendan Tildesley, 53204@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 728 bytes --]

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.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: ... unzip error
  2022-01-31 12:35       ` Maxime Devos
@ 2022-02-01  1:23         ` Brendan Tildesley
  0 siblings, 0 replies; 11+ messages in thread
From: Brendan Tildesley @ 2022-02-01  1:23 UTC (permalink / raw)
  To: Maxime Devos, 53204@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 847 bytes --]


> 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).

[-- Attachment #2: 0001-gnu-font-cns11643-Update-to-98.1.20220104.patch --]
[-- Type: text/x-patch, Size: 2788 bytes --]

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(-)

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


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* bug#53204: [patch] font-cns11643: Open_Data hash changed
  2022-01-12  8:54 bug#53204: [patch] font-cns11643: Open_Data hash changed Dr. Arne Babenhauserheide
  2022-01-12 10:45 ` Maxime Devos
  2022-01-31  1:59 ` bug#53204: [patch] font-cns11643: ... unzip error Brendan Tildesley
@ 2022-10-09  6:38 ` Brendan Tildesley
  2 siblings, 0 replies; 11+ messages in thread
From: Brendan Tildesley @ 2022-10-09  6:38 UTC (permalink / raw)
  To: Maxime Devos, 53204, Arne Babenhauserheide


PING... Is the previous patch I sent OK?>





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-10-09  6:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-12  8:54 bug#53204: [patch] font-cns11643: Open_Data hash changed Dr. Arne Babenhauserheide
2022-01-12 10:45 ` Maxime Devos
2022-01-12 11:13   ` Maxime Devos
2022-01-12 11:41   ` Dr. Arne Babenhauserheide
2022-01-12 12:18     ` Maxime Devos
2022-01-31  1:59 ` bug#53204: [patch] font-cns11643: ... unzip error Brendan Tildesley
2022-01-31  9:18   ` Maxime Devos
2022-01-31 11:23     ` Brendan Tildesley
2022-01-31 12:35       ` Maxime Devos
2022-02-01  1:23         ` Brendan Tildesley
2022-10-09  6:38 ` bug#53204: [patch] font-cns11643: Open_Data hash changed Brendan Tildesley

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).