* gnu/packages/swig.scm (swig): Disable input python. Before, it was not
taken into account during configure; now that it is found, it fails
its tests. None of the dependent packages need it.
* gnu/packages/python.scm (python-wrapper): Propagate input python, so that
the python libraries are made available as well as the python3 binaries
without the symbolic links.
Fixes <http://bugs.gnu.org/18701>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/man.scm (man-pages)[arguments]: Add #:parallel-build? #f.
Fixes <http://bugs.gnu.org/18525>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/build/activation.scm (activate-modprobe): New procedure.
* gnu/system.scm (modprobe-wrapper): New procedure.
(operating-system-activation-script): Use both.
* gnu/packages/patches/kmod-module-directory.patch: Add hunk for
tools/static-nodes.c. Taken from Nixpkgs, where it was added by
Eelco Dolstra <eelco.dolstra@logicblox.com>.
Thanks to Mark H. Weaver <mhw@netris.org> for insightful discussions
and suggestions.
* guix/packages.scm (<package>)[graft]: New field.
(patch-and-repack): Invoke 'package-derivation' with #:graft? #f.
(package-source-derivation): Likewise. Do not use (%guile-for-build)
in call to 'patch-and-repack', and we could end up using a grafted
Guile.
(expand-input): Likewise, also for 'package-cross-derivation' call.
(package->bag): Add #:graft? parameter. Honor it. Use 'strip-append'
instead of 'package-full-name'.
(input-graft, input-cross-graft, bag-grafts, package-grafts): New
procedures.
(package-derivation, package-cross-derivation): Add #:graft? parameter
and honor it.
* gnu/packages/bootstrap.scm (package-with-bootstrap-guile): Add
recursive call on 'graft'.
* guix/build-system/gnu.scm (package-with-explicit-inputs,
package-with-extra-configure-variable, static-package): Likewise.
(gnu-build): Use the ungrafted Guile to avoid full rebuilds.
(gnu-cross-build): Likewise.
* guix/build-system/cmake.scm (cmake-build): Likewise.
* guix/build-system/glib-or-gtk.scm (glib-or-gtk-build): Likewise.
* guix/build-system/perl.scm (perl-build): Likewise.
* guix/build-system/python.scm (python-build): Likewise.
* guix/build-system/ruby.scm (ruby-build): Likewise.
* guix/build-system/trivial.scm (guile-for-build): Likewise.
* tests/packages.scm ("package-derivation, direct graft",
"package-cross-derivation, direct graft", "package-grafts,
indirect grafts", "package-grafts, indirect grafts, cross",
"package-grafts, indirect grafts, propagated inputs",
"package-derivation, indirect grafts"): New tests.
("bag->derivation", "bag->derivation, cross-compilation"): Wrap in
'parameterize'.
* doc/guix.texi (Security Updates): New node.
(Invoking guix build): Document --no-graft.
* gnu/packages/texlive.scm (texlive): Drop input t1lib and the corresponding
configure flag.
Since texlive-2013, xdvi uses freetype instead of t1lib for rendering.
* gnu/packages/ruby.scm (ruby): Compute major+minor version string for the
source URI. Switch to the .bz2 tarball and update the hash accordingly.
Remove 'autoconf' from the inputs. Change 'native-search-paths' to the
directory that is actually created by the build. Remove the package name
from the synopsis.
(ruby-1.8): Compute major+minor version string for the source URI, and avoid
the use of 'name' in the URI computation. Remove 'name' field, since it is
inherited and no longer needed.
Previously, this package was completely broken. It installed only
binaries that failed to run for lack of the shared library.
* gnu/packages/acl.scm (acl): Disable tests. Remove customized
'check' phase that ran tests and ignored errors. Remove 'perl' as
input, needed only for tests. Replace 'install' phase with one that
includes 'install-lib' target.
* gnu/packages/base.scm (make): Update to 4.1. Adapt 'default_shell'
substitution to new code.
* gnu/packages/commencement.scm (gnu-make-boot0): Remove code that
manually removed guile.c from list of things to build.
* gnu/packages/patches/emacs-configure-sh.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove it.
* gnu/packages/emacs.scm (emacs): Update to 24.4. Add 'acl' as input.
Remove --with-crt-dir configure option.
(emacs-no-x-toolkit): Add 'inotify-tools' as input. Adjust to cope
with the lack of configure-flags in the main 'emacs' package.
The procedure version-prefix truncates a version string to a certain
number of components. version-major+minor is a special case of this,
which extracts the "major.minor" part of the string. Previously this
was handled by an expression common to several packages.
* guix/utils.scm (version-prefix, version-major+minor): New procedures
* gnu/packages/backup.scm (duplicity): Use version-major+minor.
* gnu/packages/cmake.scm (cmake): Likewise.
* gnu/packages/gnome.scm (libbonobo, libbonoboui): Likewise.
* gnu/packages/gnutls.scm (gnutls): Likewise.
* gnu/packages/mail.scm (gmime): Likewise.
* gnu/packages/mpd.scm (mpd): Likewise.
* gnu/packages/mpi.scm (openmpi): Likewise.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/patches/gnutls-server-name-fix.patch: New file.
* gnu/packages/gnutls.scm (gnutls)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.
Based on 8c43746 by Ludovic Courtès <ludo@gnu.org>.
Fixes <http://bugs.gnu.org/18704>.
* gnu/packages/avahi.scm (nss-mdns)[source]: Add Debian and Fedora mirrors.
Fixes <http://bugs.gnu.org/18695>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/icu4c.scm (icu4c)[arguments]: In 'add-lib-to-runpath',
reinstate RUNPATH on files under lib/. Fixes a regression introduced
in commit 7239828.
* gnu/packages/package-management.scm (guix-0.7): Make public.
(guix-devel)[source]: Update to commit 14e84b2.
[propagated-inputs]: New field.
(guix): Alias for GUIX-DEVEL.
* gnu/packages/gnuzilla.scm (icecat): Update to 31.1.1. Add 'pango',
'freetype', 'libxft' and 'pulseaudio' as inputs. Set
'out-of-source?' to #t. Remove 'sanitise' phase. Adapt customized
'configure' phase to handle 'out-of-source?' build. Add
'--with-l10n-base' argument to configure.
* gnu/packages/cmake.scm (cmake)[arguments]: Move sh-patching to new
'patch-bin-sh phase. New 'set-paths phase.
[inputs]: Add curl, zlib, expat, bzip2, and libarchive.
[description]: Fix space after end-of-sentence.
Fixes <http://bugs.gnu.org/18639>.
Reported by Mark H Weaver <mhw@netris.org>.
* gnu/packages/libdaemon.scm (libdaemon)[source]: Add Debian and Fedora
mirrors.
* guix/build-system.scm (<build-system>)[build, cross-build]: Remove.
[lower]: New field.
(<bag>): New record type.
(make-bag): New procedure.
* guix/packages.scm (bag-transitive-inputs, bag-transitive-build-inputs,
bag-transitive-host-inputs, bag-transitive-target-inputs,
package->bag): New procedures.
(package-derivation): Use it; use the bag, apply its build procedure,
etc.
(package-cross-derivation): Likewise.
* gnu/packages/bootstrap.scm (raw-build, make-raw-bag): New procedure.
(%bootstrap-guile): Use them.
* guix/build-system/trivial.scm (lower): New procedure.
(trivial-build, trivial-cross-build): Remove 'source' parameter. Pass
INPUTS as is.
(trivial-build-system): Adjust accordingly.
* guix/build-system/gnu.scm (%store, inputs-search-paths,
standard-search-paths, expand-inputs, standard-inputs): Remove.
(gnu-lower): New procedure.
(gnu-build): Remove 'source' and #:implicit-inputs? parameters.
Remove 'implicit-inputs' and 'implicit-search-paths' variables. Get
the source from INPUT-DRVS.
(gnu-cross-build): Likewise.
(standard-cross-packages): Remove call to 'standard-packages'.
(standard-cross-inputs, standard-cross-search-paths): Remove.
(gnu-build-system): Remove 'build' and 'cross-build'; add 'lower'.
* guix/build-system/cmake.scm (lower): New procedure.
(cmake-build): Remove 'source' and #:cmake parameters. Use INPUTS and
SEARCH-PATHS as is. Get the source from INPUTS.
* guix/build-system/perl.scm: Likewise.
* guix/build-system/python.scm: Likewise.
* guix/build-system/ruby.scm: Likewise.
* gnu/packages/cross-base.scm (cross-gcc): Change "cross-linux-headers"
to "linux-headers".
(cross-libc)[xlinux-headers]: Pass #:implicit-cross-inputs? #f.
Likewise. In 'propagated-inputs', change "cross-linux-headers" to
"linux-headers".
* guix/git-download.scm (git-fetch): Use 'standard-packages' instead of
'standard-inputs'.
* tests/builders.scm ("gnu-build-system"): Remove use of
'build-system-builder'.
("gnu-build"): Remove 'source' and #:implicit-inputs? arguments to
'gnu-build'.
* tests/packages.scm ("search paths"): Adjust to new build system API.
("package-cross-derivation, no cross builder"): Likewise.
* doc/guix.texi (Build Systems): Add paragraph on bags.
On a profile with 182 entries, "guix package --search-paths" goes from
4.5 seconds down to 0.4 second.
* gnu/packages.scm (find-packages-by-name): Make a name -> package vhash
in a promise; access it with 'vhash-fold*'.
Based on a patch by Ludovic Courtès <ludo@gnu.org>.
* gnu/packages/bash.scm (%patch-series-4.3): Add two patches.
(bash)[source]: Add parser-oob patch. Add 'snippet'.
[native-inputs]: New field.
* gnu/packages/commencement.scm (bison-boot1): New variable.
(static-bash-for-glibc): Add 'native-inputs'.
Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
* gnu/packages/patches/duplicity-piped-password.patch: New patch.
* gnu/packages/patches/duplicity-test_selection-tmp.patch: New patch.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/backup.scm (duplicity)[source]: Add patches field.
[inputs]: Add util-linux and tzdata.
[arguments]: rename patch-tests phase to check-setup. Set HOME and TZDIR
for tests.
Co-authored-by: David Thompson <davet@gnu.org>
* gnu/packages/ruby.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* guix/licenses.scm (ruby): New variable.
This commit is dedicated to the Nix project, without which we wouldn't
be hacking all this today. :-)
* gnu/packages/package-management.scm (nix): New variable.