mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: font-adobe-source-han-sans: Update to 1.004.
* gnu/packages/fonts.scm (font-adobe-source-han-sans): Update to 1.004. [license]: Change to 'silofl1.1'.
This commit is contained in:
parent
dee7e58e56
commit
2666a126ef
1 changed files with 9 additions and 8 deletions
|
@ -390,17 +390,17 @@ (define-public font-terminus
|
||||||
(define-public font-adobe-source-han-sans
|
(define-public font-adobe-source-han-sans
|
||||||
(package
|
(package
|
||||||
(name "font-adobe-source-han-sans")
|
(name "font-adobe-source-han-sans")
|
||||||
(version "1.001R")
|
(version "1.004")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"https://github.com/adobe-fonts/source-han-sans/archive/"
|
"https://github.com/adobe-fonts/source-han-sans/archive/"
|
||||||
version ".tar.gz"))
|
version "R.tar.gz"))
|
||||||
(file-name (string-append "source-han-sans-" version ".tar.gz"))
|
(file-name (string-append "source-han-sans-" version "R.tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0cwz3d8jancl0a7vbjxhnh1vgwsjba62lahfjya9yrjkp1ndxlap"))))
|
"1ssx0fw90sy6mj8fv8fv4dgzszpqwbmwpjnlx16g4pvaqzdmybbz"))))
|
||||||
(outputs '("out" ; OpenType/CFF Collection (OTC), 119 MiB.
|
(outputs '("out" ; OpenType/CFF Collection (OTC), 121 MiB.
|
||||||
"cn" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF.
|
"cn" "jp" "kr" "tw")) ; Region-specific Subset OpenType/CFF.
|
||||||
(build-system trivial-build-system)
|
(build-system trivial-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -421,12 +421,13 @@ (define-public font-adobe-source-han-sans
|
||||||
"/share/fonts/opentype")))))
|
"/share/fonts/opentype")))))
|
||||||
(setenv "PATH" PATH)
|
(setenv "PATH" PATH)
|
||||||
(system* tar "xvf" (assoc-ref %build-inputs "source"))
|
(system* tar "xvf" (assoc-ref %build-inputs "source"))
|
||||||
(chdir (string-append "source-han-sans-" ,version))
|
(chdir (string-append "source-han-sans-" ,version "R"))
|
||||||
(install-opentype-fonts "OTC" "out")
|
(install-opentype-fonts "OTC" "out")
|
||||||
(install-opentype-fonts "SubsetOTF/CN" "cn")
|
(install-opentype-fonts "SubsetOTF/CN" "cn")
|
||||||
(install-opentype-fonts "SubsetOTF/JP" "jp")
|
(install-opentype-fonts "SubsetOTF/JP" "jp")
|
||||||
(install-opentype-fonts "SubsetOTF/KR" "kr")
|
(install-opentype-fonts "SubsetOTF/KR" "kr")
|
||||||
(install-opentype-fonts "SubsetOTF/TW" "tw")))))
|
(install-opentype-fonts "SubsetOTF/TW" "tw")
|
||||||
|
(for-each delete-file (find-files %output "\\.zip$"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("gzip" ,gzip)
|
`(("gzip" ,gzip)
|
||||||
("tar" ,tar)))
|
("tar" ,tar)))
|
||||||
|
@ -439,7 +440,7 @@ (define-public font-adobe-source-han-sans
|
||||||
various system requirements or limitations. As the name suggests, Pan-CJK
|
various system requirements or limitations. As the name suggests, Pan-CJK
|
||||||
fonts are intended to support the characters necessary to render or display
|
fonts are intended to support the characters necessary to render or display
|
||||||
text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.")
|
text in Simplified Chinese, Traditional Chinese, Japanese, and Korean.")
|
||||||
(license license:asl2.0)))
|
(license license:silofl1.1)))
|
||||||
|
|
||||||
(define-public font-wqy-zenhei
|
(define-public font-wqy-zenhei
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue