[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/20: gnu: Add tegaki-wagomu-traditional-chinese.
From: |
guix-commits |
Subject: |
20/20: gnu: Add tegaki-wagomu-traditional-chinese. |
Date: |
Tue, 17 Sep 2019 01:34:25 -0400 (EDT) |
alexvong1995 pushed a commit to branch master
in repository guix.
commit 0ed97e69805253656df929a6ad678016aa81f08a
Author: Alex Vong <address@hidden>
Date: Wed Aug 14 16:19:25 2019 +0800
gnu: Add tegaki-wagomu-traditional-chinese.
* gnu/packages/language.scm (tegaki-wagomu-traditional-chinese): New
variable.
---
gnu/packages/language.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 81f96a3..1ed2483 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -862,3 +862,24 @@ suitable for both the desktop and mobile devices.")
(modules remove-pre-compiled-files-modules)
(snippet (remove-pre-compiled-files "model"))))
(license lgpl2.1))) ; all files
+
+;;; Upstream does not provide the source for tegaki-wagomu-traditional-chinese.
+;;; Therefore, we use the source for tegaki-zinnia-traditional-chinese and
+;;; patch the Makefile accordingly.
+(define-public tegaki-wagomu-traditional-chinese
+ (package
+ (inherit tegaki-zinnia-traditional-chinese)
+ (name "tegaki-wagomu-traditional-chinese")
+ (arguments
+ (substitute-keyword-arguments
+ (package-arguments tegaki-zinnia-traditional-chinese)
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (replace 'configure
+ (lambda args
+ (let ((configure (assq-ref ,phases 'configure)))
+ (apply configure args))
+ (substitute* "Makefile"
+ (("zinnia") "wagomu"))
+ #t))))))
+ (license lgpl2.1))) ; all files
- 15/20: gnu: Add tegaki-zinnia-traditional-chinese-light., (continued)
- 15/20: gnu: Add tegaki-zinnia-traditional-chinese-light., guix-commits, 2019/09/17
- 05/20: gnu: Add python2-tegaki-pygtk., guix-commits, 2019/09/17
- 04/20: gnu: Add python2-tegaki-python., guix-commits, 2019/09/17
- 03/20: gnu: Add python2-tegaki-wagomu., guix-commits, 2019/09/17
- 09/20: gnu: Add tegaki-zinnia-japanese-light., guix-commits, 2019/09/17
- 10/20: gnu: Add tegaki-zinnia-japanese-kyoiku., guix-commits, 2019/09/17
- 07/20: gnu: Add python2-tegaki-recognize., guix-commits, 2019/09/17
- 11/20: gnu: Add tegaki-zinnia-japanese-joyo., guix-commits, 2019/09/17
- 17/20: gnu: Add tegaki-wagomu-japanese-kyoiku., guix-commits, 2019/09/17
- 19/20: gnu: Add tegaki-wagomu-simplified-chinese., guix-commits, 2019/09/17
- 20/20: gnu: Add tegaki-wagomu-traditional-chinese.,
guix-commits <=
- 13/20: gnu: Add tegaki-zinnia-simplified-chinese-light., guix-commits, 2019/09/17