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

To reply to this bug, email your comments to 68013 AT debbugs.gnu.org.

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#68013; Package guix-patches. (Sun, 24 Dec 2023 19:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to lgcoelho <at> disroot.org:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 24 Dec 2023 19:01:02 GMT) Full text and rfc822 format available.

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

From: lgcoelho <at> disroot.org
To: Guix Patches <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: fonts: Add font-meslo-lg and font-meslo-lg-dz.
Date: Sun, 24 Dec 2023 19:00:25 +0000
[Message part 1 (text/html, inline)]
[0001-gnu-fonts-Add-font-meslo-lg-and-font-meslo-lg-dz.patch (text/x-diff, attachment)]

Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#68013; Package guix-patches. (Sun, 03 Nov 2024 22:21:01 GMT) Full text and rfc822 format available.

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

From: Sharlatan Hellseher <sharlatanus <at> gmail.com>
To: 68013 <at> debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Subject: [PATCH v2 0/1] gnu: Add font-meslo-lg.
Date: Sun,  3 Nov 2024 22:19:38 +0000
Hi,

I'm not sure about license here, let's check with team.

I've modify it a litle, v2 includes:

- changes: 
  - Rebase to latestest master
  - Use git tag
  - Adjust phases
  - Swap license to asl2.0 as seen in README

Luis Guilherme Coelho (1):
  gnu: Add font-meslo-lg.

 gnu/packages/fonts.scm | 48 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)


base-commit: 54f82bcf22178d89140a131332a9e036ac386657
-- 
2.46.0





Information forwarded to all_but_last <at> 163.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#68013; Package guix-patches. (Sun, 03 Nov 2024 22:22:02 GMT) Full text and rfc822 format available.

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.