* [bug#37119] [PATCH 20/20] gnu: Add tegaki-wagomu-traditional-chinese.
@ 2019-08-20 16:07 Alex Vong
0 siblings, 0 replies; only message in thread
From: Alex Vong @ 2019-08-20 16:07 UTC (permalink / raw)
To: 37119
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: 0020-gnu-Add-tegaki-wagomu-traditional-chinese.patch --]
[-- Type: text/x-diff, Size: 1688 bytes --]
From e3b093d9a20dcd6fc5bf7b13b2d62921a576398a Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
Date: Wed, 14 Aug 2019 16:19:25 +0800
Subject: [PATCH 20/20] 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 81f96a3870..1ed2483615 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
--
2.22.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-08-20 16:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-20 16:07 [bug#37119] [PATCH 20/20] gnu: Add tegaki-wagomu-traditional-chinese Alex Vong
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.