Commit graph

56515 commits

Author SHA1 Message Date
Tobias Geerinckx-Rice 1ab58a3d90
gnu: carla: Fix start-up.
This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39942>,
properly.

* gnu/packages/audio.scm (carla)[arguments]: Add ‘wrap-executables’ phase.
[inputs]: Add guile-2.2.
2020-03-06 16:29:16 +01:00
Tobias Geerinckx-Rice 366c2c8f48
gnu: fmt: Fix home page.
* gnu/packages/pretty-print.scm (fmt)[home-page]: Update.
2020-03-06 16:23:49 +01:00
Tobias Geerinckx-Rice 522ec708bc
gnu: Order module imports in (gnu packages audio).
* gnu/packages/audio.scm: Order module imports alphabetically.
2020-03-06 16:23:49 +01:00
Tobias Geerinckx-Rice 5424e680b8
gnu: carla: Partially fix start-up.
This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=39942> but
carla still fails to start.

Reported by Nathan Dehnel <ncdehnel@gmail.com>.

* gnu/packages/audio.scm (carla)[arguments]: Add ‘make-carla-executable’ phase.
2020-03-06 15:02:33 +01:00
Tobias Geerinckx-Rice 462ca0bbb7
gnu: dovecot: Update to 2.3.10.
* gnu/packages/mail.scm (dovecot): Update to 2.3.10.
2020-03-06 13:01:29 +01:00
Pierre Neidhardt 59d4c8c2bf
gnu: Add gnome-boxes.
* gnu/packages/gnome.scm (gnome-boxes): New variable.
2020-03-06 12:46:26 +01:00
Pierre Neidhardt 852fa6050e
gnu: tracker-miners: Update to 2.3.2.
* gnu/packages/gnome.scm (tracker-miners): Update to 2.3.2.
2020-03-06 12:46:26 +01:00
Pierre Neidhardt 63db190a52
gnu: tracker: Update to 2.3.2.
* gnu/packages/gnome.scm (tracker): Update to 2.3.2.
[arguments]: Fix tests properly.
[native-inputs]: Remove unneeded native-inputs.
[inputs]: Remove unneeded inputs.
[description]: Replace unclear description with more down to earth use cases.
[license]: Replace lgpl2.0+ with bsd-3 to reflect update.
2020-03-06 12:46:26 +01:00
Pierre Neidhardt a9838ee00a
gnu: libvirt-glib: Update to 3.0.0.
* gnu/packages/virtualization.scm (libvirt-glib): Update to 3.0.0.
2020-03-06 12:46:26 +01:00
Marius Bakke 7154f5ef4b
gnu: python-pygit2: Update to 1.1.0.
* gnu/packages/python-xyz.scm (python-pygit2): Update to 1.1.0.
[propagated-inputs]: Remove PYTHON-SIX and PYTHON-TOX.  Add PYTHON-CACHED-PROPERTY.
(python2-pygit2): Remove variable (Python 2 is no longer supported).
2020-03-06 12:31:08 +01:00
Marius Bakke 5358950259
gnu: gitg: Remove redundant input.
* gnu/packages/gnome.scm (gitg)[inputs]: Remove LIBGIT2.
2020-03-06 12:31:07 +01:00
Marius Bakke 8c6aae4636
gnu: libgit2-glib: Adjust inputs.
* gnu/packages/gnome.scm (libgit2-glib)[native-inputs]: Move LIBSSH2 ...
[inputs]: ... here.  Move LIBGIT2 ...
[propagated-inputs]: ... here.  New field.
2020-03-06 12:31:07 +01:00
Marius Bakke 6448c2e156
gnu: libgit2-glib: Update to 0.99.0.1.
* gnu/packages/gnome.scm (libgit2-glib): Update to 0.99.0.1.
[native-inputs]: Remove INTLTOOL.
2020-03-06 12:31:07 +01:00
Ricardo Wurmus dd386dd74f
gnu: r-modeltools: Update to 0.2-23.
* gnu/packages/statistics.scm (r-modeltools): Update to 0.2-23.
2020-03-06 12:15:51 +01:00
Ricardo Wurmus 87aa4d6245
gnu: r-ggplot2: Update to 3.3.0.
* gnu/packages/statistics.scm (r-ggplot2): Update to 3.3.0.
[propagated-inputs]: Remove r-lazyeval, r-reshape2, and r-viridislite; add
r-glue and r-isoband.
2020-03-06 12:15:51 +01:00
Ricardo Wurmus bafedbc362
gnu: Add r-isoband.
* gnu/packages/cran.scm (r-isoband): New variable.
2020-03-06 12:15:51 +01:00
Ricardo Wurmus 858d5d7037
gnu: r-bookdown: Update to 0.18.
* gnu/packages/cran.scm (r-bookdown): Update to 0.18.
2020-03-06 12:15:51 +01:00
Ricardo Wurmus 099adcf81f
gnu: r-fs: Update to 1.3.2.
* gnu/packages/cran.scm (r-fs): Update to 1.3.2.
2020-03-06 12:15:51 +01:00
Ricardo Wurmus 36488596b4
gnu: r-flextable: Update to 0.5.9.
* gnu/packages/cran.scm (r-flextable): Update to 0.5.9.
2020-03-06 12:15:51 +01:00
Ricardo Wurmus be01767cb9
gnu: r-lava: Update to 1.6.7.
* gnu/packages/cran.scm (r-lava): Update to 1.6.7.
2020-03-06 12:15:50 +01:00
Roel Janssen 83a483aac7
gnu: Update python-scikit-learn to 0.22.1.
* gnu/packages/machine-learning.scm (python-scikit-learn): Update to 0.22.1;
  Add python-joblib to native-inputs to run the test suite.
2020-03-06 10:45:51 +01:00
Pierre Neidhardt 6d26ee3b67
gnu: Add soci.
* gnu/packages/databases.scm (soci): New variable.
2020-03-06 10:20:55 +01:00
Pierre Neidhardt 8be782c713
gnu: fmt: Update to 6.1.2.
* gnu/packages/pretty-print.scm (fmt): Update to 6.1.2.
2020-03-06 10:15:19 +01:00
Pierre Neidhardt 744f445c92
gnu: fmt: Use HTTPS and git-fetch.
* gnu/packages/pretty-print.scm (fmt)[source]: Use git-fetch.
[home-page]: Use HTTPS.
2020-03-06 10:15:19 +01:00
Ricardo Wurmus fecd32501f
gnu: python-aiohttp: Update to 3.6.2.
* gnu/packages/python-web.scm (python-aiohttp): Update to 3.6.2.
2020-03-06 09:16:48 +01:00
Ricardo Wurmus 858e642e4c
gnu: python-scanpy: Update to 1.4.5.1.
* gnu/packages/bioinformatics.scm (python-scanpy): Update to 1.4.5.1.
[source]: Fetch from pypi.
[propagated-inputs]: Add python-legacy-api-wrap, python-packaging,
python-patsy, and python-umap-learn.
[native-inputs]: Add python-setuptools-scm.
2020-03-06 09:16:48 +01:00
Ricardo Wurmus 053ab825be
gnu: Add python-legacy-api-wrap.
* gnu/packages/python-xyz.scm (python-legacy-api-wrap): New variable.
2020-03-06 09:16:48 +01:00
Ricardo Wurmus 2ceff35f07
gnu: Add python-get-version.
* gnu/packages/python-xyz.scm (python-get-version): New variable.
2020-03-06 09:16:48 +01:00
Ricardo Wurmus cc2c2850ce
gnu: Add python-pytest-black.
* gnu/packages/python-xyz.scm (python-pytest-black): New variable.
2020-03-06 09:16:48 +01:00
Ricardo Wurmus 5f603fab23
gnu: python-black: Update to 19.10b0.
* gnu/packages/python-xyz.scm (python-black): Update to 19.10b0.
[arguments]: Patch tests.
[propagated-inputs]: Add python-pathspec, python-regex, and python-typed-ast.
[native-inputs]: Add python-setuptools-scm.
2020-03-06 09:16:48 +01:00
Ricardo Wurmus c777ecb372
gnu: Add python-pathspec.
* gnu/packages/python-xyz.scm (python-pathspec): New variable.
2020-03-06 09:16:48 +01:00
Ricardo Wurmus 538c1a024a
gnu: python-tables: Use later hdf5 version.
* gnu/packages/python-xyz.scm (python-tables)[inputs]: Replace hdf5 with
hdf5-1.10.
2020-03-06 09:16:47 +01:00
Ricardo Wurmus 70b74663b6
gnu: python-tables: Do not detect CPU features.
* gnu/packages/python-xyz.scm (python-tables)[arguments]: Add phase
"disable-tuning".
2020-03-06 09:16:47 +01:00
Pierre Neidhardt 1d24cc6de6
scripts: Show disk-space warning when under the min of the thresholds.
Follow-up to 71c3c3df92 which got the logic
wrong.

* guix/scripts.scm (warn-about-disk-space): Compare AVAILABLE to the min of
RELATIVE-THRESHOLD-IN-BYTES and ABSOLUTE-THRESHOLD-IN-BYTES, not the max.
2020-03-06 08:32:01 +01:00
Ludovic Courtès bc8b2ffdac
ci: Adjust 'channel-build-system' for when the source is a file name.
Fixes an evaluation error introduced in
dd1ee160be8ba4e211432c08e161c24901cd670e: when invoked via
'build-aux/cuirass/gnu-system.scm', SOURCE is a store file name, not a
<local-file> as it is when invoked via 'etc/system-tests.scm'.

* gnu/ci.scm (channel-build-system)[build]: Call 'lower-object' only
when SOURCE is not a string.
2020-03-05 23:40:24 +01:00
Ludovic Courtès 530e31b824
hydra: Remove uses of _IOLBF.
_IOLBF & co. were deprecated in Guile 2.2 and removed in 3.0.

* build-aux/hydra/gnu-system.scm: Pass 'line instead of _IOLBF to 'setvbuf'.
* build-aux/hydra/guix-modular.scm: Likewise.
2020-03-05 23:40:24 +01:00
Mathieu Othacehe e666a92344
tests: install: Add %test-gui-installed-os-encrypted.
* gnu/tests/install.scm (%test-gui-installed-os-encrypted): New variable,
(guided-installation-test): set a swap-device only if there is no encryption.
2020-03-05 23:40:24 +01:00
Mathieu Othacehe 64704be417
installer: Fix cow-store umount.
This fixes <https://bugs.gnu.org/39712>.

The guix-daemon was preventing the cow-store umount, so restart it.  Some
udevd workers, using cow-store files might also still be around, so have some
umount retries.

* gnu/installer/final.scm (kill-cow-users): New procedure,
(umount-cow-store): restart guix-daemon and kill all processes started from
within the cow-store before trying to umount the store overlay. Also try 5
times to umount the overlay in case it is still busy.
2020-03-05 23:40:24 +01:00
Ludovic Courtès ccb1a8c437
tests: install: Add "gui-installed-os".
* gnu/installer/tests.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add it.
* gnu/tests/install.scm (run-install): Add #:gui-test.  Add (gnu
installer tests) to the marionette imported modules.  Honor GUI-TEST.
Check whether SCRIPT is true.
(%root-password, %syslog-conf): New variable.
(operating-system-with-console-syslog, gui-test-program)
(guided-installation-test): New procedures.
(%extra-packages, installation-os-for-gui-tests)
(%test-gui-installed-os): New variable.
2020-03-05 23:40:23 +01:00
Ludovic Courtès e458726ab4
installer: Honor /tmp/installer-system-init-options.
* gnu/installer/final.scm (install-system): Honor
"/tmp/installer-system-init-options".
2020-03-05 23:40:23 +01:00
Ludovic Courtès 8a4b11c6a9
installer: Run commands without hopping through the shell.
* gnu/installer/utils.scm (run-shell-command): Rename to...
(run-command): Remove call to 'call-with-temporary-output-file' and hop
through Bash.  Expect COMMAND to be a list of strings rather than a
string.
* gnu/installer/final.scm (install-system): Turn INSTALL-COMMAND into a
list of strings and pass it to 'run-command'.
* gnu/installer/newt/page.scm (edit-file): Likewise.
2020-03-05 23:40:23 +01:00
Ludovic Courtès f901f5d2bc
installer: Bypass connectivity check when /tmp/installer-assume-online exists.
This is useful for automated tests.

* gnu/installer/newt/network.scm (wait-service-online)[online?]: New
procedure.  Check for /tmp/installer-assume-online.
Use it instead of 'connman-online?'.
2020-03-05 23:40:22 +01:00
Ludovic Courtès 63b8c089c1
installer: Implement a dialog on /var/guix/installer-socket.
This will allow us to automate testing of the installer.

* gnu/installer/utils.scm (%client-socket-file)
(current-server-socket, current-clients): New variables.
(open-server-socket, call-with-server-socket): New procedure.
(with-server-socket): New macro.
(run-shell-command): Add call to 'send-to-clients'.  Select on both
current-input-port and current-clients.
* gnu/installer/steps.scm (run-installer-steps): Wrap 'call-with-prompt'
in 'with-socket-server'.  Call 'sigaction' for SIGPIPE.
* gnu/installer/newt/page.scm (watch-clients!, close-port-and-reuse-fd)
(run-form-with-clients, send-to-clients): New procedures.
(draw-info-page): Add call to 'run-form-with-clients'.
(run-input-page): Likewise.  Handle EXIT-REASON equal to 'exit-fd-ready.
(run-confirmation-page): Likewise.
(run-listbox-selection-page): Likewise.  Define 'choice->item' and use it.
(run-checkbox-tree-page): Likewise.
(run-file-textbox-page): Add call to 'run-form-with-clients'.  Handle
'exit-fd-ready'.
* gnu/installer/newt/partition.scm (run-disk-page): Pass
 #:client-callback-procedure to 'run-listbox-selection-page'.
* gnu/installer/newt/user.scm (run-user-page): Call
'run-form-with-clients'.  Handle 'exit-fd-ready'.
* gnu/installer/newt/welcome.scm (run-menu-page): Define
'choice->item' and use it.  Call 'run-form-with-clients'.
* gnu/installer/newt/final.scm (run-install-success-page)
(run-install-failed-page): When (current-clients) is non-empty, call
'send-to-clients' without displaying a choice window.
2020-03-05 23:40:22 +01:00
Ludovic Courtès 5ce84b1713
installer: Use a Guile-Newt snapshot that supports 'form-watch-fd'.
* gnu/installer.scm (guile-newt): New variable.
2020-03-05 23:40:22 +01:00
Ludovic Courtès 91ba90c18b
tests: 'run-basic-test' can enter a root password.
* gnu/tests/base.scm (run-basic-test): Add #:root-password and honor it.
2020-03-05 23:40:22 +01:00
Björn Höfling 2c2b1ef854
gnu: java-openjfx-build: Add snippet.
* gnu/packages/java.scm (java-openjfx-build)[source]: Add snippet to remove
bundled gradle.
2020-03-05 22:10:17 +01:00
Ricardo Wurmus a098b34980
gnu: python-anndata: Update to 0.7.1.
* gnu/packages/python-xyz.scm (python-anndata): Update to 0.7.1.
[arguments]: Move check phase after install phase; delete one test.
[propagated-inputs]: Add python-importlib-metadata, python-numcodecs,
python-packaging, and python-zarr.
[native-inputs]: Add python-joblib, python-pytest, and python-setuptools-scm.
2020-03-05 21:46:12 +01:00
Ricardo Wurmus 7032c1cc60
gnu: Add python-zarr.
* gnu/packages/python-xyz.scm (python-zarr): New variable.
2020-03-05 21:46:05 +01:00
Ricardo Wurmus 8e04b233f1
gnu: Add python-asciitree.
* gnu/packages/python-xyz.scm (python-asciitree): New variable.
2020-03-05 21:45:55 +01:00
Ricardo Wurmus 241409cd8a
gnu: Add python-numcodecs.
* gnu/packages/python-xyz.scm (python-numcodecs): New variable.
2020-03-05 21:45:46 +01:00