diff options
| author | Kurome <hunt31999@gmail.com> | 2025-07-03 16:25:16 +0900 |
|---|---|---|
| committer | Hilton Chain <hako@ultrarare.space> | 2025-07-04 23:38:10 +0800 |
| commit | e6e526d5824517fff2ed404fbcc6513034fb7351 (patch) | |
| tree | e12633f533fa09ff7b01efb0465cf49193fa84a4 /gnu | |
| parent | 2aeff6072f322678b40c7c49177be0a9dc0e52f7 (diff) | |
gnu: font-plangothic: Update to 2.9.5779.
* gnu/packages/fonts.scm (font-plangothic): Update to 2.9.5779.
[origin]: Switch to git-fetch.
[build-system]: Switch to copy-build-system.
[outputs]: Add "ttf" and "woff".
[home-page]: Fix the redirect link.
Change-Id: I5835932ba9c74abc2c38c1d0d97da1be0602828f
Signed-off-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/fonts.scm | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index f350540e28d..5d9a324a6f2 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm | |||
| @@ -3545,29 +3545,33 @@ and FontForge.") | |||
| 3545 | (define-public font-plangothic | 3545 | (define-public font-plangothic |
| 3546 | (package | 3546 | (package |
| 3547 | (name "font-plangothic") | 3547 | (name "font-plangothic") |
| 3548 | (version "1.8.5760") | 3548 | (version "2.9.5779") |
| 3549 | (source | 3549 | (source |
| 3550 | ;; Use git-fetch because releases are constantly updated and the hashes | ||
| 3551 | ;; change. | ||
| 3550 | (origin | 3552 | (origin |
| 3551 | (method url-fetch) | 3553 | (method git-fetch) |
| 3552 | (uri (string-append | 3554 | (uri (git-reference |
| 3553 | "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/" | 3555 | (url (string-append |
| 3554 | "Plangothic-Project/releases/download/V" | 3556 | "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/" |
| 3555 | version "/Plangothic.ttc")) | 3557 | "Plangothic_Project")) |
| 3558 | (commit (string-append "V" version)))) | ||
| 3559 | (file-name (git-file-name name version)) | ||
| 3556 | (sha256 | 3560 | (sha256 |
| 3557 | (base32 "0ha2hcgy95ibmjk8lqfz0ihfc09swrzz3grlchma7qrwyxqbwpc0")))) | 3561 | (base32 "0mx7aqrdl1m5y5h37xqq7hxv1z3gdfa276hjxyaaspcwlkbw0s4g")))) |
| 3558 | (build-system trivial-build-system) | 3562 | ;; This font has both OpenType and TrueType in .ttc format, and the font |
| 3563 | ;; build system automatically identifies .ttc files as TrueType, so classify | ||
| 3564 | ;; them manually. | ||
| 3565 | (build-system copy-build-system) | ||
| 3566 | (outputs '("out" "ttf" "woff")) | ||
| 3559 | (arguments | 3567 | (arguments |
| 3560 | (list | 3568 | (list |
| 3561 | #:modules '((guix build utils)) | 3569 | #:install-plan |
| 3562 | #:builder | 3570 | #~'(("fonts/otf/Plangothic.ttc" "share/fonts/opentype/" #:output "out" ) |
| 3563 | #~(let* ((out #$output) | 3571 | ("fonts/static/Plangothic.ttc" "share/fonts/truetype/" #:output "ttf" ) |
| 3564 | (dest (string-append out "/share/fonts/truetype"))) | 3572 | ("fonts/web" "share/fonts/web" #:output "woff")))) |
| 3565 | (use-modules (guix build utils)) | ||
| 3566 | (mkdir-p dest) | ||
| 3567 | (copy-file #$(package-source this-package) | ||
| 3568 | (string-append dest "/Plangothic.ttc"))))) | ||
| 3569 | (home-page | 3573 | (home-page |
| 3570 | "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic-Project") | 3574 | "https://github.com/Fitzgerald-Porthmouth-Koenigsegg/Plangothic_Project") |
| 3571 | (synopsis "Sans font covers most CJK unified ideograph characters") | 3575 | (synopsis "Sans font covers most CJK unified ideograph characters") |
| 3572 | (description "Plangothic is a sans font based on Source Han Sans, | 3576 | (description "Plangothic is a sans font based on Source Han Sans, |
| 3573 | modified to cover most CJK unified ideograph characters.") | 3577 | modified to cover most CJK unified ideograph characters.") |
