Commit Graph

20211 Commits

Author SHA1 Message Date
Ludovic Courtès a35136cb56
services: guix-publish: Add 'cache', 'workers', and 'ttl' config knobs.
* gnu/services/base.scm (<guix-publish-configuration>)[cache, workers,
ttl]: New fields.
(guix-publish-shepherd-service): Honor them.
(guix-publish-activation): New procedure.
(guix-publish-service-type): Extend ACTIVATION-SERVICE-TYPE.
* doc/guix.texi (Base Services): Document it.
2017-04-19 17:51:39 +02:00
Ludovic Courtès 2363bdd707
gexp: 'gexp-modules' accepts plain Scheme objects.
* guix/gexp.scm (gexp-modules): Return '() when not (gexp? GEXP).
* tests/gexp.scm ("gexp-modules and literal Scheme object"): New test.
2017-04-19 17:51:39 +02:00
Ludovic Courtès f2767d3e89
services: guix-publish: Fix getter names.
Fixes a typo introduced in 697ddb8850.

* gnu/services/base.scm (<guix-publish-configuration>): Add missing
'configuration' word in getters for 'compression-level' and 'nar-path'.
2017-04-19 17:51:39 +02:00
rennes 7c16151a7c
gnu: Add balsa.
* gnu/packages/mail.scm (balsa): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2017-04-19 15:05:03 +05:30
Mark H Weaver acf2863788
gnu: linux-libre: Update to 4.10.11.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.10.11.
(%linux-libre-hash): Update hash.
2017-04-18 21:17:49 -04:00
Mark H Weaver f8616113db
gnu: linux-libre@4.9: Update to 4.9.23.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.23.
2017-04-18 21:16:44 -04:00
Mark H Weaver 06d707d3ea
gnu: linux-libre@4.4: Update to 4.4.62.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.62.
2017-04-18 21:15:51 -04:00
Kei Kebreau 9be54b1507
gnu: baobab: Update to 3.24.0.
* gnu/packages/gnome.scm (baobab): Update to 3.24.0.
2017-04-18 20:18:13 -04:00
Kei Kebreau 29548d26e3
gnu: adwaita-icon-theme: Update to 3.24.0.
* gnu/packages/gnome.scm (adwaita-icon-theme): Update to 3.24.0.
2017-04-18 20:04:00 -04:00
Kei Kebreau 274b7fd0ff
gnu: gnome-terminal: Update to 3.24.1.
* gnu/packages/gnome.scm (gnome-terminal): Update to 3.24.1.
2017-04-18 19:13:28 -04:00
Ludovic Courtès 05afdb7744
gnu: guix: Update development snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to d72b420.
2017-04-18 23:45:11 +02:00
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