GNU bug report logs - #68013
[PATCH] gnu: fonts: Add font-meslo-lg and font-meslo-lg-dz.

Previous Next

Package: guix-patches;

Reported by: lgcoelho <at> disroot.org

Date: Sun, 24 Dec 2023 19:01:01 UTC

Severity: normal

Tags: patch

Full log


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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 68013 <at> debbugs.gnu.org
Cc: Luis Guilherme Coelho <lgcoelho <at> disroot.org>,
 Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH v2 1/1] gnu: Add font-meslo-lg.
Date: Sun,  3 Nov 2024 22:20:00 +0000
From: Luis Guilherme Coelho <lgcoelho <at> disroot.org>

* gnu/packages/fonts.scm (font-meslo-lg, font-meslo-lg-dz): New variables.

Change-Id: I90ce642c60931c368e70c1d4b4cd57ee4f1e3c4d
Co-authored-by: Sharlatan Hellseher <sharlatanus <at> gmail.com>
---
 gnu/packages/fonts.scm | 48 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 65232db3b8..4afd950fc9 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2023 chris <chris <at> bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil <at> zoho.com>
 ;;; Copyright © 2024 Christina O'Donnell <cdo <at> mutix.org>
+;;; Copyright © 2023 Luis Guilherme Coelho <lgcoelho <at> disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1569,6 +1570,53 @@ (define-public font-adobe-source-serif-pro
 Sans Pro family.")
     (license license:silofl1.1)))
 
+(define-public font-meslo-lg
+  (package
+    (name "font-meslo-lg")
+    (version "1.2.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/andreberg/Meslo-Font")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1594lxdk6788bb3i3c2fh74z4pwpzcp2r1xl3cz8cz77nrcjkl8m"))))
+    (build-system font-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack chdir
+            (lambda* (#:key source #:allow-other-keys)
+              (chdir (string-append "dist/v" #$version))
+              (invoke "unzip"
+                      (string-append "Meslo LG v" #$version ".zip")))))))
+    (native-inputs
+     (list unzip))
+    (home-page "https://github.com/andreberg/Meslo-Font")
+    (synopsis "Font for dyslexics and high readability")
+    (description
+     "Meslo LG is a customized version of Apple’s Menlo-Regular font
+(which is a customized Bitstream Vera Sans Mono).")
+    (license license:asl2.0)))
+
+(define-public font-meslo-lg-dz
+  (package
+    (inherit font-meslo-lg)
+    (name "font-meslo-lg-dz")
+    (version "1.2.1")
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack chdir
+            (lambda* (#:key source #:allow-other-keys)
+              (chdir (string-append "dist/v" #$version))
+              (invoke "unzip"
+                      (string-append "Meslo LG DZ v" #$version ".zip")))))))))
+
 (define-public font-microsoft-cascadia
   (package
     (name "font-microsoft-cascadia")
-- 
2.46.0





This bug report was last modified 223 days ago.

Previous Next


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