GNU bug report logs - #77773
[PATCH] gnu: Add font-adwaita.

Previous Next

Package: guix-patches;

Reported by: Kurome <hunt31999 <at> gmail.com>

Date: Sun, 13 Apr 2025 06:35:05 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Kurome <hunt31999 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Kurome <hunt31999 <at> gmail.com>
Subject: [PATCH] gnu: Add font-adwaita.
Date: Sun, 13 Apr 2025 15:33:36 +0900
* gnu/packages/fonts.scm (font-adwaita): New variable.

Change-Id: Icbc77669f67f8cbf3d84e573e29dc9c418497f88
---
 gnu/packages/fonts.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 85f8a5f31b..a0d6106784 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -111,6 +111,45 @@ (define-module (gnu packages fonts)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages xorg))
 
+(define-public font-adwaita
+  (package
+    (name "font-adwaita")
+    (version "48.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.gnome.org/GNOME/adwaita-fonts/")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1sk6kb6v4ims3jzyfh71mx2kmwv55idr2yd1xgxlqc9lk59zhymd"))))
+    (build-system font-build-system)
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          ;; Install font licenses instead of the buildsystem license.
+          (replace 'install-license-files
+            (lambda _
+              (let ((doc-dir (string-append #$output "/share/doc/"
+                                            #$name "-" #$version)))
+                (define (install-license form)
+                  (install-file (string-append form "/LICENSE.md")
+                                (string-append doc-dir "/" form)))
+                (install-license "sans")
+                (install-license "mono")))))))
+    (home-page "https://gitlab.gnome.org/GNOME/adwaita-fonts/")
+    (synopsis
+     "Variation of Inter, and Adwaita Mono, Iosevka customized to match Inter.")
+    (description
+     "This package provides Adwaita Fonts, a variation of Inter, and Adwaita
+ Mono, Iosevka customized to match Inter.")
+    ;; Buildsystem and shell scripts are under the GPL, but fonts themselves are
+    ;; under OFL-1.1.
+    ;; https://gitlab.gnome.org/GNOME/adwaita-fonts/-/issues/14
+    (license license:silofl1.1)))
+
 (define-public font-arapey
   (let ((commit  "28fa45c7f31afe62f577b0b857570ab0326b9113")
         (revision "1"))
-- 
2.49.0





This bug report was last modified 35 days ago.

Previous Next


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