Commit Graph

11251 Commits

Author SHA1 Message Date
Ludovic Courtès 71e2065a38 substitute: Honor client-provided empty URL list.
Before that, 'guix build --substitute-urls=""' would lead to using the
daemon's own URL list instead of the empty list.  The 'or*' hack, which
is to blame, had become unnecessary since commit
fb4bf72be3.

Reported by Mark H Weaver <mhw@netris.org>.

* guix/scripts/substitute.scm (or*): Remove.
(%cache-urls): Use 'or' instead of 'or*'.
* tests/store.scm ("substitute query, alternating URLs"): Add test with
empty URL list.
* doc/guix.texi (Common Build Options): Mention the empty string.
2016-03-16 18:34:53 +01:00
Ludovic Courtès 1ac94ae166 build: Write emacs-autoloads.el to $(builddir).
* emacs.am ($(AUTOLOADS)): Write to $(builddir), not $(srcdir).
2016-03-16 17:02:53 +01:00
Ludovic Courtès 23d60ba65c substitute: Honor the 'max-age' of 'Cache-Control' headers.
This allows substitute servers to tell 'guix substitute' how long they
can cache narinfo lookups.

* guix/scripts/substitute.scm (cache-narinfo!): Add 'ttl' parameter.
[cache-entry]: Honor it.
(fetch-narinfos)[handle-narinfo-response]: Check the 'Cache-Control'
header of RESPONSE and pass its 'max-age' value to 'cache-narinfo!'.
2016-03-16 15:57:47 +01:00
Ludovic Courtès 1cf7e31898 substitute: Make room for a 'ttl' field in cached entries.
* guix/scripts/substitute.scm (cached-narinfo): Expect 'narinfo' sexp
version 2 with a 'ttl' field.
(cache-narinfo!)[cache-entry]: Produce 'narinfo' sexp version 2 with a
'ttl' field.
(remove-expired-cached-narinfos)[expired?]: Read 'narinfo' sexp version 2.
2016-03-16 15:57:47 +01:00
Andreas Enge 81b55bf7a9 gnu: cm: Update to 0.3.
* gnu/packages/algebra.scm (cm): Update to 0.3.
  [license]: Change to gpl3+.
2016-03-16 14:29:36 +01:00
Ludovic Courtès df061d079b build: Default to "https://mirror.hydra.gnu.org/" for substitutes.
* config-daemon.ac: Check for (gnutls) and define 'GUIX_SUBSTITUTE_URLS'.
* nix/nix-daemon/guix-daemon.cc (main): Use GUIX_SUBSTITUTE_URLS.
* guix/store.scm (%default-substitute-urls): Use 'https' when (gnutls)
is available.
* doc/guix.texi (Binary Installation): Mention mirrors
(Invoking guix-daemon): Mention mirror.hydra.gnu.org.
(Substitutes): Mention mirrors.
(Invoking guix archive): Show https URLs.
2016-03-16 11:27:37 +01:00
Ludovic Courtès 409e4ac6e3 http-client: No 'setvbuf' for non-file ports.
* guix/http-client.scm (http-fetch): Do not call 'setvbuf' on non-file
ports.
2016-03-16 11:27:37 +01:00
Roel Janssen 247d498aaa gnu: Add r-dnacopy.
* gnu/packages/bioinformatics.scm (r-dnacopy): New variable.
2016-03-16 11:23:27 +01:00
Rob Syme 6a35566df7 gnu: Add codingquarry.
* gnu/packages/bioinformatics.scm (codingquarry): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-16 04:49:27 -04:00
Tobias Geerinckx-Rice 8e14e059c4 gnu: Add idle3-tools.
* gnu/packages/disk.scm (idle3-tools): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-16 02:35:06 -04:00
Efraim Flashner 892f92b7aa gnu: neon: Update to 0.30.1.
* gnu/packages/version-control.scm (neon): Update to 0.30.1.
2016-03-16 05:46:50 +02:00
Efraim Flashner 5575917d13 gnu: mercurial: Update to 3.7.2.
* gnu/packages/version-control.scm (mercurial): Update to 3.7.2.
[source]: Update to mercurial-scm.org.
[home-page]: Same.
2016-03-16 05:46:50 +02:00
宋文武 34dc3907ac gnu: Add gdk-pixbuf+svg.
* gnu/packages/gtk.scm (gdk-pixbuf+svg): New variable.
2016-03-16 09:07:00 +08:00
Leo Famulari 1714e2c39c gnu: git: Update to 2.7.3 [unspecified security fixes].
* gnu/packages/version-control.scm (git): Update to 2.7.3.
(git-manpages)[source]: Update hash.
2016-03-15 19:41:23 -04:00
Andy Wingo 7a2413e46d gnu: services: Add GNOME and XFCE desktop services.
* gnu/services/desktop.scm (package-direct-input-selector): New
  function.
  (<gnome-desktop-configuration>, gnome-desktop-service-type)
  (<xfce-desktop-configuration>, xfce-desktop-service-type): New
  variables.
  (gnome-desktop-service, xfce-desktop-service): New public variables.

* doc/guix.texi (Desktop Services): Document new variables.
2016-03-15 21:03:27 +01:00
Leo Famulari 20095cc513 gnu: xfce: Add xfce4-power-manager.
* gnu/packages/xfce.scm (xfce)[propagated-inputs]: Add xfce4-power-manager.
2016-03-15 11:57:40 -04:00
Florian Paul Schmidt c29e5fda3e gnu: Add xfce4-power-manager.
* gnu/packages/xfce.scm (xfce4-power-manager): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-03-15 11:57:40 -04:00
Mark H Weaver 75b314a615 gnu: linux-libre: Update to 4.5, while preserving linux-libre-4.4.
* gnu/packages/linux-libre-x86_64.conf: Rename to ...
* gnu/packages/linux-libre-4.4-x86_64.conf: ... this.
* gnu/packages/linux-libre-i686.conf: Rename to ...
* gnu/packages/linux-libre-4.4-i686.conf: ... this.
* gnu/packages/linux-libre-4.5-i686.conf,
gnu/packages/linux-libre-4.5-x86_64.conf: New files.
* Makefile.am (KCONFIGS): Update accordingly.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.
(linux-libre-4.4): New variable.
2016-03-15 11:09:00 -04:00
Chris Marusich 4d343a141b doc: Clarify and consolidate modify-services documentation.
* doc/guix.texi ("Using the Configuration System"): Move the example...
("Service Reference"): ...to here, and clarify more.
* gnu/services.scm (modify-services): Update docstring to mention the
return type.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-03-15 15:54:02 +01:00
Ludovic Courtès e3009f6000 doc: Add "Hardware Considerations" node.
Suggested by Nils Gillmann <niasterisk@grrlz.net>.

* doc/guix.texi (Hardware Considerations): New node.
(operating-system Reference): Mention it.
2016-03-15 10:34:29 +01:00
Efraim Flashner 20109e07bd gnu: gitolite: Update to 3.6.5.
* gnu/packages/version-control.scm (gitolite): Update to 3.6.5.
[source]: Remove patch.
* gnu/packages/patches/gitolite-openssh-6.8-compat.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
2016-03-15 07:10:35 +02:00
Efraim Flashner b65195c2cc gnu: shflags: Update to 1.2.0.
* gnu/packages/version-control.scm (shflags): Update to 1.2.0.
[source]: Switch to github.
[home-page]: Project moved to github.
2016-03-15 07:10:35 +02:00
Efraim Flashner 3a099d179a gnu: libgit2: Update to 0.24.0.
* gnu/packages/version-control.scm (libgit2): Update to 0.24.0.
[inputs]: Switch python to python-wrapper.
2016-03-15 07:10:35 +02:00
Ludovic Courtès 264fdedb40 grafts: Update the narinfo cache before building a derivation.
* guix/grafts.scm (references-oracle)[references*]: Add call to
'substitution-oracle'.
2016-03-14 23:34:33 +01:00
Ludovic Courtès 026ca50fa4 substitute: Keep the initial connection alive.
The connection used to fetch /nix-cache-info is now reused for the
subsequent narinfo requests.

* guix/scripts/substitute.scm (download-cache-info)[download]: Remove.
[uri, read-cache-info]: New variables.
Rewrite in terms of 'http-fetch' instead of 'fetch'.  Return an open
port in addition to a <cache-info>.
* guix/scripts/substitute.scm (http-multiple-get): Add #:port parameter
and honor it.
(fetch-narinfos)[do-fetch]: Add 'port' parameter.
Adjust to new 'download-cache-info' and 'do-fetch' signatures.
2016-03-14 23:34:33 +01:00
Ludovic Courtès d262a0f36b http-client: Add #:keep-alive? parameter.
* guix/http-client.scm (http-fetch): Add #:keep-alive? parameter and
pass it to 'http-get' or 'http-get*'.
2016-03-14 23:34:33 +01:00
Ludovic Courtès cc27dbcf4a substitute: Remove dead code.
This parameter became unused with the switch to HTTP pipelining in
commit d3a652037e.

* guix/scripts/substitute.scm (fetch): Remove #:quiet-404? and adjust
accordingly.
2016-03-14 23:34:33 +01:00
Ludovic Courtès f09aea1b58 store: 'references/substitutes' caches its results.
* guix/store.scm (%reference-cache): New variable.
(references/substitutes): Use it.
2016-03-14 23:34:33 +01:00
Ludovic Courtès 3667bb6cb0 size: Disable grafts.
* guix/scripts/size.scm (guix-size): Parametrize '%graft?'.
2016-03-14 23:34:33 +01:00
Andreas Enge 6e6a04016d doc: Fix incorrect use of @xref.
This is a follow-up to commit 1068f26b79.
Reported by Alex Kost <alezost@gmail.com>.

* doc/guix.texi (Building the Installation Image): Replace @xref by @ref.
2016-03-14 20:54:28 +01:00
David Thompson 9ced12de01 gnu: kodi: Update to 16.0.
* gnu/packages/kodi.scm (kodi): Update to 16.0.
[inputs]: Add crossguid, dcadec, and util-linux.
2016-03-14 13:33:01 -04:00
David Thompson 680b54c5ce gnu: Add dcadec.
* gnu/packages/audio.scm (dcadec): New variable.
2016-03-14 13:33:01 -04:00
David Thompson 1e3fbf3c6d gnu: Add crossguid.
* gnu/packages/kodi.scm (crossguid): New variable.
2016-03-14 13:33:01 -04:00
Ricardo Wurmus 10b4a969be gnu: htsjdk: Use ant-build-system.
* gnu/packages/bioinformatics.scm (htsjdk)[build-system]: Use
ant-build-system.
[arguments]: Adapt for ant-build-system.
2016-03-14 14:30:03 +01:00
Ricardo Wurmus 5f7a1a4def build: Add Ant build system.
* guix/build-system/ant.scm: New file.
* guix/build/ant-build-system: New file.
* Makefile.am (MODULES): Add new files.
* doc/guix.texi (Build Systems): Document ant-build-system.
2016-03-14 12:36:49 +01:00
Ricardo Wurmus 535e2a2fee gnu: ant: Update source URL.
* gnu/packages/java.scm (ant)[source]: Use Apache mirror instead of
  plain URL.
2016-03-14 12:36:49 +01:00
Ricardo Wurmus e1a5615875 build: reset-timestamps: Include directories.
* guix/build/install.scm (reset-timestamps): Reset timestamps of
  directories as well.
2016-03-14 12:36:49 +01:00
Ricardo Wurmus 846e340954 gnu: Add pyicoteo.
* gnu/packages/bioinformatics.scm (pyicoteo): New variable.
2016-03-14 12:36:49 +01:00
Efraim Flashner 388e05ee16 gnu: enlightenment: Update to 0.20.6.
* gnu/packages/enlightenment.scm (enlightenment): Update to 0.20.6.
2016-03-14 12:12:53 +02:00
Leo Famulari 61c30e9d23 gnu: Add khard.
* gnu/packages/mail.scm (khard): New variable.
2016-03-13 18:52:30 -04:00
Leo Famulari eed1a61fbb gnu: Add python-vobject.
* gnu/packages/python.scm (python-vobject, python2-vobject): New variables.
2016-03-13 18:52:30 -04:00
Leo Famulari ed07b08d93 gnu: Split python2-pyicu into python-pyicu and python2-pyicu.
* gnu/packages/python.scm (python2-pyicu): Split variable into...
(python-pyicu, python2-pyicu): ...both Python variants.
(python-pyicu)[arguments]: Enable tests.
2016-03-13 18:52:30 -04:00
Leo Famulari d3b29319b1 gnu: python2-pyicu: Update to 1.9.2.
* gnu/packages/python.scm (python2-pyicu): Update to 1.9.2.
2016-03-13 18:52:30 -04:00
Leo Famulari 9bb6d18482 gnu: Add python2-atomicwrites.
* gnu/packages/python.scm (python2-atomicwrites): New variable.
2016-03-13 18:52:30 -04:00
Nils Gillmann aae6b4b9a9 gnu: Add font-un.
* gnu/packages/fonts.scm (font-un): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-13 23:39:26 +01:00
Jochem Raat 467c498bdc gnu: Add Dutch Aspell dictionary.
* gnu/packages/aspell.scm (aspell-dict-nl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-13 23:39:26 +01:00
Jookia b6ecac93d6 gnu: Add Google Noto font.
* gnu/packages/fonts.scm (font-google-noto): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-03-13 23:39:26 +01:00
Leo Famulari 36455a9672 gnu: vdirsyncer: Update 0.9.2.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.9.2.
[arguments]: Run the test suite after installation. Use DETERMINISTIC_TESTS.
Run tests with `make` instead of "py.test".
[native-inputs]: Remove python-pytest-xprocess and python-oauthlib.
2016-03-13 18:26:48 -04:00
Leo Famulari bea6d94d24 gnu: python-hypothesis: Update to 3.1.0.
* gnu/packages/python.scm (python-hypothesis, python2-hypothesis): Update to
3.1.0.
2016-03-13 18:26:48 -04:00
Efraim Flashner 03aef4a795 gnu: libcddb: Update to 1.3.2.
* gnu/packages/cdrom.scm (libcddb): Update to 1.3.2.
2016-03-13 21:29:51 +02:00