Commit graph

34510 commits

Author SHA1 Message Date
Oleg Pykhalov
8490a8346b
services: Add ddclient service.
* gnu/services/dns.scm (ddclient-configuration, ddclient-service-type): New
variables.
(uglify-field-name, serialize-field, serialize-boolean, serialize-integer,
serialize-string, serialize-list, serialize-extra-options,
ddclient-activation, ddclient-shepherd-service,
generate-ddclient-documentation): New procedures.
* doc/guix.texi (DNS Services): Document it.
2018-08-30 01:19:47 +03:00
Ludovic Courtès
4db7a9dc66
linux-modules: Raise an error when a kernel module cannot be found.
Previously we'd get an unhelpful backtrace like this:

  In gnu/build/linux-modules.scm:
     184:47  4 (recursive-module-dependencies _ #:lookup-module _)
      98:14  3 (module-dependencies _)
      85:18  2 (modinfo-section-contents _)
  In ice-9/ports.scm:
     439:11  1 (call-with-input-file #f #<procedure get-bytevector-al?> ?)
  In unknown file:
	     0 (open-file #f "r" #:encoding #f #:guess-encoding #f)

  ERROR: In procedure open-file:
  Wrong type (expecting string): #f
  builder for `/gnu/store/…-linux-modules.drv' failed with exit code 1

* gnu/build/linux-modules.scm (find-module-file): When MODULE cannot be
found, raise an error instead of returning #f.  This is more useful to
the user.
2018-08-29 23:32:01 +02:00
Ludovic Courtès
d258c79144
tests: Warn about test module load failures.
Reported by Clément Lassieur <clement@lassieur.org>
and Leo Famulari <leo@famulari.name> at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=32545#11>.

* gnu/tests.scm (test-modules): Pass #:warn to 'scheme-modules'.
2018-08-29 23:32:01 +02:00
Ludovic Courtès
de5cbd4a38
records: Adjust 'record-abi-mismatch-error' arguments.
Previously, 'display-error' (as used by 'warn-about-load-error', for
instance) would be called with a wrong number of arguments when a
'record-abi-mismatch-error' was caught:

  warning: failed to load '(gnu tests install)':
  Backtrace:
  [...]
  ERROR: In procedure display-error:
  Wrong number of arguments to #<procedure display-error (_ _ _ _ _ _)>

Now you get warnings and error reports as intended:

  warning: failed to load '(gnu tests install)':
  In procedure abi-check: <openssh-configuration>: record ABI mismatch; recompilation needed
  warning: failed to load '(gnu tests ssh)':
  In procedure abi-check: <openssh-configuration>: record ABI mismatch; recompilation needed

* guix/records.scm (print-record-abi-mismatch-error): Remove.
Remove top-level call to 'set-exception-printer!'.
(abi-check): Use arguments as expected by 'display-error'.
2018-08-29 23:32:01 +02:00
Christopher Lemmer Webber
caf8a003b3
gnu: emacs-racket-mode: Update to commit 92c3348.
* gnu/packages/emacs.scm (emacs-racket-mode): Update to commit 92c3348.
2018-08-29 15:52:20 -04:00
Vagrant Cascadian
b4c698c8c9
gnu: python-trezor: Update to 0.10.2.
* gnu/packages/finance.scm (python-trezor): Update to 0.10.2.
[arguments]: Replace check with tests that do not require hardware device.
[propagated-inputs]: Add python-click, python-libusb1, python-pyblake2 and
python-typing.
[native-inputs]: Add python-mock and python-pytest.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-08-29 14:52:56 -04:00
pimi
4f9355c360
gnu: Add gffcompare.
gnu/packages/bioinformatics.scm (gffcompare): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-08-29 14:13:49 -04:00
pimi
9e21f2170e
gnu: Add r-abcoptim.
gnu/packages/cran.scm (r-abcoptim): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-08-29 14:13:46 -04:00
Danny Milosavljevic
15c56e8273
gnu: Add solaar.
* gnu/packages/admin.scm (solaar): New variable.
2018-08-29 17:18:30 +02:00
Danny Milosavljevic
ac94ccb9b4
gnu: Add python-pyudev.
* gnu/packages/admin.scm (python-pyudev): New variable.
2018-08-29 17:18:28 +02:00
Ricardo Wurmus
c7fe888b42
gnu: Add python-scanpy.
* gnu/packages/bioinformatics.scm (python-scanpy): New variable.
2018-08-29 17:06:13 +02:00
Ricardo Wurmus
22b770ce00
gnu: Add python-anndata.
* gnu/packages/python.scm (python-anndata): New variable.
2018-08-29 17:06:13 +02:00
Ricardo Wurmus
d8b8eb3ff5
gnu: Add python-numba.
* gnu/packages/python.scm (python-numba): New variable.
2018-08-29 17:06:13 +02:00
Ricardo Wurmus
8892cac329
gnu: Add python-llvmlite.
* gnu/packages/llvm.scm (python-llvmlite): New variable.
2018-08-29 17:06:13 +02:00
Marius Bakke
9e17757ff5
Revert "gnu: snappy: Optimise."
This causes too many rebuilds for the master branch.

This reverts commit f96ed06805.
2018-08-29 16:58:54 +02:00
Ricardo Wurmus
9587544b44
gnu: Add ghc 8.4.3.
* gnu/packages/haskell.scm (ghc-8): Rename this...
(ghc-8.0): ...to this.
(ghc): Point at ghc-8.0.
(ghc-8): New variable for GHC 8.4.3.

Co-authored-by: Timothy Samplet <samplet@ngyro.com>
2018-08-29 16:56:35 +02:00
Ricardo Wurmus
59b55def00
gnu: Add r-infotheo.
* gnu/packages/cran.scm (r-infotheo): New variable.
2018-08-29 13:11:17 +02:00
Tobias Geerinckx-Rice
acf18cb190
gnu: capstone: Use HTTPS home page.
* gnu/packages/engineering.scm (capstone)[home-page]: Use HTTPS.
2018-08-28 22:46:38 +02:00
Tobias Geerinckx-Rice
2c3d30ef51
gnu: r-plotrix: Update to 3.7-3.
* gnu/packages/statistics.scm (r-plotrix): Update to 3.7-3.
2018-08-28 22:31:00 +02:00
Tobias Geerinckx-Rice
f882d7c7c5
gnu: python-apipkg: Update home page.
* gnu/packages/python.scm (python-apipkg)[home-page]: Update.
2018-08-28 22:31:00 +02:00
Tobias Geerinckx-Rice
e29bb27d88
gnu: r-pracma: Update to 2.1.5.
* gnu/packages/maths.scm (r-pracma): Update to 2.1.5.
2018-08-28 22:31:00 +02:00
Tobias Geerinckx-Rice
7bbdd943e7
gnu: claws-mail: Update to 3.17.1.
* gnu/packages/mail.scm (claws-mail): Update to 3.17.1.
2018-08-28 22:31:00 +02:00
Tobias Geerinckx-Rice
4fca5a44f6
gnu: libntlm: Update to 1.5.
* gnu/packages/gsasl.scm (libntlm): Update to 1.5.
[source]: Use HTTPS.
2018-08-28 22:31:00 +02:00
Tobias Geerinckx-Rice
f96ed06805
gnu: snappy: Optimise.
* gnu/packages/compression.scm (snappy)[source]: Build with ‘-O2’.
* gnu/package/patches/snappy-add-O2-flag-in-CmakeLists.txt.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2018-08-28 22:30:59 +02:00
Efraim Flashner
dc8675afa7
gnu: Add urlscan.
* gnu/packages/mail.scm (urlscan): New variable.
2018-08-28 22:48:32 +03:00
Efraim Flashner
967de7c5b0
gnu: Add ephoto.
* gnu/packages/enlightenment.scm (ephoto): New variable.
2018-08-28 22:45:55 +03:00
Vagrant Cascadian
84fbb4b223
gnu: electron-cash: Update to 3.3.1.
* gnu/packages/finance.scm (electron-cash): Update to 3.3.1.

Signed-off-by: Leo Famulari <leo@famulari.name>
2018-08-28 15:30:13 -04:00
Leo Famulari
8a5a1eff42
gnu: dropbear: Fix CVE-2018-15599.
* gnu/packages/patches/dropbear-CVE-2018-15599.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (dropbear)[source]: Use it.
2018-08-28 14:44:11 -04:00
Ludovic Courtès
6772ed1e07
services: openssh: Add 'log-level' field.
* gnu/services/ssh.scm (<openssh-configuration>)[log-level]: New field.
(openssh-config-file): Honor it.
* doc/guix.texi (Networking Services): Document it.
2018-08-28 12:35:02 +02:00
Ludovic Courtès
1ae29e3f5a
gnu: dico: Update to 2.6.
* gnu/packages/dico.scm (dico): Update to 2.6.
[inputs]: Switch to GUILE-2.2.
2018-08-28 12:35:02 +02:00
Ison111
d2434b6966
gnu: Add SpaceFM.
* gnu/packages/lxde.scm (spacefm): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2018-08-28 12:35:02 +02:00
Alex Kost
40f7ebac66
gnu: Add emacs-build-farm.
* gnu/packages/emacs.scm (emacs-build-farm): New variable.
2018-08-28 12:23:52 +03:00
Alex Kost
8b1f8f64c8
gnu: openmw: Update to 0.44.0.
* gnu/packages/game-development.scm (openmw): Update to 0.44.0.
2018-08-28 12:23:52 +03:00
Chris Marusich
3bcb305b98
services: tor: Make it easier to use UNIX sockets.
* doc/guix.texi (Networking Services): Document it, and mention that
tor-service is deprecated.
* gnu/services/networking.scm (<tor-configuration>) <socks-socket-type>:
New field.
(tor-configuration->torrc): When socks-socket-type is 'unix, set
SocksPort to UNIX domain socket /var/run/tor/socks-sock and set
UnixSocksGroupWritable to 1.
* gnu/tests/networking.scm (%tor-os/unix-socks-socket): Instead of using
a custom config file, just set socks-socket-type to 'unix.
2018-08-28 00:25:05 -07:00
Chris Marusich
b0f951e4f0
tests: tor: Add more test cases.
* gnu/tests/networking.scm (%tor-os/unix-socks-socket): New variable.
(run-tor-test) <os/unix-socks-socket, marionette/unix-socks-socket>
<socket-directory>: New variables.
<"tor is alive">: Move common code from this test case...
<tor-is-alive?>: ...into this new procedure.
<"tor is listening", "tor is alive, even when using a SOCKS socket">
<"tor is listening, even when using a SOCKS socket">: New test cases.
2018-08-28 00:19:58 -07:00
Chris Marusich
cb29343940
marionette: Add wait-for-unix-socket.
* gnu/build/marionette.scm (wait-for-unix-socket): New variable.
2018-08-28 00:19:58 -07:00
Chris Marusich
4dd53a83b5
marionette: Add support for QEMU's "quit" command.
* gnu/build/marionette.scm (marionette-control): Don't wait for the
monitor prompt when the command was "quit".
2018-08-28 00:14:25 -07:00
Chris Marusich
d973915e48
services: tor: Rename activation procedure.
* gnu/services/networking.scm: Rename the procedure
tor-hidden-service-activation to tor-activation.
2018-08-28 00:14:24 -07:00
Chris Marusich
5dfd80e1c5
services: tor: Add a system test.
* gnu/services/networking.scm (tor-configuration->torrc): Set PidFile to
/var/run/tor/tor.pid in the base torrc configuration.
(tor-shepherd-service) <start>: Call make-forkexec-constructor/container with
a new #:pid-file argument to tell Shepherd where to find the PID file.  Add a
a new <file-system-mapping> to its existing #:mappings argument to share
/var/run/tor with the the container.
(tor-hidden-services-activation): Update docstring.  Create /var/run/tor and
set its permissions so only the tor user can access it.
* gnu/tests/networking.scm (%test-tor, %tor-os): New variables.
(run-tor-test): New procedure.
2018-08-28 00:14:24 -07:00
Marius Bakke
526ce41930
gnu: GRUB: Check for errors from efibootmgr.
* gnu/packages/patches/grub-check-error-efibootmgr.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/bootloaders.scm (grub)[source](patches): New field.
2018-08-28 01:19:28 +02:00
Marius Bakke
2987b2e0d2
gnu: seabios: Update source URI.
* gnu/packages/firmware.scm (seabios)[source](uri): Download from seabios.org.
2018-08-28 01:19:28 +02:00
Marius Bakke
eb87b634a7
gnu: slang: Update to 2.3.2.
* gnu/packages/slang.scm (slang): Update to 2.3.2.
2018-08-28 01:19:28 +02:00
Marius Bakke
3c3c3d1d92
gnu: emacs-async: Download using git.
The MELPA tarball hash changed.  Prevent this problem in the future
by downloading a git checkout.

* gnu/packages/emacs.scm (emacs-async)[home-page]: Update to actual.
[source]: Use GIT-FETCH.
2018-08-28 01:19:28 +02:00
Ludovic Courtès
a0a2c2f16a
pull: Use (git) and (guix git) unconditionally.
The autoload hack was added a year ago, before 0.14.0, i.e., before any
release would depend on Guile-Git.  Both 0.14.0 and 0.15.0 required
Guile-Git, and 'guix pull' now automatically pulls it in, so this hack
is no longer necessary.

* guix/scripts/pull.scm: Use (git) and (guix git).  Remove top-level
call to 'module-autoload!'.
(ensure-guile-git!): Remove.
(guix-pull): Remove call to 'ensure-guile-git!'.
2018-08-27 23:22:17 +02:00
Ludovic Courtès
f2d0a2cf5c
self: Shrink the module search path of the 'guix' command.
Previously we'd have lots of useless entries on the search paths, such
as libtasn1, libidn2, zlib, gmp, etc. because they are propagated by
gnutls.

* guix/self.scm (guix-command)[source-directories, object-directories]:
New variables.  Use them in the body of "guix-command".  Filter their
items with 'file-exists?'.
2018-08-27 23:22:17 +02:00
Leo Famulari
0de33cb364
gnu: feh: Enable EXIF support.
* gnu/packages/image-viewers.scm (feh)[arguments]: Enable EXIF support.
(inputs): Add libexif.
2018-08-27 17:04:57 -04:00
Leo Famulari
f2d2dc70fc
gnu: libexif: Update home-page URL.
* gnu/packages/photo.scm (libexif)[home-page]: Update URL.
2018-08-27 17:04:57 -04:00
Leo Famulari
6635a3cc7f
gnu: python-pygit2: Update to 0.26.4.
* gnu/packages/python.scm (python-pygit2, python2-pygit2): Update to 0.26.4.
[source]: Remove 'python-pygit2-disable-network-tests.patch'.
* gnu/packages/patches/python-pygit2-disable-network-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2018-08-27 15:13:46 -04:00
Clément Lassieur
a30cbd5dfb
gnu: cuirass: Update to 8d40c49.
* gnu/packages/ci.scm (cuirass): Update to 8d40c49.
2018-08-27 16:12:56 +02:00
Pierre Neidhardt
4715f92ef0
Update email for Pierre Neidhardt.
* .mailmap: Add name and email for Pierre Neidhardt.
* gnu/packages/c.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/disk.scm, gnu/packages/emacs.scm, gnu/packages/freedesktop.scm,
gnu/packages/golang.scm, gnu/packages/image.scm, gnu/packages/music.scm,
gnu/packages/networking.scm, gnu/packages/password-utils.scm,
gnu/packages/perl-check.scm, gnu/packages/perl.scm,
gnu/packages/textutils.scm, gnu/packages/video.scm, gnu/packages/xdisorg.scm:
Update email for Pierre Neidhardt.
2018-08-27 14:46:26 +02:00