Commit graph

6032 commits

Author SHA1 Message Date
Mark H Weaver
a06af9f528 gnu: tzdata: Update to 2015b.
* gnu/packages/base.scm (tzdata): Update to 2015b.
2015-03-30 06:01:03 -04:00
Ludovic Courtès
6170834d47 gnu: glibc: Fix cross-compilation regression.
Fixes a regression introduced in 12b0dbd.
See <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00698.html>.

* gnu/packages/base.scm (glibc)[arguments] <pre-configure>: Add
  #:native-inputs parameter.  Look up "static-bash" first in INPUTS,
  then in NATIVE-INPUTS.
2015-03-26 23:09:35 +01:00
Ludovic Courtès
12b0dbd472 gnu: cross-base: Make the libc static-bash bug more apparent.
The 'static-bash' input of cross libcs has always been compiled
natively.  This patch makes the issue more visible.

* gnu/packages/cross-base.scm (cross-libc): Add 'inputs' field, and
  add (package-inputs glibc) to 'native-inputs'.
2015-03-25 21:26:31 +01:00
Ludovic Courtès
25d5b708a6 Merge branch 'master' into core-updates 2015-03-25 10:52:52 +01:00
Ludovic Courtès
614c218842 substitute: Rename cache directory from "substitute-binary" to "substitute".
* guix/scripts/substitute.scm (%narinfo-cache-directory): Change
  "substitute-binary" to "substitute".
* tests/store.scm ("substitute query"): Likewise.
* tests/substitute.scm (call-with-narinfo): Likewise.
2015-03-25 10:46:22 +01:00
Ludovic Courtès
2c74fde00e Rename 'guix substitute-binary' to 'guix substitute'.
* guix/scripts/substitute-binary.scm: Rename to...
* guix/scripts/substitute.scm: ... this.  Adjust module name, entry
  point, comments, and help string accordingly.
* nix/scripts/substitute-binary.in: Rename to...
* nix/scripts/substitute.in: ... this.
* pre-inst-env.in (NIX_SUBSTITUTERS): Adjust accordingly.
* tests/substitute-binary.scm: Rename to...
* tests/substitute.scm: ... this.  Adjust references to (guix scripts
  substitute) accordingly.
* guix/ui.scm (show-guix-help)[internal?]: Change "substitute-binary" to
  "substitute".
* Makefile.am (MODULES, SCM_TESTS): Adjust to file renames.
* daemon.am (nodist_pkglibexec_SCRIPTS): Likewise.
* config-daemon.ac: Likewise.
* guix/tests.scm (call-with-derivation-narinfo): Adjust comments and
  docstring.
2015-03-25 10:46:22 +01:00
Ludovic Courtès
c3a450fb49 derivations: 'substitution-oracle' now ignores sub-trees that are valid.
Before that, "guix build qt", when only qt itself is missing, would lead
'substitution-oracle' to call 'substitutable-paths' with 318 items.
Now, this is down to 6 items, because it doesn't ask about prerequisites
that are already valid.

* guix/derivations.scm (substitution-oracle)[valid-input?,
  dependencies]: New procedures.
  Use 'dependencies' and remove call to 'remove'.
2015-03-25 10:46:22 +01:00
Ludovic Courtès
3681db5d2c derivations: Add a 'cut?' parameter to 'derivation-prerequisites'.
* guix/derivations.scm (valid-derivation-input?): New procedure.
  (derivation-prerequisites): Add 'cut?' parameter and honor it.
* tests/derivations.scm ("derivation-prerequisites and
  derivation-input-is-valid?"): New test.
2015-03-25 10:46:22 +01:00
Mark H Weaver
1f43445745 gnu: python: Do not use patchelf.
* gnu/packages/python.scm (python-2): Add rpath for lib directory of output to
  LDFLAGS.  Remove 'patchelf' from inputs.  Remove #:modules and
  #:imported-modules from arguments.  Remove 'add-lib-to-runpath' phase.
  (python): Do not add #:modules to inherited package arguments.
2015-03-24 19:30:33 -04:00
Ludovic Courtès
c7d1d88f6c derivations: Don't invoke the substituter when an item is already in store.
Fixes <http://bugs.gnu.org/20188>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/derivations.scm (substitution-oracle): Add 'valid?' procedure.
  Remove 'valid?' items from PATHS.
2015-03-24 23:22:23 +01:00
Eric Bavier
17287d7d47 packages: Add zip archive support to 'patch-and-repack'.
Fixes <http://bugs.gnu.org/19830>.

* guix/packages.scm (%standard-patch-inputs): Add "unzip".
  (patch-and-repack)[decompression-type]: Detect zip archive.
  [build]: Invoke "unzip" when appropriate.
2015-03-24 15:59:30 -05:00
Andreas Enge
b655b2154c gnu: calibre: Add a patch to avoid automatic checking for updates.
* gnu/packages/patches/calibre-no-updates-dialog.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/ebook.scm (calibre): Use patch.
2015-03-24 20:35:37 +01:00
Ricardo Wurmus
2c16316ef4 gnu: Add pbtranscript-tofu.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu): New variable.
2015-03-24 16:59:47 +01:00
Ricardo Wurmus
ad641d53de gnu: Add python2-bx-python.
* gnu/packages/bioinformatics.scm (python2-bx-python): New variable.
2015-03-24 15:00:09 +01:00
Ricardo Wurmus
19ee920144 gnu: Add python2-pbcore.
* gnu/packages/bioinformatics.scm (python2-pbcore): New variable.
2015-03-24 14:58:47 +01:00
Ludovic Courtès
e2e21359c5 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update.
2015-03-23 23:13:18 +01:00
Ludovic Courtès
9586011d08 gnu: geiser: Make description more concise and less personal.
* gnu/packages/emacs.scm (geiser)[description]: Tweak.
2015-03-23 22:28:49 +01:00
Ludovic Courtès
1f8ad12a9c gnu: geiser: Update to 0.7.
* gnu/packages/emacs.scm (geiser): Update to 0.7.
2015-03-23 22:28:49 +01:00
Ludovic Courtès
cb043c2b13 substitute-binary: Remove thread-safe 'regexp-exec' wrapper.
* guix/scripts/substitute-binary.scm: Remove 'regexp-exec' setting.
2015-03-23 22:28:49 +01:00
Ludovic Courtès
d3a652037e substitute-binary: Pipeline HTTP requests instead of using threads.
* guix/scripts/substitute-binary.scm (fetch-narinfo, %lookup-threads,
  n-par-map*): Remove.
  (narinfo-cache-file, cached-narinfo, cache-narinfo!, narinfo-request,
  http-multiple-get, read-to-eof, fetch-narinfos, lookup-narinfos,
  narinfo-from-file): New procedures.
  (lookup-narinfo): Rewrite in terms of 'lookup-narinfos'.
  (guix-substitute-binary): Use 'lookup-narinfos' instead of
  'lookup-narinfo'.
2015-03-23 22:28:49 +01:00
Ludovic Courtès
0561e9ae16 substitute-binary: Allow callers to specify the size of a narinfo.
* guix/scripts/substitute-binary.scm (read-narinfo): Add #:size
  parameter and honor it.
2015-03-23 22:28:49 +01:00
Mark H Weaver
87db65507e Remove unused patchelf inputs.
* gnu/packages/maths.scm (lapack, gmsh), gnu/packages/ssh.scm (libssh): Remove
  unused patchelf from native-inputs.
2015-03-23 13:30:06 -04:00
Ludovic Courtès
69383a4798 gnu: bigloo: Use Emacs with X11 support.
* gnu/packages/scheme.scm (bigloo)[inputs]: Change EMACS-NO-X to EMACS.
2015-03-23 15:18:06 +01:00
宋文武
07780c714e gnu: sdl: Explicitly use mesa as OpenGL driver.
* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
  'LDFLAGS=-lGL'.
2015-03-23 22:06:57 +08:00
宋文武
83bb3a3ee4 gnu: sdl: Allow dlopen for OpenGL.
Fixes a regression introduced in 666aa99.
Reported by Felipe López and David Thompson.

* gnu/packages/sdl.scm (sdl)[inputs]: Add glu.
  [arguments]<#:configure-flags>: Replace '--disable-sdl-dlopen' with
  '--disable-alsa-shared --disable-pulseaudio-shared --disable-x11-shared'.
2015-03-23 22:06:57 +08:00
Ricardo Wurmus
ef5cbf9bae gnu: Add python-h5py and python2-h5py.
* gnu/packages/python.scm (python-h5py, python2-h5py): New variables.
2015-03-23 10:56:13 +01:00
Ricardo Wurmus
aa5fac334f gnu: Add Julia.
* gnu/packages/julia.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2015-03-23 10:38:07 +01:00
Ricardo Wurmus
61a529b421 gnu: Add double-conversion.
* gnu/packages/maths.scm (double-conversion): New variable.
2015-03-23 10:38:06 +01:00
Ricardo Wurmus
2742f87e17 gnu: Add SuiteSparse.
* gnu/packages/maths.scm (suitesparse): New variable.
2015-03-23 10:19:45 +01:00
Ricardo Wurmus
6b2bad40fc gnu: icedtea6: remove commented substitution.
* gnu/packages/java.scm (icedtea6): Remove commented substitution.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus
18f3c3209d gnu: icedtea6: Do not set CC and LD_LIBRARY_PATH.
* gnu/packages/java.scm (icedtea6)[arguments]: Do not set CC and
  LD_LIBRARY_PATH variables.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus
3893c80a88 gnu: icedtea6: Rename ‘set-paths’ phase to ‘set-additional-paths’
* gnu/packages/java.scm (icedtea6)[arguments]: Rename ‘set-paths’ phase to
  ‘set-additional-paths’.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus
4d80586aa5 gnu: icedtea6: patch patches in separate build phase.
* gnu/packages/java.scm (icedtea6)[arguments]: Move patching of patches from
  ‘patch-paths’ to new ‘patch-patches’ phase.
2015-03-23 10:17:36 +01:00
Ricardo Wurmus
6f27f3775e gnu: icedtea6: patch hardcoded objcopy path.
* gnu/packages/java.scm (icedtea6)[arguments]: patch Makefile to override
  DEF_OBJCOPY variable definition.
2015-03-23 10:17:35 +01:00
Ricardo Wurmus
f9e62ad221 gnu: icedtea6: patch ant shebang in unpack phase
* gnu/packages/java.scm (icedtea6)[arguments]: patch bootstrap ant in the
  `unpack' phase instead of `patch-paths'.
2015-03-23 10:17:35 +01:00
Ricardo Wurmus
e73b49fbd6 gnu: Add openblas.
* gnu/packages/maths.scm (openblas): New variable.
2015-03-23 10:08:28 +01:00
Ricardo Wurmus
cd15ad828a gnu: Add utf8proc.
* gnu/packages/textutils.scm (utf8proc): New variable.
2015-03-23 10:07:56 +01:00
Ludovic Courtès
4d58122071 store: Default to a non-empty list of substituters.
Fixes <http://bugs.gnu.org/20163>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/store.scm (%default-substitute-urls): New variable.
  (set-build-options): Change default value of #:substitute-urls to
  %DEFAULT-SUBSTITUTE-URLS.
2015-03-22 23:43:25 +01:00
Ludovic Courtès
1123759b45 gexp: Fix handling of nativeness in nested gexps.
* guix/gexp.scm (gexp-inputs): Remove 'references' parameter; add
  #:native? and honor it.
  [add-reference-inputs]: Distinguish between native gexp inputs, and
  non-native gexp inputs.  Honor 'native?' field of list inputs.
* tests/gexp.scm ("ungexp + ungexp-native, nested"): New test.
2015-03-22 23:18:33 +01:00
Ludovic Courtès
607e1b51f4 gexp: Ignore nested gexps in macro expansion.
Before that, the 'references' and 'natives' or the outer gexp in an
expression like #~#+#~#$coreutils would include those of the inner
gexp.

* guix/gexp.scm (gexp)[collect-escapes]: Ignore everything below
  'ungexp-native' or 'ungexp-native-splicing'.
  [collect-native-escapes]: Ignore everything below 'ungexp' or
  'ungexp-splicing'.
2015-03-22 23:18:31 +01:00
Ludovic Courtès
accb682c50 gexp: Allow <gexp-input> objects in #:allowed-references.
* guix/gexp.scm (lower-references): Add <gexp-input> case.
* tests/gexp.scm ("gexp->derivation #:allowed-references, specific
  output"): New test.
2015-03-22 23:18:30 +01:00
Ludovic Courtès
2924f0d6ce gexp: Add identity compiler for derivations.
* guix/gexp.scm (derivation-compiler): New procedure.
  (lower-inputs): Remove 'derivation?' case.
  (gexp-inputs)[add-reference-inputs]: Likewise.
  (gexp->sexp)[reference->sexp]: Likewise.
2015-03-22 23:18:28 +01:00
Tomáš Čech
a9a8f0637d Revert "gnu: Add sdcv."
This reverts commit 004eb31859.
2015-03-22 22:08:50 +01:00
Tomáš Čech
d13586bfe4 gnu: Add the-silver-searcher.
* gnu/packages/code.scm (the-silver-searcher): New variable.
2015-03-22 22:04:31 +01:00
Taylan Ulrich Bayırlı/Kammer
38829eac4b gnu: Add mplayer2.
* gnu/packages/video.scm (mplayer2): New variable.
* gnu/packages/patches/mplayer2-theora-fix.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2015-03-22 21:59:37 +01:00
Ricardo Wurmus
9d297fae5f gnu: gtk+-2: build gobject introspection typelib file.
* gnu/packages/gtk.scm (gtk+-2): add `gobject-introspection' to the
  native-inputs to install typelib file.
2015-03-21 20:24:31 -04:00
Ludovic Courtès
a158484db4 packages: Make sure the patch inputs are not #f.
Fixes build issues whereby #:inputs would be #f.  See
<http://hydra.gnu.org/build/320333/nixlog/4/tail-reload>.

* guix/packages.scm (patch-and-repack): #:input defaults to #f.
  [lookup-input]: When INPUTS is #f, use (%standard-patch-inputs).
2015-03-21 22:07:16 +01:00
Ludovic Courtès
ec3b1c575d gnu: Use 'glibc-utf8-locales-final' in the default patching inputs.
* gnu/packages/commencement.scm (glibc-utf8-locales-final): Make public.
* guix/packages.scm (%standard-patch-inputs): Use
  GLIBC-UTF8-LOCALES-FINAL instead of GLIBC-UTF8-LOCALES.
2015-03-21 21:58:04 +01:00
Mark H Weaver
3c76a81b94 gnu: openssl: Update to 1.0.2a.
* gnu/packages/openssl.scm (openssl): Update to 1.0.2a.
2015-03-21 16:32:17 -04:00
Andreas Enge
e5ffe52cc7 gnu: calibre: Update to 2.22.0.
* gnu/packages/ebook.scm (calibre): Update to 2.22.0.
2015-03-21 20:33:22 +01:00