Commit Graph

46887 Commits

Author SHA1 Message Date
Giacomo Leidi a830d14d4b
gnu: Add libgit2-glib.
* gnu/packages/gnome.scm (libgit2-glib): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Guillaume Le Vaillant 7d30b58808
gnu: gramps: Update to 5.0.2.
* gnu/packages/genealogy.scm (gramps): Update to 5.0.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Guillaume Le Vaillant 66d146639d
gnu: txr: Update to 223.
* gnu/packages/lisp.scm (txr): Update to 223.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Timotej Lazar 3b165f2a40
gnu: wpa-supplicant: install documentation.
* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Rename
'install-man-pages' phase to 'install-documentation'; install READMEs
and the example config file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Ludovic Courtès c85ccf60bf
linux-modules: Define and use a module name database.
Fixes <https://bugs.gnu.org/34902>.
Reported by Julien Lepiller <julien@lepiller.eu>.

* gnu/build/linux-modules.scm (module-formal-name): New procedure.
(load-linux-modules-from-directory)[lookup-module]: Remove.
[module-name->file-name]: New variable.  Use it.
(module-name->file-name/guess, module-name-lookup)
(write-module-name-database): New procedures.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Call
'write-module-name-database'.
2019-08-16 23:00:27 +02:00
Ludovic Courtès e1a9a7f275
linux-modules: Add 'load-linux-modules-from-directory'.
* gnu/build/linux-modules.scm (load-linux-modules-from-directory): New
procedure.
* gnu/build/linux-boot.scm (boot-system)[lookup-module]: Remove.
Use 'load-linux-modules-from-directory' instead.
2019-08-16 23:00:27 +02:00
Ludovic Courtès 2a693b69ca
linux-modules: Add "modules.devname" writer.
* gnu/build/linux-modules.scm (aliases->device-tuple)
(write-module-device-database): New procedures.
(%not-dash): New variable.

Co-authored-by: Danny Milosavljevic <dannym@scratchpost.org>.
2019-08-16 23:00:27 +02:00
Danny Milosavljevic 4f8b9d1a6f
linux-modules: Add "modules.alias" writer.
* gnu/build/linux-modules.scm (write-module-alias-database): New
procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-08-16 23:00:27 +02:00
Ludovic Courtès 268896444b
derivations: Delete duplicate inputs when computing derivation hash.
Fixes <https://bugs.gnu.org/36777>.
Reported by Carl Dong <contact@carldong.me>.

* guix/derivations.scm (derivation/masked-inputs): Call
'delete-duplicates' on INPUTS.
* tests/derivations.scm ("derivation with duplicate fixed-output inputs"):
New test.
2019-08-16 23:00:26 +02:00
Ludovic Courtès a7c714d398
channels: Add 'profile-channels'.
* guix/channels.scm (profile-channels): New procedure.
* guix/scripts/describe.scm (display-profile-info)[channels]: Define in
terms of 'profile-channels'.
2019-08-16 23:00:26 +02:00
Ricardo Wurmus b65bd33c36
gnu: r-edger: Update to 3.26.7.
* gnu/packages/bioinformatics.scm (r-edger): Update to 3.26.7.
2019-08-16 22:41:27 +02:00
Alva 93b3ef1966
gnu: font-ibm-plex: Update to 2.0.0.
* gnu/packages/fonts.scm (font-ibm-plex): Update to 2.0.0.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2019-08-16 21:40:00 +02:00
Tobias Geerinckx-Rice f781251bf2
gnu: wcslib: Update to 6.4.
* gnu/packages/astronomy.scm (wcslib): Update to 6.4.
2019-08-16 21:14:44 +02:00
Ricardo Wurmus 5063deab08
import: cran: Support experiment and annotation packages.
* guix/import/cran.scm (%bioconductor-packages-list-url): Replace variable...
(bioconductor-packages-list-url): ...with this procedure.
(bioconductor-packages-list): Accept optional TYPE argument.
(latest-bioconductor-package-version): Same.
(fetch-description): Determine package type and use it in calls to
LATEST-BIOCONDUCTOR-PACKAGE-VERSION and BIOCONDUCTOR-URI.
(description->package): Pass package type to URI helper procedure; include
package type in annotation or experiment packages from Bioconducter.
2019-08-16 15:07:22 +02:00
Ricardo Wurmus c586f427b4
build-system/r: bioconductor-uri: Take optional package type.
* guix/build-system/r.scm (bioconductor-uri): Take optional TYPE argument to
return annotation or experiment URLs.
2019-08-16 15:07:22 +02:00
Jakob L. Kreuze 4cc5e5204b
machine: Use 'become-command'.
* gnu/machine/ssh.scm (managed-host-remote-eval): Pass an appropriate
'become-command' to 'remote-eval'.
* guix/ssh.scm (remote-authorize-signing-key): Add optional
'become-command' argument.
All callers changed.
2019-08-16 08:47:28 -04:00
Jakob L. Kreuze ddef146b89
remote: Resolve missing 'G_'.
* guix/remote.scm: Require (guix i18n).
2019-08-16 08:45:44 -04:00
Mark H Weaver ccff55a25e
gnu: linux-libre: Update to 5.2.9.
* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.9.
(linux-libre-5.2-pristine-source)[hash]: Update hash.
2019-08-16 05:33:54 -04:00
Mark H Weaver 97f40332d4
gnu: linux-libre@4.19: Update to 4.19.67.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.67.
(linux-libre-4.19-pristine-source)[hash]: Update hash.
2019-08-16 05:33:09 -04:00
Mark H Weaver f1d2e4bac0
gnu: linux-libre@4.14: Update to 4.14.139.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.139.
(linux-libre-4.14-pristine-source)[hash]: Update hash.
2019-08-16 05:32:01 -04:00
Jelle Licht 44881cad93
gnu: Add swagger-diff.
* gnu/packages/ruby.scm (swagger-diff): New variable.
2019-08-15 22:00:02 +02:00
Jelle Licht 369faa5995
gnu: Add ruby-json-schema.
* gnu/packages/ruby.scm (ruby-json-schema): New variable.
2019-08-15 20:42:10 +02:00
Efraim Flashner d4cf5b018a
gnu: einstein: Use mirror for source download.
* gnu/packages/games.scm (einstein)[source]: Use 'mirror' syntax.
2019-08-15 21:03:19 +03:00
Marius Bakke e3a39ade71
gnu: Remove python2-internetarchive.
This trivial package fails to build and has no reverse dependencies.

* gnu/packages/web.scm (python2-internetarchive): Remove variable.
(python-internetarchive)[properties]: Remove.
2019-08-15 19:40:28 +02:00
Marius Bakke ef8c83bdb9
gnu: python-responses: Update to 0.10.6.
* gnu/packages/python-web.scm (python-responses): Update to 0.10.6.
2019-08-15 19:18:11 +02:00
Ricardo Wurmus a9815a6cf2
gnu: Add r-cistopic.
* gnu/packages/bioconductor.scm (r-cistopic): New variable.
2019-08-15 17:44:25 +02:00
Ricardo Wurmus bb88417fb7
gnu: Add r-rcistarget.
* gnu/packages/bioconductor.scm (r-rcistarget): New variable.
2019-08-15 17:44:25 +02:00
Ricardo Wurmus 19f1aac0e7
gnu: Add r-lda.
* gnu/packages/cran.scm (r-lda): New variable.
2019-08-15 17:44:25 +02:00
Ricardo Wurmus 86d3822862
gnu: Add r-liger.
* gnu/packages/cran.scm (r-liger): New variable.
2019-08-15 17:03:23 +02:00
Ricardo Wurmus 9c3bfea673
gnu: Add r-patchwork.
* gnu/packages/cran.scm (r-patchwork): New variable.
2019-08-15 17:03:23 +02:00
Ricardo Wurmus 6e7553ffe0
gnu: Add r-rann-l1.
* gnu/packages/cran.scm (r-rann-l1): New variable.
2019-08-15 17:03:23 +02:00
Rutger Helling 2cbe7044ea
Revert "gnu: libinput: Update to 1.14.0."
This reverts commit dfdd7380a1.
libinput-minimal causes too many rebuilds.
2019-08-15 16:28:21 +02:00
Rutger Helling dfdd7380a1
gnu: libinput: Update to 1.14.0.
* gnu/packages/freedesktop.scm (libinput): Update to 1.14.0.
2019-08-15 16:21:53 +02:00
Ricardo Wurmus 1c4e6aa938
gnu: Add itk-snap.
* gnu/packages/image-processing.scm (itk-snap): New variable.
2019-08-15 14:09:14 +02:00
Ricardo Wurmus 07f36b0c53
gnu: Add insight-toolkit-4.12.
* gnu/packages/image-processing.scm (insight-toolkit-4.12): New variable.
2019-08-15 14:09:14 +02:00
Ricardo Wurmus 8f4d457d93
gnu: Add insight-toolkit-4.
* gnu/packages/image-processing.scm (insight-toolkit-4): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus d7701e1b94
gnu: Add insight-toolkit.
* gnu/packages/image-processing.scm (insight-toolkit): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus 4243af4e57
gnu: Add vxl-1.
* gnu/packages/image-processing.scm (vxl-1): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus 02e1acfb2a
gnu: Add vxl.
* gnu/packages/image-processing.scm (vxl): New variable.
2019-08-15 14:09:13 +02:00
Ricardo Wurmus 18696f7acf
gnu: Add vtk-6.
* gnu/packages/image-processing.scm (vtk-6): New variable.
2019-08-15 14:08:59 +02:00
Jakob L. Kreuze 5f32531770
remote: Use (%daemon-socket-uri) rather than hard-coded path.
* guix/remote.scm (remote-eval): Use (%daemon-socket-uri) as the default
value of 'socket-name' rather than hard-coded path.
2019-08-15 07:43:21 -04:00
Jakob L. Kreuze 3967a946c6
doc: Add description of 'build-locally?'.
* doc/guix.texi (Invoking guix deploy): Add section describing the
'build-locally?' field of 'managed-host-environment-type'.
2019-08-15 07:43:17 -04:00
Jakob L. Kreuze 3033d59ac9
machine: Automatically authorize the coordinator's signing key.
* guix/ssh.scm (remote-authorize-signing-key): New variable.
* gnu/machine/ssh.scm (deploy-managed-host): Authorize coordinator's
signing key before any invocations of 'remote-eval'.
(deploy-managed-host): Display an error if a signing key does not exist.
* doc/guix.texi (Invoking guix deploy): Remove section describing manual
signing key authorization.
(Invoking guix deploy): Add section describing the 'authorize?' field.
2019-08-15 07:43:13 -04:00
Jakob L. Kreuze 9c70c460a0
machine: Implement 'roll-back-machine'.
* gnu/machine.scm (roll-back-machine, &deploy-error, deploy-error?)
(deploy-error-should-roll-back)
(deploy-error-captured-args): New variable.
* gnu/machine/ssh.scm (roll-back-managed-host): New variable.
* guix/scripts/deploy.scm (guix-deploy): Roll-back systems when a
deployment fails.
2019-08-15 07:43:09 -04:00
Jakob L. Kreuze 5ea7537b9a
machine: Allow non-root users to deploy.
* doc/guix.texi (Invoking guix deploy): Add section describing
prerequisites for deploying as a non-root user.
* guix/remote.scm (remote-pipe-for-gexp): New optional 'become-command'
argument.
(%remote-eval): New optional 'become-command' argument.
(remote-eval): New 'become-command' keyword argument.
* guix/ssh.scm (remote-inferior): New optional 'become-command'
argument.
(inferior-remote-eval): New optional 'become-command' argument.
(remote-authorize-signing-key): New optional 'become-command' argument.
* gnu/machine/ssh.scm (machine-become-command): New variable.
(managed-host-remote-eval): Invoke 'remote-eval' with the
'#:become-command' keyword.
(deploy-managed-host): Invoke 'remote-authorize-signing-key' with the
'#:become-command' keyword.
2019-08-15 07:43:03 -04:00
Jakob L. Kreuze 03cbd94d48
remote: Remove '--system' argument.
* gnu/services.scm (activation-script): Return a <program-file> rather
than a <scheme-file>.
* gnu/deploy.scm (guix-deploy): Remove handling for '--system'.
(show-help): Remove documentation for '--system'.
(%default-options): Remove default setting for 'system'.
2019-08-14 15:38:13 -04:00
Jakob L. Kreuze 2c8e04f136
remote: Build derivations appropriate for the remote's
* gnu/machine/ssh.scm (machine-ssh-configuration): Add 'system' field.
(managed-host-remote-eval): Pass 'system' field to 'remote-eval'.
(machine-check-building-for-appropriate-system): New variable.
(check-deployment-sanity): Add call to
'machine-check-building-for-appropriate-system'.
* doc/guix.texi (Invoking guix deploy): Describe new 'system' field.
* guix/ssh.scm (remote-system): New variable.
* guix/remote.scm (remote-eval): Use result of 'remote-system' when
lowering the G-Expression.
(remote-eval): Add 'system' keyword argument.
(trampoline): Return a <program-file> rather than a <scheme-file>.
2019-08-14 15:38:09 -04:00
Carl Dong 67dac6b892
gnu: mingw: Add x86_64 support.
This patch parameterizes previously hard-coded instances of
i686-w64-mingw32, adding support for x86_64-w64-mingw32.

* gnu/packages/mingw.scm (make-mingw-w64): New procedure.
(mingw-w64-i686, mingw-w64-x86_64): New variables.
(%mingw-triplet): Remove.
(mingw-w64): Update to point to 'mingw-w64-i686'.
* gnu/packages/cross-base.scm (cross-gcc): Use 'libc' keyword argument
if specified, instead of treating it as a boolean.
(native-libc): Return the correct mingw-w64 depending on machine
specified in target.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add "x86_64-mingw".
* gnu/build/cross-toolchain.scm (set-cross-path/mingw): Replace
hardcoded 'i686-w64-mingw32' instances with 'target' keyword argument.
(cross-gcc-build-phases): Update accordingly; use 'target-mingw?'
implementation of target checking and add commentary.
* gnu/ci.scm (%cross-targets): Add "x86_64-w64-mingw32".
2019-08-14 21:29:53 +02:00
Eric Bavier 4afdb79249
gnu: onionshare: Upgrade to 2.1.
* gnu/packages/tor.scm (onionshare): Upgrade to 2.1.
[arguments]: Rename "tests" phase to "check".  Set home directory for tests.
Remove reference to closed upstream bug.
[inputs]: Add python-pycrypto and python-pysocks.
[license]: Remove bsd-3 license; relevant file no longer present.
2019-08-13 22:34:57 -05:00
Carlo Zancanaro 588a0a335d
gnu: Blender: Use opensubdiv.
Fixes <https://bugs.gnu.org/36977>.

* gnu/packages/graphics.scm (blender)[inputs]: Add opensubdiv.
[arguments]: Add "-DWITH_OPENSUBDIV=ON" to #:configure-flags.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-08-13 14:43:42 -04:00