Commit Graph

20340 Commits

Author SHA1 Message Date
Ludovic Courtès cbe0af11b2
tests: dicod: Bail out if we cannot connect within 20 seconds.
* gnu/tests/dict.scm (run-dicod-test)["connect inside"]: Bail out after
20 seconds of failure to connect.
2017-04-16 00:48:08 +02:00
Ludovic Courtès 3d3c565008
services: Add a default value to various service types.
* gnu/services/admin.scm (rottlog-service-type)[default-value]: New
field.
* gnu/services/base.scm (guix-service-type)[default-value]: New field.
(guix-publish-service-type)[default-value]: New field.
* gnu/services/cups.scm (cups-service-type)[default-value]: New field.
* gnu/services/dict.scm (dicod-service-type)[default-value]: New field.
* gnu/services/mcron.scm (mcron-service-type)[default-value]: New field.
* gnu/services/networking.scm (<tor-configuration>)[config-file]: Add
default value.
(tor-service-type)[default-value]: New field.
(<bitlbee-configuration>)[interface, port, extra-settings]: Add default
values.
(bitlbee-service-type)[default-value]: New field.
(wpa-supplicant-service-type)[default-value]: New field.
(tlp-service-type)[default-value]: New field.
(openssh-service-type)[default-value]: New field.
* doc/guix.texi (Base Services, Log Rotation)
(Networking Services, Printing Services):
(Power management Services): Adjust examples accordingly.
2017-04-16 00:48:08 +02:00
Ludovic Courtès 1bb895eabf
services: Service types can now specify a default value for instances.
* gnu/services.scm (&no-default-value): New variable.
(<service-type>)[default-value]: New field.
(<service>): Rename constructor from 'service' to 'make-service'.
(service): New macro.
(%service-with-default-value): New procedure.
(&missing-value-service-error): New error condition.
* tests/services.scm ("services, default value"): New test.
* doc/guix.texi (Service Types and Services): Document 'default-value'.
(Service Reference): Explain default values.
2017-04-16 00:48:08 +02:00
Ludovic Courtès f816dba680
ui: Gracefully report '&message' conditions.
* guix/ui.scm (report-load-error, warn-about-load-error)
(read/eval): Add special-case for SRFI-35 &message conditions.
2017-04-16 00:48:07 +02:00
Ludovic Courtès efe7d19a9e
services: 'service-parameters' becomes 'service-value'.
* gnu/services.scm (<service>)[parameters]: Rename to...
[value]: ... this.
Change calls to 'service-parameters' to 'service-value'.
* gnu/system.scm, gnu/tests/base.scm,
guix/scripts/system.scm, tests/services.scm: Likewise.
* doc/guix.texi (Service Reference): Adjust accordingly.
2017-04-16 00:48:07 +02:00
Arun Isaac af3f64477c
gnu: racket: Update to 6.8.
* gnu/packages/scheme.scm (racket): Update to 6.8.
2017-04-16 02:50:41 +05:30
Danny Milosavljevic 958a1fda9e
system: Make grub use <menu-entry> instead of <boot-parameters> again.
* gnu/system/grub.scm: Remove boot-parameters->menu-entry.
(grub-configuration): Don't use boot-parameters->menu-entry.
* gnu/system.scm (operating-system-bootcfg): Use menu-entry.
* guix/scripts/system.scm (reinstall-grub): Use profile-grub-entries.
(perform-action): Use profile-grub-entries.
2017-04-15 22:02:38 +02:00
Nicolas Goaziou 2f36d90f2d
gnu: giac-xcas: Update to 1.2.3-37.
* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.3-37.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-15 19:46:41 +02:00
Nicolas Goaziou 891f3dc022
gnu: asymptote: Update to 2.41
* gnu/packages/plotutils.scm (asymptote): Update to 2.41.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-15 19:46:41 +02:00
Peter Mikkelsen 178670c9eb
gnu: idris: Fix idris-default-arguments.
* gnu/packages/idris.scm (idris-default-arguments): Don't set IDRIS_LIBRARY_PATH before
building and change --install to --build.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-15 19:46:40 +02:00
Peter Mikkelsen b74f224744
gnu: idris: Update to 1.0.
* gnu/packages/idris.scm (idris): Update to 1.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-15 19:46:40 +02:00
Mathieu Othacehe 3cd501c859
gnu: speedtest-cli: Update to 1.0.3.
* gnu/packages/networking.scm (speedtest-cli): Update to 1.0.3.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-15 19:46:40 +02:00
Danny Milosavljevic abae042ea4
scripts: system: Introduce profile-boot-parameters.
* guix/scripts/system.scm (profile-boot-parameters): New variable.
(reinstall-grub): Use profile-boot-parameters.
(perform-action): Use profile-boot-parameters.

Follow-up to 2e58e05bb6.
2017-04-15 19:34:00 +02:00
Marius Bakke 8c326cf644
gnu: ceph: Disable failing test.
* gnu/packages/patches/ceph-disable-unittest-throttle.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/storage.scm (ceph)[source]: Use it.
2017-04-15 18:51:00 +02:00
Marius Bakke f91c677c03
gnu: rocksdb: Don't build static library.
* gnu/packages/databases.scm (rocksdb)[arguments]<#:phases>: Add new Makefile
substitution. Remove 'delete-static-library' phase. Adjust
'build-release-libraries' phase to match.
<#:make-flags>: Remove redundant flag.
2017-04-15 18:51:00 +02:00
Marius Bakke bf144793ae
gnu: rocksdb: Disable failing test.
* gnu/packages/databases.scm (rocksdb)[arguments]<#:phases>: Add one more
test to 'disable-failing-tests' phase.
2017-04-15 18:51:00 +02:00
Marius Bakke f71f29cab2
gnu: bc: Update to 1.07.1.
* gnu/packages/algebra.scm (bc): Update to 1.07.1.
[native-inputs]: Add ED and TEXINFO.
[arguments]<#:phases>: Remove.
2017-04-15 18:51:00 +02:00
Marius Bakke e5da4d8b40
gnu: mupdf: Update to 1.11.
Also delete two stray patches that were added in
92ae98e2a0 and lost in a subsequent merge
(mupdf/fixed was already gone at e90e0fad1b).

* gnu/packages/patches/mupdf-CVE-2017-5896.patch,
gnu/packages/patches/mupdf-CVE-2017-5991.patch,
gnu/packages/patches/mupdf-mujs-CVE-2016-10132.patch,
gnu/packages/patches/mupdf-mujs-CVE-2016-10133.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.
* gnu/packages/patches/mupdf-build-with-openjpeg-2.1.patch: Adjust.
* gnu/packages/pdf.scm (mupdf): Update to 1.11.
[source]: Remove mujs patches. Adjust snippet to source rename.
2017-04-15 18:51:00 +02:00
Marius Bakke f46eb986c2
gnu: xf86-video-intel: Update to 2.99.917-5-b57abe2.
* gnu/packages/xorg.scm (xf86-video-intel): Update to 2.99.917-5-b57abe2.
2017-04-15 18:50:59 +02:00
Marius Bakke 4ec1f82c63
gnu: kodi: Update to 18.0_alpha-2-478d306.
* gnu/packages/kodi.scm (kodi): Update to 18.0_alpha-2-478d306.
[arguments]<#:configure-flags>: Remove obsolete flag.
2017-04-15 18:50:59 +02:00
Mathieu Othacehe 2e58e05bb6
system: Pass boot-parameters to (gnu system grub).
* gnu/system.scm (operating-system-bootcfg): Pass boot-parameters.
* gnu/system/grub.scm (boot-parameters->menu-entry): New variable.
(grub-configuration-file): Use boot-parameters->menu-entry.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-15 16:37:55 +02:00
Danny Milosavljevic 0ab1e8ae88
system: grub: Use (first all-entries) instead of (first entries).
* gnu/system/grub.scm (grub-configuration-file): Use (first all-entries)
instead of (first entries).
2017-04-15 15:49:47 +02:00
Danny Milosavljevic 99828febe0
tests: Remove unused import (gnu system grub).
* gnu/tests/web.scm: Remove unused import.
2017-04-15 15:32:25 +02:00
Mathieu Othacehe e61519ab9c
scripts: system: Rename grub? and install-grub? to bootloader? and install-bootloader?.
* guix/scripts/system.scm (perform-action): Rename grub? to bootloader,
(%options): rename install-grub? to install-bootloader?,
(%default-options): ditto,
(process-action): reindent and rename grub? to bootloader?.
2017-04-15 15:22:47 +02:00
Mathieu Othacehe 7085ca9690
system: Rename (internal) grub-device to fs->boot-device.
* gnu/system.scm (grub-device): Rename to...
(fs->boot-device): ... this.
(operating-system-grub.cfg): Adapt.
(operating-system-parameters-file): Adapt.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-15 14:42:50 +02:00
Mathieu Othacehe 07f812c404
vm: Reword grub.cfg to bootcfg.
* gnu/build/vm.scm (register-grub.cfg-root): Reword grub.cfg to bootcfg,
(initialize-hard-disk): ditto,
* gnu/system/vm.scm (system-disk-image): ditto,
(system-qemu-image): ditto,
(system-qemu-image/shared-store): ditto.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-15 14:42:15 +02:00
Mathieu Othacehe c76b3046f6
system: Rename operating-system-grub.cfg to operating-system-bootcfg.
* gnu/system.scm (operating-system-grub.cfg): Rename to...
(operating-system-bootcfg): ... this.
* gnu/system/vm.scm (system-disk-image): Use operating-system-bootcfg.
(system-qemu-image): Use operating-system-bootcfg.
(system-qemu-image/shared-store): Use operating-system-bootcfg.
* guix/scripts/system.scm (perform-action): Use operating-system-bootcfg.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-15 14:41:10 +02:00
Danny Milosavljevic 03daeaa70f
scripts: system: Back out operating-system-bootcfg change.
Follow-up to 475e2ce211.

* guix/scripts/system.scm (perform-action): Back out operating-system-bootcfg
change.
2017-04-15 14:41:10 +02:00
Nicolas Goaziou 32380cdbb1
gnu: wireshark: Update to 2.2.6.
* gnu/packages/networking.scm (wireshark): Update to 2.2.6.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-04-15 17:45:41 +05:30
Danny Milosavljevic 475e2ce211
scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top.
* guix/scripts/system.scm (save-load-path-excursion,
save-environment-excursion): Move definitions to the top of the file.
It allows to use them in the whole file.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-15 13:28:25 +02:00
Mathieu Othacehe c2e9942b8f
system: Rename kernel->grub-label to kernel->boot-label.
* gnu/system.scm (kernel->grub-label): Rename to kernel->boot-label.
(operating-system-grub.cfg): Adapt.
(operating-system-parameters-file): Ditto.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-15 12:39:27 +02:00
Mathieu Othacehe a41134b442
scripts: system: Move save-load-path-excursion and save-environment-excursion macros to the top.
* guix/scripts/system.scm (save-load-path-excursion,
save-environment-excursion): Move definitions to the top of the file.
It allows to use them in the whole file.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-15 12:33:56 +02:00
宋文武 53201c0def
gnu: Add orca.
* gnu/packages/gnome.scm (orca): New package.
2017-04-15 13:10:25 +08:00
宋文武 3e00ac47d6
gnu: Add python-pyatspi.
* gnu/packages/gnome.scm (python-pyatspi): New package.
2017-04-15 13:10:07 +08:00
宋文武 904f8a31ab
gnu: speech-dispatcher: Add more inputs.
* gnu/packages/speech.scm (speech-dispatcher)[inputs]: Add espeak,
pulseaudio and python.
2017-04-15 13:00:21 +08:00
Leo Famulari 9866cf1457
gnu: samba: Update to 4.5.8.
This fixes a regression introduced by the security fixes for CVE-2017-2619.

* gnu/packages/samba.scm (samba): Update to 4.5.8.
2017-04-14 19:34:57 -04:00
Leo Famulari 7736bae9b7
gnu: mutt: Update to 1.8.1.
* gnu/packages/mail.scm (mutt): Update to 1.8.1.
[source]: Use HTTPS URL.
2017-04-14 14:29:23 -04:00
Leo Famulari 8439c9c05e
gnu: gpgme: Update to 1.9.0.
* gnu/packages/gnupg.scm (gpgme): Update to 1.9.0.
2017-04-14 12:53:33 -04:00
Leo Famulari 2f64f4444a
gnu: ncmpc: Update to 0.27.
* gnu/packages/mpd.scm (ncmpc): Update to 0.27.
2017-04-14 12:53:33 -04:00
Leo Famulari ed8a6c1384
gnu: libmpdclient: Update to 2.11.
* gnu/packages/mpd.scm (libmpdclient): Update to 2.11.
2017-04-14 12:53:33 -04:00
Leo Famulari ab71ea93a4
gnu: mysql: Update to 5.7.18.
* gnu/packages/databases.scm (mysql): Update to 5.7.18.
2017-04-14 12:53:28 -04:00
Tobias Geerinckx-Rice 2ff7703b0d
gnu: youtube-dl: Update to 2017.04.14.
* gnu/packages/video.scm (youtube-dl): Update to 2017.04.14.
2017-04-14 18:27:42 +02:00
Tobias Geerinckx-Rice 27a5c60465
gnu: dub: Flesh out synopsis & description.
* gnu/packages/ldc.scm (dub)[synopsis, description]: Actually explain what
dub is and does.
2017-04-14 18:27:42 +02:00
Ludovic Courtès b31b0155ea
build: Download aarch64 bootstrap binaries from alpha.gnu.org.
* build-aux/download.scm (file-name->uri): Remove flashner.co.il URL.
* gnu/packages/package-management.scm (boot-guile-uri): Likewise.
2017-04-14 18:17:58 +02:00
Arun Isaac 4e644ab8a6
gnu: emacs-company: Enable tests.
* gnu/packages/emacs.scm (emacs-company)[arguments]: Add a 'check' phase.
2017-04-14 18:16:15 +05:30
Mathieu Othacehe 960887b297
build: Stop building gnu/build/svg.scm.
* Makefile.am (EXTRA_DIST): Add gnu/build/svg.scm.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove gnu/build/svg.scm.

It fixes the following build warnings:

gnu/build/svg.scm:36:12: warning: possibly unbound variable `cairo-create'
gnu/build/svg.scm:36:26: warning: possibly unbound variable `cairo-image-surface-create'
gnu/build/svg.scm:38:4: warning: possibly unbound variable `cairo-scale'
gnu/build/svg.scm:39:4: warning: possibly unbound variable `cairo-set-source-surface'

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-14 12:29:20 +02:00
Mathieu Othacehe e60ee79040
build-system/cargo: Remove store reference.
* guix/build/cargo-build-system.scm (generate-checksums): Remove store
  reference from comment. This comment was matching
  assert-no-store-file-names regexp in Makefile.am.
  Also, edit procedure docstring to precise that DIR-NAME is a store
  directory.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-14 12:29:20 +02:00
Mathieu Othacehe 11e2087e25
build: Remove build-aux/hydra/demo-os.scm from EXTRA_DIST.
* Makefile.am (EXTRA_DIST): Remove build-aux/hydra/demo-os.scm. The
  file was removed of guix in this commit
  a3a2774501.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-04-14 12:29:20 +02:00
David Thompson f252d6df8b
gnu: Add guile-syntax-highlight.
* gnu/packages/guile.scm (guile-syntax-highlight): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-04-14 12:29:20 +02:00
Ricardo Wurmus 116b29bffb
gnu: julia: Update to 0.5.1.
* gnu/packages/julia.scm (julia): Update to 0.5.1.
2017-04-14 11:03:04 +02:00