Commit graph

39033 commits

Author SHA1 Message Date
Ludovic Courtès
f61e6e5238
tests: Adjust for removal of 'device' field in <bootloader-configuration>.
This is a followup to commit 5f7467f046.

* tests/guix-system.sh: For <bootloader-configuration> records, use
'target' rather than 'device'.
2019-01-21 23:09:55 +01:00
Ludovic Courtès
f9e8a12379
store: Rename '&nix-error' to '&store-error'.
* guix/store.scm (&nix-error): Rename to...
(&store-error): ... this, and adjust users.
(&nix-connection-error): Rename to...
(&store-connection-error): ... this, and adjust users.
(&nix-protocol-error): Rename to...
(&store-protocol-error): ... this, adjust users.
(&nix-error, &nix-connection-error, &nix-protocol-error): Define these
condition types and their getters as deprecrated aliases.
* build-aux/run-system-tests.scm, guix/derivations.scm,
guix/grafts.scm, guix/scripts/challenge.scm,
guix/scripts/graph.scm, guix/scripts/lint.scm,
guix/scripts/offload.scm, guix/serialization.scm,
guix/ssh.scm, guix/tests.scm, guix/ui.scm,
tests/derivations.scm, tests/gexp.scm, tests/guix-daemon.sh,
tests/packages.scm, tests/store.scm, doc/guix.texi: Adjust to use the
new names.
2019-01-21 23:09:55 +01:00
Ludovic Courtès
de9fbe9cdc
store: Rename <nix-server> to <store-connection>.
* guix/store.scm (<nix-server>): Rename to...
(<store-connection>): ... this.  Adjust users accordingly.
(nix-server?, nix-server-major-version)
(nix-server-minor-version, nix-server-socket)
(nix-server-version): Define as deprecated aliases.
* guix/inferior.scm: Adjust accordingly.
* guix/ssh.scm: Likewise.
2019-01-21 23:09:55 +01:00
Ludovic Courtès
3a0b2c6c6e
deprecation: Send warnings to (current-error-port) by default.
* guix/deprecation.scm (deprecation-warning-port): Default
to (current-error-port).
2019-01-21 23:09:55 +01:00
Ludovic Courtès
1b7dd99738
deprecation: Add 'define-deprecated/alias'.
* guix/deprecation.scm (define-deprecated/alias): New macro.
2019-01-21 23:09:55 +01:00
Pierre Neidhardt
6185732390
gnu: fortune-mod: Skip failing tests.
* gnu/packages/games.scm (fortune-mod)[arguments]: Skip failing tests.
2019-01-21 23:06:19 +01:00
Pierre Neidhardt
f528588a9f
gnu: mediainfo: Update to 18.12.
* gnu/packages/video.scm (mediainfo): Update to 18.12.
[arguments]: Remove manual autogen.sh.
2019-01-21 22:42:48 +01:00
Pierre Neidhardt
c0588f98c5
gnu: libzen: Fix sha256 and remove manual autogen.sh.
* gnu/packages/cpp.scm (libzen)[source]: Fix sha256.
[arguments]: Remove manual autogen.sh.
2019-01-21 22:40:25 +01:00
Arun Isaac
cb5fe915d2
import: github: Improve readability.
* guix/import/github.scm (latest-released-version): Use any and cond instead
of a recursive loop and an if-else ladder respectively.
2019-01-21 17:59:15 +05:30
Arun Isaac
6b7ea49bed
import: github: Use prereleases when package has no releases.
* guix/import/github.scm (latest-released-version): Use preleases when package
has no releases.
2019-01-21 17:59:15 +05:30
Danny Milosavljevic
0233bdde6c
gnu: xen: Update comments.
* gnu/packages/virtualization.scm (xen): Update comments.
2019-01-21 12:23:58 +01:00
Danny Milosavljevic
504f3ac840
gnu: xen: Don't patch etherboot Makefile.
* gnu/packages/virtualization.scm (xen)[arguments]<#:phases>[patch]:
Don't patch etherboot's "Makefile".
2019-01-21 12:09:32 +01:00
Mathieu Othacehe
b65b78ff38
gnu: calibre: Fix PDF to EPUB conversion.
When trying to convert a PDF to EPUB, the following error occurs:

File "/gnu/store/kz6bgqw9z7akj11zh20wkx14cgq0s3n2-calibre-3.35.0/lib/calibre/calibre/ebooks/pdf/pdftohtml.py", line 76, in pdftohtml
    _('Could not find pdftohtml, check it is in your PATH'))

Hardcode pdftohtml binary path by patching pdftohtml.py.

* gnu/packages/ebook.scm (calibre)[arguments]: Patch pdftohtml.py in
'configure phase to set hardcode pdftohtml binary path.
2019-01-21 10:56:24 +01:00
Efraim Flashner
26e4203be1
gnu: moreutils: Update to 0.63.
* gnu/packages/moreutils.scm (moreutils): Update to 0.63.
[arguments]: All phases return #t.
2019-01-21 11:31:06 +02:00
Efraim Flashner
f3359f93f6
gnu: perl-module-scandeps: Update to 1.27.
* gnu/packages/perl.scm (perl-module-scandeps): Update to 1.27.
2019-01-21 11:21:14 +02:00
Efraim Flashner
5b0fe2b8f1
gnu: perl-json: Update to 4.01.
* gnu/packages/perl.scm (perl-json): Update to 4.01.
[source]: Update source uri.
2019-01-21 11:21:14 +02:00
Efraim Flashner
8c396a0576
gnu: perl-json-xs: Update to 4.0.
* gnu/packages/perl.scm (perl-json-xs): Update to 4.0.
[native-inputs]: Add perl-canary-stability.
2019-01-21 11:21:14 +02:00
Efraim Flashner
cf867de061
gnu: perl-file-remove: Update to 1.58.
* gnu/packages/perl.scm (perl-file-remove): Update to 1.58.
[description]: Texify the description.
2019-01-21 11:21:14 +02:00
Efraim Flashner
755fc87305
gnu: perl-file-homedir: Update to 1.004.
* gnu/packages/perl.scm (perl-file-homedir): Update to 1.004.
2019-01-21 11:21:13 +02:00
Efraim Flashner
cbe6f6e385
gnu: perl-file-which: Update to 1.23.
* gnu/packages/perl.scm (perl-file-which): Update to 1.23.
[source]: Update source uri.
[home-page]: Update to new home-page.
2019-01-21 11:21:13 +02:00
Efraim Flashner
6a19aaca50
gnu: perl-file-slurp: Update to 9999.25.
* gnu/packages/perl.scm (perl-file-slurp): Update to 9999.25.
[source]: Update source uri.
2019-01-21 11:21:13 +02:00
Efraim Flashner
f860a068f9
gnu: perl-text-template: Update to 1.54.
* gnu/packages/perl.scm (perl-text-template): Update to 1.54.
[native-inputs]: Add perl-test-more-utf8, perl-test-warnings.
2019-01-21 11:21:13 +02:00
Efraim Flashner
26eb9260f9
gnu: Add perl-test-more-utf8.
* gnu/packages/perl-check.scm (perl-test-more-utf8): New variable.
2019-01-21 11:21:12 +02:00
Ludovic Courtès
e9dfa4d839
build-self: Execute trampoline in a clean environment.
Previously execution of the trampoline would be somewhat sensitive to
GUILE_LOAD_PATH & co., for example.

* build-aux/build-self.scm (build-program): Remove 'unsetenv' call and
%LOAD-COMPILED-PATH hack.
(call-with-clean-environment): New procedure.
(with-clean-environment): New macro.
(build): Wrap 'open-pipe*' call in 'with-clean-environment'.
2019-01-21 10:19:32 +01:00
Ludovic Courtès
c680a7daa5
ci: Skip system tests on armhf-linux.
* gnu/ci.scm (system-test-jobs): Return the empty list when SYSTEM is
"armhf-linux".
2019-01-21 10:19:31 +01:00
Danny Milosavljevic
7aae5d6154
gnu: xen: Update comment.
Follow-up to 35e8900da0.

* gnu/packages/virtualization.scm (xen): Update comment.
2019-01-21 10:15:53 +01:00
Danny Milosavljevic
35e8900da0
gnu: Add xen.
* gnu/packages/virtualization.scm (xen): New variable.
2019-01-21 10:15:04 +01:00
Mathieu Othacehe
e3634bd0a3
Update .mailmap.
* .mailmap: Add my email.
2019-01-21 10:10:43 +01:00
Mathieu Othacehe
b93d2602f7
Update 'TODO'
* TODO (Installer): Add Pierre Neidhardt suggestions described here:
  https://lists.gnu.org/archive/html/guix-devel/2019-01/msg00305.html
2019-01-21 09:59:41 +01:00
Clément Lassieur
0d928d223b
gnu: gajim: Update to 1.1.2.
* gnu/packages/messaging.scm (gajim): Update to 1.1.2.
2019-01-21 09:25:43 +01:00
Clément Lassieur
37ce9d957b
gnu: python-nbxmpp: Update to 0.6.9.
* gnu/packages/messaging.scm (python-nbxmpp): Update to 0.6.9.
2019-01-21 09:25:39 +01:00
Tobias Geerinckx-Rice
7469b98db3
gnu: xcursorgen: Update to 1.0.7.
* gnu/packages/xorg.scm (xcursorgen): Update to 1.0.7.
2019-01-21 03:12:25 +01:00
Tobias Geerinckx-Rice
969bbf8bd6
gnu: umoci: Update to 0.4.3.
* gnu/packages/virtualization.scm (umoci): Update to 0.4.3.
2019-01-21 03:12:25 +01:00
Tobias Geerinckx-Rice
dba326def1
gnu: vlc: Update to 3.0.6.
* gnu/packages/video.scm (vlc): Update to 3.0.6.
2019-01-21 03:12:25 +01:00
Tobias Geerinckx-Rice
17634f0b2a
gnu: perl-xml-compile: Update to 1.61.
* gnu/packages/xml.scm (perl-xml-compile): Update to 1.61.
2019-01-21 03:12:25 +01:00
Ludovic Courtès
c49b45c917
pull: Add missing import.
Fixes <https://bugs.gnu.org/34136>.
Reported by Pierre Neidhardt <mail@ambrevar.xyz>.

Fixes wrong-type-arg crash of "guix pull -p /does-not-exist -l".

* guix/scripts/pull.scm: Use (srfi srfi-34).
2019-01-20 23:54:54 +01:00
Ludovic Courtès
54800977d9
self: Build the (gnu tests …) modules.
* guix/self.scm (compiled-guix)[*system-modules*]: Remove gnu/tests/*
from #:extra-files.
[*system-test-modules*]: New variable.
[build-modules]: Add them.
2019-01-20 23:54:54 +01:00
Andreas Enge
8e3e51df11
python-cysignals: Update to 1.9.0.
* gnu/packages/python-xyz.scm (python-cysignals, python2-cysignals):
Update to 1.9.0.
2019-01-20 23:32:18 +01:00
Efraim Flashner
32d92d2cde
gnu: freedink-data: Update to 1.08.20190120.
* gnu/packages/games.scm (freedink-data): Update to 1.08.20190120.
2019-01-20 22:33:06 +02:00
Efraim Flashner
8ca06df5c2
gnu: freedink-dfarc: Add upstream refresh information.
* gnu/packages/games.scm (freedink-dfarc)[properties]: New field.
2019-01-20 22:33:06 +02:00
Efraim Flashner
151fa92672
gnu: fredink-data: Add upstream refresh information.
* gnu/packages/games.scm (freedink-data)[properties]: New field.
2019-01-20 22:33:06 +02:00
Efraim Flashner
f9eab0be73
gnu: freedink-engine: Add upstream refresh information.
* gnu/packages/games.scm (freedink-engine)[properties]: New field.
2019-01-20 22:33:00 +02:00
Arun Isaac
2034a231dc
import: github: Check if git URIs are GitHub URIs.
This fixes a regression introduced in 9a5091d0c1
whereby packages with git origin URIs not hosted on GitHub would be wrongly
detected as being covered under the github updater.
Reported by Efraim Flashner <efraim@flashner.co.il>.

* guix/import/github.scm (updated-github-url): Check if git URIs are GitHub
URIs.
2019-01-21 01:17:52 +05:30
Pkill -9
e5ad2cdf17
gnu: Add pencil2d.
* gnu/packages/animation.scm (pencil2d): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-20 19:21:43 +01:00
Pierre Langlois
b06966b4e1
gnu: qjackctl: Disable xunique.
* gnu/packages/audio.scm (qjackctl)[arguments]: Pass "--disable-xunique" to
configure-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-01-20 18:51:51 +01:00
Ludovic Courtès
f58f676b12
channels: Use 'fold2'.
* guix/channels.scm (latest-channel-instances): Use 'fold2' instead of
'fold'.
2019-01-20 18:45:40 +01:00
Ludovic Courtès
ab6025b52c
channels: Gracefully report the lack of a 'guix' channel.
* guix/channels.scm (channel-instance-derivations): Raise an '&message'
condition when CORE-INSTANCE is #f.
2019-01-20 18:11:11 +01:00
Ludovic Courtès
acefa7408b
channels: Build channel modules in an inferior.
This ensures that channel modules are compiled with the right Guile,
that they get to see the right modules, and so on.  IOW, it avoids bugs
such as those addressed by commits
3c0e16391e and
cb341c1219.

* guix/channels.scm (standard-module-derivation): Add 'core'
parameter.  Rewrite in terms of 'gexp->derivation-in-inferior'.
(build-from-source): Add #:core parameter and pass it to
'standard-module-derivation'.
(build-channel-instance): Add 'core' parameter and pass it on.
(channel-instance-derivations)[dependencies]: Remove.
Adjust 'build-channel-instance' call.
2019-01-20 17:57:14 +01:00
Ludovic Courtès
1fafc383b1
inferior: 'gexp->derivation-in-inferior' honors EXP's load path.
Previously the imported modules and extensions of EXP would be missing
from the load path of 'guix repl'.

* guix/inferior.scm (gexp->derivation-in-inferior)[script]: New
variable.
[trampoline]: Write (primitive-load #$script) to PIPE.  Add #$output.
* tests/channels.scm ("channel-instances->manifest")[depends?]: Check
for requisites rather than direct references.
Adjust callers accordingly.
2019-01-20 17:57:14 +01:00
Ludovic Courtès
ed75bdf35c
channels: Don't pull from the same channel more than once.
Previous 'channel-instance->manifest' would call
'latest-channel-derivation', which could trigger another round of
'latest-repository-commit' for no good reason.

* guix/channels.scm (resolve-dependencies): New procedure.
(channel-instance-derivations)[edges]: New variable.
[instance->derivation]: New procedure.
* tests/channels.scm (make-instance): Use 'checkout->channel-instance'
instead of 'channel-instance'.
("channel-instances->manifest"): New test.
2019-01-20 17:57:14 +01:00