all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#27719] gnu: font-wqy-microhei: Use 'font-build-system'.
@ 2017-07-15 22:01 Feng Shu
  2017-07-17 13:10 ` bug#27719: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Feng Shu @ 2017-07-15 22:01 UTC (permalink / raw)
  To: 27719

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-gnu-font-wqy-microhei-Use-font-build-system.patch --]
[-- Type: text/x-patch, Size: 1601 bytes --]

From 006d7a9f10d521e2de82b22eb25c5b87dad42e17 Mon Sep 17 00:00:00 2001
From: Feng Shu <tumashu@163.com>
Date: Sun, 16 Jul 2017 05:57:02 +0800
Subject: [PATCH] gnu: font-wqy-microhei: Use 'font-build-system'.

* gnu/packages/fonts.scm (font-wqy-microhei): Switch to font-build-system.
---
 gnu/packages/fonts.scm | 18 +-----------------
 1 file changed, 1 insertion(+), 17 deletions(-)

diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index d89719d97..7687ed235 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -499,23 +499,7 @@ ko (Korean) locales for @code{fontconfig}.")
               (sha256
                (base32
                 "0gi1yxqph8xx869ichpzzxvx6y50wda5hi77lrpacdma4f0aq0i8"))))
-    (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")))
-           (mkdir-p font-dir)
-           (setenv "PATH" PATH)
-           (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
-           (install-file "wqy-microhei/wqy-microhei.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


[-- Attachment #2: Type: text/plain, Size: 6 bytes --]



-- 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#27719: gnu: font-wqy-microhei: Use 'font-build-system'.
  2017-07-15 22:01 [bug#27719] gnu: font-wqy-microhei: Use 'font-build-system' Feng Shu
@ 2017-07-17 13:10 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-07-17 13:10 UTC (permalink / raw)
  To: Feng Shu; +Cc: 27719-done

"Feng Shu" <tumashu@163.com> skribis:

> From 006d7a9f10d521e2de82b22eb25c5b87dad42e17 Mon Sep 17 00:00:00 2001
> From: Feng Shu <tumashu@163.com>
> Date: Sun, 16 Jul 2017 05:57:02 +0800
> Subject: [PATCH] gnu: font-wqy-microhei: Use 'font-build-system'.
>
> * gnu/packages/fonts.scm (font-wqy-microhei): Switch to font-build-system.

Applied, thanks!

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-17 13:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-15 22:01 [bug#27719] gnu: font-wqy-microhei: Use 'font-build-system' Feng Shu
2017-07-17 13:10 ` bug#27719: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.