GNU bug report logs - #48130
[PATCH] gnu: chessx: Disable online version check by default.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Fri, 30 Apr 2021 23:30:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Rohleder <mike <at> rohleder.de>
To: 48130 <at> debbugs.gnu.org
Cc: Michael Rohleder <mike <at> rohleder.de>
Subject: [bug#48130] [PATCH] gnu: chessx: Disable online version check by default.
Date: Sat,  1 May 2021 01:29:00 +0200
* gnu/packages/games.scm (chessx)[arguments]: Add phase to disable
the online version check by default.
---
 gnu/packages/games.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 3227b3e6fc..4b0f9d74e0 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -11885,6 +11885,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")
-- 
2.31.1





This bug report was last modified 4 years and 19 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.