Commit Graph

25472 Commits

Author SHA1 Message Date
Ludovic Courtès 94e86a6b67
graft: Correctly replace references near the end of the scan buffer.
Fixes <http://bugs.gnu.org/28212>.
Reported by Leo Famulari <leo@famulari.name>.

* guix/build/graft.scm (replace-store-references): When I >= END, check
whether WRITTEN > END and call 'get-bytevector-n!' when it is.
* tests/grafts.scm (buffer-size): New variable.
("replace-store-references, <http://bugs.gnu.org/28212>"): New test.
2017-08-24 23:55:51 +02:00
Ludovic Courtès 5e60bef980
Revert "graph: Provide access to the package record in the emit functions."
This reverts commit 5d7e854365, which
broke 'tests/graph.scm' and broke node types not related to <package>
objects, such as '%reference-node-type'.
2017-08-24 23:55:51 +02:00
Ludovic Courtès 649c438c23
gnu: font-mathjax: Move to javascript.scm.
This avoids cross-module top-level references.

* gnu/packages/fonts.scm (font-mathjax): Move to...
* gnu/packages/javascript.scm (font-mathjax): ... here.  New variable.
2017-08-24 23:55:51 +02:00
Ludovic Courtès 87f057c46e
gnu: font-go: Remove reference to 'go-1.4'.
This avoids circular references at the top level.

* gnu/packages/fonts.scm (font-go)[license]: Remove reference to
GO-1.4.
2017-08-24 23:55:51 +02:00
Stefan Reichör 84342e2fa9
gnu: Add honcho.
* gnu/packages/python.scm (python-honcho, python2-honcho): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-08-24 21:27:23 +02:00
Marius Bakke a251838d67
gnu: maim: Update to 5.4.68.
* gnu/packages/xdisorg.scm (maim): Update to 5.4.68.
2017-08-24 21:21:04 +02:00
Marius Bakke 8752fa6cba
gnu: slop: Update to 7.3.49.
* gnu/packages/xdisorg.scm (slop): Update to 7.3.49.
2017-08-24 21:21:04 +02:00
Ricardo Wurmus 3f8efbb9a4
gnu: guile-wm: Update source URL.
* gnu/packages/guile-wm.scm (guile-wm)[source]: Use archived URL.
2017-08-24 20:42:45 +02:00
Thomas Danckaert 17e56dac12
gnu: libreoffice: Fix icons, enable liblangtag.
* gnu/packages/libreoffice.scm (libreoffice) [inputs]: Add liblangtag.
  [arguments]: Correct icon names in .desktop files; copy desktop files &
  icons for libreoffice-math and libreoffice-startcenter; enable parallel
  build; enable liblangtag.
2017-08-24 19:52:16 +02:00
Tobias Geerinckx-Rice 5cdb0cd380
gnu: dovecot: Update to 2.2.32.
* gnu/packages/mail.scm (dovecot): Update to 2.2.32.
2017-08-24 16:38:47 +02:00
Efraim Flashner 5fc9b6c108
gnu: lollypop: Use pseudo meson build system.
* gnu/packages/gnome.scm (lollypop)[arguments]: Disable tests. Delete
configure phase, replace build and install phase with custom phases.
[native-inputs]: Add ninja.
[propagated-inputs]: Move gst-plugins-base ...
[inputs]: ... to here. Add meson.
2017-08-24 15:33:13 +03:00
Hartmut Goebel e3c13d044f
gnu: libksysguard: Enable more tests (not all working yet).
* gnu/packages/kde.scm (libksysguard)[arguments]
  <#:phases>'check-setup': Set QT_QPA_PLATFORM=offscreen.
  <#:phases>'check': Enable all tests except of the failing one.
2017-08-24 12:32:34 +02:00
Arun Isaac 2d6da7942a
gnu: python2-ttystatus: Update to 0.35.
* gnu/packages/python.scm (python2-ttystatus): Update to 0.35.
2017-08-24 14:28:41 +05:30
Arun Isaac f6c5821530
gnu: cliapp: Update to 1.20170823.
* gnu/packages/python.scm (python2-cliapp): Update to 1.20170823.
2017-08-24 14:20:45 +05:30
Efraim Flashner c47048c328
gnu: datamash: Update to 1.2.
* gnu/packages/datamash.scm (datamash): Update to 1.2.
2017-08-24 10:35:00 +03:00
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