Commit Graph

14044 Commits

Author SHA1 Message Date
Eric Bavier 2908087013
gnu: superlu-dist: Remove non-free source.
* gnu/packages/maths.scm (superlu-dist)[source]: Replace non-free
mc64ad.c source with stub.
2016-07-20 21:16:25 -05:00
Eric Bavier 8787c555d9
gnu: slepc: Update to 3.7.1.
* gnu/packages/maths.scm (slepc): Update to 3.7.1.
2016-07-20 21:16:25 -05:00
Eric Bavier fafd623e49
gnu: petsc: Update to 3.7.2.
* gnu/packages/maths.scm (petsc): Update to 3.7.2.
[arguments]: Adjust scrubbed files.
2016-07-20 21:16:24 -05:00
Eric Bavier b730b43770
gnu: petsc: Make header generation reproducible.
* gnu/packages/maths.scm (petsc)[arguments]: Scrub timestamp from
  petscmachineinfo.h header.
2016-07-20 21:16:24 -05:00
Eric Bavier 64dcc28963
gnu: petsc: Use modify-phases.
* gnu/packages/maths.scm (petsc)[arguments]: Use modify-phases.
2016-07-20 21:16:24 -05:00
Eric Bavier 9474a4b3ec
gnu: openmpi: Make binaries reproducible.
* gnu/packages/mpi.scm (openmpi)[arguments]: Remove timestamps from
source files.  Delete installed configure logs.
2016-07-20 21:16:24 -05:00
Eric Bavier 6876590fd4
gnu: openmpi: Update to 1.10.3.
* gnu/packages/mpi.scm (openmpi): Update to 1.10.3.
[source]: Use https.
2016-07-20 21:15:37 -05:00
Eric Bavier 995a09e055
gnu: superlu: Update to 5.2.1.
* gnu/packages/maths.scm (superlu): Update to 5.2.1.
[source]: Remove non-free MC64 code.
[inputs]: Use openblas instead of lapack's BLAS.
[build-system]: Use cmake-build-system.
[arguments]: Remove custom phases and replace with CMake flags.
[license]: List additional licenses for some source and example files.
2016-07-20 18:31:16 -05:00
Eric Bavier d721c83a63
gnu: Add libhilbert.
* gnu/packages/maths.scm (libhilbert): New variable.
2016-07-20 18:31:16 -05:00
Ludovic Courtès b006ba5038
pull: Update the version string.
Fixes <http://bugs.gnu.org/19278>.
Reported by Tomáš Čech <tcech@suse.cz>.

This allows 'guix --version' to return something that better represents
what version is being used.

* build-aux/build-self.scm (date-version-string): New procedure.
(build): Add #:version.
[builder]: Pass it to 'build-guix' as #:package-version.
2016-07-20 22:53:02 +02:00
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
Ludovic Courtès 7575655212
Merge branch 'master' into core-updates 2016-07-20 11:42:17 +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
Leo Famulari 5d4c90ae02
gnu: gnutls: Update to 3.5.2.
* gnu/packages/tls.scm (gnutls): Update to 3.5.2.
[native-inputs]: Add net-tools.
2016-07-20 00:01:39 -04: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