From 29f9abb4ca45687a1d561adf564438d9f4c2c62e Mon Sep 17 00:00:00 2001 From: Alex Kost Date: Fri, 11 Mar 2016 11:32:13 +0300 Subject: gnu: font-ubuntu: Update to 0.83. * gnu/packages/fonts.scm (font-ubuntu): Update to 0.83. --- gnu/packages/fonts.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages/fonts.scm') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 69e195dbf0..9dd9f1ef2b 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -67,14 +67,15 @@ (define-public font-inconsolata (define-public font-ubuntu (package (name "font-ubuntu") - (version "0.80") + (version "0.83") (source (origin (method url-fetch) - (uri (string-append "http://font.ubuntu.com/download/ubuntu-font-family-" - version ".zip")) + (uri (string-append + "http://font.ubuntu.com/download/ubuntu-font-family-" + version ".zip")) (sha256 (base32 - "0k4f548riq23gmw4zhn30qqkcpaj4g2ab5rbc3lflfxwkc4p0w8h")))) + "0hjvq2x758dx0sfwqhzflns0ns035qm7h6ygskbx1svzg517sva5")))) (build-system trivial-build-system) (arguments `(#:modules ((guix build utils)) -- cgit v1.2.3 From b6ecac93d6fae1d6a0bee9e0250fb35b35efabb5 Mon Sep 17 00:00:00 2001 From: Jookia <166291@gmail.com> Date: Sat, 12 Mar 2016 10:29:15 +1100 Subject: gnu: Add Google Noto font. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/fonts.scm (font-google-noto): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/fonts.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'gnu/packages/fonts.scm') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 9dd9f1ef2b..24fd9c2722 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2015 Eric Dvorsak ;;; Copyright © 2015 Ricardo Wurmus ;;; Copyright © 2016 Nils Gillmann +;;; Copyright © 2016 Jookia <166291@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -629,3 +630,46 @@ (define-public font-gnu-unifont utilities to ease adding new glyphs to the font.") (home-page "http://unifoundry.com/unifont.html") (license license:gpl2+))) + +(define-public font-google-noto + (package + (name "font-google-noto") + (version "20150929") + (source (origin + (method url-fetch) + (uri (string-append "https://noto-website-2.storage.googleapis.com/" + "pkgs/Noto-hinted.zip")) + (sha256 + (base32 + "13jhpqzhsqhyby8n0ksqg155a3jyaif3nzj9anzbq8s2gn1xjyd9")))) + (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")) + (font-dir (string-append %output + "/share/fonts/truetype"))) + (setenv "PATH" PATH) + (system* "unzip" (assoc-ref %build-inputs "source")) + + (mkdir-p font-dir) + (for-each (lambda (ttf) + (copy-file ttf + (string-append font-dir "/" ttf))) + (find-files "." "\\.ttf$")) + (for-each (lambda (otf) + (copy-file otf + (string-append font-dir "/" otf))) + (find-files "." "\\.otf$")))))) + (native-inputs `(("unzip" ,unzip))) + (home-page "https://www.google.com/get/noto/") + (synopsis "Fonts aimed to cover all languages") + (description "Googe Noto Fonts is a family of fonts aimed to support all +languages with a consistent look and aesthetic. It's goal is to have no Unicode +symbols unable to be displayed properly.") + (license license:silofl1.1))) -- cgit v1.2.3 From aae6b4b9a98a5b183aa5bd3a5850ecca609fdc92 Mon Sep 17 00:00:00 2001 From: Nils Gillmann Date: Sun, 6 Mar 2016 18:23:11 +0100 Subject: gnu: Add font-un. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/fonts.scm (font-un): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/fonts.scm | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) (limited to 'gnu/packages/fonts.scm') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 24fd9c2722..01c5eef7ff 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -673,3 +673,70 @@ (define-public font-google-noto languages with a consistent look and aesthetic. It's goal is to have no Unicode symbols unable to be displayed properly.") (license license:silofl1.1))) + +(define-public font-un + (package + (name "font-un") + (version "1.0.2-080608") + ;; The upstream server at kldp.net is serving us broken MIME. + ;; See . + (source (origin + (method url-fetch) + (uri (list + (string-append + "http://krosos.sdf.org/static/unix/" + "un-fonts-core-" version ".tar.gz") + ;; XXX: The upstream server at kldp.net + (string-append + "https://kldp.net/projects/unfonts/download/4695?filename=" + "un-fonts-core-" version ".tar.gz"))) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "13liaz2pmww3aqabm55la5npd08m1skh334ky7qfidxaz5s742iv")))) + (build-system trivial-build-system) + (arguments + `(#:modules ((guix build utils)) + #:builder + (begin + (use-modules (guix build utils)) + + (let ((tar (string-append (assoc-ref %build-inputs "tar") + "/bin/tar")) + (PATH (string-append (assoc-ref %build-inputs "gzip") + "/bin")) + (font-dir (string-append %output "/share/fonts/truetype")) + (doc-dir (string-append %output "/share/doc/" ,name))) + (setenv "PATH" PATH) + (system* tar "xvf" (assoc-ref %build-inputs "source")) + (mkdir-p font-dir) + (mkdir-p doc-dir) + (chdir (string-append "un-fonts")) + (for-each (lambda (ttf) + (copy-file ttf + (string-append font-dir "/" + (basename ttf)))) + (find-files "." "\\.ttf$")) + (for-each (lambda (doc) + (copy-file doc + (string-append doc-dir "/" + (basename doc)))) + '("COPYING" "README")))))) + (native-inputs + `(("tar" ,tar) + ("gzip" ,gzip))) + (home-page "https://kldp.net/projects/unfonts/") + (synopsis "Collection of Korean fonts") + (description + "Un-fonts is a family of mainly Korean fonts. +It contains the following fonts and styles: + +@enumerate +@item UnBatang, UnBatangBold: serif; +@item UnDotum, UnDotumBold: sans-serif; +@item UnGraphic, UnGraphicBold: sans-serif style; +@item UnDinaru, UnDinaruBold, UnDinaruLight; +@item UnPilgi, UnPilgiBold: script; +@item UnGungseo: cursive, brush-stroke. +@end enumerate\n") + (license license:gpl2+))) -- cgit v1.2.3 From 71be99b8b673ecf86a104d847a15fa4b1427a266 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 20 Mar 2016 01:07:37 +0100 Subject: gnu: Add font-abattis-cantarell. * gnu/packages/fonts.scm (font-cantarell): New variable. --- gnu/packages/fonts.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'gnu/packages/fonts.scm') diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 01c5eef7ff..f07e052936 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014, 2015 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015, 2016 Ludovic Courtès ;;; Copyright © 2014 Mark H Weaver ;;; Copyright © 2014 Joshua Grant ;;; Copyright © 2014 Alex Kost @@ -25,6 +25,7 @@ ;;; along with GNU Guix. If not, see . (define-module (gnu packages fonts) + #:use-module (guix utils) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix download) @@ -237,6 +238,25 @@ (define-public font-bitstream-vera (license:x11-style "http://www.gnome.org/fonts/#Final_Bitstream_Vera_Fonts")))) +(define-public font-cantarell + (package + (name "font-abattis-cantarell") + (version "0.0.24") + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/cantarell-fonts/" + (version-major+minor version) + "/cantarell-fonts-" version ".tar.xz")) + (sha256 + (base32 + "0r4jnc2x9yncf40lixjb1pqgpq8rzbi2fz33pshlqzjgx2d69bcw")))) + (build-system gnu-build-system) + (home-page "https://wiki.gnome.org/Projects/CantarellFonts") + (synopsis "Cantarell sans-serif typeface") + (description "The Cantarell font family is a contemporary Humanist +sans-serif designed for on-screen reading. It is used by GNOME@tie{}3.") + (license license:silofl1.1))) + (define-public font-gnu-freefont-ttf (package (name "font-gnu-freefont-ttf") -- cgit v1.2.3