guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/05: gnu: rime-data: Disable git operations and update comments.


From: guix-commits
Subject: 03/05: gnu: rime-data: Disable git operations and update comments.
Date: Wed, 8 Jul 2020 06:43:04 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit 5fc75e858ac0b6cf6e29bdfff52c7ee33a858273
Author: Peng Mei Yu <i@pengmeiyu.com>
AuthorDate: Wed Jul 8 10:00:15 2020 +0800

    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>
---
 gnu/packages/ibus.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index d0b40a6..426d04e 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]