guix-commits
[Top][All Lists]
Advanced

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

04/08: gnu: chessx: Disable online version check by default.


From: guix-commits
Subject: 04/08: gnu: chessx: Disable online version check by default.
Date: Mon, 3 May 2021 12:29:24 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 62b4cc14f882553a824d32848a6ebe503fd11320
Author: Michael Rohleder <mike@rohleder.de>
AuthorDate: Sat May 1 01:29:00 2021 +0200

    gnu: chessx: Disable online version check by default.
    
    * gnu/packages/games.scm (chessx)[arguments]: Add phase to disable
    the online version check by default.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/games.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index f12f2bc..41d8ea7 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11907,6 +11907,12 @@ and chess engines.")
            (lambda _
              (setenv "QT_RCC_SOURCE_DATE_OVERRIDE" "1")
              #t))
+         (add-after 'make-qt-deterministic 'disable-versioncheck
+           (lambda _
+             (substitute* "src/database/settings.cpp"
+               (("\"/General/onlineVersionCheck\", true")
+                "\"/General/onlineVersionCheck\", false"))
+             #t))
          (replace 'configure
            (lambda _
              (invoke "qmake")



reply via email to

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