Commit Graph

20250 Commits

Author SHA1 Message Date
Ludovic Courtès a2d648992a
gnu: libressl: Do not use 'getentropy'.
* gnu/packages/tls.scm (libressl)[arguments]: New field.
2017-04-18 23:45:11 +02:00
Julien Lepiller 5315fcfd77
gnu: Add adb.
* gnu/packages/android.scm: New file.
* gnu/packages/patches/libbase-fix-includes.patch: New file.
* gnu/packages/patches/libbase-use-own-logging.patch: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES, dist_patch_DATA): Add them.

Co-Authored-By: Marius Bakke <mbakke@fastmail.com>
2017-04-18 23:32:07 +02:00
Ludovic Courtès d72b42064b
publish: Remove expired cache entries when '--ttl' is used.
* guix/scripts/publish.scm (narinfo-files): New procedure.
(render-narinfo/cached)[delete-file]: New procedure.  Add call to
'maybe-remove-expired-cache-entries'.
* doc/guix.texi (Invoking guix publish): Document the interation between
--cache and --ttl.
2017-04-18 23:19:30 +02:00
Ludovic Courtès 2ea2aac6e9
Add (guix cache) and use it in (guix scripts substitute).
* guix/cache.scm, tests/cache.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* guix/scripts/substitute.scm (obsolete?): Remove.
(remove-expired-cached-narinfos): Rename to...
(cached-narinfo-expiration-time): ... this.  Remove the removal part and
only keep the expiration time part.
(narinfo-cache-directories): Add optional 'directory' parameter and
honor it.
(maybe-remove-expired-cached-narinfo): Remove.
(cached-narinfo-files): New procedure.
(guix-substitute): Use 'maybe-remove-expired-cache-entries' instead of
'maybe-remove-expired-cached-narinfo'.
2017-04-18 23:19:30 +02:00
Ludovic Courtès 00753f7038
publish: Add '--cache' and '--workers'.
Fixes <http://bugs.gnu.org/26201>.
Reported by <dian_cecht@zoho.com>.

These options allow nars to be "baked" off-line and cached instead of
being compressed on the fly.  As a side-effect, this allows us to
provide a 'Content-Length' header for nars.

* guix/scripts/publish.scm (show-help, %options): Add '--cache' and
'--workers'.
(%default-options): Add 'workers'.
(nar-cache-file, narinfo-cache-file, run-single-baker): New procedures.
(single-baker): New macro.
(render-narinfo/cached, bake-narinfo+nar)
(render-nar/cached): New procedures.
(make-request-handler): Add #:cache and #:pool parameters and honor
them.
(run-publish-server): Likewise.
(guix-publish): Honor '--cache' and '--workers'.
* tests/publish.scm ("with cache"): New test.
* doc/guix.texi (Invoking guix publish): Document it.
2017-04-18 23:18:41 +02:00
Ludovic Courtès 339a79fd6a
publish: Use 'sendfile' when possible.
* guix/scripts/publish.scm (http-write): In the
'application/octet-stream' case, use 'sendfile' when OUTPUT is a file
port.
2017-04-18 23:17:18 +02:00
Ludovic Courtès 905ae5276d
publish: Introduce 'actual-compression'.
* guix/scripts/publish.scm (actual-compression): New procedure.
(narinfo-string): Use it.
2017-04-18 23:17:18 +02:00
Ludovic Courtès 1563d6c79f
Add (guix workers).
* guix/workers.scm, tests/workers.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.
* .dir-locals.el: Add rule for 'eventually'.
2017-04-18 23:17:17 +02:00
Julien Lepiller 54412ebfeb
services: nginx: Use mime.types.
* gnu/service/web.scm (default-nginx-config): Add 'nginx' parameter
and honor it.  Adjust callers.
2017-04-18 23:15:52 +02:00
Kei Kebreau 73f0e1ab79
gnu: vte: Update to 0.48.2.
* gnu/packages/gnome.scm (vte): Update to 0.48.2.
2017-04-18 15:14:41 -04:00
Ben Sturmfels 1b5b24c92d
gnu: fabric: Enable tests.
* gnu/packages/patches/fabric-tests.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (fabric)[source]: Use it.
[native-inputs]: Add PYTHON2-FUDGE, PYTHON2-JINJA2 and PYTHON2-NOSE.
[arguments]<#:tests>: Remove.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-18 19:16:45 +02:00
Ben Sturmfels 16fe516e78
gnu: Add python-fudge.
* gnu/packages/python.scm (python-fudge): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-18 19:16:45 +02:00
Mathieu Othacehe f8818360d5
doc: Replace --no-grub by --no-bootloader.
Fixes <http://bugs.gnu.org/26551>.

Followup to a9eadc06ac.

* doc/guix.texi: Replace all references to "--no-grub" by
"--no-bootloader".

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-18 16:35:28 +02:00
Marius Bakke 7f412f335d
gnu: multipath-tools: Update to 0.7.1.
* gnu/packages/linux.scm (multipath-tools): Update to 0.7.1.
[native-inputs]: Add PERL and PKG-CONFIG.
[inputs]: Add JSON-C.
[arguments]: Add two more substitutions in 'patch-source' phase.
2017-04-18 16:32:47 +02:00
Marius Bakke b5fb9430ba
gnu: multipath-tools: Don't install to /usr sub-folders.
* gnu/packages/linux.scm (multipath-tools)<#:make-flags>: Add SYSTEMDPATH entry.
<#:phases>: Add new 'patch-source' phase.
2017-04-18 16:32:47 +02:00
Feng Shu 2b3b745c00
gnu: Add emacs-exwm.
* gnu/packages/emacs.scm (emacs-exwm): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-04-18 19:02:21 +05:30
Feng Shu deddeb44f9
gnu: Add emacs-xelb.
* gnu/packages/emacs.scm (emacs-xelb): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-04-18 19:02:21 +05:30
Kei Kebreau 4e85f8d9d5
gnu: mate-themes: Update to 3.22.10.
* gnu/packages/mate.scm (mate-themes): Update to 3.22.10.
2017-04-17 21:22:40 -04:00
Feng Shu f0bc6ca1f2
gnu: you-get: Update to 0.4.715.
* gnu/packages/video.scm (you-get): Update to 0.4.715.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-04-18 00:29:50 +02:00
Marius Bakke 8bbd50e968
Revert "gnu: nss, nss-certs: Update to 3.30.1."
This version fails to build on some architectures:

https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00365.html
https://bugzilla.mozilla.org/show_bug.cgi?id=1351459

This reverts commit 96e98d51a7.
2017-04-18 00:29:03 +02:00
Marius Bakke 54fbac3fb5
Revert "gnu: nss: Increase test timeouts."
This turned out to be a red herring:

https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00365.html

This reverts commit a790f26207.
2017-04-18 00:29:00 +02:00
Ludovic Courtès e16c823f80
serialization: Remove Guile < 2.0.9 workaround.
* guix/serialization.scm (write-contents): Assume 'sendfile' is always
defined.
2017-04-17 23:31:28 +02:00
Ludovic Courtès 94df39cc08
records: Slight simplification.
* guix/records.scm (make-syntactic-constructor): Simplify 'find' expression.
2017-04-17 23:31:28 +02:00
Marius Bakke f11ae44fa1
gnu: Use netfilter mirror where applicable.
* gnu/packages/linux.scm (iptables, libmnl, libnftnl)[source]: Use
mirror://netfilter.org.
2017-04-17 23:07:37 +02:00
Marius Bakke 7c7b802cce
download: Add netfilter mirror.
* guix/download.scm (%mirrors): Add mirrors for www.netfilter.org.
2017-04-17 23:05:46 +02:00
Tobias Geerinckx-Rice f5c6edd60c
gnu: sshfs-fuse: Update to 2.9.
* gnu/packages/linux.scm (sshfs-fuse): Update to 2.9.
[home-page]: Point to new home page.
2017-04-17 22:55:27 +02:00
Stefan Reichoer 05bdb5e64d
gnu: Add ponymix.
* gnu/packages/pulseaudio.scm (ponymix): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-04-17 16:37:21 -04:00
José Miguel Sánchez García 7eaa8cf2b9
gnu: vis: Update to 0.3.
* gnu/packages/text-editors.scm (vis): Update to 0.3.
[arguments]: Remove #:make-flags.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-04-17 16:03:35 -04:00
Leo Famulari 3a0cfe675f
gnu: capnproto: Update to 0.5.3.1 [security fixes].
See this document for more information about the security issues fixed in this
release:

<https://github.com/sandstorm-io/capnproto/blob/master/security-advisories/2017-04-17-0-apple-clang-elides-bounds-check.md>

* gnu/packages/serialization.scm (capnproto): Update to 0.5.3.1.
2017-04-17 15:59:39 -04:00
Chris Marusich 794223bc77
gnu: Add youtube-dl-gui.
* gnu/packages/video.scm (youtube-dl-gui): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-04-17 15:43:28 -04:00
Clément Lassieur 483ab08f84
gnu: icecat: Use system ICU.
* gnu/packages/gnuzilla.scm (icecat)[arguments] <#:configure-flags>: Remove
comment for "--with-system-icu".
2017-04-17 20:41:17 +02:00
Clément Lassieur a408e75766
gnu: icu4c: Fix crashes in programs using system ICU.
Fixes <http://bugs.gnu.org/26462>.

* gnu/packages/patches/icu4c-reset-keyword-list-iterator.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/icu4c.scm (icu4c)[replacement]: New field.
(icu4c/fixed): New variable.
2017-04-17 20:41:16 +02:00
Petter c04ef86e81
gnu: go: Update to 1.8.1.
* gnu/packages/golang.scm (go-1.7): Replace with ...
(go-1.8): New variable.
[arguments]: Update substitutions in 'prebuild' phase.
(go): Update to go-1.8.
2017-04-17 14:16:26 -04:00
Leo Famulari 13223c8e59
gnu: iptables: Update to 1.6.1.
* gnu/packages/linux.scm (iptables): Update to 1.6.1.
[source], [home-page]: Use HTTPS URLs.
[inputs]: Add libmnl and libnftnl.
[native-inputs]: Add bison, flex, and pkg-config.
2017-04-17 13:57:02 -04:00
Leo Famulari b754c6121b
gnu: Add libnftnl.
* gnu/packages/linux.scm (libnftnl): New variable.
2017-04-17 13:57:01 -04:00
Leo Famulari 2f4a58b512
gnu: Add libmnl.
* gnu/packages/linux.scm (libmnl): New variable.
2017-04-17 13:57:01 -04:00
Tobias Geerinckx-Rice 4ca077d572
gnu: v4l-utils: Update to 1.12.3.
* gnu/packages/video.scm (v4l-utils): Update to 1.12.3.
[native-inputs]: Add perl.
2017-04-17 19:17:10 +02:00
Tobias Geerinckx-Rice b8a3190856
gnu: video: Always use HTTPS on videolan.org.
* gnu/packages/video.scm (libdca, libdvdread, libdvdnav, libdvdnav-4)
(libdvdcss)[source]: Use HTTPS.
(libdca, libdvdcss, libbdplus, libaacs)[home-page]: Likewise.
2017-04-17 19:17:10 +02:00
Kei Kebreau 67ba411ce3
gnu: freedink-data: Update to 1.08.20170401.
* gnu/packages/games.scm (freedink-data): Update to 1.08.20170401.
2017-04-17 12:16:05 -04:00
Mathieu Othacehe a9eadc06ac
scripts: system: Rename --no-grub option to --no-bootloader.
* guix/scripts/system.scm (%options, show-help): Adjust accordingly.
Keep "--no-grub" for compatibility reasons, but do not mention it in the help.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2017-04-17 17:41:54 +02:00
Danny Milosavljevic e5f0563d5d
gnu: node: Actually set timeout to 1 h.
* gnu/packages/node.scm (node)[properties]: Actually set timeout to 1 h.
2017-04-17 16:59:17 +02:00
宋文武 9505dafb99
retroarch: Update to 1.5.0.
* gnu/packages/games.scm (retroarch): Update to 1.5.0.
2017-04-17 22:35:17 +08:00
Jelle Licht 3759deaba1
gnu: node: Update to 7.8.0.
* gnu/packages/node.scm (node): Update to 7.8.0.
[properties]: Add timeout of 1 h.
2017-04-17 14:55:16 +02:00
Tobias Geerinckx-Rice 9b9cc951bd
gnu: yadifa: Update to 2.2.4.
* gnu/packages/dns.scm (yadifa): Update to 2.2.4.
2017-04-17 02:04:08 +02:00
Tobias Geerinckx-Rice c9d7cd4762
gnu: perl-sys-cpu: Re-write description.
* gnu/packages/perl.scm (perl-sys-cpu)[description]: Fix some typos by
re-writing most of the description.
2017-04-17 02:04:08 +02:00
Tobias Geerinckx-Rice d1e4ad1b02
gnu: Fix typos in descriptions.
* gnu/packages/admin.scm (di)[description]: Likewise.
* gnu/packages/bioinformatics.scm (r-annotate)[description]: Likewise.
* gnu/packages/datastructures.scm (sparsehash)[description]: Likewise.
* gnu/packages/dns.scm (knot)[description]: Likewise.
* gnu/packages/emacs.scm (emacs-idle-highlight)[synopsis, description]:
Likewise.
* gnu/packages/gnome.scm (libpeas)[description]: Likewise.
* gnu/packages/gtk.scm (python2-pygtk)[description]: Likewise.
* gnu/packages/kde-frameworks.scm (kactivities)[description]: Fix typo.
* gnu/packages/libevent.scm (perl-anyevent)[description]: Likewise.
* gnu/packages/machine-learning.scm (ghmm)[description]: Likewise.
* gnu/packages/mail.scm (mlmmj)[description]: Likewise.
* gnu/packages/maths.scm (vc)[description]: Likewise.
* gnu/packages/music.scm (gx-super-fuzz-lv2)[description]: Likewise.
* gnu/packages/networking.scm (nload)[description]: Likewise.
* gnu/packages/python.scm (python-execnet)[description]: Likewise.
* gnu/packages/terminals.scm (tilda)[description]: Likewise.
* gnu/packages/python.scm (python-execnet, python-tables)
(python2-coverage-test-runner, python2-rope)[description]: Likewise.
2017-04-17 02:04:08 +02:00
Marius Bakke 0d82fafea4
gnu: fio: Update to 2.19.
* gnu/packages/benchmark.scm (fio): Update to 2.19.
2017-04-16 21:23:51 +02:00
Marius Bakke a790f26207
gnu: nss: Increase test timeouts.
* gnu/packages/patches/nss-increase-test-timeout.patch: Wait up to 60s before
regarding a test as failed.
2017-04-16 21:23:51 +02:00
Kei Kebreau a7ccfefd53
gnu: diffoscope: Update to 81.
* gnu/packages/package-management.scm (diffoscope): Update to 81.
2017-04-16 09:14:47 -04:00
Ludovic Courtès 1730c5b509
lint: Avoid non-literal format strings.
Reported by Mathieu Othacehe <m.othacehe@gmail.com>
at <http://bugs.gnu.org/26498>.

* guix/scripts/lint.scm (warn-if-package-has-input): Rename to...
(package-input-intersection): ... this.  Remove 'linted' and 'message'
parameters.  Return a list of inputs.
(check-inputs-should-be-native): Adjust accordingly.
(check-inputs-should-not-be-an-input-at-all): Likewise.
2017-04-16 12:08:30 +02:00