GNU bug report logs -
#27720
gnu: font-wqy-zenhei: Use 'font-build-system'.
Previous Next
Reported by: "Feng Shu" <tumashu <at> 163.com>
Date: Sat, 15 Jul 2017 22:03:01 UTC
Severity: normal
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[0001-gnu-font-wqy-zenhei-Use-font-build-system.patch (text/x-patch, inline)]
From 2bf317db8a61cfb304d69ab62c138f257f212bc4 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu <at> 163.com>
Date: Sun, 16 Jul 2017 05:52:59 +0800
Subject: [PATCH] gnu: font-wqy-zenhei: Use 'font-build-system'.
* gnu/packages/fonts.scm (font-wqy-zenhei): Switch to font-build-system.
---
gnu/packages/fonts.scm | 19 +------------------
1 file changed, 1 insertion(+), 18 deletions(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index ceadbe1c3..d89719d97 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -472,24 +472,7 @@ variants.")
(sha256
(base32
"1mkmxq8g2hjcglb3zajfqj20r4r88l78ymsp2xyl5yav8w3f7dz4"))))
- (build-system trivial-build-system)
- (arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils))
- (let ((PATH (string-append (assoc-ref %build-inputs "tar") "/bin:"
- (assoc-ref %build-inputs "gzip") "/bin"))
- (font-dir (string-append (assoc-ref %outputs "out")
- "/share/fonts/wenquanyi/")))
- (setenv "PATH" PATH)
- (mkdir-p font-dir)
- (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
- (chdir "wqy-zenhei")
- (install-file "wqy-zenhei.ttc" font-dir)))))
- (native-inputs
- `(("gzip" ,gzip)
- ("tar" ,tar)))
+ (build-system font-build-system)
(home-page "http://wenq.org/wqy2/")
(synopsis "CJK font")
(description
--
2.13.2
[Message part 2 (text/plain, inline)]
--
This bug report was last modified 8 years and 1 day ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.