* bug#26620: [PATCH] gnu: Add font-linuxlibertine.
@ 2017-04-23 12:31 Ricardo Wurmus
2017-04-23 20:03 ` Kei Kebreau
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2017-04-23 12:31 UTC (permalink / raw)
To: 26620; +Cc: Ricardo Wurmus
* 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@gmail.com>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
-;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
;;; Copyright © 2016 Jookia <166291@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#26620: [PATCH] gnu: Add font-linuxlibertine.
2017-04-23 12:31 bug#26620: [PATCH] gnu: Add font-linuxlibertine Ricardo Wurmus
@ 2017-04-23 20:03 ` Kei Kebreau
2017-04-23 20:48 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: Kei Kebreau @ 2017-04-23 20:03 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: 26620
[-- Attachment #1: Type: text/plain, Size: 4055 bytes --]
Ricardo Wurmus <rekado@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@gmail.com>
> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
> ;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
> -;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
> +;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado@elephly.net>
> ;;; Copyright © 2015, 2016 Leo Famulari <leo@famulari.name>
> ;;; Copyright © 2016, 2017 ng0 <ng0@libertad.pw>
> ;;; Copyright © 2016 Jookia <166291@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.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#26620: [PATCH] gnu: Add font-linuxlibertine.
2017-04-23 20:03 ` Kei Kebreau
@ 2017-04-23 20:48 ` Ricardo Wurmus
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Wurmus @ 2017-04-23 20:48 UTC (permalink / raw)
To: Kei Kebreau; +Cc: 26620-done
Kei Kebreau <kei@openmailbox.org> writes:
> Ricardo Wurmus <rekado@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-04-23 20:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-23 12:31 bug#26620: [PATCH] gnu: Add font-linuxlibertine Ricardo Wurmus
2017-04-23 20:03 ` Kei Kebreau
2017-04-23 20:48 ` Ricardo Wurmus
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).