GNU bug report logs - #43125
[PATCH] Add new font APL385 & APL333

Previous Next

Package: guix-patches;

Reported by: "Zhu Zihao" <all_but_last <at> 163.com>

Date: Mon, 31 Aug 2020 04:01:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43125 in the body.
You can then email your comments to 43125 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Mon, 31 Aug 2020 04:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Zhu Zihao" <all_but_last <at> 163.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 31 Aug 2020 04:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Zhu Zihao" <all_but_last <at> 163.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] Add new font APL385 & APL333
Date: Mon, 31 Aug 2020 11:44:24 +0800 (CST)
[Message part 1 (text/plain, inline)]
APL385 & APL333 are fonts for APL programming.
[Message part 2 (text/html, inline)]
[0001-gnu-Add-font-apl385.patch (application/octet-stream, attachment)]
[0002-gnu-Add-font-apl333.patch (application/octet-stream, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Mon, 31 Aug 2020 04:28:01 GMT) Full text and rfc822 format available.

Message #8 received at 43125 <at> debbugs.gnu.org (full text, mbox):

From: "Zhu Zihao" <all_but_last <at> 163.com>
To: 43125 <at> debbugs.gnu.org
Subject: Re: [PATCH] Add new font APL385 & APL333
Date: Mon, 31 Aug 2020 12:27:19 +0800 (CST)
[Message part 1 (text/plain, inline)]
From f4745ab244032643bcdbe00ea91e5bfe550f8dad Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last <at> 163.com>
Date: Mon, 31 Aug 2020 11:39:31 +0800
Subject: [PATCH 1/2] gnu: Add font-apl385

* gnu/packages/fonts.scm (font-apl385): New variable.
---
 gnu/packages/fonts.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 77484157e3..794d988df2 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1961,3 +1961,22 @@ operators and special symbols.")
 is a stylish type with a polished yet relaxed feel.  Its versatility makes it
 suitable for a wide range of uses.")
       (license license:silofl1.1))))
+
+(define-public font-apl385
+  (let ((revision "0"))
+    (package
+      (name "font-apl385")
+      (version (string-append "1.0.0-" revision))
+      (source
+       (origin
+         (method url-fetch/zipbomb)
+         (uri "https://apl385.com/fonts/apl385.zip")
+         (sha256
+          (base32 "132qfsnx0v6qf8x8iy3flivv449nz42nnpkwjysmz65w6wqxpk1g"))))
+      (build-system font-build-system)
+      (home-page "https://apl385.com")
+      (synopsis "Monospace font for APL programming")
+      (description "APL385 is developed with all APL software vendors
+in the late 1980s and enhanced as required with new characters to meet
+interpreter updates.")
+      (license license:public-domain))))
--
2.27.0







From 952a5b50902eab13c43599de44c1b4ac501c71df Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last <at> 163.com>
Date: Mon, 31 Aug 2020 11:40:49 +0800
Subject: [PATCH 2/2] gnu: Add font-apl333

* gnu/packages/fonts.scm (font-apl333): New variable.
---
 gnu/packages/fonts.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 794d988df2..e61a0d2f4a 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1980,3 +1980,20 @@ suitable for a wide range of uses.")
 in the late 1980s and enhanced as required with new characters to meet
 interpreter updates.")
       (license license:public-domain))))
+
+(define-public font-apl333
+  (let ((revision "0"))
+    (package
+      (name "font-apl333")
+      (version (string-append "1.0.0-" revision))
+      (source
+       (origin
+         (method url-fetch/zipbomb)
+         (uri "https://apl385.com/fonts/apl333.zip")
+         (sha256
+          (base32 "132qfsnx0v6qf8x8iy3flivv449nz42nnpkwjysmz65w6wqxpk1g"))))
+      (build-system font-build-system)
+      (home-page "https://apl385.com")
+      (synopsis "Proportional font for APL programming")
+      (description "APL333 is the proportional variant of APL385.")
+      (license license:public-domain))))
--
2.27.0


[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Tue, 08 Sep 2020 01:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 43125 <at> debbugs.gnu.org (full text, mbox):

From: "Zhu Zihao" <all_but_last <at> 163.com>
To: 43125 <at> debbugs.gnu.org
Subject: Re: [PATCH] Add new font APL385 & APL333
Date: Tue, 8 Sep 2020 09:10:29 +0800 (CST)
[Message part 1 (text/plain, inline)]
Any feedback?
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Tue, 10 Nov 2020 09:33:02 GMT) Full text and rfc822 format available.

Message #14 received at 43125 <at> debbugs.gnu.org (full text, mbox):

From: "Zhu Zihao" <all_but_last <at> 163.com>
To: 43125 <at> debbugs.gnu.org, ludo <at> gnu.org
Subject: Re:Re: [PATCH] Add new font APL385 & APL333
Date: Tue, 10 Nov 2020 17:32:46 +0800 (CST)
[Message part 1 (text/plain, inline)]
Ludo, Can you please help review this patch? It's been idle for a long long time, Thanks a lot.











在 2020-08-31 12:27:19,"Zhu Zihao" <all_but_last <at> 163.com> 写道:

From f4745ab244032643bcdbe00ea91e5bfe550f8dad Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last <at> 163.com>
Date: Mon, 31 Aug 2020 11:39:31 +0800
Subject: [PATCH 1/2] gnu: Add font-apl385

* gnu/packages/fonts.scm (font-apl385): New variable.
---
 gnu/packages/fonts.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 77484157e3..794d988df2 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1961,3 +1961,22 @@ operators and special symbols.")
 is a stylish type with a polished yet relaxed feel.  Its versatility makes it
 suitable for a wide range of uses.")
       (license license:silofl1.1))))
+
+(define-public font-apl385
+  (let ((revision "0"))
+    (package
+      (name "font-apl385")
+      (version (string-append "1.0.0-" revision))
+      (source
+       (origin
+         (method url-fetch/zipbomb)
+         (uri "https://apl385.com/fonts/apl385.zip")
+         (sha256
+          (base32 "132qfsnx0v6qf8x8iy3flivv449nz42nnpkwjysmz65w6wqxpk1g"))))
+      (build-system font-build-system)
+      (home-page "https://apl385.com")
+      (synopsis "Monospace font for APL programming")
+      (description "APL385 is developed with all APL software vendors
+in the late 1980s and enhanced as required with new characters to meet
+interpreter updates.")
+      (license license:public-domain))))
--
2.27.0







From 952a5b50902eab13c43599de44c1b4ac501c71df Mon Sep 17 00:00:00 2001
From: Zhu Zihao <all_but_last <at> 163.com>
Date: Mon, 31 Aug 2020 11:40:49 +0800
Subject: [PATCH 2/2] gnu: Add font-apl333

* gnu/packages/fonts.scm (font-apl333): New variable.
---
 gnu/packages/fonts.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 794d988df2..e61a0d2f4a 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1980,3 +1980,20 @@ suitable for a wide range of uses.")
 in the late 1980s and enhanced as required with new characters to meet
 interpreter updates.")
       (license license:public-domain))))
+
+(define-public font-apl333
+  (let ((revision "0"))
+    (package
+      (name "font-apl333")
+      (version (string-append "1.0.0-" revision))
+      (source
+       (origin
+         (method url-fetch/zipbomb)
+         (uri "https://apl385.com/fonts/apl333.zip")
+         (sha256
+          (base32 "132qfsnx0v6qf8x8iy3flivv449nz42nnpkwjysmz65w6wqxpk1g"))))
+      (build-system font-build-system)
+      (home-page "https://apl385.com")
+      (synopsis "Proportional font for APL programming")
+      (description "APL333 is the proportional variant of APL385.")
+      (license license:public-domain))))
--
2.27.0







 
[Message part 2 (text/html, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Tue, 10 Nov 2020 11:59:01 GMT) Full text and rfc822 format available.

Message #17 received at 43125 <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: "Zhu Zihao" <all_but_last <at> 163.com>
Cc: 43125 <at> debbugs.gnu.org
Subject: Re: [bug#43125] Re: [PATCH] Add new font APL385 & APL333
Date: Tue, 10 Nov 2020 12:58:13 +0100
Hi,

I've tried to apply and build these fonts. Apl 385 applied and built
without any issue, but it seems that apl333 sources have changed since
you posted your patch.

Apparently, they update the archives in-place, which is a bad practice
for distros such as ours, since it will break our packaging system at
an unknown time in the future. Do you know of any other source for
these fonts with versionned archives? Do you know how to contact the
author, to ask them for a versionned link?

Le Tue, 10 Nov 2020 17:32:46 +0800 (CST),
"Zhu Zihao" <all_but_last <at> 163.com> a écrit :

> Ludo, Can you please help review this patch? It's been idle for a
> long long time, Thanks a lot.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 在 2020-08-31 12:27:19,"Zhu Zihao" <all_but_last <at> 163.com> 写道:
> 
> From f4745ab244032643bcdbe00ea91e5bfe550f8dad Mon Sep 17 00:00:00 2001
> From: Zhu Zihao <all_but_last <at> 163.com>
> Date: Mon, 31 Aug 2020 11:39:31 +0800
> Subject: [PATCH 1/2] gnu: Add font-apl385
> 
> * gnu/packages/fonts.scm (font-apl385): New variable.
> ---
>  gnu/packages/fonts.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> index 77484157e3..794d988df2 100644
> --- a/gnu/packages/fonts.scm
> +++ b/gnu/packages/fonts.scm
> @@ -1961,3 +1961,22 @@ operators and special symbols.")
>  is a stylish type with a polished yet relaxed feel.  Its versatility
> makes it suitable for a wide range of uses.")
>        (license license:silofl1.1))))
> +
> +(define-public font-apl385
> +  (let ((revision "0"))
> +    (package
> +      (name "font-apl385")
> +      (version (string-append "1.0.0-" revision))
> +      (source
> +       (origin
> +         (method url-fetch/zipbomb)
> +         (uri "https://apl385.com/fonts/apl385.zip")
> +         (sha256
> +          (base32
> "132qfsnx0v6qf8x8iy3flivv449nz42nnpkwjysmz65w6wqxpk1g"))))
> +      (build-system font-build-system)
> +      (home-page "https://apl385.com")
> +      (synopsis "Monospace font for APL programming")
> +      (description "APL385 is developed with all APL software vendors
> +in the late 1980s and enhanced as required with new characters to
> meet +interpreter updates.")
> +      (license license:public-domain))))
> --
> 2.27.0
> 
> 
> 
> 
> 
> 
> 
> From 952a5b50902eab13c43599de44c1b4ac501c71df Mon Sep 17 00:00:00 2001
> From: Zhu Zihao <all_but_last <at> 163.com>
> Date: Mon, 31 Aug 2020 11:40:49 +0800
> Subject: [PATCH 2/2] gnu: Add font-apl333
> 
> * gnu/packages/fonts.scm (font-apl333): New variable.
> ---
>  gnu/packages/fonts.scm | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
> 
> diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> index 794d988df2..e61a0d2f4a 100644
> --- a/gnu/packages/fonts.scm
> +++ b/gnu/packages/fonts.scm
> @@ -1980,3 +1980,20 @@ suitable for a wide range of uses.")
>  in the late 1980s and enhanced as required with new characters to
> meet interpreter updates.")
>        (license license:public-domain))))
> +
> +(define-public font-apl333
> +  (let ((revision "0"))
> +    (package
> +      (name "font-apl333")
> +      (version (string-append "1.0.0-" revision))
> +      (source
> +       (origin
> +         (method url-fetch/zipbomb)
> +         (uri "https://apl385.com/fonts/apl333.zip")
> +         (sha256
> +          (base32
> "132qfsnx0v6qf8x8iy3flivv449nz42nnpkwjysmz65w6wqxpk1g"))))
> +      (build-system font-build-system)
> +      (home-page "https://apl385.com")
> +      (synopsis "Proportional font for APL programming")
> +      (description "APL333 is the proportional variant of APL385.")
> +      (license license:public-domain))))
> --
> 2.27.0
> 
> 
> 
> 
> 
> 
> 
>  




Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Tue, 10 Nov 2020 14:16:02 GMT) Full text and rfc822 format available.

Message #20 received at 43125 <at> debbugs.gnu.org (full text, mbox):

From: Zhu Zihao <all_but_last <at> 163.com>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 43125 <at> debbugs.gnu.org
Subject: Re: [bug#43125] Re: [PATCH] Add new font APL385 & APL333
Date: Tue, 10 Nov 2020 22:15:38 +0800
[Message part 1 (text/plain, inline)]
Sadly I can't contact them, because they leave no contact at the site.
:(

I' ll email you if I can find a way to retrieve source
deterministically, thanks.

Julien Lepiller writes:

> Hi,
>
> I've tried to apply and build these fonts. Apl 385 applied and built
> without any issue, but it seems that apl333 sources have changed since
> you posted your patch.
>
> Apparently, they update the archives in-place, which is a bad practice
> for distros such as ours, since it will break our packaging system at
> an unknown time in the future. Do you know of any other source for
> these fonts with versionned archives? Do you know how to contact the
> author, to ask them for a versionned link?
>
> Le Tue, 10 Nov 2020 17:32:46 +0800 (CST),
> "Zhu Zihao" <all_but_last <at> 163.com> a écrit :
>


-- 
Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp

Zihao
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Tue, 17 Nov 2020 20:18:02 GMT) Full text and rfc822 format available.

Message #23 received at 43125 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Zhu Zihao <all_but_last <at> 163.com>
Cc: 43125 <at> debbugs.gnu.org, Julien Lepiller <julien <at> lepiller.eu>
Subject: Re: [bug#43125] Re: [PATCH] Add new font APL385 & APL333
Date: Tue, 17 Nov 2020 15:17:27 -0500
[Message part 1 (text/plain, inline)]
If you don't find another method, you could upload the source code to
archive.org and make the Guix package fetch from there. We've done that
before to work around this kind of problem.

On Tue, Nov 10, 2020 at 10:15:38PM +0800, Zhu Zihao wrote:
> 
> Sadly I can't contact them, because they leave no contact at the site.
> :(
> 
> I' ll email you if I can find a way to retrieve source
> deterministically, thanks.
> 
> Julien Lepiller writes:
> 
> > Hi,
> >
> > I've tried to apply and build these fonts. Apl 385 applied and built
> > without any issue, but it seems that apl333 sources have changed since
> > you posted your patch.
> >
> > Apparently, they update the archives in-place, which is a bad practice
> > for distros such as ours, since it will break our packaging system at
> > an unknown time in the future. Do you know of any other source for
> > these fonts with versionned archives? Do you know how to contact the
> > author, to ask them for a versionned link?
> >
> > Le Tue, 10 Nov 2020 17:32:46 +0800 (CST),
> > "Zhu Zihao" <all_but_last <at> 163.com> a écrit :
> >
> 
> 
> -- 
> Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp
> 
> Zihao


[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Tue, 17 Nov 2020 23:53:01 GMT) Full text and rfc822 format available.

Message #26 received at 43125 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Leo Famulari <leo <at> famulari.name>, Zhu Zihao <all_but_last <at> 163.com>
Cc: 43125 <at> debbugs.gnu.org, Julien Lepiller <julien <at> lepiller.eu>
Subject: Re: [bug#43125] Re: [PATCH] Add new font APL385 & APL333
Date: Wed, 18 Nov 2020 00:45:46 +0100
Hi,


On Tue, 17 Nov 2020 at 15:17, Leo Famulari <leo <at> famulari.name> wrote:

> If you don't find another method, you could upload the source code to
> archive.org and make the Guix package fetch from there. We've done that
> before to work around this kind of problem.

What have been done recently for case where the upstream is not
available anymore is: convert to Git and save to Software Heritage.

For instance, see commit 74cb33c22818b25d1b9c6d576352fc8249832d34 and

   <http://issues.guix.gnu.org/issue/43426>

especially this snippet:

--8<---------------cut here---------------start------------->8---
$ (cd /tmp; tar xf $(guix build -S gdsl); guix hash -r /tmp/gdsl-1.8)
0a52g12d9sf9hhcyvwfd7xdazj2a9i9jh97cnlqf2ymvwnvjk1g0
$ guix hash -r $(./pre-inst-env guix build -S gdsl)
0a52g12d9sf9hhcyvwfd7xdazj2a9i9jh97cnlqf2ymvwnvjk1g0
--8<---------------cut here---------------end--------------->8---

Obviously, need tweaks for the issue at hand. :-)

All the best,
simon




Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Wed, 30 Apr 2025 13:50:02 GMT) Full text and rfc822 format available.

Notification sent to "Zhu Zihao" <all_but_last <at> 163.com>:
bug acknowledged by developer. (Wed, 30 Apr 2025 13:50:02 GMT) Full text and rfc822 format available.

Message #31 received at 43125-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: Lee Thompson <lee.p.thomp <at> gmail.com>
Cc: 43125-done <at> debbugs.gnu.org, help-guix <at> gnu.org, 77216-done <at> debbugs.gnu.org
Subject: Re: Advice Packaging APL Fonts
Date: Wed, 30 Apr 2025 15:49:28 +0200
Hello,

Am Mon, Mar 24, 2025 at 07:32:53PM +0000 schrieb Lee Thompson:
> Indeed, in the end I decided to send both as separate fonts but in a
> single patch, one inheriting from the other owing to the shared source,
> homepage, licenses etc.

well, in the end I opted for not inheriting and putting the font into
the apl module, where the third one from this web page already exists.
It turns out there was a related bug report from years ago, which I am
closing at the same occasion.

Andreas





Information forwarded to guix-patches <at> gnu.org:
bug#43125; Package guix-patches. (Wed, 30 Apr 2025 15:13:02 GMT) Full text and rfc822 format available.

Message #34 received at 43125-done <at> debbugs.gnu.org (full text, mbox):

From: Lee Thompson <lee.p.thomp <at> gmail.com>
To: Andreas Enge <andreas <at> enge.fr>
Cc: 43125-done <at> debbugs.gnu.org, help-guix <at> gnu.org, 77216-done <at> debbugs.gnu.org
Subject: Re: Advice Packaging APL Fonts
Date: Wed, 30 Apr 2025 16:12:10 +0100
Hey Andreas,

Thanks for the follow-up, I can't believe I missed the existing apl2741
font, thanks for adjusting my patch so it ended up in the right
place. I'm glad this helped resolve a much older issue also!

Cheers,
Lee




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 May 2025 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.