Commit Graph

22807 Commits

Author SHA1 Message Date
Ludovic Courtès 33463986ba
publish: Remove 'regexp-exec' call from the hot path.
* guix/scripts/publish.scm (extract-narinfo-hash): Rewrite without
resorting to regexps.
2017-07-21 17:03:24 +02:00
Ludovic Courtès 0a94dc6396
base32: Export the base32 charsets.
* guix/base32.scm (%nix-base32-charset, %rfc4648-base32-charset): New
variables.
2017-07-21 17:03:24 +02:00
Ludovic Courtès 75a4d86f50
substitute: Avoid repeated calls to 'length'.
* guix/scripts/substitute.scm (fetch-narinfos)[update-progress!]: Move
'length' call outside of lambda.
2017-07-21 17:03:24 +02:00
Ludovic Courtès 3d3e93b3f9
substitute: Optimize hash-part-to-path conversion on non-200 responses.
Previously this operation was linear in the number of requests and
involved costly calls to 'string-contains'.

* guix/scripts/substitute.scm (fetch-narinfos)[hash-part->path]: New
procedure.
[handle-narinfo-response]: Use it for caching when CODE is not 200.
2017-07-21 17:03:24 +02:00
Tobias Geerinckx-Rice 0cf9f9b1e3
gnu: libpsl: Update to 0.18.0.
* gnu/packages/web.scm (libpsl): Update to 0.18.0.
[native-inputs]: Add pkg-config.
[inputs]: Replace icu4c with libidn2; add libunistring.
2017-07-21 12:24:47 +02:00
Leo Famulari cd4f35c379
gnu: borg: Update to 1.0.11.
* gnu/packages/backup.scm (borg): Update to 1.0.11.
2017-07-21 01:23:25 -04:00
Leo Famulari f8fabfc99f
gnu: bitcoin-core: Actually build the graphical client.
* gnu/packages/finance.scm (bitcoin-core)[inputs]: Replace qtbase with qt.
2017-07-20 18:42:28 -04:00
Alex Vong 81c35029d4
gnu: heimdal: Fix CVE-2017-{6594,11103}.
* gnu/packages/patches/heimdal-CVE-2017-6594.patch,
gnu/packages/patches/heimdal-CVE-2017-11103.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/kerberos.scm (heimdal)[source]: Use them.
2017-07-20 15:33:53 -04:00
Arun Isaac cfd6a3b1ee
gnu: Add bmon.
* gnu/packages/networking.scm (bmon): New variable.
2017-07-20 23:19:24 +05:30
Ludovic Courtès dbfcadfc30
doc: Show the "git clone" command.
Suggested by Joshua Branson <jbranso91@gmail.com>.

* doc/contributing.texi (Building from Git): Add "git clone" command.
2017-07-20 18:08:00 +02:00
Ludovic Courtès 302d46e63f
gexp: Slightly improve error reporting for 'local-file'.
Reported by Ricardo Wurmus.

* guix/gexp.scm (local-file): Define using 'syntax-case' instead of
'syntax-rules'.  Explicitly handle the zero-argument case and the
use-as-an-identifier case.
2017-07-20 18:08:00 +02:00
Ricardo Wurmus fb5dfa86b1
gnu: texlive-latex-mdwtools: Fix syntax error in description.
* gnu/packages/tex.scm (texlive-latex-mdwtools)[description]: Fix texinfo
syntax error.
2017-07-20 16:40:29 +02:00
Ricardo Wurmus 09acbb02c7
gnu: texlive-latex-environ: Fix invalid texinfo markup.
* gnu/packages/tex.scm (texlive-latex-environ)[description]: Fix texinfo
syntax errors.
2017-07-20 16:36:31 +02:00
Arun Isaac 0daa1d646a
gnu: Add mksh.
* gnu/packages/shells.scm (mksh): New variable.
2017-07-20 19:55:22 +05:30
Arun Isaac 41209a6f3a
licenses: Add MirOS license.
* guix/licenses.scm (miros): New variable.
2017-07-20 19:55:21 +05:30
Ludovic Courtès 561f4e4500
guix package: '-l' correctly handles zero-generation profiles.
* guix/scripts/package.scm (process-query) <'list-generations>: Properly
handle the case where 'profile-generations' returns the empty list.
2017-07-20 15:29:15 +02:00
Ludovic Courtès edbe07cd67
guix package: Trim trailing slashes from the profile name.
Fixes <https://bugs.gnu.org/25762>.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* guix/scripts/package.scm (canonicalize-profile): Trim trailing slashes
from PROFILE.
2017-07-20 15:29:15 +02:00
Ludovic Courtès 457103b90b
doc: Discuss when to run a GC.
* doc/guix.texi (Invoking guix gc): Add a paragraph on when to run a GC.
2017-07-20 15:29:15 +02:00
Leo Famulari 8582e03ae5
gnu: Remove a left-over patch.
This is a followup to commit 426b0b898f.

* gnu/packages/patches/pcre-CVE-2017-7186.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2017-07-20 09:00:36 -04:00
Leo Famulari 426b0b898f
gnu: pcre: Update replacement to 8.41 [fixes CVE-2017-{7244,7245,7246}].
* gnu/packages/pcre.scm (pcre)[replacement]: Update to pcre-8.41.
(pcre/fixed): Replace with ...
(pcre-8.41): ... new variable.
2017-07-20 08:26:40 -04:00
Ludovic Courtès da03649640
profiles: Remove workaround for an old Guile 'scandir' bug.
* guix/profiles.scm (generation-numbers)[scandir]: Remove.
2017-07-20 11:57:13 +02:00
Ludovic Courtès 8b113790fa
tests: Use 'virtual-machine' records instead of monadic procedures.
* gnu/tests/base.scm (%test-basic-os): Use 'let*' instead of 'mlet*' and
'virtual-machine' instead of 'system-qemu-image/shared-store-script'.
(run-mcron-test): Likewise.
(run-nss-mdns-test): Likewise.
* gnu/tests/dict.scm (run-dicod-test): Likewise.
* gnu/tests/mail.scm (run-opensmtpd-test): Likewise.
(run-exim-test): Likewise.
* gnu/tests/messaging.scm (run-xmpp-test): Likewise.
* gnu/tests/networking.scm (run-inetd-test): Likewise.
* gnu/tests/nfs.scm (run-nfs-test): Likewise.
* gnu/tests/ssh.scm (run-ssh-test): Likewise.
* gnu/tests/web.scm (run-nginx-test): Likewise.
2017-07-20 11:57:13 +02:00
Ludovic Courtès ed419fa0c5
vm: Add a <virtual-machine> type and associated gexp compiler.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add
 #:options parameter and honor it.
(<virtual-machine>): New record type.
(virtual-machine): New macro.
(port-forwardings->qemu-options, virtual-machine-compiler): New
procedures.
2017-07-20 11:57:13 +02:00
Oleg Pykhalov c97cef0a91
gnu: Add premake4.
* gnu/packages/build-tools.scm (premake4): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-20 11:57:13 +02:00
Gábor Boskovits 742242a5be
gnu: Add java-commons-cli@1.2.
* gnu/packages/java.scm(java-commons-cli-1.2): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2017-07-20 11:57:12 +02:00
Theodoros Foradis 6158309450
gnu: Update g-wrap to use guile-2.2.
* gnu/packages/guile.scm (g-wrap): [propagated-inputs]: Use guile-2.2.
[arguments]: Add "--disable-Werror" to configure-flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2017-07-20 11:57:12 +02:00
Ricardo Wurmus ab466d79e1
gnu: Add eolie.
* gnu/packages/gnome.scm (eolie): New variable.
2017-07-20 08:41:28 +02:00
Tobias Geerinckx-Rice 0762a1dbf4
gnu: perl-html-template: Update to 2.97.
* gnu/packages/web.scm (perl-html-template): Update to 2.97.
2017-07-20 02:10:55 +02:00
Tobias Geerinckx-Rice 1a34ca0e8f
gnu: openh264: Update to 1.7.0.
* gnu/packages/video.scm (openh264): Update to 1.7.0.
2017-07-20 01:36:51 +02:00
Tobias Geerinckx-Rice ba4e15ae85
gnu: gnome-mpv: Update to 0.12.
* gnu/packages/video.scm (gnome-mpv): Update to 0.12.
2017-07-20 01:36:50 +02:00
Jonathan Brielmaier 29ac89a635
gnu: Add 0xffff.
* gnu/packages/flashing-tools.scm (0xffff): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-07-20 00:54:52 +02:00
Jonathan Brielmaier 05c8851695
gnu: Add libusb@0.1.
* gnu/packages/libusb.scm (libusb-0.1): New variable.
* gnu/packages/patches/libusb-0.1-disable-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-07-20 00:54:52 +02:00
Maxim Cournoyer 7c0d4c3a6b
gnu: lapack: Fix hash of release 3.7.1
Apparently the release was modified (cleaned-up) in-place. An issue was opened
at https://github.com/Reference-LAPACK/lapack-release/issues/4.

* gnu/packages/maths.scm (lapack): Fix sha256 hash.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-07-20 00:54:51 +02:00
Ben Woodcroft ca8fb248de
gnu: Add patches missing from dist_patch_DATA.
Reported by Eric Bavier.

* gnu/local.mk (dist_patch_DATA): Add
gnu/packages/patches/hmmer-remove-cpu-specificity.patch,
gnu/packages/patches/jacal-fix-texinfo.patch,
gnu/packages/patches/python-pbr-fix-man-page-support.patch and
gnu/packages/patches/vsearch-unbundle-cityhash.patch.
2017-07-20 08:51:56 +10:00
Tobias Geerinckx-Rice dc05f6523e
gnu: qsyncthingtray: Update to 0.5.8.
* gnu/packages/sync.scm (qsyncthingtray): Update to 0.5.8.
2017-07-20 00:35:02 +02:00
Tobias Geerinckx-Rice 53cea7594c
gnu: dub: Update to 1.4.0.
* gnu/packages/ldc.scm (dub): Update to 1.4.0.
2017-07-20 00:34:57 +02:00
Ricardo Wurmus e7304ab18b
gnu: Add python-sphinx-1.6.
* gnu/packages/python.scm (python-sphinx-1.6): New variable.
2017-07-19 22:27:03 +02:00
Ricardo Wurmus 5f94ec913f
gnu: Add python-sphinxcontrib-websupport.
* gnu/packages/python.scm (python-sphinxcontrib-websupport): New variable.
2017-07-19 22:27:02 +02:00
Ricardo Wurmus 423d2136f0
gnu: Add python-xapian-bindings.
* gnu/packages/search.scm (python-xapian-bindings): New variable.
2017-07-19 22:27:02 +02:00
Leo Famulari 6d5deda16d
gnu: graphicsmagick: Update to 1.3.26.
* gnu/packages/imagemagick.scm (graphicsmagick): Update to 1.3.26.
[source]: Use url-fetch and add SourceForge URL. Remove snippet.
2017-07-19 13:56:43 -04:00
Leo Famulari 8016393eab
gnu: mpv: Update to 0.26.0.
* gnu/packages/video.scm (mpv): Update to 0.26.0.
2017-07-19 10:33:31 -04:00
Ricardo Wurmus fd40857938
gnu: r-bsgenome-hsapiens-ucsc-hg19: Update hash.
* gnu/packages/bioinformatics.scm (r-bsgenome-hsapiens-ucsc-hg19)[source]:
Update hash because the tarball changed in place.
2017-07-19 14:39:37 +02:00
Ricardo Wurmus 1fb9b6782b
gnu: snakemake: Update to 3.13.3.
* gnu/packages/python.scm (snakemake): Update to 3.13.3.
2017-07-19 14:39:37 +02:00
Ricardo Wurmus 688fbf572e
gnu: guitarix: Update to 0.35.5.
* gnu/packages/audio.scm (guitarix): Update to 0.35.5.
2017-07-19 14:39:37 +02:00
Efraim Flashner 2324541bd0
gnu: sortmerna: Limit support to x86_64 and i686 only.
* gnu/packages/bioinformatics.scm (sortmerna)[supported-systems]: New field.
2017-07-19 14:37:47 +03:00
Ludovic Courtès a388c951dd
gnu: totem: Do not build static libraries.
* gnu/packages/gnome.scm (totem)[arguments]: Pass "--disable-static".
This reduces the size of Totem from 11 MiB to 9 MiB.
2017-07-19 11:33:02 +02:00
Tobias Geerinckx-Rice 644e5f17df
download: Add OpenBSD mirrors.
* guix/download.scm (%mirrors) <openbsd>: Add HTTPS OpenBSD mirrors.
* gnu/packages/ntp.scm (openntpd)[source]: Use them.
* gnu/packages/ssh.scm (openssh)[source]: Likewise.
* gnu/packages/tls.scm (libressl)[source]: Likewise.
2017-07-19 01:42:08 +02:00
Tobias Geerinckx-Rice b225b1bec2
gnu: openntpd: Update to 6.1p1.
* gnu/packages/ntp.scm (openntpd): Update to 6.1p1.
2017-07-19 01:06:55 +02:00
Tobias Geerinckx-Rice c48fa0ad32
gnu: tlp: Update to 1.0.
* gnu/packages/linux.scm (tlp): Update to 1.0.
2017-07-19 01:06:54 +02:00
Tobias Geerinckx-Rice 137a330988
gnu: meson: Update to 0.41.1.
* gnu/packages/build-tools.scm (meson) Update to 0.41.1.
2017-07-19 01:06:54 +02:00