GNU bug report logs - #35403
[PATCH] Add font-public-sans.

Previous Next

Package: guix-patches;

Reported by: Jens O Molgaard <jens <at> zete.tk>

Date: Tue, 23 Apr 2019 19:13:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35403: closed ([PATCH] Add font-public-sans.)
Date: Mon, 29 Apr 2019 07:55:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 29 Apr 2019 09:54:31 +0200
with message-id <87y33ti6vc.fsf <at> gnu.org>
and subject line Re: [bug#35403] [PATCH] Add font-public-sans.
has caused the debbugs.gnu.org bug report #35403,
regarding [PATCH] Add font-public-sans.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
35403: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35403
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Jens O Molgaard <jens <at> zete.tk>
To: guix-patches <guix-patches <at> gnu.org>
Subject: [PATCH] Add font-public-sans.
Date: Wed, 24 Apr 2019 07:11:42 +1200
[Message part 3 (text/plain, inline)]
Hello guix!

Small patch to add the Public Sans font from the USWDS.

--
Jens Mølgaard

[0001-Add-font-public-sans.patch (text/x-patch, inline)]
From c8ce540b3ba10a508b4b573b6ecd1473bfc6c7e4 Mon Sep 17 00:00:00 2001
From: Jens M <jens <at> zete.tk>
Date: Wed, 24 Apr 2019 05:06:38 +1200
Subject: [PATCH] Add font-public-sans.

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 569a7f807e..8961f855af 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1397,3 +1397,31 @@ files (TTF).")
 formatting.")
     (home-page "https://madmalik.github.io/mononoki/")
     (license license:silofl1.1)))
+
+(define-public font-public-sans
+  (package
+    (name "font-public-sans")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/uswds/public-sans.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "12ccj7ph3pg962d52d3slbvd44gwfm6bb2846dxyf1xc5h2iwhdv"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; remove versions of predecessor font
+                  (delete-file-recursively "fonts/_archive")
+                  #t))))
+    (build-system font-build-system)
+    (home-page "https://public-sans.digital.gov/")
+    (synopsis
+     "Strong, neutral typeface for interfaces, text, and headings")
+    (description
+     "Public Sans is a strong, neutral, principles-driven, open-source
+typeface for text or display based on Libre Franklin.")
+    (license license:silofl1.1)))
-- 
2.21.0

[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Jens O Molgaard <jens <at> zete.tk>
Cc: 35403-done <at> debbugs.gnu.org
Subject: Re: [bug#35403] [PATCH] Add font-public-sans.
Date: Mon, 29 Apr 2019 09:54:31 +0200
Hi Jens,

Jens O Molgaard <jens <at> zete.tk> skribis:

>>From c8ce540b3ba10a508b4b573b6ecd1473bfc6c7e4 Mon Sep 17 00:00:00 2001
> From: Jens M <jens <at> zete.tk>
> Date: Wed, 24 Apr 2019 05:06:38 +1200
> Subject: [PATCH] Add font-public-sans.
>
> ---
>  gnu/packages/fonts.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)

I added a commit log that matches our conventions and committed.

In a subsequent commit I also slightly edited the description following
our guidelines:
<https://gnu.org/software/guix/manual/en/html_node/Synopses-and-Descriptions.html>.

Thank you!

Ludo’.


This bug report was last modified 6 years and 20 days ago.

Previous Next


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