[bug#33316] Add further Adobe Source fonts

Message ID 874lcsne2f.fsf@zete.tk
State Accepted
Headers show
Series [bug#33316] Add further Adobe Source fonts | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed
cbaines/applying patch fail Apply failed

Commit Message

Jens Mølgaard Nov. 8, 2018, 8:55 a.m. UTC
Hello Guix,

Here's a couple of small patches to add the two other fonts that were
made to complement Adobe Source Code Pro and distributed under the same
license.

They are built just the same as Source Code Pro, so it was only
necessary to change the names, urls, descriptions, hashes etc.

They build fine on two machines here, so I hope they are good to go!

Kind regards,
Jens

Comments

Leo Famulari Feb. 12, 2019, 11:42 p.m. UTC | #1
On Thu, Nov 08, 2018 at 09:55:36PM +1300, Jens Molgaard wrote:
> Hello Guix,
> 
> Here's a couple of small patches to add the two other fonts that were
> made to complement Adobe Source Code Pro and distributed under the same
> license.
> 
> They are built just the same as Source Code Pro, so it was only
> necessary to change the names, urls, descriptions, hashes etc.
> 
> They build fine on two machines here, so I hope they are good to go!

Looks like these patches fell between the cracks... sorry about that.

I added a copyright statement for you and pushed them both as commit
3cdd2e95e923c8df23ee5be604c4fd05a2db29f3.
Jens Mølgaard Feb. 12, 2019, 11:50 p.m. UTC | #2
I should have added [patch] to the title I guess. And the copyright statement. Thanks for fixing that!

-jens

On 13 February 2019 00:42:38 CET, Leo Famulari <leo@famulari.name> wrote:
>On Thu, Nov 08, 2018 at 09:55:36PM +1300, Jens Molgaard wrote:
>> Hello Guix,
>> 
>> Here's a couple of small patches to add the two other fonts that were
>> made to complement Adobe Source Code Pro and distributed under the
>same
>> license.
>> 
>> They are built just the same as Source Code Pro, so it was only
>> necessary to change the names, urls, descriptions, hashes etc.
>> 
>> They build fine on two machines here, so I hope they are good to go!
>
>Looks like these patches fell between the cracks... sorry about that.
>
>I added a copyright statement for you and pushed them both as commit
>3cdd2e95e923c8df23ee5be604c4fd05a2db29f3.

Patch

From d58f8fbd100a88b4852e9ff26880af247d2ccee6 Mon Sep 17 00:00:00 2001
From: Jens M <jens@zete.tk>
Date: Thu, 8 Nov 2018 21:09:00 +1300
Subject: [PATCH 2/2] gnu: Add font-adobe-source-serif-pro

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 0fb275529..5de2e850a 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -882,6 +882,31 @@  designed to work well in user interface environments.")
 work well in user interface (UI) environments.")
     (license license:silofl1.1)))
 
+(define-public font-adobe-source-serif-pro
+  (package
+    (name "font-adobe-source-serif-pro")
+    (version "2.007R-ro-1.007R-it")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/adobe-fonts/source-serif-pro/archive/"
+                    (regexp-substitute/global
+                     ;; The upstream tag uses "/" between the roman and italic
+                     ;; versions, so substitute our "-" separator here.
+                     #f "R-ro-" version 'pre "R-ro/" 'post) ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1sws9k26ldqk375qsigk1zv8cq1xlvadjwvv3dqrcc3qzm1c7hwc"))))
+    (build-system font-build-system)
+    (home-page "https://github.com/adobe-fonts/source-serif-pro")
+    (synopsis
+     "Serif typeface to complement Source Sans Pro for setting text")
+    (description
+     "Source Serif Pro is a set of OpenType fonts to complement the Source
+Sans Pro family.")
+    (license license:silofl1.1)))
+
 (define-public font-fira-mono
   (package
     (name "font-fira-mono")
-- 
2.19.1