Commit Graph

7483 Commits

Author SHA1 Message Date
Ludovic Courtès 161094c8e2 packages: Rewrite 'transitive-inputs' to be linear and remove duplicates.
There were two issues:

  1. Use of 'delete-duplicates', which is quadratic, was a serious problem for
     closures with lots of propagated inputs, such as that of the 'hydra'
     package (several minutes for 'guix build hydra -n'!).

  2. The 'delete-duplicates' call essentially had no effect since duplicate
     inputs typically had a different label and were thus kept.  For
     instance, (bag-transitive-inputs (package->bag inkscape)) would return
     216 items whereas (delete-duplicates (map cdr THAT)) contains only 67
     items.

     The new implementation returns 67 items in this case.  For 'hydra', we're
     down from 42211 items to 361, and roughly 13s for 'guix build hydra'.

* guix/packages.scm (transitive-inputs): Rewrite as a breadth-first
  traversal.  Remove duplicate propagated inputs.
* tests/packages.scm ("package-transitive-inputs", "package->bag, propagated
  inputs"): Adjust to use simple labels for propagated inputs, without "/".
  ("package-transitive-inputs, no duplicates"): New test.
2015-07-12 01:27:00 +02:00
Ludovic Courtès 686784d0b9 tests: Adjust tests for new bootstrap Guile.
This is a followup to commit 5d6792f ("gnu: bootstrap: Create a wrapper for
guile to set the system load path.")

* tests/size.scm ("store-profile"): Expect profile of 'bash' bootstrap binary.
* tests/gexp.scm ("gexp->derivation #:references-graphs"): Expect GUILE-DRV to
  depend on 'bash' bootstrap binary.
2015-07-12 01:27:00 +02:00
Mark H Weaver aa7251176f gnu: Require NEON on armhf.
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): On armhf,
  include --with-fpu=neon.
* doc/guix.texi (GNU Distribution): Document that our armhf port
  requires NEON.
2015-07-11 19:06:20 -04:00
Mark H Weaver 16f7190830 gnu: pcre: Enable more features.
* gnu/packages/pcre.scm (pcre)[arguments]: To configure-flags, add
  "--enable-unicode-properties", "--enable-pcre16", and "--enable-pcre32".
2015-07-11 13:00:13 -04:00
Mark H Weaver db35fb88e4 gnu: bash: Update to 4.3.39.
* gnu/packages/bash.scm (%patch-series-4.3): Add patches 34-39.
2015-07-11 01:04:18 -04:00
Mark H Weaver 47ed8e048b gnu: texinfo: Add procps to native-inputs to fix tests.
* gnu/packages/texinfo.scm (texinfo)[native-inputs]: Add procps.
  (texinfo-5, texinfo-4)[native-inputs]: Override to be empty.
* gnu/packages/commencement.scm (texinfo-boot0)[texinfo]: Override
  native-inputs to be empty.
2015-07-11 00:59:31 -04:00
Mark H Weaver 8ba24e62af gnu: nss: Update to 3.19.2.
* gnu/packages/gnuzilla.scm (nss): Update to 3.19.2.
2015-07-10 23:47:08 -04:00
Paul van der Walt c273728a12 gnu: libgpg-error: Update to 1.19.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.19.
2015-07-10 23:47:08 -04:00
Mark H Weaver f9aec676ac gnu: libidn: Update to 1.31.
* gnu/packages/libidn.scm (libidn): Update to 1.31.
2015-07-10 23:47:08 -04:00
Mark H Weaver f7b55b0416 gnu: texinfo: Use version 6.0 by default.
* gnu/packages/texinfo.scm (texinfo): Update to 6.0.
  (texinfo-6): Removed.
  (texinfo-5): New variable.
2015-07-10 23:47:08 -04:00
Mark H Weaver 5182657449 gnu: libunistring: Update to 0.9.6.
* gnu/packages/libunistring.scm (libunistring): Update to 0.9.6.
2015-07-10 23:47:08 -04:00
Mark H Weaver 87da4f1ed8 gnu: mpfr: Update to 3.1.3.
* gnu/packages/multiprecision.scm (mpfr): Update to 3.1.3.
2015-07-10 23:47:08 -04:00
Mark H Weaver 302af59fc1 gnu: ed: Update to 1.12.
* gnu/packages/ed.scm (ed): Update to 1.12.
2015-07-10 23:47:08 -04:00
Mark H Weaver 79e09ef2fd gnu: gettext: Update to 0.19.5.
* gnu/packages/patches/gettext-msgunfmt.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/gettext.scm (gnu-gettext): Update to 0.19.5.  Remove patch.
2015-07-10 23:47:07 -04:00
Mark H Weaver c2ba49ef8e gnu: coreutils: Update to 8.24.
* gnu/packages/patches/coreutils-dummy-man.patch: Remove file.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/base.scm (coreutils): Update to 8.24.  Remove patch.
2015-07-10 23:47:07 -04:00
Mark H Weaver 6f317fa365 gnu: gcc-4.9: Update to 4.9.3.
* gnu/packages/gcc.scm (gcc-4.9): Update to 4.9.3.  Remove
  "gcc-arm-link-spec-fix.patch" from patches.
2015-07-10 23:47:07 -04:00
Mark H Weaver 5d6792f06f gnu: bootstrap: Create a wrapper for guile to set the system load path.
* gnu/packages/bootstrap.scm (raw-build): After unpacking, use the bootstrap
  guile to create its own wrapper that sets the guile system load path.
2015-07-10 23:47:07 -04:00
Mark H Weaver 1f4335ae78 gnu: openssl: Update to 1.0.2d.
* gnu/packages/tls.scm (openssl): Update to 1.0.2d.
2015-07-10 12:36:52 -04:00
Mark H Weaver 6c413c92f2 Revert "gnu: boost: Update to 1.58.0."
This reverts commit 16de69c950.
2015-07-10 12:35:50 -04:00
David Thompson 1e49bcf981 gnu: Include (guix build syscalls) module in initrd/VM derivations.
This bug was introduced in commit 85c3127.

Thanks to Christopher Webber for reporting it.

* gnu/syste/linux-initrd.scm (base-initrd): Include (guix build syscalls)
  module in derivation.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
2015-07-10 09:47:07 -04:00
David Hashe e8627cd995 gnu: brasero: Update to 3.12.1, Add inputs.
* gnu/packages/gnome.scm (brasero): Update to 3.12.1.
  [inputs]: Add gobject-introspection, nettle, and totem-pl-parser.
2015-07-10 01:00:18 -04:00
Mark H Weaver b93c1d9dba gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to dd91141.
  [arguments]: Use 'modify-phases'.  Add 'disable-container-tests' phase.
2015-07-09 17:43:34 -04:00
Mark H Weaver dd9114107d Revert "gnu: guix: Update snapshot."
This reverts commit bfabd1fbb8.
2015-07-09 15:15:06 -04:00
Mark H Weaver bfabd1fbb8 gnu: guix: Update snapshot.
* gnu/packages/package-management.scm (guix-devel): Update to 9f04196.
2015-07-09 13:07:11 -04:00
Mark H Weaver a8f7da211d Revert "gnu: libgpg-error: Update to 1.19."
This reverts commit 552b98a208.
2015-07-09 12:51:17 -04:00
Paul van der Walt 552b98a208 gnu: libgpg-error: Update to 1.19.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.19.
2015-07-09 18:43:10 +02:00
Paul van der Walt 18ed97d6e2 gnu: pinentry: Update to 1.9.5; add input libassuan.
* gnu/packages/gnupg.scm (pinentry): Update to 1.9.5. Add input libassuan.
2015-07-09 18:43:10 +02:00
Paul van der Walt 19bda3f145 gnu: libksba: Update to 1.3.3.
* gnu/packages/gnupg.scm (libksba): Update to 1.3.3.
2015-07-09 18:43:10 +02:00
Paul van der Walt a0e984c33f gnu: gpgme: Update to 1.5.5.
* gnu/packages/gnupg.scm (gpgme): Update to 1.5.5.
2015-07-09 18:43:10 +02:00
Paul van der Walt b96485b939 gnu: npth: Update to 1.2.
* gnu/packages/gnupg.scm (npth): Update to 1.2.
2015-07-09 18:43:09 +02:00
Paul van der Walt 15e771b001 gnu: pius: Update to 2.1.1.
* gnu/packages/gnupg.scm (pius): Update to 2.1.1.
2015-07-09 18:43:09 +02:00
Paul van der Walt 5dabdb75cb gnu: libassuan: Update to 2.2.1.
* gnu/packages/gnupg.scm (libassuan): Update to 2.2.1.
2015-07-09 18:43:09 +02:00
Paul van der Walt 3efee6a4eb gnu: ncmpc: Update to 0.24.
* gnu/packages/mpd.scm (ncmpc): Update to 0.24.
2015-07-09 18:42:00 +02:00
Paul van der Walt 555f935b06 gnu: ncmpcpp: Update to 0.6.5.
* gnu/packages/mpd.scm (ncmpcpp): Update to 0.6.5.
2015-07-09 18:42:00 +02:00
Paul van der Walt 37b57da2a4 gnu: mpd-mpc: Update to 0.27.
* gnu/packages/mpd.scm (mpd-mpc): Update to 0.27.
2015-07-09 18:42:00 +02:00
Paul van der Walt bdae103367 gnu: mpd: Update to 0.19.10.
* gnu/packages/mpd.scm (mpd): Update to 0.19.10.
2015-07-09 18:42:00 +02:00
Paul van der Walt a53a925f24 gnu: libmpdclient: Update to 2.10.
* gnu/packages/mpd.scm (libmpdclient): Update to 2.10.
2015-07-09 18:42:00 +02:00
Mark H Weaver 4e3fc54770 gnu: Add totem.
* gnu/packages/gnome.scm (totem): New variable.
2015-07-09 12:22:51 -04:00
David Thompson c829bc80bd gnu: system: Add Linux container file systems.
* gnu/system/file-systems.scm (%container-file-systems): New variable.
2015-07-09 08:25:33 -04:00
David Thompson c1f6a0c2ed gnu: build: Add Linux container module.
* gnu/build/linux-container.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* .dir-locals.el: Add Scheme indent rules for 'call-with-container', and
  'container-excursion'.
* tests/containers.scm: New file.
* Makefile.am (SCM_TESTS): Add it.
2015-07-09 08:23:03 -04:00
David Thompson 85c3127fa9 build: file-systems: Import (guix build syscalls) for non-static Guiles.
* gnu/build/file-systems.scm: Import (guix build syscalls) when 'mount' is not
  defined.
* gnu/system.scm (operating-system-activation-script): Include (guix build
  syscalls) module in derivation.
2015-07-09 08:23:03 -04:00
Ricardo Wurmus 9f04196d88 gnu: preseq: Move "use-samtools-headers" phase.
* gnu/packages/bioinformatics.scm (preseq)[arguments]: Move phase
  "use-samtools-headers" after "enter-dir" phase.
2015-07-09 12:12:07 +02:00
Ludovic Courtès c4fdfd6f90 doc: Augment offloading documentation.
* doc/guix.texi (Daemon Offload Setup): Mention that we're using lsh.  Mention
  GUILE_LOAD_PATH settings on the target machine.  Explain that machines must
  authorize each other.
2015-07-09 11:59:27 +02:00
Ludovic Courtès b19649a132 offload: Add 'ssh-options' field to <build-machine>.
* guix/scripts/offload.scm (<build-machine>)[ssh-options]: New field.
  (remote-pipe): Use it.
  (send-files): Likewise.
2015-07-09 11:59:26 +02:00
Mark H Weaver 92f1b4a54c gnu: Add gst-plugins-ugly.
* gnu/packages/gstreamer.scm (gst-plugins-ugly): New variable.
2015-07-09 03:30:27 -04:00
Mark H Weaver 549381d6db gnu: ffmpeg: Add libx264 support.
* gnu/packages/video.scm (ffmpeg)[inputs]: Add libx264.
  [arguments]: Add "--enable-libx264" to configure-flags.
2015-07-09 03:30:27 -04:00
Mark H Weaver 82712597cc gnu: Add libx264.
* gnu/packages/video.scm (libx264): New variable.
2015-07-09 03:30:27 -04:00
Andreas Enge 9fc852183f gnu: libreoffice: Update to 5.0.0.2.
* gnu/packages/libreoffice.scm (libreoffice): Update to 5.0.0.2.
2015-07-09 09:22:23 +02:00
Andreas Enge 7680843e0f gnu: libwps: Update to 0.4.0.
* gnu/packages/libreoffice.scm (libwps): Update to 0.4.0.
2015-07-09 09:21:50 +02:00
Andreas Enge fc04ee3ba7 gnu: libmwaw: Update to 0.3.5.
* gnu/packages/libreoffice.scm (libmwaw): Update to 0.3.5.
2015-07-09 09:21:50 +02:00