* [bug#27972] [fonts] font-lato
@ 2017-08-05 17:22 ng0
2017-11-28 18:57 ` ng0
2017-11-28 19:23 ` bug#27972: " Leo Famulari
0 siblings, 2 replies; 3+ messages in thread
From: ng0 @ 2017-08-05 17:22 UTC (permalink / raw)
To: 27972
[-- Attachment #1.1: Type: text/plain, Size: 181 bytes --]
This adds the Lato 2.010 font.
--
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org
[-- Attachment #1.2: 0001-gnu-Add-font-lato.patch --]
[-- Type: text/plain, Size: 2475 bytes --]
From ba987b01c4e394989989c0647e292117cf6faf82 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Sat, 5 Aug 2017 17:21:23 +0000
Subject: [PATCH] gnu: Add font-lato.
* gnu/packages/fonts.scm (font-lato): New variable.
---
gnu/packages/fonts.scm | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 51073eff9..8cdef4689 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -170,6 +170,45 @@ itself."))))
sans-serif designed for on-screen reading. It is used by GNOME@tie{}3.")
(license license:silofl1.1)))
+(define-public font-lato
+ (package
+ (name "font-lato")
+ (version "2.010")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://www.latofonts.com/download/Lato2OFL.zip"))
+ (sha256
+ (base32
+ "1f5540g0ja1nx3ddd3ywn77xc81ssrxpq8n3gyb9sabyq2b4xda2"))))
+ (build-system trivial-build-system)
+ (arguments
+ `(#:modules ((guix build utils))
+ #:builder (begin
+ (use-modules (guix build utils)
+ (srfi srfi-26))
+
+ (let ((PATH (string-append (assoc-ref %build-inputs
+ "unzip")
+ "/bin"))
+ (font-dir (string-append %output
+ "/share/fonts/truetype")))
+ (setenv "PATH" PATH)
+ (system* "unzip" (assoc-ref %build-inputs "source"))
+
+ (mkdir-p font-dir)
+ (for-each (lambda (ttf)
+ (install-file ttf font-dir))
+ (find-files "." "\\.ttf$"))))))
+
+ (native-inputs `(("unzip" ,unzip)))
+ (home-page "http://www.latofonts.com/lato-free-fonts/")
+ (synopsis "Lato sans-serif typeface")
+ (description
+ "Lato is a sanserif typeface family. It covers over 3000 glyphs per style.
+The Lato 2.010 family supports more than 100 Latin-based languages, over
+50 Cyrillic-based languages as well as Greek and IPA phonetics.")
+ (license license:silofl1.1)))
+
(define-public font-gnu-freefont-ttf
(package
(name "font-gnu-freefont-ttf")
--
2.13.4
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#27972] [fonts] font-lato
2017-08-05 17:22 [bug#27972] [fonts] font-lato ng0
@ 2017-11-28 18:57 ` ng0
2017-11-28 19:23 ` bug#27972: " Leo Famulari
1 sibling, 0 replies; 3+ messages in thread
From: ng0 @ 2017-11-28 18:57 UTC (permalink / raw)
To: 27972
[-- Attachment #1: Type: text/plain, Size: 3031 bytes --]
No comment since August. Can someone give it a review and push?
Thanks!
ng0 transcribed 3.9K bytes:
> This adds the Lato 2.010 font.
> --
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://n0is.noblogs.org/my-keys
> https://www.infotropique.org https://krosos.org
> From ba987b01c4e394989989c0647e292117cf6faf82 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Sat, 5 Aug 2017 17:21:23 +0000
> Subject: [PATCH] gnu: Add font-lato.
>
> * gnu/packages/fonts.scm (font-lato): New variable.
> ---
> gnu/packages/fonts.scm | 39 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 39 insertions(+)
>
> diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> index 51073eff9..8cdef4689 100644
> --- a/gnu/packages/fonts.scm
> +++ b/gnu/packages/fonts.scm
> @@ -170,6 +170,45 @@ itself."))))
> sans-serif designed for on-screen reading. It is used by GNOME@tie{}3.")
> (license license:silofl1.1)))
>
> +(define-public font-lato
> + (package
> + (name "font-lato")
> + (version "2.010")
> + (source (origin
> + (method url-fetch)
> + (uri (string-append "http://www.latofonts.com/download/Lato2OFL.zip"))
> + (sha256
> + (base32
> + "1f5540g0ja1nx3ddd3ywn77xc81ssrxpq8n3gyb9sabyq2b4xda2"))))
> + (build-system trivial-build-system)
> + (arguments
> + `(#:modules ((guix build utils))
> + #:builder (begin
> + (use-modules (guix build utils)
> + (srfi srfi-26))
> +
> + (let ((PATH (string-append (assoc-ref %build-inputs
> + "unzip")
> + "/bin"))
> + (font-dir (string-append %output
> + "/share/fonts/truetype")))
> + (setenv "PATH" PATH)
> + (system* "unzip" (assoc-ref %build-inputs "source"))
> +
> + (mkdir-p font-dir)
> + (for-each (lambda (ttf)
> + (install-file ttf font-dir))
> + (find-files "." "\\.ttf$"))))))
> +
> + (native-inputs `(("unzip" ,unzip)))
> + (home-page "http://www.latofonts.com/lato-free-fonts/")
> + (synopsis "Lato sans-serif typeface")
> + (description
> + "Lato is a sanserif typeface family. It covers over 3000 glyphs per style.
> +The Lato 2.010 family supports more than 100 Latin-based languages, over
> +50 Cyrillic-based languages as well as Greek and IPA phonetics.")
> + (license license:silofl1.1)))
> +
> (define-public font-gnu-freefont-ttf
> (package
> (name "font-gnu-freefont-ttf")
> --
> 2.13.4
>
--
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
WWW: https://n0.is
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#27972: [fonts] font-lato
2017-08-05 17:22 [bug#27972] [fonts] font-lato ng0
2017-11-28 18:57 ` ng0
@ 2017-11-28 19:23 ` Leo Famulari
1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-11-28 19:23 UTC (permalink / raw)
To: 27972-done
[-- Attachment #1: Type: text/plain, Size: 560 bytes --]
On Sat, Aug 05, 2017 at 05:22:40PM +0000, ng0 wrote:
> This adds the Lato 2.010 font.
> --
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://n0is.noblogs.org/my-keys
> https://www.infotropique.org https://krosos.org
> From ba987b01c4e394989989c0647e292117cf6faf82 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Sat, 5 Aug 2017 17:21:23 +0000
> Subject: [PATCH] gnu: Add font-lato.
>
> * gnu/packages/fonts.scm (font-lato): New variable.
Thanks! Pushed as 4eb4742060b378071158bdd8794370a12ab04701
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-11-28 19:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-05 17:22 [bug#27972] [fonts] font-lato ng0
2017-11-28 18:57 ` ng0
2017-11-28 19:23 ` bug#27972: " Leo Famulari
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).