GNU bug report logs - #63506
[PATCH] gnu: Add font-scientifica.

Previous Next

Package: guix-patches;

Reported by: Ahmad Draidi <a.r.draidi <at> redscript.org>

Date: Sun, 14 May 2023 20:23:01 UTC

Severity: normal

Tags: patch

Done: 宋文武 <iyzsong <at> envs.net>

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 63506 in the body.
You can then email your comments to 63506 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 all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#63506; Package guix-patches. (Sun, 14 May 2023 20:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ahmad Draidi <a.r.draidi <at> redscript.org>:
New bug report received and forwarded. Copy sent to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Sun, 14 May 2023 20:23:02 GMT) Full text and rfc822 format available.

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

From: Ahmad Draidi <a.r.draidi <at> redscript.org>
To: guix-patches <at> gnu.org
Cc: Ahmad Draidi <a.r.draidi <at> redscript.org>
Subject: [PATCH] gnu: Add font-scientifica.
Date: Mon, 15 May 2023 00:21:17 +0400
* gnu/packages/fonts.scm (font-scientifica): New variable.
---
 gnu/packages/fonts.scm | 52 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index e4c53dbc73..c5bbce2592 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -3152,3 +3152,55 @@ (define-public font-spleen
 
 Spleen also has support for Powerline symbols out of the box.")
     (license license:bsd-2)))
+
+(define-public font-scientifica
+  (package
+    (name "font-scientifica")
+    (version "2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/nerdypepper/scientifica/releases/download/"
+                    "v" version "/scientifica.tar"))
+              (sha256
+               (base32
+                "0zwa3s75lvbky2vn73i1fmxa37hi3zfm7f6wfpqwcip8l1lpi1gh"))))
+    (build-system font-build-system)
+    (outputs '("out" ;OTB
+               "bdf" "ttf"))
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (replace 'install
+                          (lambda* (#:key outputs #:allow-other-keys)
+                            (let* ((otb (assoc-ref outputs "out"))
+                                   (bdf (assoc-ref outputs "bdf"))
+                                   (ttf (assoc-ref outputs "ttf"))
+                                   (otb-font-dir (string-append (assoc-ref
+                                                                 outputs "out")
+                                                  "/share/fonts/misc"))
+                                   (ttf-font-dir (string-append (assoc-ref
+                                                                 outputs "ttf")
+                                                  "/share/fonts/truetype"))
+                                   (bdf-font-dir (string-append (assoc-ref
+                                                                 outputs "bdf")
+                                                  "/share/fonts/misc")))
+                              (mkdir-p otb-font-dir)
+                              (mkdir-p bdf-font-dir)
+                              (mkdir-p ttf-font-dir)
+                              (for-each (lambda (otb)
+                                          (install-file otb otb-font-dir))
+                                        (find-files "." "\\.otb$"))
+                              (for-each (lambda (bdf)
+                                          (install-file bdf bdf-font-dir))
+                                        (find-files "." "\\.bdf$"))
+                              (for-each (lambda (ttf)
+                                          (install-file ttf ttf-font-dir))
+                                        (find-files "." "\\.ttf$"))) #t)))))
+    (home-page "https://github.com/nerdypepper/scientifica")
+    (synopsis "Tall and condensed bitmap font for geeks")
+    (description
+     "@code{scientifica} is largely based on
+@url{https://github.com/romeovs/creep, @code{creep}}, with a number of
+minor tweaks to improve readability (a matter of taste of course).
+Most characters are just 4px wide, which is brilliant for low dpi(90-120) displays.")
+    (license license:silofl1.1)))

base-commit: 7b00b155d8f474d493a22ff7cccbeec311b9bbc8
-- 
2.40.1





Information forwarded to guix-patches <at> gnu.org:
bug#63506; Package guix-patches. (Mon, 15 May 2023 09:53:01 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Ahmad Draidi <a.r.draidi <at> redscript.org>
Cc: Zhu Zihao <all_but_last <at> 163.com>, 63506 <at> debbugs.gnu.org
Subject: Re: [bug#63506] [PATCH] gnu: Add font-scientifica.
Date: Mon, 15 May 2023 17:52:08 +0800
Ahmad Draidi <a.r.draidi <at> redscript.org> writes:

> * gnu/packages/fonts.scm (font-scientifica): New variable.

Pushed to master now, thank you!




Reply sent to 宋文武 <iyzsong <at> envs.net>:
You have taken responsibility. (Mon, 15 May 2023 09:59:02 GMT) Full text and rfc822 format available.

Notification sent to Ahmad Draidi <a.r.draidi <at> redscript.org>:
bug acknowledged by developer. (Mon, 15 May 2023 09:59:02 GMT) Full text and rfc822 format available.

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

From: 宋文武 <iyzsong <at> envs.net>
To: Ahmad Draidi <a.r.draidi <at> redscript.org>
Cc: 63506-done <at> debbugs.gnu.org
Subject: Re: bug#63506: [PATCH] gnu: Add font-scientifica.
Date: Mon, 15 May 2023 17:57:55 +0800
Forgot to close the issue :\




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 12 Jun 2023 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 312 days ago.

Previous Next


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