Commit Graph

35053 Commits

Author SHA1 Message Date
Andy Patterson 5f6908d664
build-system/asdf: Adopt asdf conventions.
The asdf documentation specifies that asdf:load-asd should be preferred to
calling load on a system definition file.

* guix/build/lisp-utils.scm (compile-system): Replace load with asdf:load-asd.
(system-dependencies): Likewise.
(test-system): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Andy Patterson e831a1668b
build-system/asdf: Use invoke.
* guix/build/lisp-utils.scm (lisp-eval-program): Replace system* and error
handling with invoke.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Andy Patterson 29a3ffb446
build-system/asdf: Log lisp system invocations.
* guix/build/lisp-system.scm: (lisp-eval-program): Log the arguments to
system*.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Andy Patterson 7b6b7cdcc5
build-system/asdf: Handle all asdf dependency specifications.
Add support for dependencies of the form (:version <name> <version>),
(:feature <feature> <dependency-specification>) and (:require <module-name>),
as defined by
<https://common-lisp.net/project/asdf/asdf.html#The-defsystem-grammar>.

* guix/build/lisp-utils.scm (normalize-dependency): New variable.
(make-asd-file)[dependencies]: Use it to generate dependencies with normalized
names.
[dependency-name]: New variable.
[registry]: Use it to flatten the normalized dependencies.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-19 18:25:28 +02:00
Ludovic Courtès 241358dc94
services: networking: Remove unbound variable reference in 'stop'.
* gnu/services/base.scm (static-networking-shepherd-service): Remove
spurious ":" in 'stop' method inadvertently introduced in commit
c9436025a9.
2018-09-19 18:25:28 +02:00
Ludovic Courtès 7fd3082522
services: udev: Simplify 'start' method.
* gnu/services/base.scm (udev-shepherd-service)[start](find): Remove.
(udev): Hardwire the eudev file name.
Use 'fork+exec-command' instead of 'primitive-fork' and 'exec-command'.
2018-09-19 18:25:27 +02:00
Marius Bakke 4d679255da
gnu: glm: Update to 0.9.9.2.
* gnu/packages/maths.scm (glm): Update to 0.9.9.2.
2018-09-19 15:20:21 +02:00
Marius Bakke f6ae59c2e0
gnu: feh: Update to 2.28.
* gnu/packages/image-viewers.scm (feh): Update to 2.28.
2018-09-19 15:20:21 +02:00
Marius Bakke f03c4ec649
gnu: arpack-ng: Update to 3.6.3.
* gnu/packages/maths.scm (arpack-ng): Update to 3.6.3.
2018-09-19 15:20:21 +02:00
Marius Bakke 622ef2b90a
gnu: arpack-ng: Don't use unstable tarball.
* gnu/packages/maths.scm (arpack-ng)[source]: Use GIT-FETCH.
2018-09-19 15:20:21 +02:00
Marius Bakke c5c1e410cf
gnu: Reinstate xf86-video-ast.
* gnu/packages/patches/xf86-video-ast-remove-mibstore.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/xorg.scm (xf86-video-ast): New public variable.
2018-09-19 15:20:21 +02:00
Danny Milosavljevic 6c1a658414
gnu: rust@1.19.0: Install libtest.
* gnu/packages/rust.scm (rust-1.19)[arguments]<#:phases>[build]: Build
libtest.
2018-09-19 14:41:01 +02:00
Danny Milosavljevic 4a90fcf9e7
gnu: mrustc: Enable tests.
* gnu/packages/rust.scm (mrustc)[arguments]: Add #:test-target.
<#:phases>[install]: Don't install test output.
2018-09-19 14:41:01 +02:00
Pierre Neidhardt 1cfcb841ed
gnu: git-credential-netrc: Add Git.pm to PERL5LIB.
* gnu/packages/version-control.scm (git)[credential-netrc]: Add Git.pm to PERL5LIB.
2018-09-19 09:07:12 +02:00
Ludovic Courtès 20f8d73fac
pull: Use /etc/ssl/certs by default if it exists and is non-empty.
Previously, on machines where /etc/ssl/certs did exist, we'd have this:

  $ unset SSL_CERT_DIR
  $ unset SSL_CERT_FILE
  $ guix pull
  Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.org/git/guix.git'...
  guix pull: error: Git error: the SSL certificate is invalid

This is because we'd let OpenSSL look for certificates in its default
location, which is an empty directory in its own prefix.

* guix/scripts/pull.scm (honor-x509-certificates): New procedure.
(guix-pull): Use it instead of calling 'honor-lets-encrypt-certificates!'.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 1d2b542d34
pull: Assume 'set-tls-certificate-locations!' is available.
* guix/scripts/pull.scm (honor-lets-encrypt-certificates!): Call
'set-tls-certificate-locations!' unconditionally.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 0058888c7e
gnu: Add guile-debbugs.
* gnu/packages/guile.scm (guile-debbugs): New variable.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 912adda316
describe: Work correctly on generation-less profiles.
Previously a command like:

  $(readlink -f ~/.config/guix/current)/bin/guix describe

would succeed without printing anything.

* guix/scripts/describe.scm (display-profile-info): Don't call
'generation-file-name' when NUMBER is zero.
* guix/scripts/pull.scm (display-profile-content): Likewise.
2018-09-18 23:23:44 +02:00
Ludovic Courtès cda08dd339
tests: Skip 'self-contained-tarball' test unconditionally.
* tests/pack.scm ("self-contained-tarball"): Skip unconditionally.
2018-09-18 23:23:44 +02:00
Ludovic Courtès 000bbe02e2
store: Add another missing buffer flush.
This is a followup to 3809824199.

* guix/store.scm (add-file-tree-to-store): Add 'write-buffered-output'
call.
2018-09-18 23:23:43 +02:00
Leo Famulari 32b3611375
gnu: Go 1.10: Update to 1.10.4.
* gnu/packages/golang.scm (go-1.10): Update to 1.10.4.
2018-09-18 15:30:03 -04:00
Tobias Geerinckx-Rice 56c180750c
gnu: busybox: Update to 1.29.3.
* gnu/packages/busybox.scm (busybox): Update to 1.29.3.
2018-09-18 14:18:43 +02:00
Tobias Geerinckx-Rice d99051715a
gnu: xorriso: Update to 1.5.0.
* gnu/packages/cdrom.scm (xorriso): Update to 1.5.0.
2018-09-18 13:50:32 +02:00
Tobias Geerinckx-Rice 8190578fa0
gnu: libisofs: Update to 1.5.0.
* gnu/packages/cdrom.scm (libisofs): Update to 1.5.0.
2018-09-18 13:50:32 +02:00
Tobias Geerinckx-Rice 4999f45ea9
gnu: libburn: Update to 1.5.0.
* gnu/packages/cdrom.scm (libburn): Update to 1.5.0.
2018-09-18 13:50:32 +02:00
Tobias Geerinckx-Rice 487cf5aaf6
gnu: rc: Simplify.
* gnu/packages/shells.scm (rc)[source]: Replace magic commit ID with the
tagged release. Use GIT-FILE-NAME.
[arguments]: Remove 'autoreconf' phase (relying on Guix's built-in
'bootstrap' phase instead) and adjust the ordering of 'patch-trip.rc'
accordingly.
2018-09-18 13:50:09 +02:00
Tobias Geerinckx-Rice 7c0ed27a8b
gnu: ncmpc: Update to 0.30.
* gnu/packages/mpd.scm (ncmpc): Update to 0.30.
[arguments]: Add 'expand-C++-include-path' phase.
[inputs]: Add gcc-8.
2018-09-18 13:50:09 +02:00
Tobias Geerinckx-Rice 8ecd843df5
gnu: exfat-utils: Update to 1.3.0.
* gnu/packages/mtools.scm (exfat-utils): Update to 1.3.0.
2018-09-18 13:50:09 +02:00
Tobias Geerinckx-Rice b22c44f1ea
gnu: cinnamon-desktop: Use Guix's built-in bootstrap phase.
* gnu/packages/cinnamon.scm (cinnamon-desktop)[arguments]: Remove
'autoconf' phase. Add 'skip-premature-configure' phase.
2018-09-18 13:49:23 +02:00
Tobias Geerinckx-Rice 0edc232be9
gnu: gourmet: Use INVOKE.
* gnu/packages/nutrition.scm (gourmet)[arguments]: Substitute INVOKE for
SYSTEM*.
2018-09-18 13:49:23 +02:00
Ludovic Courtès 56c240ba8c
gnu: Add confusion-mdl.
* gnu/packages/lisp.scm (confusion-mdl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2018-09-17 23:19:45 +02:00
Ludovic Courtès e83b2b0fdd
git: Choose a saner default for '%repository-cache-directory'.
* guix/git.scm (%repository-cache-directory): Use 'cache-directory'
by default unless running as root.
2018-09-17 22:10:31 +02:00
Ludovic Courtès 3809824199
store: Add missing buffer flushes.
This could result in deadlock in unusual situations, whereby we'd start
waiting for a reply while the query hasn't been flushed to the socket.

* guix/store.scm (buffering-output-port)[flush]: Add call to
'force-output'.
(add-to-store): Add call to 'write-buffered-output'.
2018-09-17 22:10:31 +02:00
Tobias Geerinckx-Rice d68aa41573
gnu: enlightenment: Update to 0.22.4.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.22.4.
2018-09-17 12:50:21 +02:00
Tobias Geerinckx-Rice ee127549a3
gnu: efl: Update to 1.21.1.
* gnu/packages/enlightenment.scm (efl): Update to 1.21.1.
2018-09-17 12:50:21 +02:00
Tobias Geerinckx-Rice f6a4d57e06
gnu: foo2zjs: Update to 20180910.
* gnu/packages/cups.scm (foo2zjs): Update to 20180910.
2018-09-17 12:50:21 +02:00
Tobias Geerinckx-Rice a09a21190f
gnu: libiptcdata: Mark up description.
* gnu/packages/image.scm (libiptcdata)[description]: Use @dfn{}.
2018-09-17 12:50:20 +02:00
Tobias Geerinckx-Rice 99d386a71f
gnu: powwow: Update to 1.2.18.
* gnu/packages/games.scm (powwow): Update to 1.2.18.
2018-09-17 12:50:20 +02:00
Tobias Geerinckx-Rice 36aff81aa3
gnu: powwow: Use HTTPS home page.
* gnu/packages/games.scm (powwow)[home-page]: Use HTTPS.
2018-09-17 12:50:20 +02:00
Tobias Geerinckx-Rice 956bcc8ed2
gnu: python-dirsync: Update to 2.2.3.
* gnu/packages/python.scm (python-dirsync): Update to 2.2.3.
[native-inputs]: Remove unzip.
2018-09-17 12:50:20 +02:00
Leo Famulari 4fed15fba3
gnu: mbedtls-apache: Update to 2.7.6.
* gnu/packages/tls.scm (mbedtls-apache): Update to 2.7.6.
2018-09-17 01:14:15 -04:00
Mark H Weaver ad99df3990
gnu: linux-libre: Update to 4.18.8.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.18.8.
(%linux-libre-hash): Update hash.
2018-09-16 19:13:42 -04:00
Mark H Weaver c333c8b6f1
gnu: linux-libre@4.14: Update to 4.14.70.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.70.
(%linux-libre-4.14-hash): Update hash.
2018-09-16 19:12:53 -04:00
Mark H Weaver bf9d141a65
gnu: linux-libre@4.9: Update to 4.9.127.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.127.
2018-09-16 19:12:10 -04:00
Mark H Weaver b55d75f133
gnu: linux-libre@4.4: Update to 4.4.156.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.156.
2018-09-16 19:11:33 -04:00
Tobias Geerinckx-Rice 31fdfc0cdd
gnu: dmidecode: Update to 3.2.
* gnu/packages/admin.scm (dmidecode): Update to 3.2.
2018-09-16 23:44:46 +02:00
Ludovic Courtès b9e1fddfd8
gnupg: Use 'gpgv' and keybox files; adjust 'guix refresh' accordingly.
* guix/gnupg.scm (%gpgv-command, current-keyring): New variables
(gnupg-verify): Add optional 'keyring' parameter.  Use 'gpgv' instead of
'gpg' and pass it '--keyring'.
(gnupg-receive-keys): Add optional 'keyring' parameter and honor it.
(gnupg-verify*): Add #:keyring and honor it.
* guix/scripts/refresh.scm (%options, show-help): Add '--keyring'.
(guix-refresh): Parameterize CURRENT-KEYRING.
* doc/guix.texi (Invoking guix refresh): Document '--keyring' and the
keybox format.
2018-09-16 23:00:44 +02:00
Ludovic Courtès 3c0e16391e
channels: Add Guile-Git as a dependency of external channels.
Fixes a regression introduced in
aed0a59405 whereby external channels would
fail to build due to the lack of a (git) module.

Reported by Alex ter Weele on #guix.

* guix/channels.scm (channel-instance-derivations)[guile-gcrypt]:
Remove.
[dependencies]: New variable.
Use it in the 2nd argument to 'build-channel-instance'.
2018-09-16 23:00:44 +02:00
Ludovic Courtès ebbfc59c21
graph: Add '--system'.
* guix/scripts/graph.scm (%options, show-help): Add '--system'.
(%default-options): Add 'system'.
(guix-graph): Pass #:system to 'run-with-store'.
2018-09-16 23:00:44 +02:00
Ben Woodcroft 5edef88b88
gnu: Add ruby-multi-test.
* gnu/packages/ruby.scm (ruby-multi-test): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2018-09-16 18:29:45 +01:00