* emacs/guix-backend.el (guix-start-process-maybe): Add 'start-msg' and
'end-msg' optional arguments.
(guix-start-repl-maybe): Likewise. Do not kill buffer with a dead process.
(guix-repl-exit): New procedure.
(guix-eval-in-repl): Use 'geiser-repl--send'.
* emacs/guix-base.el (guix-list-or-info-buffer-p): Delete. Replace with...
(guix-buffer-p): ... this. New procedure.
(guix-buffers): Use it. Add 'modes' argument.
(guix-update-buffer): New procedure.
(guix-update-buffers-maybe): Rename to ...
(guix-update-buffers-maybe-after-operation): this. Use
'guix-update-buffer'.
* emacs/guix-backend.el (guix-repl-operation-type): New variable.
(guix-repl-output-filter): Run type hooks after performing an operation.
(guix-eval-read): Add 'operation-type' argument.
* emacs/guix-base.el (guix-entry-to-specification,
guix-entries-to-specifications): New procedures.
(guix-revert-buffer): Search by name if searching by ID gives no results.
* 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.
* guix/scripts/lint.scm (check-description-style): Exception for
upper-case rule if the description starts with the package name.
* tests/lint.scm: Test it.
* guix/scripts/lint.scm (start-with-capital-letter?): Rename too...
(properly-starts-sentence?): Rewrite with regex and add digits.
(check-description-style, check-synopsis-style): Use it.
* tests/lint.scm: Add tests.
* guix/scripts/lint.scm (start-with-capital-letter?): Handle empty
strings.
(check-description-style): New check for end-of-sentence space.
* tests/lint.scm: Test it.
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>
Fixes downloads from https://alioth.debian.org.
Reported by John Darrington <jmd@gnu.org>.
* guix/build/download.scm (http-fetch)[headers]: Add 'Accept'.
* guix/packages.scm (package-transitive-supported-systems): New procedure.
* tests/packages.scm ("package-transitive-supported-systems"): New test.
* build-aux/hydra/gnu-system.scm (package->job): Use it.