unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#27969] [fonts] font-dosis
@ 2017-08-05 16:44 ng0
  2017-11-28 18:58 ` ng0
  2017-11-28 19:20 ` bug#27969: " Leo Famulari
  0 siblings, 2 replies; 3+ messages in thread
From: ng0 @ 2017-08-05 16:44 UTC (permalink / raw)
  To: 27969


[-- Attachment #1.1: Type: text/plain, Size: 250 bytes --]

Another font, Dosis.

The description is discussion worthy, I took it straight
from the website.
-- 
ng0
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://n0is.noblogs.org/my-keys
https://www.infotropique.org https://krosos.org

[-- Attachment #1.2: 0001-gnu-Add-font-dosis.patch --]
[-- Type: text/plain, Size: 2966 bytes --]

From 54f73e9288b978aa2ca1eb9f7cfe7d1b3a3d01a8 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@infotropique.org>
Date: Sat, 5 Aug 2017 16:37:29 +0000
Subject: [PATCH] gnu: Add font-dosis.

* gnu/packages/fonts.scm (font-dosis): New variable.
---
 gnu/packages/fonts.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 51073eff9..c7f7ea0c4 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1073,3 +1073,52 @@ resolutions.")
     (synopsis "Fonts for MathJax")
     (description "This package contains the fonts required for MathJax.")
     (license license:asl2.0)))
+
+(define-public font-dosis
+  (package
+    (name "font-dosis")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://www.impallari.com/media/releases/dosis-"
+                           "v" version ".zip"))
+       (sha256
+        (base32
+         "1qhci68f68mf87jd69vjf9qjq3wydgw1q7ivn3amjb65ls1s0c4s"))))
+    (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"))
+                         (ttf-dir (string-append %output
+                                                 "/share/fonts/truetype"))
+                         (otf-dir (string-append %output
+                                                 "/share/fonts/opentype")))
+                     (setenv "PATH" PATH)
+                     (system* "unzip" (assoc-ref %build-inputs "source"))
+
+                     (mkdir-p ttf-dir)
+                     (mkdir-p otf-dir)
+                     (for-each (lambda (ttf)
+                                 (install-file ttf ttf-dir))
+                               (find-files "." "\\.ttf$"))
+                     (for-each (lambda (otf)
+                                 (install-file otf otf-dir))
+                               (find-files "." "\\.otf$"))))))
+    (native-inputs `(("unzip" ,unzip)))
+    (home-page "http://www.impallari.com/dosis")
+    (synopsis "Very simple, rounded, sans serif family")
+    (description
+     "Dosis is a very simple, rounded, sans serif family.
+The lighter weights are minimalist.  The bolder weights have more personality.
+The medium weight is nice and balanced.  The overall result is a family
+that's clean and modern, and can express a wide range of voices & feelings.
+It comes in 7 incremental weights:
+ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
+    (license license:silofl1.1)))
-- 
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#27969] [fonts] font-dosis
  2017-08-05 16:44 [bug#27969] [fonts] font-dosis ng0
@ 2017-11-28 18:58 ` ng0
  2017-11-28 19:20 ` bug#27969: " Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: ng0 @ 2017-11-28 18:58 UTC (permalink / raw)
  To: 27969

[-- Attachment #1: Type: text/plain, Size: 3606 bytes --]

No comment since August. Can someone review this and push?

Thanks!
ng0 transcribed 4.4K bytes:
> Another font, Dosis.
> 
> The description is discussion worthy, I took it straight
> from the website.
> -- 
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://n0is.noblogs.org/my-keys
> https://www.infotropique.org https://krosos.org

> From 54f73e9288b978aa2ca1eb9f7cfe7d1b3a3d01a8 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Sat, 5 Aug 2017 16:37:29 +0000
> Subject: [PATCH] gnu: Add font-dosis.
> 
> * gnu/packages/fonts.scm (font-dosis): New variable.
> ---
>  gnu/packages/fonts.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 49 insertions(+)
> 
> diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> index 51073eff9..c7f7ea0c4 100644
> --- a/gnu/packages/fonts.scm
> +++ b/gnu/packages/fonts.scm
> @@ -1073,3 +1073,52 @@ resolutions.")
>      (synopsis "Fonts for MathJax")
>      (description "This package contains the fonts required for MathJax.")
>      (license license:asl2.0)))
> +
> +(define-public font-dosis
> +  (package
> +    (name "font-dosis")
> +    (version "1.7")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (string-append "http://www.impallari.com/media/releases/dosis-"
> +                           "v" version ".zip"))
> +       (sha256
> +        (base32
> +         "1qhci68f68mf87jd69vjf9qjq3wydgw1q7ivn3amjb65ls1s0c4s"))))
> +    (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"))
> +                         (ttf-dir (string-append %output
> +                                                 "/share/fonts/truetype"))
> +                         (otf-dir (string-append %output
> +                                                 "/share/fonts/opentype")))
> +                     (setenv "PATH" PATH)
> +                     (system* "unzip" (assoc-ref %build-inputs "source"))
> +
> +                     (mkdir-p ttf-dir)
> +                     (mkdir-p otf-dir)
> +                     (for-each (lambda (ttf)
> +                                 (install-file ttf ttf-dir))
> +                               (find-files "." "\\.ttf$"))
> +                     (for-each (lambda (otf)
> +                                 (install-file otf otf-dir))
> +                               (find-files "." "\\.otf$"))))))
> +    (native-inputs `(("unzip" ,unzip)))
> +    (home-page "http://www.impallari.com/dosis")
> +    (synopsis "Very simple, rounded, sans serif family")
> +    (description
> +     "Dosis is a very simple, rounded, sans serif family.
> +The lighter weights are minimalist.  The bolder weights have more personality.
> +The medium weight is nice and balanced.  The overall result is a family
> +that's clean and modern, and can express a wide range of voices & feelings.
> +It comes in 7 incremental weights:
> +ExtraLight, Light, Book, Medium, Semibold, Bold & ExtraBold")
> +    (license license:silofl1.1)))
> -- 
> 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#27969: [fonts] font-dosis
  2017-08-05 16:44 [bug#27969] [fonts] font-dosis ng0
  2017-11-28 18:58 ` ng0
@ 2017-11-28 19:20 ` Leo Famulari
  1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-11-28 19:20 UTC (permalink / raw)
  To: 27969-done

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

On Sat, Aug 05, 2017 at 04:44:53PM +0000, ng0 wrote:
> Another font, Dosis.
> 
> The description is discussion worthy, I took it straight
> from the website.

Fonts are a type of package where I think it's okay to be "flowery" in
the description.

> -- 
> ng0
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://n0is.noblogs.org/my-keys
> https://www.infotropique.org https://krosos.org

> From 54f73e9288b978aa2ca1eb9f7cfe7d1b3a3d01a8 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@infotropique.org>
> Date: Sat, 5 Aug 2017 16:37:29 +0000
> Subject: [PATCH] gnu: Add font-dosis.
> 
> * gnu/packages/fonts.scm (font-dosis): New variable.

Thanks! Pushed as 27a10775805df96a5c6a77e8e03cbc172c50f5c7

[-- 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:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-05 16:44 [bug#27969] [fonts] font-dosis ng0
2017-11-28 18:58 ` ng0
2017-11-28 19:20 ` bug#27969: " 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).