summaryrefslogtreecommitdiff
path: root/gnu/packages/ibus.scm
diff options
context:
space:
mode:
authorPeng Mei Yu <i@pengmeiyu.com>2020-07-08 10:00:15 +0800
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-07-08 12:41:07 +0200
commit5fc75e858ac0b6cf6e29bdfff52c7ee33a858273 (patch)
tree7fed83109af1a732026a6171d62d73053bcd72b2 /gnu/packages/ibus.scm
parentfa7bd6110b4b6a00dfee4f8772c5499df6696d73 (diff)
gnu: rime-data: Disable git operations and update comments.
* gnu/packages/ibus.scm (rime-data)[arguments]: Disable git operations and update comments. Suppress warnings during build. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu/packages/ibus.scm')
-rw-r--r--gnu/packages/ibus.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index d0b40a6eb2..426d04e6d7 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -372,11 +372,17 @@ traditional Chinese output.")
(modify-phases %standard-phases
(add-after 'unpack 'patch-source
(lambda _
- ;; Set .DEFAULT_GOAL to `all'.
- ;; Don't build binary schemas. The output is not deterministic.
+ ;; Don't build binary Rime schema. The binary Rime schema files
+ ;; are platform dependent and contains timestamp information.
+ ;; Thus they are not reproducible.
+
+ ;; Change `.DEFAULT_GOAL' to `all'.
(substitute* "Makefile"
(("^\\.DEFAULT_GOAL := preset")
".DEFAULT_GOAL := all"))
+ ;; Disable git operations.
+ (substitute* "scripts/install-packages.sh"
+ ((".*update-package\\.sh.*") ""))
#t))
;; Copy Rime schemas into the "package/rime" directory.
(add-after 'unpack 'copy-rime-schemas