[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/14: gnu: Add font-ipa.
From: |
guix-commits |
Subject: |
07/14: gnu: Add font-ipa. |
Date: |
Sat, 1 Jul 2023 05:15:14 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 8c8ca87c19db2d1e0002718fa6c0a433290ac6bb
Author: Wolf <wolf@wolfsden.cz>
AuthorDate: Wed May 24 23:22:53 2023 +0200
gnu: Add font-ipa.
* gnu/packages/fonts.scm (font-ipa): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/fonts.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 91e7ccc49f..53b76650bc 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -2515,6 +2515,47 @@ orthography of Roman glyphs of Meera Inimai are also
based on this
characteristic so that they sit smoothly with the Tamil glyphs.")
(license license:silofl1.1)))
+(define-public font-ipa
+ (package
+ (name "font-ipa")
+ (version "003.03")
+ (source (origin
+ (method url-fetch/zipbomb)
+ (uri (string-append
+ "https://moji.or.jp/wp-content/ipafont/IPAfont/IPAfont"
+ (string-join (string-split version #\.) "") ".zip"))
+ (sha256
+ (base32
+ "1rbgfq14ld0cwas6bx5h7pwyv2hkfa8ihnphsaz1brxqliwysmgp"))))
+ (build-system font-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'make-read-only
+ (lambda _
+ ;; Otherwise the files have the executable bit set.
+ (for-each (lambda (file) (chmod file #o444))
+ (find-files "." #:directories? #f))))
+ (add-after 'install 'install-doc
+ (lambda _
+ (let ((font+version
+ #$(string-append "IPAfont"
+ (string-join (string-split version #\.)
+ "")))
+ (doc-dir (string-append #$output "/share/doc/" #$name)))
+ (with-directory-excursion font+version
+ (mkdir-p doc-dir)
+ (copy-file (string-append "Readme_" font+version ".txt")
+ (string-append doc-dir "/README"))
+ (copy-file "IPA_Font_License_Agreement_v1.0.txt"
+ (string-append doc-dir "/LICENSE")))))))))
+ (home-page "https://moji.or.jp/ipafont/")
+ (synopsis "Japanese font from the Information-technology Promotion Agency")
+ (description "This package provides Japanese outline fonts by
+Information-technology Promotion Agency, Japan (IPA)")
+ (license license:ipa)))
+
(define-public font-ipa-ex
(package
(name "font-ipa-ex")
- branch master updated (92d05b79e8 -> 3d55a6b5db), guix-commits, 2023/07/01
- 01/14: gnu: Add show-me-the-key., guix-commits, 2023/07/01
- 05/14: gnu: tpm2-tools: New variable, guix-commits, 2023/07/01
- 04/14: gnu: python-plotly: Update to 5.14.1., guix-commits, 2023/07/01
- 03/14: gnu: python-plotly: Fix version., guix-commits, 2023/07/01
- 14/14: gnu: Add yle-dl., guix-commits, 2023/07/01
- 13/14: gnu: erlang: Fix Erlang package substitutions., guix-commits, 2023/07/01
- 09/14: gnu: Add font-intel-one-mono, guix-commits, 2023/07/01
- 02/14: gnu: whoogle-search: Update to 0.8.2., guix-commits, 2023/07/01
- 06/14: gnu: password-store: Fix program name in usage and tmpdir., guix-commits, 2023/07/01
- 07/14: gnu: Add font-ipa.,
guix-commits <=
- 11/14: gnu: Add qbittorrent-enhanced., guix-commits, 2023/07/01
- 08/14: gnu: Add greaseweazle-host-tools., guix-commits, 2023/07/01
- 10/14: gnu: Add pantheon-wallpapers., guix-commits, 2023/07/01
- 12/14: gnu: Add qbittorrent-enhanced-nox., guix-commits, 2023/07/01