GNU bug report logs - #26620
[PATCH] gnu: Add font-linuxlibertine.

Previous Next

Package: guix-patches;

Reported by: Ricardo Wurmus <rekado <at> elephly.net>

Date: Sun, 23 Apr 2017 12:32:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26620 in the body.
You can then email your comments to 26620 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#26620; Package guix-patches. (Sun, 23 Apr 2017 12:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ricardo Wurmus <rekado <at> elephly.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 23 Apr 2017 12:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: guix-patches <at> gnu.org
Cc: Ricardo Wurmus <rekado <at> elephly.net>
Subject: [PATCH] gnu: Add font-linuxlibertine.
Date: Sun, 23 Apr 2017 14:31:04 +0200
* gnu/packages/fonts.scm (font-linuxlibertine): New variable.
---
 gnu/packages/fonts.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 58 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 6579a66e4..2fb630ee6 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2014 Alex Kost <alezost <at> gmail.com>
 ;;; Copyright © 2015 Sou Bunnbu <iyzsong <at> gmail.com>
 ;;; Copyright © 2015 Eric Dvorsak <eric <at> dvorsak.fr>
-;;; Copyright © 2015 Ricardo Wurmus <rekado <at> elephly.net>
+;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado <at> elephly.net>
 ;;; Copyright © 2015, 2016 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2016, 2017 ng0 <ng0 <at> libertad.pw>
 ;;; Copyright © 2016 Jookia <166291 <at> gmail.com>
@@ -370,6 +370,63 @@ and Bitstream Vera Sans Mono).
 The Liberation Fonts are sponsored by Red Hat.")
     (license license:silofl1.1)))
 
+(define-public font-linuxlibertine
+  (package
+    (name "font-linuxlibertine")
+    (version "5.3.0")
+    (source (origin
+              (method url-fetch/tarbomb)
+              (uri (string-append "mirror://sourceforge/linuxlibertine/"
+                                  "linuxlibertine/" version
+                                  "/LinLibertineSRC_" version "_2012_07_02.tgz"))
+              (sha256
+               (base32
+                "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; there are no tests
+       #:modules ((guix build utils)
+                  (guix build gnu-build-system)
+                  (srfi srfi-1)
+                  (srfi srfi-26))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure)
+         (replace 'build
+           (lambda _
+             (let ((compile
+                    (lambda (name ext)
+                      (zero? (system*
+                              "fontforge" "-lang=ff"
+                              "-c" (string-append "Open('" name "');"
+                                                  "Generate('"
+                                                  (basename name "sfd") ext
+                                                  "')"))))))
+               (every (lambda (name)
+                        (and (compile name "ttf")
+                             (compile name "otf")))
+                      (find-files "." "\\.sfd$")))))
+         (replace 'install
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((font-dir (string-append (assoc-ref outputs "out")
+                                            "/share/fonts/truetype")))
+               (mkdir-p font-dir)
+               (for-each (cut install-file <> font-dir)
+                         (find-files "." "\\.(otf|ttf)$"))
+               #t))))))
+    (native-inputs
+     `(("fontforge" ,fontforge)))
+    (home-page "http://www.linuxlibertine.org/")
+    (synopsis "Serif and sans serif typefaces")
+    (description "The Linux Libertine fonts is a set of typefaces containing
+both a Serif version (\"Linux Libertine\") and a Sans Serif (\"Linux
+Biolinum\") designed to be used together as an alternative for Times/Times New
+Roman and Helvetica/Arial.  The Serif typeface comes in two shapes and two
+weights, and with a Small Capitals version of the regular typeface.  Linux
+Biolinum is available in both Regular and Bold weights.")
+    ;; The fonts are released under either of these licenses.
+    (license (list license:gpl3+ license:silofl1.1))))
+
 (define-public font-terminus
   (package
     (name "font-terminus")
-- 
2.12.2






Information forwarded to guix-patches <at> gnu.org:
bug#26620; Package guix-patches. (Sun, 23 Apr 2017 20:04:02 GMT) Full text and rfc822 format available.

Message #8 received at 26620 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kei <at> openmailbox.org>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: 26620 <at> debbugs.gnu.org
Subject: Re: bug#26620: [PATCH] gnu: Add font-linuxlibertine.
Date: Sun, 23 Apr 2017 16:03:13 -0400
[Message part 1 (text/plain, inline)]
Ricardo Wurmus <rekado <at> elephly.net> writes:

> * gnu/packages/fonts.scm (font-linuxlibertine): New variable.
> ---
>  gnu/packages/fonts.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 58 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
> index 6579a66e4..2fb630ee6 100644
> --- a/gnu/packages/fonts.scm
> +++ b/gnu/packages/fonts.scm
> @@ -5,7 +5,7 @@
>  ;;; Copyright © 2014 Alex Kost <alezost <at> gmail.com>
>  ;;; Copyright © 2015 Sou Bunnbu <iyzsong <at> gmail.com>
>  ;;; Copyright © 2015 Eric Dvorsak <eric <at> dvorsak.fr>
> -;;; Copyright © 2015 Ricardo Wurmus <rekado <at> elephly.net>
> +;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado <at> elephly.net>
>  ;;; Copyright © 2015, 2016 Leo Famulari <leo <at> famulari.name>
>  ;;; Copyright © 2016, 2017 ng0 <ng0 <at> libertad.pw>
>  ;;; Copyright © 2016 Jookia <166291 <at> gmail.com>
> @@ -370,6 +370,63 @@ and Bitstream Vera Sans Mono).
>  The Liberation Fonts are sponsored by Red Hat.")
>      (license license:silofl1.1)))
>  
> +(define-public font-linuxlibertine
> +  (package
> +    (name "font-linuxlibertine")
> +    (version "5.3.0")
> +    (source (origin
> +              (method url-fetch/tarbomb)
> +              (uri (string-append "mirror://sourceforge/linuxlibertine/"
> +                                  "linuxlibertine/" version
> +                                  "/LinLibertineSRC_" version "_2012_07_02.tgz"))
> +              (sha256
> +               (base32
> +                "0x7cz6hvhpil1rh03rax9zsfzm54bh7r4bbrq8rz673gl9h47v0v"))))
> +    (build-system gnu-build-system)
> +    (arguments
> +     `(#:tests? #f ; there are no tests
> +       #:modules ((guix build utils)
> +                  (guix build gnu-build-system)
> +                  (srfi srfi-1)
> +                  (srfi srfi-26))
> +       #:phases
> +       (modify-phases %standard-phases
> +         (delete 'configure)
> +         (replace 'build
> +           (lambda _
> +             (let ((compile
> +                    (lambda (name ext)
> +                      (zero? (system*
> +                              "fontforge" "-lang=ff"
> +                              "-c" (string-append "Open('" name "');"
> +                                                  "Generate('"
> +                                                  (basename name "sfd") ext
> +                                                  "')"))))))
> +               (every (lambda (name)
> +                        (and (compile name "ttf")
> +                             (compile name "otf")))
> +                      (find-files "." "\\.sfd$")))))
> +         (replace 'install
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let ((font-dir (string-append (assoc-ref outputs "out")
> +                                            "/share/fonts/truetype")))
> +               (mkdir-p font-dir)
> +               (for-each (cut install-file <> font-dir)
> +                         (find-files "." "\\.(otf|ttf)$"))
> +               #t))))))
> +    (native-inputs
> +     `(("fontforge" ,fontforge)))
> +    (home-page "http://www.linuxlibertine.org/")
> +    (synopsis "Serif and sans serif typefaces")
> +    (description "The Linux Libertine fonts is a set of typefaces containing
> +both a Serif version (\"Linux Libertine\") and a Sans Serif (\"Linux
> +Biolinum\") designed to be used together as an alternative for Times/Times New
> +Roman and Helvetica/Arial.  The Serif typeface comes in two shapes and two
> +weights, and with a Small Capitals version of the regular typeface.  Linux
> +Biolinum is available in both Regular and Bold weights.")
> +    ;; The fonts are released under either of these licenses.
> +    (license (list license:gpl3+ license:silofl1.1))))
> +

I might be missing it but I see GPL2+, not GPL3+, in the source directory.

>  (define-public font-terminus
>    (package
>      (name "font-terminus")

Otherwise LGTM.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Sun, 23 Apr 2017 20:49:01 GMT) Full text and rfc822 format available.

Notification sent to Ricardo Wurmus <rekado <at> elephly.net>:
bug acknowledged by developer. (Sun, 23 Apr 2017 20:49:02 GMT) Full text and rfc822 format available.

Message #13 received at 26620-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: Kei Kebreau <kei <at> openmailbox.org>
Cc: 26620-done <at> debbugs.gnu.org
Subject: Re: bug#26620: [PATCH] gnu: Add font-linuxlibertine.
Date: Sun, 23 Apr 2017 22:48:44 +0200
Kei Kebreau <kei <at> openmailbox.org> writes:

> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> * gnu/packages/fonts.scm (font-linuxlibertine): New variable.
>> ---
[…]
>> +    ;; The fonts are released under either of these licenses.
>> +    (license (list license:gpl3+ license:silofl1.1))))
>> +
>
> I might be missing it but I see GPL2+, not GPL3+, in the source directory.

Ouch, you are right!  Thanks for catching this!

> Otherwise LGTM.

Thanks.  I’ve pushed this with commit
d28fa5cc70d3c0fd79d547d37529a048c90fce16.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 May 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 86 days ago.

Previous Next


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