Commit Graph

13282 Commits

Author SHA1 Message Date
Ludovic Courtès 13cee334f1
pull: Install (guix config) module to override the user's one.
* build-aux/build-self.scm (zlib, gzip, bzip2, xz): New variables.
(build)[storedir, localstatedir, sysconfdir, sbindir]: New variables.
[builder]: Pass them to 'build-guix'.
* guix/build/pull.scm (build-guix): Add #:system, #:storedir,
  #:localstatedir, #:sysconfdir, #:sbindir, #:package-name,
  #:package-version, #:bug-report-address, #:home-page-url, #:libgcrypt,
  #:zlib, #:gzip, #:bzip2, and #:xz.  Remove #:gcrypt.
  Instantiate all the substitution variables in (guix config).  Remove
  code to delete OUT/guix/config.{scm,go}.
* guix/config.scm.in: Add note about (guix script pull).
2016-07-20 22:53:02 +02:00
Ludovic Courtès 0b0086e94c
config: Export the raw installation directories.
* guix/config.scm.in (%storedir, %localstatedir)
(%sysconfdir, %sbindir): New variables.
(%store-directory): Use %STOREDIR.
(%state-directory): Use %LOCALSTATEDIR.
(%config-directory): Use %SYSCONFDIR.
(%guix-register-program): Use %SBINDIR.
2016-07-20 22:53:02 +02:00
Ricardo Wurmus cdf8f39195
gnu: Add allegro-5.0.
* gnu/packages/game-development.scm (allegro-5.0): New variable.
2016-07-20 22:19:34 +02:00
Ricardo Wurmus 19d311b4f2
gnu: Add allegro.
* gnu/packages/game-development.scm (allegro): New variable.
2016-07-20 22:19:34 +02:00
Ludovic Courtès ab84b927ef
download: Prepare to support the 'guix publish' /file URLs.
* guix/download.scm (%content-addressed-mirrors): Add 'file' parameter
to the lambda.
* guix/build/download.scm (url-fetch)[content-addressed-uris]: Adjust
accordingly.
2016-07-20 17:02:35 +02:00
Ludovic Courtès ff6638d112
publish: Handle '/file' URLs, for content-addressed files.
* guix/scripts/publish.scm (render-content-addressed-file): New procedure.
(http-write): Add 'application/octet-stream' case.
(make-request-handler): Add /file/NAME/sha256/HASH URLs.
* tests/publish.scm ("/file/NAME/sha256/HASH")
("/file/NAME/sha256/INVALID-NIX-BASE32-STRING")
("/file/NAME/sha256/INVALID-HASH"): New tests.
* doc/guix.texi (Invoking guix publish): Mention the /file URLs.
2016-07-20 16:54:31 +02:00
Ludovic Courtès 260bc60f83
derivations: Export 'fixed-output-path'.
* guix/derivations.scm (fixed-output-path): Change 'output',
'hash-algo', and 'recursive?' to keyword parameters.  Export.
(derivation): Adjust accordingly.
2016-07-20 16:39:19 +02:00
Ludovic Courtès a849273509
tests: Adjust to Shepherd error message change.
This is a followup to commit 2c2ec261a8.

* tests/guix-system.sh: Adjust expected error message for Shepherd
services that are not provided.
2016-07-20 14:49:01 +02:00
Efraim Flashner 5f01078129
gnu: julia: Build with zlib.
* gnu/packages/julia.scm (julia)[inputs]: Add zlib.
2016-07-20 11:37:01 +03:00
Efraim Flashner c23c628ea7
Revert "gnu: julia: Build with zlib."
This reverts commit 95bf72eeb0.
2016-07-20 11:37:01 +03:00
Efraim Flashner 95bf72eeb0
gnu: julia: Build with zlib.
* gnu/packages/julia.scm (julia)[inputs]: Add zlib.
2016-07-20 09:11:16 +03:00
Efraim Flashner 885fa1eec5
gnu: aria2: Update to 1.25.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.25.0.
2016-07-20 06:49:44 +03:00
Ricardo Wurmus 909147e43f
services: Add pam-limits-service.
* gnu/system/pam.scm (<pam-limits-entry>): New record type.
(pam-limits-entry, pam-limits-entry->string): New procedures.
* gnu/services/base.scm (pam-limits-service-type): New variable.
(pam-limits-service): New procedure.
* doc/guix.texi (Base Services): Document it.
2016-07-19 23:50:03 +02:00
Ludovic Courtès 8e9ba611cb
gnu: atlas: Use @example in description.
* gnu/packages/maths.scm (atlas)[description]: Use "@example".
2016-07-19 23:03:30 +02:00
Tobias Geerinckx-Rice d97c429a34
gnu: atlas: Use cpupower in description.
* gnu/packages/maths.scm (atlas)[description]: Replace 'cpufreq-selector'
with its replacement 'cpupower --governor'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
Tobias Geerinckx-Rice 58d6a1f227
gnu: Add cpupower.
* gnu/packages/linux.scm (cpupower): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
Tobias Geerinckx-Rice 592ccdd388
gnu: Add ssdeep.
* gnu/packages/datastructures.scm (ssdeep): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
David Craven 7fe3f8cf6e
gnu: mesa-utils: Update to 8.3.0.
* gnu/packages/gl.scm (mesa-utils): Update to 8.3.0.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
David Craven 3a92a5b36d
gnu: Order module imports in (gnu packages gl) alphabetically.
* gnu/packages/gl.scm: Order module imports alphabetically.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
David Craven 584f2e1bc1
gnu: gl: Change 'l:' prefix to 'license:'.
* gnu/packages/gl.scm: Change #:prefix l: to #:prefix license:.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-07-19 23:03:30 +02:00
Ludovic Courtès 4591c02ea9
doc: Mention zlib as an optional dependency.
* doc/guix.texi (Requirements): Mention zlib.
(Invoking guix publish): Fix typo.
2016-07-19 23:03:30 +02:00
Efraim Flashner aab76e80d2
gnu: python-pyquery: Update to 1.2.13.
* gnu/packages/python.scm (python-pyquery): Update to 1.2.13.
2016-07-19 21:07:37 +03:00
Efraim Flashner d5ccd9abf6
gnu: python-cssselect: Update to 0.9.2.
* gnu/packages/python.scm (python-cssselect): Update to 0.9.2.
[source]: Use 'pypi-uri' format.
2016-07-19 21:03:31 +03:00
Efraim Flashner 58d1d816ba
gnu: python2-cssutils: Update to 1.0.1.
* gnu/packages/python.scm (python2-cssutils): Update to 1.0.1.
[source]: Use 'pypi-uri' format.
2016-07-19 21:00:52 +03:00
Efraim Flashner 31e8a074c7
gnu: calibre: Update to 2.62.0.
* gnu/packages/ebook.scm (calibre): Update to 2.62.0.
2016-07-19 20:47:25 +03:00
Efraim Flashner d58a32037e
gnu: python-lxml: Update to 3.6.0.
* gnu/packages/python.scm (python-lxml): Update to 3.6.0.
2016-07-19 20:11:32 +03:00
Ludovic Courtès 053fa76ae7
publish: Keep compression disabled when zlib is missing.
Reported by David Thompson.

* guix/scripts/publish.scm (%options)[--compression]: Warn if LEVEL > 0
and zlib is missing, and return RESULT.
2016-07-19 16:47:19 +02:00
ng0 72fb1b24d9
gnu: Use HTTPS home-page URLs for PGP-related packages.
* gnu/packages/gnupg.scm (gnupg, gpgme, libassuan, libgcrypt, libgpg-error,
libksba, npth, pius, python-gnupg, signing-party)[home-page]: Use HTTPS URLs.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-18 23:48:42 -04:00
ng0 f04a7943f4
gnu: libassuan: Update to 2.4.3.
* gnu/packages/gnupg.scm (libassuan): Update to 2.4.3.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-07-18 23:46:32 -04:00
Eric Bavier 0935fb271b
gnu: llvm: Build without debugging symbols.
* gnu/packages/llvm.scm (llvm)[arguments]: Add #:build-type.
2016-07-18 20:28:21 -05:00
Eric Bavier 3b956a3392
gnu: llvm: Update to 3.8.1.
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.8.1.
(llvm-3.7, clang-runtime-3.7, clang-3.7): New variables.
(clang-runtime-from-llvm)[arguments]: Disable tests, which were not
being run for previous versions anyhow but now fail hard.
(clang-from-llvm): Add #:patches keyword argument.
* gnu/packages/patches/clang-3.8-libc-search-path.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Add it.

Co-authored-by: Dennis Mungai <dmngaie@gmail.scm>
2016-07-18 20:28:21 -05:00
Eric Bavier 3ebc09057a
gnu: llvm: Update to 3.7.1.
* gnu/packages/llvm.scm (llvm, clang-runtime, clang): Update to 3.7.1
(llvm-3.6, clang-runtime-3.6, clang-3.6): New variables.
2016-07-18 20:28:21 -05:00
Eric Bavier ee0774305f
gnu: llvm: Add libffi and zlib inputs.
* gnu/packages/llvm.scm (llvm)[inputs]: Add libffi and zlib.
[arguments]: Add cmake flag for libffi to #:configure-flags.

Co-authored-by: Dennis Mungai <dmngaie@gmail.com>
2016-07-18 20:28:21 -05:00
Eric Bavier ac00973cd9
gnu: llvm: Add "license:" prefix.
* gnu/packages/llvm.scm: Import (guix licenses) with "license:" prefix.
2016-07-18 20:28:21 -05:00
Eric Bavier a53c486dad
gnu: llvm: Update to 3.5.2.
* gnu/packages/llvm.scm (llvm-3.5): Update to 3.5.2.
2016-07-18 20:28:21 -05:00
Ludovic Courtès 4a1fc562ae
publish: Add '--compression'.
* guix/scripts/publish.scm (show-help, %options): Add '--compression'.
(<compression>): New record type.
(%no-compression, %default-gzip-compression): New variables.
(%default-options): Add 'compression' key.
(narinfo-string): Add #:compression parameter and honor it.
(render-narinfo): Likewise.
(render-nar): Likewise.
<top level>: Add call to 'declare-header!'.
(swallow-zlib-error): New macro.
(nar-response-port): New procedure.
(http-write): Add call to 'force-output'.  Use 'nar-response-port'
instead of 'response-port'.  Use 'swallow-zlib-error'.
(make-request-handler): Add #:compression parameter and honor it.  Add
"nar/gzip" URL handler.
(run-publish-server): Add #:compression parameter and honor it.
(guix-publish): Honor --compression.
* tests/publish.scm (http-get-port, wait-until-ready): New procedures.
<top level>: Run main server with "-C0".  Call 'wait-until-ready'.
("/nar/gzip/*", "/*.narinfo with compression"): New tests.
* doc/guix.texi (Invoking guix publish): Document it.
2016-07-19 00:07:12 +02:00
Ludovic Courtès 721539026d
Add (guix zlib).
* guix/zlib.scm, tests/zlib.scm: New files.
* Makefile.am (MODULES): Add guix/zlib.scm.
(SCM_TESTS): Add tests/zlib.scm.
* m4/guix.m4 (GUIX_LIBGCRYPT_LIBDIR): New macro.
* configure.ac (LIBGCRYPT_LIBDIR): Use it.  Define and substitute
'LIBZ'.
* guix/config.scm.in (%libz): New variable.
2016-07-19 00:07:12 +02:00
Ludovic Courtès 2c2ec261a8
services: shepherd: Clarify error message about missing service.
Suggested by Tobias Geerinckx-Rice <me@tobias.gr>.

* gnu/services/shepherd.scm (assert-valid-graph)[assert-satisfied-requirements]:
Clarify error message.
2016-07-19 00:07:12 +02:00
Nicolas Goaziou a2d469afaf
gnu: giac-xcas: Update to 1.2.2-75.
* gnu/packages/algebra.scm (giac-xcas): Update to 1.2.2-75.
2016-07-18 22:39:09 +02:00
Leo Famulari 2d656a93db
Revert "gnu: gnutls: Fix test failure."
This reverts commit 1d14bf9f5f.
2016-07-18 12:47:18 -04:00
Mark H Weaver 273260646d
gnu: gd: Fix failing test on i686.
* gnu/packages/patches/gd-fix-test-on-i686.patch: New file.
* gnu/local.mk (dist_PATCH_DATA): Add it.
* gnu/packages/gd.scm (gd)[source]: Add the patch.
2016-07-18 12:36:01 -04:00
Leo Famulari 1d14bf9f5f
gnu: gnutls: Fix test failure.
* gnu/packages/patches/gnutls-fix-stale-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/tls.scm (gnutls)[replacement]: New field.
(gnutls/fixed): New variable.
2016-07-18 12:30:39 -04:00
Efraim Flashner 6aabc87d50
gnu: libinput: Update to 1.4.0.
* gnu/packages/freedesktop.scm (libinput): Update to 1.4.0.
2016-07-18 14:49:49 +03:00
Efraim Flashner cff826ba05
gnu: efl: Use 'modify-phases'.
* gnu/packages/enlightenment.scm (efl)[arguments]: Use 'modify-phases'.
2016-07-18 14:40:55 +03:00
Efraim Flashner ebb365ed57
gnu: efl: Remove valgrind from inputs.
* gnu/packages/enlightenment.scm (efl)[inputs]: Remove valgrind.
2016-07-18 14:29:04 +03:00
Efraim Flashner cb277904a4
gnu: python-gst: Update to 1.8.2.
* gnu/packages/gstreamer.scm (python-gst): Update to 1.8.2.
2016-07-18 14:11:21 +03:00
Efraim Flashner 443975ae8e
gnu: gst-libav: Update to 1.8.2.
* gnu/packages/gstreamer.scm (gst-libav): Update to 1.8.2.
2016-07-18 14:10:54 +03:00
Efraim Flashner 935742f38f
gnu: gst-plugins-ugly: Update to 1.8.2.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): Update to 1.8.2.
2016-07-18 14:10:06 +03:00
Efraim Flashner 727a9a5bd4
gnu: gst-plugins-good: Update to 1.8.2.
* gnu/packages/gstreamer.scm (gst-plugins-good): Update to 1.8.2.
2016-07-18 14:09:36 +03:00
Efraim Flashner 0c19247cea
gnu: gst-plugins-base: Update to 1.8.2.
* gnu/pakcages/gstreamer.scm (gst-plugins-base): Update to 1.8.2.
2016-07-18 14:09:03 +03:00