me
/
guix
Archived
1
0
Fork 0

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>
Peng Mei Yu 2020-07-08 10:00:15 +08:00 committed by Nicolas Goaziou
parent fa7bd6110b
commit 5fc75e858a
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 8 additions and 2 deletions

View File

@ -372,11 +372,17 @@ traditional Chinese output.")
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-source (add-after 'unpack 'patch-source
(lambda _ (lambda _
;; Set .DEFAULT_GOAL to `all'. ;; Don't build binary Rime schema. The binary Rime schema files
;; Don't build binary schemas. The output is not deterministic. ;; are platform dependent and contains timestamp information.
;; Thus they are not reproducible.
;; Change `.DEFAULT_GOAL' to `all'.
(substitute* "Makefile" (substitute* "Makefile"
(("^\\.DEFAULT_GOAL := preset") (("^\\.DEFAULT_GOAL := preset")
".DEFAULT_GOAL := all")) ".DEFAULT_GOAL := all"))
;; Disable git operations.
(substitute* "scripts/install-packages.sh"
((".*update-package\\.sh.*") ""))
#t)) #t))
;; Copy Rime schemas into the "package/rime" directory. ;; Copy Rime schemas into the "package/rime" directory.
(add-after 'unpack 'copy-rime-schemas (add-after 'unpack 'copy-rime-schemas