jackhill/guix/guix.git
7 years agotests: Add 'opensmtpd-service-type' test.
宋文武 [Sat, 26 Nov 2016 05:51:58 +0000 (13:51 +0800)]
tests: Add 'opensmtpd-service-type' test.

* gnu/tests/mail.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

7 years agognu: libsodium: Update to 1.0.11.
Leo Famulari [Sat, 26 Nov 2016 22:01:14 +0000 (17:01 -0500)]
gnu: libsodium: Update to 1.0.11.

* gnu/packages/crypto.scm (libsodium): Update to 1.0.11.

7 years agognu: libgphoto2: Add XML support.
Tobias Geerinckx-Rice [Sun, 27 Nov 2016 00:25:24 +0000 (01:25 +0100)]
gnu: libgphoto2: Add XML support.

* gnu/packages/photo.scm (libgphoto2)[inputs]: Add libxml2.

7 years agognu: gphoto2: Update to 2.5.10.
Tobias Geerinckx-Rice [Sun, 27 Nov 2016 00:15:38 +0000 (01:15 +0100)]
gnu: gphoto2: Update to 2.5.10.

* gnu/packages/photo.scm (gphoto2): Update to 2.5.10.

7 years agognu: libgphoto2: Update to 2.5.10.
Tobias Geerinckx-Rice [Sun, 27 Nov 2016 00:14:33 +0000 (01:14 +0100)]
gnu: libgphoto2: Update to 2.5.10.

* gnu/packages/photo.scm (libgphoto2): Update to 2.5.10.

7 years agooffload: Call 'machine-load' only once per machine.
Ludovic Courtès [Sat, 26 Nov 2016 22:00:36 +0000 (23:00 +0100)]
offload: Call 'machine-load' only once per machine.

This fixes a longstanding issue where 'choose-build-machine' would make
on average O(N log(N)) calls to 'machine-load', plus an extra call for
the selected machine, instead of N calls.

* guix/scripts/offload.scm (machine-load): Add comment.
(machine-power-factor, machine-less-loaded-or-faster?): Remove.
(choose-build-machine)[machines+slots]: Rename to...
[machines+slots+loads]: ... this.
[undecorate]: Adjust accordingly.
[machine-less-loaded-or-faster?]: New procedure.
Remove extra 'machine-load' call in body.

7 years agognu: Add Mozilla Fira Mono font.
Toni Reina [Sat, 26 Nov 2016 14:12:22 +0000 (15:12 +0100)]
gnu: Add Mozilla Fira Mono font.

* gnu/packages/fonts.scm (font-fira-mono): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: cyrus-sasl: Fix CVE-2013-4122.
Leo Famulari [Sat, 26 Nov 2016 20:03:06 +0000 (15:03 -0500)]
gnu: cyrus-sasl: Fix CVE-2013-4122.

* gnu/packages/patches/cyrus-sasl-CVE-2013-4122.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cyrus-sasl.scm (cyrus-sasl)[replacement]: New field.
(cyrus-sasl/fixed): New variable.
[source]: Use patch.

7 years agognu: ffmpeg: Update to 3.2.1.
Efraim Flashner [Sat, 26 Nov 2016 20:53:13 +0000 (22:53 +0200)]
gnu: ffmpeg: Update to 3.2.1.

* gnu/packages/video.scm (ffmpeg): Update to 3.2.1.

7 years agognu: gst-plugins-good: Fix CVE-2016-{9634,9635,9636} and other security issues.
Leo Famulari [Fri, 25 Nov 2016 06:47:14 +0000 (01:47 -0500)]
gnu: gst-plugins-good: Fix CVE-2016-{9634,9635,9636} and other security issues.

* gnu/packages/patches/gst-plugins-good-fix-crashes.patch,
gnu/packages/patches/gst-plugins-good-fix-invalid-read.patch,
gnu/packages/patches/gst-plugins-good-fix-signedness.patch,
gnu/packages/patches/gst-plugins-good-flic-bounds-check.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/gstreamer.scm (gst-plugins-good): Use them.

7 years agoservices: Factorize configuration abstraction.
Julien Lepiller [Wed, 23 Nov 2016 20:43:42 +0000 (21:43 +0100)]
services: Factorize configuration abstraction.

* gnu/services/mail.scm and gnu/services/cups.scm (&configuration-error)
(configuration-error, configuration-field-error)
(configuration-missing-field, configuration-field, serialize-configuration)
(validate-configuration, define-configuration, uglify-field-name)
(serialize-field, serialize-package, serialize-string)
(serialize-space-separated-string-list, space-separated-string-list?)
(serialize-file-name, file-name?, serialize-field-name)
(generate-documentation): Move duplicate code...
* gnu/services/configuration.scm: ...to this new file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add configuration.scm.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agognu: psyclpc: Update comment.
Leo Famulari [Sat, 26 Nov 2016 18:25:08 +0000 (13:25 -0500)]
gnu: psyclpc: Update comment.

This is a followup to commit eaa45301f46f13a3f71bcae6089d312f31174801.

* gnu/packages/messaging.scm (psyclpc): Update comment.

7 years agognu: Move content of (gnu packages psyc) into (gnu packages messaging).
ng0 [Wed, 23 Nov 2016 19:04:37 +0000 (19:04 +0000)]
gnu: Move content of (gnu packages psyc) into (gnu packages messaging).

* gnu/packages/psyc.scm (perl-net-psyc, libpsyc, psyclpc): Move this ...
* gnu/packages/messaging.scm (perl-net-psyc, libpsyc, psyclpc): ... here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove psyc.scm.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: psyclpc: Upgrade to 20160821-2.61cf9aa.
ng0 [Sat, 26 Nov 2016 18:18:01 +0000 (13:18 -0500)]
gnu: psyclpc: Upgrade to 20160821-2.61cf9aa.

This makes the package reproducible.

* gnu/packages/psyc.scm (psyclpc): Upgrade to 20160821-2.61cf9aa.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: python-flask: Update to 0.11.1.
Danny Milosavljevic [Sat, 26 Nov 2016 13:51:22 +0000 (14:51 +0100)]
gnu: python-flask: Update to 0.11.1.

* gnu/packages/python.scm (python-flask): Update to 0.11.1.
[native-inputs]: Add python-click.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: python-pyopenssl: Update to 16.2.0.
Danny Milosavljevic [Sat, 26 Nov 2016 13:51:21 +0000 (14:51 +0100)]
gnu: python-pyopenssl: Update to 16.2.0.

* gnu/packages/python.scm (python-pyopenssl): Update to 16.2.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: python-simplejson: Update to 3.10.0.
Danny Milosavljevic [Sat, 26 Nov 2016 13:51:20 +0000 (14:51 +0100)]
gnu: python-simplejson: Update to 3.10.0.

* gnu/packages/python.scm (python-simplejson): Update to 3.10.0.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agopull: Add guile-ssh to the dependencies.
宋文武 [Sat, 26 Nov 2016 13:44:37 +0000 (21:44 +0800)]
pull: Add guile-ssh to the dependencies.

Fix regression introduced in 9e76eed.

* build-aux/build-self.scm (guile-ssh): New variable.
(build)[builder]: Add 'guile-ssh' to %load-path and %load-compiled-path.

7 years agognu: Add mumble.
ng0 [Tue, 22 Nov 2016 23:31:25 +0000 (23:31 +0000)]
gnu: Add mumble.

* gnu/packages/telephony.scm (mumble): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: transmission: Update to 2.92.
Marius Bakke [Fri, 25 Nov 2016 02:27:40 +0000 (03:27 +0100)]
gnu: transmission: Update to 2.92.

* gnu/packages/bittorrent.scm (transmission): Update to 2.92.
[inputs]: Add cyrus-sasl.

7 years agognu: roary: Update to 3.7.0.
Ben Woodcroft [Sat, 26 Nov 2016 09:00:17 +0000 (19:00 +1000)]
gnu: roary: Update to 3.7.0.

* gnu/packages/bioinformatics.scm (roary): Update to 3.7.0.

7 years agognu: Add proteinortho.
Ben Woodcroft [Sat, 26 Nov 2016 04:59:30 +0000 (14:59 +1000)]
gnu: Add proteinortho.

* gnu/packages/bioinformatics.scm (proteinortho): New variable.

7 years agognu: Add python-polib.
Julien Lepiller [Fri, 25 Nov 2016 14:29:08 +0000 (15:29 +0100)]
gnu: Add python-polib.

* gnu/packages/python.scm (python-polib, python2-polib): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: Whitespace changes
John Darrington [Thu, 24 Nov 2016 07:15:55 +0000 (08:15 +0100)]
gnu: Whitespace changes

* gnu/services/kerberos.scm: Fold lines to 80 character limit.

7 years agomailmap: Associate all commits by ng0 with ng0.
ng0 [Wed, 23 Nov 2016 22:23:52 +0000 (22:23 +0000)]
mailmap: Associate all commits by ng0 with ng0.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: imagemagick: Update to 6.9.6-6 [fixes CVE-2016-9556].
Leo Famulari [Sat, 26 Nov 2016 05:34:21 +0000 (00:34 -0500)]
gnu: imagemagick: Update to 6.9.6-6 [fixes CVE-2016-9556].

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.6-6.

7 years agodoc: mysql-configuration: Fix typo.
宋文武 [Sat, 26 Nov 2016 04:47:14 +0000 (12:47 +0800)]
doc: mysql-configuration: Fix typo.

* doc/guix.texi (Database Services): Fix typo of 'mysql-configuration'.

7 years agoservices: Add opensmtpd service.
宋文武 [Mon, 21 Nov 2016 12:41:17 +0000 (20:41 +0800)]
services: Add opensmtpd service.

* gnu/services/mail.scm (<opensmtpd-configuration>): New record type.
(%default-opensmtpd-config-file, %opensmtpd-accounts): New variables.
(opensmtpd-shepherd-service, opensmtpd-activation): New procedures.
(opensmtpd-service-type): New variable.
* doc/guix.texi (Mail Services): Document it.

7 years agognu: Add missing module import to (gnu packages ldc).
Leo Famulari [Sat, 26 Nov 2016 04:17:30 +0000 (23:17 -0500)]
gnu: Add missing module import to (gnu packages ldc).

This is a followup to commit e44b511298590ecc87c2c85d1cbc043a638dd1e0.

* gnu/packages/ldc.scm: Import (gnu packages python).

7 years agognu: ldc: Update to 0.17.2.
Danny Milosavljevic [Thu, 24 Nov 2016 20:58:40 +0000 (21:58 +0100)]
gnu: ldc: Update to 0.17.2.

* gnu/packages/ldc.scm (ldc): Update to 0.17.2.
* gnu/packages/patches/ldc-disable-tests.patch: Fix timezone file name.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
7 years agooffload: Drop 'remote-pipe'.
Ludovic Courtès [Fri, 25 Nov 2016 21:47:37 +0000 (22:47 +0100)]
offload: Drop 'remote-pipe'.

* guix/scripts/offload.scm (remote-pipe): Remove.
(machine-load): Use 'open-remote-pipe*' instead of 'remote-pipe'.

7 years agooffload: Rewrite to make direct RPCs to the remote daemon.
Ludovic Courtès [Fri, 4 Nov 2016 23:47:34 +0000 (00:47 +0100)]
offload: Rewrite to make direct RPCs to the remote daemon.

* guix/scripts/offload.scm (<build-machine>)[daemon-socket]: New field.
(connect-to-remote-daemon): New procedure.
(%gc-root-file, register-gc-root, remove-gc-roots, offload): Remove.
(transfer-and-offload): Rewrite using 'connect-to-remote-daemon' and
RPCs over SSH.
(store-import-channel, store-export-channel): New procedures.
(send-files, retrieve-files): Rewrite using these.

7 years agooffload: Remove 'with-nar-error-handling' macro.
Ludovic Courtès [Fri, 4 Nov 2016 23:46:04 +0000 (00:46 +0100)]
offload: Remove 'with-nar-error-handling' macro.

* guix/scripts/offload.scm (with-nar-error-handling): Remove.
(guix-offload): Use 'with-error-handling' instead.

7 years agostore: 'open-connection' can taken an open port.
Ludovic Courtès [Wed, 2 Nov 2016 21:50:31 +0000 (22:50 +0100)]
store: 'open-connection' can taken an open port.

* guix/store.scm (open-unix-domain-socket): New procedure.
(open-connection): Add #:port parameter and honor it.

7 years agooffload: Reuse SSH session during 'transfer-and-offload'.
Ludovic Courtès [Wed, 2 Nov 2016 11:00:47 +0000 (12:00 +0100)]
offload: Reuse SSH session during 'transfer-and-offload'.

* guix/scripts/offload.scm (remote-pipe): Replace 'machine' parameter
with 'session'.  Remove 'open-ssh-session' call.
(register-gc-root): Replace 'machine' with 'session'.  Use '
session-get' instead of 'build-machine-name'.
(remove-gc-roots, offload, send-files, retrieve-files): Likewise.
(transfer-and-offload): Add 'open-ssh-session' call.  Handle 'offload'
errors here.
(machine-load): Add call to 'open-ssh-session'.

7 years agooffload: Use Guile-SSH instead of GNU lsh.
Ludovic Courtès [Sun, 2 Mar 2014 21:39:48 +0000 (22:39 +0100)]
offload: Use Guile-SSH instead of GNU lsh.

* guix/scripts/offload.scm (<build-machine>)[ssh-options]: Remove.
[host-key, host-key-type]: New fields.
(%lsh-command, %lshg-command, user-lsh-private-key): Remove.
(user-openssh-private-key, private-key-from-file*): New procedures.
(host-key->type+key, open-ssh-session): New procedures.
(remote-pipe): Remove 'mode' parameter.  Rewrite in terms of
'open-ssh-session' etc.  Update users.
(send-files)[missing-files]: Rewrite using the bidirectional channel
port.
Remove call to 'call-with-compressed-output-port'.
(retrieve-files): Remove call to 'call-with-decompressed-port'.
(machine-load): Remove exit status logic.
* doc/guix.texi (Requirements): Mention Guile-SSH.
(Daemon Offload Setup): Document 'host-key' and 'private-key'.  Show the
default value on each @item line.
* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): New macro.
* config-daemon.ac: Use 'GUIX_CHECK_GUILE_SSH'.  Set
'HAVE_DAEMON_OFFLOAD_HOOK' as a function of that.

7 years agognu: guile-ssh: Update to 0.10.2.
Ludovic Courtès [Fri, 25 Nov 2016 16:30:32 +0000 (17:30 +0100)]
gnu: guile-ssh: Update to 0.10.2.

* gnu/packages/ssh.scm (guile-ssh): Update to 0.10.2.
[home-page]: Update.
[source]: Use the 'url-fetch' method and a GitHub generated
tarball.
[arguments] <autoreconf>: Remove now unneeded 'chmod' call.

7 years agognu: hydrogen: Update to 0.9.7.
Ricardo Wurmus [Fri, 25 Nov 2016 20:43:17 +0000 (21:43 +0100)]
gnu: hydrogen: Update to 0.9.7.

* gnu/packages/music.scm (hydrogen): Update to 0.9.7.

7 years agognu: btrfs-progs: Update to 4.8.4.
Tobias Geerinckx-Rice [Fri, 25 Nov 2016 16:00:51 +0000 (17:00 +0100)]
gnu: btrfs-progs: Update to 4.8.4.

* gnu/packages/linux.scm (btrfs-progs): Update to 4.8.4.

7 years agognu: lz4: Update to 1.7.4.2.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 19:22:25 +0000 (20:22 +0100)]
gnu: lz4: Update to 1.7.4.2.

* gnu/packages/compression.scm (lz4): Update to 1.7.4.2.

7 years agognu: hplip: Update to 3.16.11.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 19:22:25 +0000 (20:22 +0100)]
gnu: hplip: Update to 3.16.11.

* gnu/packages/cups.scm (hplip): Update to 3.16.11.

7 years agognu: qtractor: Update to 0.8.0.
Ricardo Wurmus [Thu, 24 Nov 2016 10:10:42 +0000 (11:10 +0100)]
gnu: qtractor: Update to 0.8.0.

* gnu/packages/music.scm (qtractor): Update to 0.8.0.

7 years agognu: qemu: Install all required info files.
Alex Kost [Wed, 23 Nov 2016 20:25:27 +0000 (23:25 +0300)]
gnu: qemu: Install all required info files.

* gnu/packages/qemu.scm (qemu)[arguments]: Adjust 'install-info' phase
to find all info files (including "*.info-N").

7 years agognu: Add kicad-library.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:24 +0000 (22:53 +0200)]
gnu: Add kicad-library.

* gnu/packages/engineering.scm (kicad-library): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add kicad.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:23 +0000 (22:53 +0200)]
gnu: Add kicad.

* gnu/packages/engineering.scm (kicad): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add python2-wxpython.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:22 +0000 (22:53 +0200)]
gnu: Add python2-wxpython.

* gnu/packages/wxwidgets.scm (python2-wxpython): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: Add wxwidgets-gtk2.
Theodoros Foradis [Tue, 15 Nov 2016 20:53:21 +0000 (22:53 +0200)]
gnu: Add wxwidgets-gtk2.

* gnu/packages/wxwidgets.scm (wxwidgets-gtk2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
7 years agognu: nginx: Update to 1.11.6.
Leo Famulari [Fri, 25 Nov 2016 04:20:24 +0000 (23:20 -0500)]
gnu: nginx: Update to 1.11.6.

* gnu/packages/web.scm (nginx): Update to 1.11.6.
[arguments]: Remove the obsolete option --with-ipv6 from #:configure-flags.

7 years agognu: miniupnpc: Improve synopsis and description.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 18:28:52 +0000 (19:28 +0100)]
gnu: miniupnpc: Improve synopsis and description.

* gnu/packages/upnp.scm (miniupnp)[synopsis, description]: Edit, fix typos,
add some relevant (search) terms from the home page, and expand acronyms.

7 years agognu: miniupnpc: Use the correct ‘upnpc’ in ‘external-ip’.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 17:48:15 +0000 (18:48 +0100)]
gnu: miniupnpc: Use the correct ‘upnpc’ in ‘external-ip’.

* gnu/packages/upnp.scm (miniupnpc)[arguments]: Add ‘qualify-paths’ phase.

7 years agognu: miniupnpc: Use ‘modify-phases’ syntax.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 17:47:09 +0000 (18:47 +0100)]
gnu: miniupnpc: Use ‘modify-phases’ syntax.

* gnu/packages/upnp.scm (miniupnpc)[arguments]: Use ‘modify-phases’.

7 years agognu: miniupnpc: Update to 2.0.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 17:46:27 +0000 (18:46 +0100)]
gnu: miniupnpc: Update to 2.0.

* gnu/packages/upnp.scm (miniupnpc): Update to 2.0.

7 years agognu: vim: Update to 8.0.0101.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 16:43:05 +0000 (17:43 +0100)]
gnu: vim: Update to 8.0.0101.

* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0101.

7 years agodoc: Fix typos in "Kerberos Services".
Ludovic Courtès [Thu, 24 Nov 2016 22:21:08 +0000 (23:21 +0100)]
doc: Fix typos in "Kerberos Services".

* doc/guix.texi (Kerberos Services): Fix typos.

7 years agodoc: Document encrypted root partitions.
Ludovic Courtès [Thu, 24 Nov 2016 22:03:04 +0000 (23:03 +0100)]
doc: Document encrypted root partitions.

This is a followup to f7f292d359e0eb77617f4ecf6b3164f868ec1784.

* doc/guix.texi (Preparing for Installation): Give commands for
encrypted root installation.
(Proceeding with the Installation): Add item about mapped devices.
(File Systems): Mention that 'dependencies' can list <mapped-device>
objects.
* gnu/system/examples/desktop.tmpl (mapped-devices): New field.
(file-systems): Add 'dependencies' field.

7 years agodoc: Document 'wpa-supplicant-service-type'.
Ludovic Courtès [Thu, 24 Nov 2016 20:53:57 +0000 (21:53 +0100)]
doc: Document 'wpa-supplicant-service-type'.

Reported by Chris Marusich <cmmarusich@gmail.com>.

* doc/guix.texi (Networking Services): Remove 'wpa-supplicant-service'
procedure, which doesn't exist, and document
'wpa-supplicant-service-type'.

7 years agoservices: network-manager: Depend on 'wpa-supplicant'.
Ludovic Courtès [Thu, 24 Nov 2016 20:35:57 +0000 (21:35 +0100)]
services: network-manager: Depend on 'wpa-supplicant'.

Suggested by Chris Marusich <cmmarusich@gmail.com>.

* gnu/services/networking.scm (network-manager-shepherd-service)
[requirement]: Add 'wpa-supplicant'.

7 years agoservices: network-manager: Install polkit actions.
Ludovic Courtès [Thu, 24 Nov 2016 20:29:13 +0000 (21:29 +0100)]
services: network-manager: Install polkit actions.

Reported by Chris Marusich <cmmarusich@gmail.com>
at <https://lists.gnu.org/archive/html/help-guix/2016-11/msg00038.html>.

* gnu/services/networking.scm (network-manager-service-type)[extensions]:
Add POLKIT-SERVICE-TYPE.

7 years agoservices: Move polkit to (gnu services dbus).
Ludovic Courtès [Thu, 24 Nov 2016 20:27:21 +0000 (21:27 +0100)]
services: Move polkit to (gnu services dbus).

* gnu/services/desktop.scm (<polkit-configuration>, %polkit-accounts)
(%polkit-pam-services, polkit-directory, polkit-etc-files)
(polkit-setuid-programs, polkit-service-type, polkit-service): Move
to...
* gnu/services/dbus.scm: ... here.

7 years agognu: hdf5: Build the C++ interface.
Ludovic Courtès [Thu, 24 Nov 2016 10:55:15 +0000 (11:55 +0100)]
gnu: hdf5: Build the C++ interface.

* gnu/packages/maths.scm (hdf5)[arguments]: Add #:configure-flags.

7 years agognu: vim: Update to 8.0.0096.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 15:56:46 +0000 (16:56 +0100)]
gnu: vim: Update to 8.0.0096.

* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0096.

7 years agoAdd system start-up files for "guix publish".
Hartmut Goebel [Thu, 24 Nov 2016 08:23:11 +0000 (09:23 +0100)]
Add system start-up files for "guix publish".

* .gitignore: add etc/guix-publish.conf and /etc/guix-publish.service.
* etc/guix-publish.conf.in: New file.
* etc/guix-publish.service.in: New file.
* nix/local.mk (etc/guix-%.service, etc/guix-%.conf): Generalized former
  build-rules for by using patterns.
  (nodist_systemdservice_DATA): Add etc/guix-publish.service, update
  comment.
  (nodist_upstartjob_DATA): Add etc/guix-publish.conf, update comment.
* doc/guix.texi (Invoking guix publish): Add description for enabling
  "guix publish" on host distros using the new files.

7 years agodoc: Symlink daemon start-up files.
Hartmut Goebel [Thu, 17 Nov 2016 23:49:09 +0000 (00:49 +0100)]
doc: Symlink daemon start-up files.

This patch ensures that always the current profile's daemon will be used.

The .service file contains the path to the guix-daemon within the store. Thus
when copying the file, it will point to the very version of guix-daemon used
at the time of copying – even after system upgrade or when this version has
been garbage collected from the store.

* doc/guix.texi (Binary Installation): Change example code for installing
  the systemd and Upstart files to use symbolic links instead of copying
  the files.

7 years agognu: ir: Use archived tarball and home page.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 05:33:46 +0000 (06:33 +0100)]
gnu: ir: Use archived tarball and home page.

* gnu/packages/audio.scm (ir)[source]: Use a list of archive mirrors.
[home-page]: Link to an Internet Archive snapshot.

7 years agognu: ir: Use ‘modify-phases’ syntax.
Tobias Geerinckx-Rice [Thu, 24 Nov 2016 05:29:31 +0000 (06:29 +0100)]
gnu: ir: Use ‘modify-phases’ syntax.

* gnu/packages/audio.scm (ir)[arguments]: Use ‘modify-phases’.

7 years agotests: Remove 'GUIX_LOCPATH' hack that had been added for glibc@2.23.
Ludovic Courtès [Wed, 23 Nov 2016 20:10:49 +0000 (21:10 +0100)]
tests: Remove 'GUIX_LOCPATH' hack that had been added for glibc@2.23.

* gnu/tests/base.scm (run-basic-test)[test]("locale"): Remove
'GUIX_LOCPATH' hack, which is no longer needed since
commit 9f58fe3d1c32e3f0ced065e286532a10cad1b5e3.

7 years agoinstall: Enable "cryptodisk" handling in GRUB.
Ludovic Courtès [Wed, 23 Nov 2016 19:59:13 +0000 (20:59 +0100)]
install: Enable "cryptodisk" handling in GRUB.

This allows 'grub-install' to do the right thing when / or /boot is a
LUKS-encrypted partition.

Fixes <http://bugs.gnu.org/21843>.

* gnu/build/install.scm (install-grub): Add 'setenv' to set
'GRUB_ENABLE_CRYPTODISK'.
(wait-for-screen-text): New test.
* gnu/tests/base.scm (run-basic-test): Add #:initialization parameter
and honor it.
* gnu/tests/install.scm (%encrypted-root-os)[kernel-arguments]: Remove.
(%encrypted-root-installation-script): Pass '--uuid' to 'cryptsetup
luksFormat'.  Remove 'sed' invocation.
(enter-luks-passphrase): New procedure.
(%test-encrypted-os)[value]: Pass #:initialization to 'run-basic-test'.

7 years agomapped-devices: Use 'cryptsetup-static' in 'luks-device-mapping'.
Ludovic Courtès [Wed, 23 Nov 2016 19:50:41 +0000 (20:50 +0100)]
mapped-devices: Use 'cryptsetup-static' in 'luks-device-mapping'.

* gnu/system/mapped-devices.scm (open-luks-device): Use
CRYPTSETUP-STATIC instead of CRYPTSETUP.  Use 'file-append'.
(close-luks-device): Likewise.

7 years agomarionette: Add 'marionette-screen-text' using OCR.
Ludovic Courtès [Wed, 23 Nov 2016 12:56:42 +0000 (13:56 +0100)]
marionette: Add 'marionette-screen-text' using OCR.

* gnu/build/marionette.scm (marionette-screen-text): New procedure.
* gnu/tests/base.scm (run-basic-test)["screen text"]: New test.

7 years agomarionette: Delay synchronization with the host's REPL.
Ludovic Courtès [Wed, 23 Nov 2016 10:04:28 +0000 (11:04 +0100)]
marionette: Delay synchronization with the host's REPL.

* gnu/build/marionette.scm (<marionette>)[marionette-repl]: Rename to...
[%marionette-repl]: ... this.
(marionette-repl): New macro.
(make-marionette): Wrap last 'read' call into 'delay', making the last
argument to 'marionette' a promise of a port.
(marionette-eval): Use 'force' in 'match' clause.

7 years agognu: python-passlib: Update to 1.7.0.
Leo Famulari [Wed, 23 Nov 2016 19:37:32 +0000 (14:37 -0500)]
gnu: python-passlib: Update to 1.7.0.

* gnu/packages/python.scm (python-passlib, python2-passlib): Update to 1.7.0.

7 years agognu: perl-digest-md5: Fix typo.
Efraim Flashner [Wed, 23 Nov 2016 16:16:53 +0000 (18:16 +0200)]
gnu: perl-digest-md5: Fix typo.

* gnu/packages/perl.scm (perl-digest-md5)[arguments]: Remove extra ')'.

7 years agognu: Add perl-digest-md5.
ng0 [Tue, 22 Nov 2016 23:57:04 +0000 (23:57 +0000)]
gnu: Add perl-digest-md5.

* gnu/packages/perl.scm (perl-digest-md5): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
7 years agognu: chez.scm: Add '#:use-module srfi srfi-1'.
Efraim Flashner [Wed, 23 Nov 2016 10:42:36 +0000 (12:42 +0200)]
gnu: chez.scm: Add '#:use-module srfi srfi-1'.

This is a follow-up to 1e16648f825b76a8feb63ce51e7ada8ae9870aa0.

* gnu/packages/chez.scm: Add '#:use-module srfi srfi-1'.

7 years agognu: Add aspell-dict-he.
Efraim Flashner [Mon, 21 Nov 2016 20:08:06 +0000 (22:08 +0200)]
gnu: Add aspell-dict-he.

* gnu/packages/aspell.scm (aspell-dict-he): New variable.

7 years agognu: chez-scheme: Remove support for armhf.
Efraim Flashner [Wed, 23 Nov 2016 10:37:17 +0000 (12:37 +0200)]
gnu: chez-scheme: Remove support for armhf.

* gnu/packages/chez.scm (chez-scheme)[supported-systems]: Remove
armhf-linux from the list of supported systems.

7 years agognu: linux-libre: Update to 4.8.10.
Mark H Weaver [Wed, 23 Nov 2016 02:59:54 +0000 (21:59 -0500)]
gnu: linux-libre: Update to 4.8.10.

* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash)
(linux-libre): Update to 4.8.10.

7 years agognu: linux-libre@4.4: Update to 4.4.34.
Mark H Weaver [Wed, 23 Nov 2016 02:49:39 +0000 (21:49 -0500)]
gnu: linux-libre@4.4: Update to 4.4.34.

* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.34.

7 years agognu: guix: Update development snapshot.
Ludovic Courtès [Tue, 22 Nov 2016 23:02:11 +0000 (00:02 +0100)]
gnu: guix: Update development snapshot.

* gnu/packages/package-management.scm (guix-devel): Update to 1f410017.

7 years agoRevert "gnu: Update mit-krb5 to version 1.14.4."
Ludovic Courtès [Tue, 22 Nov 2016 23:02:52 +0000 (00:02 +0100)]
Revert "gnu: Update mit-krb5 to version 1.14.4."

This reverts commit 2947ff6430da5d60017b0c5c8c51fd2a1d85440b, which
would have caused too many rebuilds for 'master'.

7 years agomarionette: Avoid use of SIGALRM for timeouts.
Ludovic Courtès [Tue, 22 Nov 2016 21:57:41 +0000 (22:57 +0100)]
marionette: Avoid use of SIGALRM for timeouts.

* gnu/build/marionette.scm (make-marionette)[accept*]: New procedures.
Remove calls to 'sigaction'.  Use 'accept*' instead of 'accept'.

7 years agognu: Add 'cryptsetup-static'.
Ludovic Courtès [Tue, 22 Nov 2016 21:40:49 +0000 (22:40 +0100)]
gnu: Add 'cryptsetup-static'.

* gnu/packages/cryptsetup.scm (static-library): New procedure.
(cryptsetup-static): New variable.

7 years agognu: Add 'lvm2-static'.
Ludovic Courtès [Tue, 22 Nov 2016 20:38:40 +0000 (21:38 +0100)]
gnu: Add 'lvm2-static'.

* gnu/packages/patches/lvm2-static-link.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/linux.scm (lvm2)[source](patches): New field.
(lvm2-static): New variable.

7 years agognu: grub: Add dependency on LVM2.
Ludovic Courtès [Tue, 22 Nov 2016 10:26:02 +0000 (11:26 +0100)]
gnu: grub: Add dependency on LVM2.

* gnu/packages/grub.scm (grub)[inputs]: Add LVM2.

7 years agognu: python-pyld: Update to 0.7.1.
Christopher Allan Webber [Tue, 22 Nov 2016 21:25:51 +0000 (15:25 -0600)]
gnu: python-pyld: Update to 0.7.1.

* gnu/packages/python.scm (python-pyld): Update to 0.7.1.

7 years agognu: Update mit-krb5 to version 1.14.4.
John Darrington [Tue, 22 Nov 2016 20:16:29 +0000 (21:16 +0100)]
gnu: Update mit-krb5 to version 1.14.4.

* gnu/packages/mit-krb5.scm (mit-krb5): Update to 1.14.4

7 years agognu: notmuch: Update to 0.23.2.
Marius Bakke [Tue, 22 Nov 2016 19:25:29 +0000 (20:25 +0100)]
gnu: notmuch: Update to 0.23.2.

* gnu/packages/mail.scm (notmuch): Update to 0.23.2.

7 years agognu: notmuch: Skip tests that fail with gnupg-2.1.16.
Marius Bakke [Tue, 22 Nov 2016 19:41:48 +0000 (20:41 +0100)]
gnu: notmuch: Skip tests that fail with gnupg-2.1.16.

* gnu/packages/mail.scm (notmuch)[arguments]: Add environment variable
to skip tests that broke after gnupg-2.1.16.

7 years agognu: libtiff: Update replacement to 4.0.7.
Leo Famulari [Tue, 22 Nov 2016 15:19:51 +0000 (10:19 -0500)]
gnu: libtiff: Update replacement to 4.0.7.

* gnu/packages/image.scm (libtiff)[replacement]: Update to 4.0.7.
(libtiff-4.0.7): New variable. Update home-page and source URLs.
(libtiff/fixed): Delete variable.
* gnu/packages/patches/libtiff-CVE-2016-5652.patch,
gnu/packages/patches/libtiff-CVE-2016-9273.patch,
gnu/packages/patches/libtiff-CVE-2016-9297.patch,
gnu/packages/patches/libtiff-CVE-2016-9448.patch,
gnu/packages/patches/libtiff-uint32-overflow.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Remove them.

7 years agognu: vim: Update to 8.0.0095.
Marius Bakke [Tue, 22 Nov 2016 16:33:07 +0000 (17:33 +0100)]
gnu: vim: Update to 8.0.0095.

* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0095.

7 years agognu: Add espeak.
Kei Kebreau [Tue, 22 Nov 2016 16:23:55 +0000 (11:23 -0500)]
gnu: Add espeak.

* gnu/packages/audio.scm (espeak): New variable.

7 years agognu: system: Add openfwwf-firmware to %base-firmware.
Eric Bavier [Sat, 19 Nov 2016 19:25:02 +0000 (13:25 -0600)]
gnu: system: Add openfwwf-firmware to %base-firmware.

* gnu/system.scm (%base-firmware): Add openfwwf-firmware.
* doc/guix.texi (Hardware Considerations): Mention b43-open support.
(operating-system Reference)[firmware]: Likewise.

7 years agognu: Add openfwwf-firmware.
Eric Bavier [Thu, 12 May 2016 18:57:01 +0000 (13:57 -0500)]
gnu: Add openfwwf-firmware.

* gnu/packages/firmware.scm (b43-tools, openfwwf-firmware): New
variables.

7 years agognu: w3m: Update to 0.5.3+git20161120 [fixes security issues].
Efraim Flashner [Tue, 22 Nov 2016 11:56:47 +0000 (13:56 +0200)]
gnu: w3m: Update to 0.5.3+git20161120 [fixes security issues].

Fixes CVE-2016-9439 and others.

* gnu/packages/w3m.scm (w3m): Update to 0.5.3+git20161120.

7 years agognu: w3m: Use 'modify-phases' syntax.
Efraim Flashner [Tue, 22 Nov 2016 10:33:43 +0000 (12:33 +0200)]
gnu: w3m: Use 'modify-phases' syntax.

* gnu/packages/w3m.scm (w3m)[arguments]: Use 'modify-phases' syntax.

7 years agognu: ruby: Update replacement to 2.3.3.
Ben Woodcroft [Tue, 22 Nov 2016 11:39:18 +0000 (21:39 +1000)]
gnu: ruby: Update replacement to 2.3.3.

* gnu/packages/ruby.scm (ruby)[replacement]: Update to 2.3.3.
(ruby-2.3.2): Replace this ...
(ruby-2.3.3): ... with this.

7 years agognu: diamond: Update to 0.8.27.
Ben Woodcroft [Tue, 22 Nov 2016 10:47:56 +0000 (20:47 +1000)]
gnu: diamond: Update to 0.8.27.

* gnu/packages/bioinformatics.scm (diamond): Update to 0.8.27.

7 years agognu: zynaddsubfx: Update to 3.0.0.
Ricardo Wurmus [Tue, 22 Nov 2016 08:44:54 +0000 (09:44 +0100)]
gnu: zynaddsubfx: Update to 3.0.0.

* gnu/packages/music.scm (zynaddsubfx): Update to 3.0.0.
[inputs]: Add "mesa".

7 years agognu: connman: Update to 1.33.
Efraim Flashner [Mon, 21 Nov 2016 21:52:19 +0000 (23:52 +0200)]
gnu: connman: Update to 1.33.

* gnu/packages/connman.scm (connman): Update to 1.33.

7 years agognu: Remove redundancy where mkdir-p <dir> is followed by install-file <file> <dir>.
Petter [Mon, 21 Nov 2016 18:18:55 +0000 (19:18 +0100)]
gnu: Remove redundancy where mkdir-p <dir> is followed by install-file <file> <dir>.

* gnu/packages/bioinformatics.scm (bwa)[arguments]: Remove redundant mkdir-p.
(eigensoft)[arguments]: Likewise.
(snap-aligner)[arguments]: Likewise.
(pardre)[arguments]: Likewise.
(piranha)[arguments]: Likewise.
* gnu/packages/maths.scm (hypre)[arguments]: Likewise.
* gnu/packages/mp3.scm (mpc123)[arguments]: Likewise.
* gnu/packages/music.scm (tuxguitar)[arguments]: Likewise.
* gnu/packages/pdf.scm (impressive)[arguments]: Likewise.
* gnu/packages/qemu.scm (qemu)[arguments]: Likewise.

Signed-off-by: Leo Famulari <leo@famulari.name>