unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 68013@debbugs.gnu.org
Cc: "Luis Guilherme Coelho" <lgcoelho@disroot.org>,
	"Sharlatan Hellseher" <sharlatanus@gmail.com>,
	"Zhu Zihao" <all_but_last@163.com>, 宋文武 <iyzsong@envs.net>
Subject: [bug#68013] [PATCH v2 1/1] gnu: Add font-meslo-lg.
Date: Sun,  3 Nov 2024 22:20:00 +0000	[thread overview]
Message-ID: <c8f4fcf08881adde6acef97875453f39e8a7009c.1730672227.git.sharlatanus@gmail.com> (raw)
In-Reply-To: <cover.1730672227.git.sharlatanus@gmail.com>

From: Luis Guilherme Coelho <lgcoelho@disroot.org>

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

Change-Id: I90ce642c60931c368e70c1d4b4cd57ee4f1e3c4d
Co-authored-by: Sharlatan Hellseher <sharlatanus@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@bumblehead.com>
 ;;; Copyright © 2023, 2024 Luis Felipe López Acevedo <sirgazil@zoho.com>
 ;;; Copyright © 2024 Christina O'Donnell <cdo@mutix.org>
+;;; Copyright © 2023 Luis Guilherme Coelho <lgcoelho@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





      reply	other threads:[~2024-11-03 22:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-24 19:00 [bug#68013] [PATCH] gnu: fonts: Add font-meslo-lg and font-meslo-lg-dz lgcoelho--- via Guix-patches via
2024-11-03 22:19 ` [bug#68013] [PATCH v2 0/1] gnu: Add font-meslo-lg Sharlatan Hellseher
2024-11-03 22:20   ` Sharlatan Hellseher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c8f4fcf08881adde6acef97875453f39e8a7009c.1730672227.git.sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=68013@debbugs.gnu.org \
    --cc=all_but_last@163.com \
    --cc=iyzsong@envs.net \
    --cc=lgcoelho@disroot.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).