This patch is taken from Debian and modified slightly Description: Phoning-home version checks should be disabled in Debian packages Author: Sandro Knauß Origin: debian Bug-debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721341 Forwarded: not-needed Last-Update: 2014-02-17 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/src/libsync/configfile.cpp +++ b/src/libsync/configfile.cpp @@ -522,11 +522,14 @@ bool ConfigFile::skipUpdateCheck(const Q if (connection.isEmpty()) con = defaultConnection(); - QVariant fallback = getValue(skipUpdateCheckC(), con, false); + QVariant fallback = getValue(skipUpdateCheckC(), con, true); fallback = getValue(skipUpdateCheckC(), QString(), fallback); QVariant value = getPolicySetting(skipUpdateCheckC(), fallback); - return value.toBool(); + if ( !value.toBool() ) + qDebug() << "Guix has disabled the UpdateCheck mechanism."; + + return true; } void ConfigFile::setSkipUpdateCheck(bool skip, const QString &connection) --- a/src/gui/generalsettings.cpp +++ b/src/gui/generalsettings.cpp @@ -146,6 +149,7 @@ void GeneralSettings::loadMiscSettings() void GeneralSettings::slotUpdateInfo() { + /* Guix doesn't want an autoupdater if (ConfigFile().skipUpdateCheck() || !Updater::instance()) { // updater disabled on compile _ui->updaterWidget->setVisible(false); @@ -174,6 +178,9 @@ void GeneralSettings::slotUpdateInfo() _ui->updateChannel->setCurrentIndex(ConfigFile().updateChannel() == "beta" ? 1 : 0); connect(_ui->updateChannel, static_cast(&QComboBox::currentIndexChanged), this, &GeneralSettings::slotUpdateChannelChanged, Qt::UniqueConnection); + */ + //hide the update group box for Guix. + _ui->updaterWidget->setVisible(false); } void GeneralSettings::slotUpdateChannelChanged(int index) lue=''/>
AgeCommit message (Expand)Author
2024-12-03gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd....* gnu/packages/texinfo.scm (texinfo-4): When building for the 64bit Hurd, or cross-compiling, add "-Wno-incompatible-pointer-types" to #:configure-flags. Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f Janneke Nieuwenhuizen
2024-11-22gnu: info-reader: Ressurrect cross-build....* gnu/packages/texinfo.scm (texinfo)[arguments]: When cross-building, set missing cache value. Change-Id: I44a091507bf26ce32e569e66ce9cdac7cac86ae3 Janneke Nieuwenhuizen
2024-11-20gnu: info-reader: Inherit from texinfo-7....Otherwise `LC_ALL=pt_BR.utf8 info` crashes. * gnu/packages/texinfo.scm (info-reader): Inherit from texinfo-7. Change-Id: I9eb5873fbc115e0c45f96a16aa05dbca76b92c57 Florian Pelz
2024-09-09gnu: texinfo-7: Update to 7.1.1....* gnu/packages/texinfo.scm (texinfo-7): Update to 7.1.1. Change-Id: Ic676c9a29e3efc0c656c3c5315cc83132a475a30 Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn> Andy Tai
2024-08-31gnu: commencement: Remove ‘glibc-utf8-locales’ from ‘%final-inputs’....* gnu/packages/commencement.scm (%boot5-inputs): Make an alias for ‘%boot4-inputs’. (with-boot5): Turn into an alias for ‘with-boot4’. (%final-inputs): Override ‘native-inputs’ of GAWK. Remove "locales" entry. (canonical-package): Add “glibc-utf8-locales” entry. * gnu/packages/base.scm (libc-utf8-locales-for-target): Use ‘canonical-package’. * gnu/packages/gawk.scm (gawk)[native-inputs]: New field. * gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add ‘libc-utf8-locales-for-target’. Change-Id: I2283ffc6c6000c98ad2db89c04d581e050667c94 Ludovic Courtès
2024-08-31gnu: info-reader: Import the correct set of modules....* gnu/packages/texinfo.scm (info-reader) [arguments] <modules>: Replace %default-gnu-imported-modules with %default-gnu-modules. Change-Id: I30e38d2282e19801ce865c6ba59c9e6b915e9b39 Maxim Cournoyer
2024-08-31build-systems: gnu: Export %default-gnu-imported-modules and %default-gnu-mod......Until now users would have to cargo cult or inspect the private %default-modules variable of (guix build-systems gnu) to discover which modules to include when extending the used modules via the #:modules argument. The renaming was automated via the command: $ git grep -l %gnu-build-system-modules | xargs sed 's/%gnu-build-system-modules/%default-gnu-imported-modules/' -i * guix/build-system/gnu.scm (%gnu-build-system-modules): Rename to... (%default-gnu-imported-modules): ... this. (%default-modules): Rename to... (%default-gnu-modules): ... this. Export. (dist-package, gnu-build, gnu-cross-build): Adjust accordingly. Change-Id: Idef307fff13cb76f3182d782b26e1cd3a5c757ee Maxim Cournoyer