Commit Graph

38112 Commits

Author SHA1 Message Date
Efraim Flashner 472c36bd36
gnu: pingus: Fix building.
* gnu/packages/games.scm (pingus)[source]: Use 'git-fetch'. Add patch to
update used boost headers.
* gnu/packages/patches/pingus-boost-headers.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2018-12-23 21:41:16 +02:00
Efraim Flashner 6556c00afa
gnu: librime: Remove bundled sources.
* gnu/packages/ibus.scm (librime)[source]: Add snippet to remove bundled
sources.
[arguments]: Add custom phase to not search bundled headers.
[native-inputs]: Add googletest, xorgproto.
2018-12-23 20:50:54 +02:00
Efraim Flashner ca0757c607
gnu: librime: Update to 1.3.2.
* gnu/packages/ibus.scm (librime): Update to 1.3.2.
2018-12-23 20:50:53 +02:00
Efraim Flashner cd9f99f107
gnu: mesa: Enable more gallium drivers for armhf and aarch64.
* gnu/packages/gl.scm (mesa)[arguments]: Enable more etnaviv-based
drivers on armhf-linux and aarch64-linux.
2018-12-23 20:50:53 +02:00
Efraim Flashner 0e7e042d82
gnu: libdrm: Enable etnaviv api for armhf and aarch64.
* gnu/packages/xdisorg.scm (libdrm)[arguments]: Add configure-flag for
armhf-linux and aarch64-linux to enable etnaviv api.
2018-12-23 20:50:50 +02:00
Marius Bakke f30830b2e6
Merge branch 'master' into staging 2018-12-22 15:26:30 +01:00
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