all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#48130] [PATCH] gnu: chessx: Disable online version check by default.
@ 2021-04-30 23:29 Michael Rohleder
  2021-05-03 16:08 ` bug#48130: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Rohleder @ 2021-04-30 23:29 UTC (permalink / raw)
  To: 48130; +Cc: Michael Rohleder

* 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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-03 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-30 23:29 [bug#48130] [PATCH] gnu: chessx: Disable online version check by default Michael Rohleder
2021-05-03 16:08 ` bug#48130: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.