Commit Graph

24050 Commits

Author SHA1 Message Date
Ludovic Courtès e4925e00ca
packages: Use Guile 2.0 for grafting.
Works around <https://bugs.gnu.org/28211>.
Reported by Marius Bakke <mbakke@fastmail.com>.

* guix/packages.scm (guile-2.0): New procedure.
(package-derivation, package-cross-derivation): Use it when computing
the #:guile argument to 'graft-derivation'.
2017-08-24 00:41:44 +02:00
Andy Wingo 045ebb3e58
gnu: bootloader: Deprecate "device" field in favor of "target".
* gnu/bootloader.scm (<bootloader-configuration>): Deprecate "device" field in
favor of "target" field.  This is mostly a renaming but also a generalization
to support UEFI targets being paths to a mounted partition instead of a device
name.
* gnu/system/examples/bare-bones.tmpl:
* gnu/system/examples/desktop.tmpl:
* gnu/system/examples/lightweight-desktop.tmpl:
* gnu/system/examples/vm-image.tmpl:
* gnu/system/install.scm:
* gnu/tests.scm:
* gnu/tests/install.scm:
* gnu/tests/nfs.scm:
* tests/system.scm: Adapt all invocations of bootloader-configuration.
* guix/scripts/system.scm (perform-action): Rename device argument to
bootloader-target.
(process-action): Adapt caller.
* doc/guix.texi (Proceeding with the Installation):
* doc/guix.texi (Bootloader Configuration): Update documentation.
2017-08-23 22:23:19 +02:00
Andy Wingo ba015ce9c0
gnu: scripts: Cleanup regarding "gnu system" bootloader devices.
* guix/scripts/system.scm (install-bootloader, install): Remove unused
"device" argument.
(reinstall-bootloader, perform-action): Adapt callers.
2017-08-23 22:23:06 +02:00
Efraim Flashner f81039058c
gnu: qemu: Fix CVE-2017-12809.
* gnu/packages/virtualization.scm (qemu)[source]: Add patch.
* gnu/packages/patches/qemu-CVE-2017-12809.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-08-23 21:56:55 +03:00
Efraim Flashner f00e328fd3
gnu: openjpeg: Fix CVE-2017-12982.
* gnu/packages/image.scm (openjepg)[source]: Add patch.
* gnu/packages/patches/openjpeg-CVE-2017-12982.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2017-08-23 21:07:07 +03:00
Ricardo Wurmus d7eea7d7ae
gnu: python-scikit-learn: Update to 0.19.0.
* gnu/packages/python.scm (python-scikit-learn): Update to 0.19.0.
2017-08-23 17:31:54 +02:00
Rutger Helling cc527b5048
gnu: xpra: Update to 2.1.1.
* gnu/packages/xorg.scm (xpra): Update to 2.1.1.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 20:38:09 +08:00
Rutger Helling 8a7f958ed9
gnu: higan: Update to 104.
* gnu/packages/games.scm (higan): Update to 104.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 20:24:15 +08:00
Rutger Helling 56cdca9537
gnu: retroarch: Update to 1.6.7.
* gnu/packages/games.scm (retroarch): Update to 1.6.7.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 20:13:41 +08:00
Thomas Danckaert 35e657017c
gnu: id3lib: Remove bundled zlib.
* gnu/packages/mp3.scm (id3lib)[source]: Remove bundled zlib.
[inputs]: Add zlib.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2017-08-23 19:58:26 +08:00
Christopher Baines c075c8fd0c
tests: Add 'libvirt-service-type' test.
* gnu/tests/virtualization.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
2017-08-23 12:48:11 +01:00
Ryan Moe e6051057ab
services: Add libvirt services
* gnu/services/virtualization.scm: New file.
* doc/guix.texi (Virtualization Services): Document it.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2017-08-23 12:47:24 +01:00
Christopher Baines 903e051a71
gnu: libvirt: Wrap with iproute and qemu.
libvirtd runs qemu if it's configured to use it, and also uses the ip command.

* gnu/packages/virtualization.scm (libvirt)[arguments]: Add wrap-libvirtd
  phase.
2017-08-23 12:44:21 +01:00
Christopher Baines 0577a3fd92
gnu: Build the shared library for yaml-cpp.
* gnu/packages/serialization.scm (yaml-cpp)[arguments]: Add
  -DBUILD_SHARED_LIBS=ON to #:configure-flags.
2017-08-23 10:07:22 +01:00
Ludovic Courtès 7d14082d56
services: herd: Actions return a list of results.
Fixes a regression introduced in
0642838b2e.

* gnu/services/herd.scm (invoke-action): Explain that we get a list of
results.
(current-services): Expect a list of result and use the first one.
(unload-service, %load-file, eval-there): Likewise.
2017-08-23 00:29:22 +02:00
Marius Bakke 4e58740aff
gnu: whois: Update to 5.2.18.
* gnu/packages/networking.scm (whois): Update to 5.2.18.
2017-08-22 23:17:14 +02:00
Marius Bakke ed8634c404
bash completion: Complete files names after 'guix download'.
* etc/completion/bash/guix (_guix_complete): When the command is "download",
use __guix_complete_file.
2017-08-22 23:13:42 +02:00
Marius Bakke 2e4569829e
gnu: Add f2fs-tools.
* gnu/packages/linux.scm (f2fs-tools): New variable.
2017-08-22 23:13:42 +02:00
Marius Bakke 7ac2cab8c9
gnu: Add icedtea-web.
* gnu/packages/java.scm (icedtea-web): New variable.
2017-08-22 23:02:13 +02:00
ng0 77a0354a36
gnu: gnurl: Update to 7.55.1-3.
* gnu/packages/gnunet.scm (gnurl): Update to 7.55.1-3.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2017-08-22 21:52:05 +02:00
Christopher Baines 39fc3004be
web: Remove the nginx-service procedure.
Now that the service-type has a default value, and configuration record is
accessible.

* gnu/services/web.scm (nginx-service): Remove procedure.
* doc/guix.texi (Web Services): Update and improve NGinx documentation.
2017-08-22 17:49:05 +01:00
Christopher Baines ad4cc435e8
web: Add default-value for the nginx-service-type.
* gnu/services/web.scm (nginx-service-type)[default-value]:
  Use (nginx-configuration).
2017-08-22 17:49:00 +01:00
Christopher Baines e4b729f89c
web: Export more nginx related procedures, macros and record types.
This makes it possible to work with the configuration of the NGinx service
programatically.

* gnu/services/web.scm (<nginx-configuration>, <nginx-server-configuration>,
  <nginx-upstream-configuration>, <nginx-location-configuration>,
  <nginx-named-location-configuration>): Export NGinx related record
  types.
  (nginx-configuration-*, nginx-server-configuration-*,
  nginx-upstream-configuration-*, nginx-location-configuration-*,
  nginx-named-location-configuration-*): Export NGinx related record
  procedures.
  (nginx-configuration): Export NGinx related record macro.
2017-08-22 17:48:54 +01:00
Ricardo Wurmus bd3a184613
gnu: r-minimal: Do not compress serialized files.
* gnu/packages/statistics.scm (r-minimal)[arguments]: Replace build phase
"patch-which" with "do-not-compress-serialized-files".
[propagated-inputs]: Move "which" from here...
[inputs]: ...to here.

Fixes <https://bugs.gnu.org/28157>.
2017-08-22 16:24:24 +02:00
Ricardo Wurmus 6be54a8751
gnu: Add rmath-standalone.
* gnu/packages/statistics.scm (rmath-standalone): New variable.
2017-08-22 16:24:24 +02:00
Efraim Flashner 94b179c675
gnu: gst-plugins-bad: Build with wayland support.
* gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Add wayland.
2017-08-22 17:04:39 +03:00
Efraim Flashner fe535d81ae
gnu: libraw: Update to 0.18.2.
* gnu/packages/photo.scm (libraw): Update to 0.18.2.
[source, home-page]: Use https.
2017-08-22 16:57:59 +03:00
Z. Ren 0e4d822e3f
gnu: skalibs: Build reproducibly.
* gnu/packages/skarnet.scm (skalibs)[arguments]: Add #:phases.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-22 15:19:49 +02:00
Ludovic Courtès c15374e03d
gnu: libjpeg-turbo: Build reproducibly.
* gnu/packages/image.scm (libjpeg-turbo)[arguments]: Add #:configure-flags.

Co-authored-by: Z. Ren <zren@dlut.edu.cn>
2017-08-22 15:19:49 +02:00
Thomas Danckaert 1206c95a49
gnu: python-netcdf4: Update to 1.2.9.
* gnu/packages/python.scm (python-netcdf4): Update to 1.2.9.
2017-08-22 09:02:32 +02:00
Thomas Danckaert 5c78db6222
gnu: python-h5py: Update to 2.7.0.
* gnu/packages/python.scm (python-h5py): Update to 2.7.0.
2017-08-22 09:02:24 +02:00
Efraim Flashner 285e18e9ae
gnu: terminology: Update to 1.1.0.
* gnu/packages/enlightenment.scm (terminology): Update to 1.1.0.
[source]: Remove bundled fonts and references to them.
[native-inputs]: Add gettext-minimal.
2017-08-22 09:49:27 +03:00
Oleg Pykhalov 61b31ac46f
gnu: Update emacs-rainbow-mode to 0.13.
* gnu/packages/emacs.scm (emacs-rainbow-mode): Update to 0.13.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-08-22 00:00:56 +02:00
Oleg Pykhalov 86a9b1633c
gnu: python-internetarchive: Update to 1.7.1.
* gnu/packages/web.scm (python-internetarchive): Update to 1.7.1.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-08-22 00:00:56 +02:00
Tobias Geerinckx-Rice 58f3d45996
gnu: python-marshmallow: Update to 3.0.0b3.
* gnu/packages/python.scm (python-marshmallow): Update to 3.0.0b3.
2017-08-21 22:54:38 +02:00
Tobias Geerinckx-Rice 4ecab114fd
gnu: python-pylast: Update to 1.9.0.
* gnu/packages/python.scm (python-pylast): Update to 1.9.0.
2017-08-21 22:54:38 +02:00
Tobias Geerinckx-Rice 3592a57255
gnu: lollypop: Update to 0.9.244.
* gnu/packages/gnome.scm (lollypop): Update to 0.9.244.
2017-08-21 22:54:37 +02:00
Tobias Geerinckx-Rice 9f9d2a723f
gnu: gspell: Update to 1.4.2.
* gnu/packages/gnome.scm (gspell): Update to 1.4.2.
2017-08-21 22:54:37 +02:00
Marius Bakke 3ce16aeac5
gnu: imagemagick: Update to 6.9.9-9.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.9-9.
2017-08-21 22:48:44 +02:00
Marius Bakke 51eecee7b9
gnu: feh: Update to 2.19.3.
* gnu/packages/image-viewers.scm (feh): Update to 2.19.3.
2017-08-21 22:48:44 +02:00
Tobias Geerinckx-Rice 88648855f8
gnu: perl-net-dns: Update to 1.12.
* gnu/packages/networking.scm (perl-net-dns): Update to 1.12.
2017-08-21 17:38:08 +02:00
Tobias Geerinckx-Rice 46057c0a3f
gnu: zstd: Update to 1.3.1.
* gnu/packages/compression.scm (zstd): Update to 1.3.1.
2017-08-21 17:38:07 +02:00
Dave Love 6c171ff47c
gnu: openmpi: Configure without vampirtrace.
VT is obsoleted by scorep (not currently packaged) and disabling it reduces
the closure considerably.

* mpi.scm (openmpi)[arguments]: Configure without vampirtrace.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love df981d8b36
gnu: openmpi: Modify configuration to reduce closure.
devel-headers are only for building MCA components, produce a large
closure and aren't normally packaged.  Only the affinity component of
mpi-ext is useful.

* gnu/packages/mpi.scm (openmpi)[arguments]: Don't configure
--with-devel-headers and --enable-mpi-ext=all.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love 0d97d3cbff
gnu: openmpi: Remove references to compiler pathnames in "_info" programs.
This reduces the closure greatly, but note that the Fortran .mod files are
gfortran version-specific, so there should probably be development packages
for each incompatible version.  (The runtime is supposed to be more-or-less
version-independent unless the libgfortran soname changes.)  There may still
be a case for a separate runtime output.

* gnu/packages/mpi.scm (openmpi)[arguments]: Add "remove-absolute" phase.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love 84bf845abc
gnu: valgrind: Add separate "doc" output.
* gnu/packages/valgrind.scm (valgrind)[outputs]: New field.
[arguments]: Add 'install-doc' phase.

Co-authored-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2017-08-21 17:04:54 +02:00
Dave Love 327404aeaa
gnu: openmpi: Remove "static" output.
--enable-static removes dynamically-loaded MCA components.

* gnu/packages/mpi.scm (openmpi)[outputs]: Remove field.
[arguments]: Don't configure with --enable-static; remove
'move-static-libraries' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:54 +02:00
Dave Love 685bef2bd1
gnu: openmpi: Add separate variant with thread-multiple support.
* gnu/packages/mpi.scm (openmpi)[arguments]: Remove
"--enable-mpi-thread-multiple".
(openmpi-thread-multiple): New variable.

Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
2017-08-21 17:04:54 +02:00
Theodoros Foradis cf684d87d7
gnu: z3: Build Python bindings.
* gnu/packages/maths.scm (z3): Add python bindings.
[build-system]: Change to cmake-build-system.
[arguments]: Remove "changedir" phase.  Add "bootstrap" and
"make-test-z3" phases; replace the "check" phase.
Add #:configure-flags.  Remove #:test-target.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-08-21 17:04:53 +02:00
Efraim Flashner bd2e321061
gnu: augeas: Update to 1.8.1. Fixes CVE-2017-7555.
* gnu/packages/augeas.scm (augeas): Update to 1.8.1.
2017-08-21 16:02:23 +03:00