Commit Graph

16436 Commits

Author SHA1 Message Date
宋文武 c940b8e682
doc: mysql-configuration: Fix typo.
* doc/guix.texi (Database Services): Fix typo of 'mysql-configuration'.
2016-11-26 12:50:11 +08:00
宋文武 f88371e866
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.
2016-11-26 12:50:11 +08:00
Leo Famulari 0959478c72
gnu: Add missing module import to (gnu packages ldc).
This is a followup to commit e44b511298.

* gnu/packages/ldc.scm: Import (gnu packages python).
2016-11-25 23:18:29 -05:00
Danny Milosavljevic e44b511298
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>
2016-11-25 23:54:51 +01:00
Ludovic Courtès bc1ad4e334
offload: Drop 'remote-pipe'.
* guix/scripts/offload.scm (remote-pipe): Remove.
(machine-load): Use 'open-remote-pipe*' instead of 'remote-pipe'.
2016-11-25 23:44:21 +01:00
Ludovic Courtès cf283dd92e
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.
2016-11-25 23:44:20 +01:00
Ludovic Courtès e8a5db80d5
offload: Remove 'with-nar-error-handling' macro.
* guix/scripts/offload.scm (with-nar-error-handling): Remove.
(guix-offload): Use 'with-error-handling' instead.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 6230d6f04f
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.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 9e76eed37f
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'.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 21531add32
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.
2016-11-25 23:44:20 +01:00
Ludovic Courtès 6634180f9e
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.
2016-11-25 23:44:20 +01:00
Ricardo Wurmus 7276b5604d
gnu: hydrogen: Update to 0.9.7.
* gnu/packages/music.scm (hydrogen): Update to 0.9.7.
2016-11-25 21:44:16 +01:00
Tobias Geerinckx-Rice d66cbd1adc
gnu: btrfs-progs: Update to 4.8.4.
* gnu/packages/linux.scm (btrfs-progs): Update to 4.8.4.
2016-11-25 17:00:51 +01:00
Tobias Geerinckx-Rice fc89cb691d
gnu: lz4: Update to 1.7.4.2.
* gnu/packages/compression.scm (lz4): Update to 1.7.4.2.
2016-11-25 16:31:20 +01:00
Tobias Geerinckx-Rice dead1067c3
gnu: hplip: Update to 3.16.11.
* gnu/packages/cups.scm (hplip): Update to 3.16.11.
2016-11-25 16:31:10 +01:00
Ricardo Wurmus aaaf8b3844
gnu: qtractor: Update to 0.8.0.
* gnu/packages/music.scm (qtractor): Update to 0.8.0.
2016-11-25 13:08:06 +01:00
Alex Kost 1e34721435
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").
2016-11-25 16:09:22 +03:00
Theodoros Foradis 8f528bd442
gnu: Add kicad-library.
* gnu/packages/engineering.scm (kicad-library): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:11 -05:00
Theodoros Foradis befc9ff643
gnu: Add kicad.
* gnu/packages/engineering.scm (kicad): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:11 -05:00
Theodoros Foradis b353c7d201
gnu: Add python2-wxpython.
* gnu/packages/wxwidgets.scm (python2-wxpython): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:10 -05:00
Theodoros Foradis 2cd3b6fd03
gnu: Add wxwidgets-gtk2.
* gnu/packages/wxwidgets.scm (wxwidgets-gtk2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-11-25 00:38:10 -05:00
Leo Famulari 88d45b74c1
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.
2016-11-25 00:07:40 -05:00
Tobias Geerinckx-Rice e0f8a520ed
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.
2016-11-25 02:21:51 +01:00
Tobias Geerinckx-Rice 5af82630fe
gnu: miniupnpc: Use the correct ‘upnpc’ in ‘external-ip’.
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Add ‘qualify-paths’ phase.
2016-11-25 02:21:51 +01:00
Tobias Geerinckx-Rice cdbdaf7b6b
gnu: miniupnpc: Use ‘modify-phases’ syntax.
* gnu/packages/upnp.scm (miniupnpc)[arguments]: Use ‘modify-phases’.
2016-11-25 02:21:50 +01:00
Tobias Geerinckx-Rice 2d3b0203f4
gnu: miniupnpc: Update to 2.0.
* gnu/packages/upnp.scm (miniupnpc): Update to 2.0.
2016-11-25 02:21:50 +01:00
Tobias Geerinckx-Rice ade5848576
gnu: vim: Update to 8.0.0101.
* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0101.
2016-11-25 02:21:49 +01:00
Ludovic Courtès df31e36a40
doc: Fix typos in "Kerberos Services".
* doc/guix.texi (Kerberos Services): Fix typos.
2016-11-24 23:21:20 +01:00
Ludovic Courtès 13fb1bd94e
doc: Document encrypted root partitions.
This is a followup to f7f292d359.

* 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.
2016-11-24 23:20:41 +01:00
Ludovic Courtès cbf1024e99
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'.
2016-11-24 21:53:57 +01:00
Ludovic Courtès 030f59fac9
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'.
2016-11-24 21:43:48 +01:00
Ludovic Courtès 89007a0bb7
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.
2016-11-24 21:43:47 +01:00
Ludovic Courtès 2e32869824
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.
2016-11-24 21:43:47 +01:00
Ludovic Courtès 62126576fc
gnu: hdf5: Build the C++ interface.
* gnu/packages/maths.scm (hdf5)[arguments]: Add #:configure-flags.
2016-11-24 21:43:47 +01:00
Tobias Geerinckx-Rice 6f09c100d9
gnu: vim: Update to 8.0.0096.
* gnu/packages/vim.scm (vim, vim-full): Update to 8.0.0096.
2016-11-24 16:57:22 +01:00
Hartmut Goebel 332d7903f5
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.
2016-11-24 09:23:11 +01:00
Hartmut Goebel b7230de54b
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.
2016-11-24 09:20:26 +01:00
Tobias Geerinckx-Rice c50f2af9f8
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.
2016-11-24 06:34:37 +01:00
Tobias Geerinckx-Rice 2df984f278
gnu: ir: Use ‘modify-phases’ syntax.
* gnu/packages/audio.scm (ir)[arguments]: Use ‘modify-phases’.
2016-11-24 06:34:37 +01:00
Leo Famulari c8d1e7a130
gnu: libgc-7.2: Remove package.
This package variant was unused.

* gnu/packages/bdw-gc.scm (libgc-7.2): Delete variable.
2016-11-23 23:11:30 -05:00
Ludovic Courtès cc73339b97
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 9f58fe3d1c.
2016-11-23 21:13:18 +01:00
Ludovic Courtès f7f292d359
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'.
2016-11-23 21:13:18 +01:00
Ludovic Courtès b7d408ec1b
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.
2016-11-23 21:13:18 +01:00
Ludovic Courtès fe93383350
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.
2016-11-23 21:13:18 +01:00
Ludovic Courtès f25c9ebc80
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.
2016-11-23 21:13:18 +01:00
Leo Famulari 1c9f78eca1
gnu: python-passlib: Update to 1.7.0.
* gnu/packages/python.scm (python-passlib, python2-passlib): Update to 1.7.0.
2016-11-23 14:38:05 -05:00
Efraim Flashner 262c2d33bc
gnu: perl-digest-md5: Fix typo.
* gnu/packages/perl.scm (perl-digest-md5)[arguments]: Remove extra ')'.
2016-11-23 18:16:53 +02:00
ng0 8a28e717ba
gnu: Add perl-digest-md5.
* gnu/packages/perl.scm (perl-digest-md5): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2016-11-23 16:46:47 +01:00
Efraim Flashner bc05caee77
gnu: chez.scm: Add '#:use-module srfi srfi-1'.
This is a follow-up to 1e16648f82.

* gnu/packages/chez.scm: Add '#:use-module srfi srfi-1'.
2016-11-23 12:42:36 +02:00
Efraim Flashner 8553fe5734
gnu: Add aspell-dict-he.
* gnu/packages/aspell.scm (aspell-dict-he): New variable.
2016-11-23 12:38:28 +02:00