Commit graph

38234 commits

Author SHA1 Message Date
Ludovic Courtès 25ec3684e3
gnu: guix: Update to bdf860c.
* gnu/packages/package-management.scm (guix): Update to bdf860c.
2018-12-22 00:26:41 +01:00
Ludovic Courtès bdf860c2e9
database: Use "write-ahead log" mode and set a long "busy timeout".
This should avoid "database is locked" errors when there's a lot of
concurrency, for instance when offloading simultaneously a lot of
builds.

* guix/store/database.scm (call-with-database): Add two 'sqlite-exec'
calls to set 'journal_mode' and 'busy_timeout'.
2018-12-21 23:50:13 +01:00
Ludovic Courtès b96e05aefd
offload: Recognize build failures due to lack of disk space.
Previously, if a remote build would fail due to lack of disk space, this
would be considered a permanent failure and thus cached as a build
failure if the local daemon runs with '--cache-failures'.

* guix/scripts/offload.scm (transfer-and-offload): Upon
'nix-protocol-error?' call 'node-free-disk-space' and return 1 instead
of 100 if the result if lower than 10 MiB.
2018-12-21 23:50:13 +01:00
Ludovic Courtès 63b0c3eacc
offload: Skip machines that are low on disk space.
Fixes <https://bugs.gnu.org/33378>.

* guix/scripts/offload.scm (node-free-disk-space): New procedure.
(%minimum-disk-space): New variable.
(choose-build-machine): Call 'node-free-disk-space' and take it into
account in addition to LOAD.
(check-machine-status): Display the free disk space.
2018-12-21 23:50:13 +01:00
Ludovic Courtès bbe66a530a
offload: Decompose 'machine-load' into simpler procedures.
* guix/scripts/offload.scm (machine-load): Remove.
(node-load, normalized-load): New procedures.
(choose-build-machine): Call 'open-ssh-session' and 'make-node' from
here; pass the node to 'node-load'.
(check-machine-status): Use 'node-load' instead of 'machine-load'.  Call
'disconnect!' on SESSION.
2018-12-21 23:50:13 +01:00
Ludovic Courtès 295430f0cf
doc: '--search' is case-insensitive.
Suggested by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Invoking guix package): Mention that --search is
case-insensitive.
2018-12-21 23:50:13 +01:00
Eric Bavier 947babea72
gnu: ncmpc: Update to 0.33.
* gnu/packages/mpd.scm (ncmpc): Update to 0.33.
[source]: Use 'version-major' instead of string-splitting.
2018-12-21 16:19:35 -06:00
Rutger Helling d15211c9b5
gnu: python-libvirt: Update to 4.10.0.
* gnu/packages/virtualization.scm (python-libvirt): Update to 4.10.0.
2018-12-21 18:26:39 +01:00
Rutger Helling 8981465b35
gnu: libvirt: Update to 4.10.0.
* gnu/packages/virtualization.scm (libvirt): Update to 4.10.0.
[inputs]: Add "eudev" and "libpciaccess".
2018-12-21 18:26:39 +01:00
Lprndn 5bbd69319e
gnu: Add vips.
* gnu/packages/image-processing.scm (vips): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2018-12-21 18:07:28 +01:00
Pjotr Prins aba368192a
gnu: python-rdflib: Update to 4.2.2.
* gnu/packages/rdf.scm (python-rdflib): Update to 4.2.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-12-21 18:07:28 +01:00
Pkill -9 bdc61ff97d
system: 'kernel->boot-label' now accepts inferior packages.
* gnu/system.scm (kernel->boot-label): Get package name and version
using the functions for inferior packages if the kernel is an
inferior package. Return "GNU" if the kernel is not a package.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-12-21 18:07:28 +01:00
Mathieu Othacehe 4b33a74138
gnu: Add emacs-wordnut.
* gnu/packages/patches/emacs-wordnut-require-adaptive-wrap.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add previous file.
* gnu/packages/emacs.scm (emacs-wordnut): New package.
2018-12-21 10:54:09 +01:00
Eric Bavier 39c676c4a3
gnu: Add Quadrapassel.
* gnu/packages/games.scm (quadrapassel): New variable.
2018-12-20 23:20:25 -06:00
Eric Bavier 18ebaa9eeb
gnu: Add libmanette.
* gnu/packages/games.scm (libmanette): New variable.
2018-12-20 23:20:25 -06:00
Efraim Flashner 8aedb3ad8a
gnu: unittest-cpp: Use 'git-fetch'.
* gnu/packages/check.scm (unittest-cpp)[source]: Use 'git-fetch'.
2018-12-20 22:38:17 +02:00
Efraim Flashner 0afd0660c2
gnu: python-pyhamcrest: Use 'git-fetch'.
* gnu/packages/check.scm (python-pyhamcrest)[source]: Use 'git-fetch'.
2018-12-20 22:38:17 +02:00
Efraim Flashner 52305b0ab3
gnu: python-testpath: Use 'git-fetch'.
* gnu/packages/check.scm (python-testpath)[source]: Use 'git-fetch'.
2018-12-20 22:38:16 +02:00
Efraim Flashner 23ff7239f2
gnu: cppcheck: Update to 1.86.
* gnu/packages/check.scm (cppcheck): Update to 1.86.
2018-12-20 22:38:16 +02:00
Efraim Flashner 4241cb9c0b
gnu: cppcheck: Enable tests.
* gnu/packages/check.scm (cppcheck)[arguments]: Add configure-flag to
enable tests.
2018-12-20 22:38:15 +02:00
Efraim Flashner fa44d3a63e
gnu: cppcheck: Use 'git-fetch'.
* gnu/packages/check.scm (cppcheck)[source]: Use 'git-fetch'.
2018-12-20 22:38:15 +02:00
Efraim Flashner 28bcf80902
gnu: catch2: Use git-fetch.
* gnu/packages/check.scm (catch2)[source]: Use git-fetch.
2018-12-20 22:38:15 +02:00
Efraim Flashner 46756754df
gnu: abcde: Return #t from all phases.
* gnu/packages/cdrom.scm (abcde)[arguments]: Return #t from all phases.
2018-12-20 22:38:11 +02:00
Kei Kebreau b70ff03e59
gnu: meandmyshadow: Update to 10.5a.
* gnu/packages/games.scm (meandmyshadow): Update to 10.5a.
[source]: Remove patch.
* gnu/local.mk (dist_patch_DATA): Unregister patch.
* gnu/packages/patches/meandmyshadow-define-paths-earlier.patch: Delete file.
2018-12-20 13:21:34 -05:00
Hartmut Goebel dec0c11c33
gnu: KDE: Update remaining packages to 5.49.0.
These packages have been missed in
600f1ad8e6, since the `guix refresh
--type=kde` does not honor the sub-directory for the "portingaids".

* gnu/packages/kde-frameworks.scm (kdelibs4support, khtml, kjs,
  kjsembed, kmediaplayer, kross): Update to 5.49.0.
2018-12-20 16:28:19 +01:00
Rutger Helling 444c4c08ef
gnu: grim: Fix indentation.
* gnu/packages/image.scm (grim): Fix indentation.
2018-12-20 12:55:58 +01:00
Rutger Helling 122db9a6ca
gnu: flatpak: Fix indentation.
* gnu/packages/package-management.scm (flatpak): Fix indentation.
2018-12-20 12:51:52 +01:00
Pierre Neidhardt 6693cdd6b7
gnu: sbcl-trivial-clipboard: Update to 20181220.
* gnu/packages/lisp.scm (sbcl-trivial-clipboard): Update to 20181220.
2018-12-20 12:26:00 +01:00
Pierre Neidhardt 8894668cd2
gnu: discrover: Comment on attempt of minimal texlive-union.
* gnu/packages/bioinformatics.scm (discrover): Comment on attempt of minimal
  texlive-union.
2018-12-20 12:07:40 +01:00
Ricardo Wurmus 10a1cacb16
import: cran: Try import via CRAN if package is not on Bioconductor.
* guix/import/cran.scm (fetch-description): Return #F on failure.
(cran->guix-package): Retry from CRAN on failure to fetch description from
bioconductor.
2018-12-20 09:42:22 +01:00
Rutger Helling 0290f533cc
gnu: Add grim.
* gnu/packages/image.scm (grim): New variable.
2018-12-20 08:59:36 +01:00
Rutger Helling e2dd54c090
gnu: Add scdoc.
* gnu/packages/man.scm (scdoc): New variable.
2018-12-20 08:59:36 +01:00
Rutger Helling 36e1ab842d
gnu: Add flatpak.
* gnu/packages/package-management.scm (flatpak): New variable.
2018-12-20 08:07:56 +01:00
Mark H Weaver 9378206468
gnu: linux-libre: Update to 4.19.11.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.19.11.
(%linux-libre-hash): Update hash.
2018-12-19 23:44:21 -05:00
Ludovic Courtès 9012d226fa
services: zabbix-front-end: Tweak error and hint messages.
* gnu/services/monitoring.scm (zabbix-front-end-config): Adjust error
and hint mssages.
2018-12-20 00:04:50 +01:00
Ludovic Courtès 40cc850aeb
download: 'built-in-builders*' relies on the functional cache.
The previous caching strategy, which used STORE as an 'eq?' key, would
no longer work when the functional cache is used because subsequent
store values are not 'eq?'.

* guix/download.scm (built-in-builders*): Rewrite in terms of
'mcached'.
2018-12-19 23:52:25 +01:00
Ludovic Courtès 87b711d200
utils: Memoize 'absolute-dirname'.
* guix/utils.scm (absolute-dirname): Wrap in 'mlambda'.
2018-12-19 23:52:25 +01:00
Ludovic Courtès 0b1be8fd57
packages: Turn 'cache!' into a single-value-return cache.
* guix/packages.scm (cache!): Assume THUNK returns a single value.
(cached): Likewise.
2018-12-19 23:52:24 +01:00
Ludovic Courtès b334674fe5
Use 'mapm' instead of 'sequence' + 'map'.
Previously we'd use the (sequence M (map P L)) idiom just because 'mapm'
was slower (not specialized for the given monad).  This is no longer the
case since commit dcb95c1fc9.

* guix/gexp.scm (lower-inputs): Use (mapm M P L) instead of (sequence
M (map P L)).
(lower-references, gexp->sexp, imported-files): Likewise.
* guix/profiles.scm (profile-derivation): Likewise.
* guix/scripts/environment.scm (inputs->requisites): Likewise.
* guix/scripts/system.scm (copy-closure): Likewise.
2018-12-19 23:52:24 +01:00
Ludovic Courtès 73b0ebdd5e
store: Add 'GUIX_PROFILING' support for the object cache.
* guix/store.scm (profiled?): New procedure.
(record-operation): Use it.
(record-cache-lookup!): New procedure.
(lookup-cached-object): Use it.
2018-12-19 23:52:24 +01:00
Nicolas Goaziou 207a79b2fe
gnu: python-duniterpy: Improve description.
* gnu/packages/finance.scm (python-duniterpy)[description]: Expound features
  to match list in homepage.
2018-12-19 23:49:46 +01:00
Nicolas Goaziou 42a57df874
gnu: python-duniterpy: Build documentation.
* gnu/packages/finance.scm (python-duniterpy)[arguments]: Build and install
  documentation.
2018-12-19 23:49:15 +01:00
Nicolas Goaziou 4b3d6b899f
gnu: python-duniterpy: Update to 0.51.0.
* gnu/packages/finance.scm (python-duniterpy): Update to 0.51.0.
2018-12-19 23:48:13 +01:00
Ricardo Wurmus 80eebee9f7
ui: Report profile hooks separately.
* guix/ui.scm (profile-hook-derivation?): New procedure.
(show-what-to-build): Distinguish among BUILD derivations that match
'profile-hook-derivation?'.  Report them separately.
* guix/status.scm (hook-message): New procedure.
(print-build-event): Display profile hooks with readable hook name.
* guix/profiles.scm (info-dir-file, ghc-package-cache-file,
ca-certificate-bundle, glib-schemas, gtk-icon-themes, gtk-im-modules,
xdg-desktop-database, xdg-mime-database, fonts-dir-file, manual-database):
Augment derivation with "type" and "hook" properties.
2018-12-19 23:46:38 +01:00
Oleg Pykhalov 0485717ee9
services: zabbix-front-end: Improve hint and error messages.
* gnu/services/monitoring.scm (zabbix-front-end-config): Improve hint and
error messages.
2018-12-19 21:15:12 +03:00
Hartmut Goebel 9a50cedc6b
gnu: plasma-framework: Fix build.
* gnu/packages/plasma-framework.scm (plasma-framework)[inputs]: Add
  qtquickcontrols2.
2018-12-19 18:54:56 +01:00
Christopher Lemmer Webber af8c90e862
stumpwm: Add comment saying patch can be removed in next release.
* gnu/packages/lisp.scm (stumpwm): Add comment saying patch can be removed in
  next release.
2018-12-19 09:47:52 -05:00
Pierre Langlois dba83d7d14
gnu: stumpwm: Fix gnew command.
The new release of StumpWM broken the interactive 'gnew' command.  It was
fixed upstream [0] and will be part of the next release.

0: https://github.com/stumpwm/stumpwm/pull/538

* gnu/packages/patches/stumpwm-fix-broken-read-one-line.patch: New file.
* gnu/packages/lisp.scm (stumpwm)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-12-19 09:45:39 -05:00
Alex Vong 38abef124b
gnu: sqlite: Replace with 3.26.0 [security fixes].
Fixes <https://bugs.gnu.org/33751>.
Reported by Marius Bakke <mbakke@fastmail.com>.

* gnu/packages/databases.scm (sqlite-3.26.0): New public variable.
(sqlite)[replacement]: Use it.
(sqlite-with-fts5): Use 'package/inherit'.
(sqlite-with-column-metadata): Likewise.

Modified-by: Mark H Weaver <mhw@netris.org>
2018-12-18 20:20:16 -05:00
Ludovic Courtès a934e9fc1c
vm: Re-enable KVM on i386.
The workaround is apparently no longer needed with Linux-libre 4.19.2
in the host.

* gnu/build/vm.scm (load-in-linux-vm): Remove special case for
"qemu-system-i386", thereby re-enabling KVM.
2018-12-19 00:14:00 +01:00