unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jens Molgaard <jens@zete.tk>
To: 33316@debbugs.gnu.org
Subject: [bug#33316] Add further Adobe Source fonts
Date: Thu, 08 Nov 2018 21:55:36 +1300	[thread overview]
Message-ID: <874lcsne2f.fsf@zete.tk> (raw)


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

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

-- 
Jens Ole Mølgaard
PGP: 2A44 75B4 93FB 02D8 --> keybase.io/jensm#show-public


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-font-adobe-source-sans-pro.patch --]
[-- Type: text/x-patch, Size: 1842 bytes --]

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

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

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 1195695d7..0fb275529 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -857,6 +857,31 @@ Powerline support.")
 designed to work well in user interface environments.")
     (license license:silofl1.1)))
 
+(define-public font-adobe-source-sans-pro
+  (package
+    (name "font-adobe-source-sans-pro")
+    (version "2.040R-ro-1.090R-it")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/adobe-fonts/source-sans-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
+                "1wpbhd2idps53ph8rg1mhr3vz4lsgbpjprcq10nliwcxdz9d8lv0"))))
+    (build-system font-build-system)
+    (home-page "https://github.com/adobe-fonts/source-sans-pro")
+    (synopsis
+     "Sans serif font family for user interface environments")
+    (description
+     "Source Sans Pro is a set of OpenType fonts that have been designed to
+work well in user interface (UI) environments.")
+    (license license:silofl1.1)))
+
 (define-public font-fira-mono
   (package
     (name "font-fira-mono")
-- 
2.19.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.3: 0002-gnu-Add-font-adobe-source-serif-pro.patch --]
[-- Type: text/x-patch, Size: 1851 bytes --]

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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

             reply	other threads:[~2018-11-08 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-08  8:55 Jens Molgaard [this message]
2019-02-12 23:42 ` bug#33316: Add further Adobe Source fonts Leo Famulari
2019-02-12 23:50   ` [bug#33316] " Jens M.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874lcsne2f.fsf@zete.tk \
    --to=jens@zete.tk \
    --cc=33316@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).