GNU bug report logs - #27720
gnu: font-wqy-zenhei: Use 'font-build-system'.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27720 in the body.
You can then email your comments to 27720 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27720; Package guix-patches. (Sat, 15 Jul 2017 22:03:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Feng Shu" <tumashu <at> 163.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 15 Jul 2017 22:03:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Feng Shu" <tumashu <at> 163.com>
To: guix-patches <guix-patches <at> gnu.org>
Cc: Feng Shu <tumashu <at> 163.com>
Subject: gnu: font-wqy-zenhei: Use 'font-build-system'.
Date: Sun, 16 Jul 2017 06:01:56 +0800
[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)]
-- 

Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Mon, 17 Jul 2017 13:14:01 GMT) Full text and rfc822 format available.

Notification sent to "Feng Shu" <tumashu <at> 163.com>:
bug acknowledged by developer. (Mon, 17 Jul 2017 13:14:01 GMT) Full text and rfc822 format available.

Message #10 received at 27720-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: "Feng Shu" <tumashu <at> 163.com>
Cc: 27720-done <at> debbugs.gnu.org
Subject: Re: [bug#27720] gnu: font-wqy-zenhei: Use 'font-build-system'.
Date: Mon, 17 Jul 2017 15:13:10 +0200
"Feng Shu" <tumashu <at> 163.com> skribis:

> 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.

Applied, thanks!

Actually I think the packages were previously unusable because they
would install the .ttc file under share/fonts/wenquanyi instead of
share/fonts/truetype.  ‘font-build-system’ fixes that.

Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 15 Aug 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 360 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.