summary refs log tree commit diff
AgeCommit message (Collapse)Author
2014-10-20gnu: Add 'version-prefix' and 'version-major+minor'; use them.Ian Denhardt
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>
2014-10-19download: Add "Accept: */*" to the headers.Ludovic Courtès
Fixes downloads from https://alioth.debian.org. Reported by John Darrington <jmd@gnu.org>. * guix/build/download.scm (http-fetch)[headers]: Add 'Accept'.
2014-10-19gnu: Add ntpJohn Darrington
* gnu/packages/ntp.scm: New file. * gnu-system.am (gnu/packages/ntp.scm): Add it.
2014-10-18emacs: Improve interface for working with multiple profiles.Alex Kost
Suggested by David Thompson, Ludovic Courtès and Mathieu Lirzin. * emacs/guix-base.el (guix-profile-prompt): New procedure. (guix-set-current-profile): Use it. (guix-buffer-name-simple, guix-buffer-name-default, guix-buffer-name): New procedures. (guix-buffer-name-function, guix-profile): New variables. (guix-set-vars, guix-get-entries, guix-get-show-entries, guix-set-buffer, guix-history-call, guix-process-package-actions, guix-continue-package-operation-p, guix-delete-generations, guix-switch-to-generation): Add 'profile' argument. * emacs/guix.el (guix-get-show-packages, guix-get-show-generations, guix-search-by-name, guix-search-by-regexp, guix-installed-packages, guix-obsolete-packages, guix-all-available-packages, guix-newest-available-packages, guix-generations, guix-generations-by-time): Likewise. (guix-last-generations): New command. * emacs/guix-info.el: Adjust for using 'profile' argument where needed. * emacs/guix-list.el: Likewise. * doc/emacs.texi (Emacs Commands): Document 'guix-last-generations' and using "C-u" for commands. (Emacs Buffer Names): Document 'guix-buffer-name-function'.
2014-10-17packages: Add 'package-transitive-supported-systems'.Ludovic Courtès
* 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.
2014-10-17gnu: valgrind: Don't build on mipsel64-linux.Ludovic Courtès
* gnu/packages/valgrind.scm (valgrind): Add 'supported-systems'.
2014-10-17gnu: sdl-gfx: Build only on Intel machines.Ludovic Courtès
* gnu/packages/sdl.scm (sdl-gfx): Add 'supported-systems' field.
2014-10-17derivations: 'graft-derivation' correctly handles multiple-output sources.Ludovic Courtès
* guix/derivations.scm (graft-derivation): Add DRV as input for each one of OUTPUT-NAMES.
2014-10-17packages: Improve the package-to-derivation cache.Ludovic Courtès
* guix/packages.scm (cache): Preserve the former values associated with PACKAGE. (cached): Bind SYSTEM in 'let', to prevent double evaluation.
2014-10-17derivations: Add #:system parameter to 'graft-derivation'.Ludovic Courtès
* guix/derivations.scm (graft-derivation): Add #:system parameter.
2014-10-17derivations: Introduce 'graft' record type.Ludovic Courtès
* guix/derivations.scm (<graft>): New record type. (graft-derivation): Rename 'replacements' to 'grafts', and expect it to be a list of <graft> records. Adjust accordingly. * tests/derivations.scm ("graft-derivation"): Use 'graft' instead of pairs in argument to 'graft-derivation'.
2014-10-17records: Improve the docstring of 'define-record-type*'.Ludovic Courtès
* guix/records.scm (define-record-type*): Agument the docstring, give examples.
2014-10-17doc: Replace "emacs" with "Emacs" in node names.Alex Kost
Suggested by Ludovic Courtès. * doc/emacs.texi: Use "Emacs" in node names.
2014-10-17emacs: Add 'guix-generations-by-time' command.Alex Kost
* emacs/guix-main.scm (find-generations): Add finding generations by time. * emacs/guix-utils.el (guix-read-date): New procedure. * emacs/guix-base.el (guix-messages): Add new messages. * emacs/guix.el (guix-generations-by-time): New command. * doc/emacs.texi (emacs Commands): Document it.
2014-10-16download: Allow use of substitutes.Ludovic Courtès
See <https://bugs.gnu.org/18747> for the original report. * guix/download.scm (url-fetch): Comment out #:local-build? argument. * guix/git-download.scm (git-fetch): Likewise. * guix/svn-download.scm (svn-fetch): Likewise.
2014-10-16gnu: linux-libre: Update to 3.17.1.Jason Self
* gnu/packages/linux.scm (linux-libre): Update to version 3.17.1.
2014-10-16emacs: Support auto-updating after performing REPL operation.Alex Kost
* emacs/guix-backend.el (guix-operation-buffer): New variable. (guix-eval-in-repl): Use it. Add optional 'operation-buffer' argument. * emacs/guix-base.el (guix-update-after-operation): New variable. (guix-switch-to-buffer, guix-list-or-info-buffer-p, guix-buffers, guix-update-buffers-maybe): New procedures. (guix-set-buffer): Use 'guix-switch-to-buffer'. Add optional 'no-display' argument. (guix-process-package-actions, guix-delete-generations, guix-switch-to-generation): Add optional 'operation-buffer' argument. * emacs/guix-info.el (guix-package-info-insert-action-button, guix-generation-info-insert-number, guix-generation-info-insert-current): Adjust for using operation buffer. * emacs/guix-list.el (guix-list-execute-package-actions, guix-generation-list-switch, guix-generation-list-execute): Likewise.
2014-10-16emacs: Add hooks for REPL operations.Alex Kost
* emacs/guix-backend.el (guix-before-repl-operation-hook, guix-after-repl-operation-hook, guix-repl-operation-p): New variables. (guix-repl-operation-success-message, guix-repl-output-filter): New procedures. (guix-start-repl): Adjust for using 'guix-repl-output-filter'. (guix-eval-in-repl): Honor 'guix-before-repl-operation-hook'.
2014-10-16guix lint: add the --checkers option.Cyril Roelandt
* guix/scripts/lint.scm: add the "--checkers" option. * doc/guix.texi (Invoking guix lint): Document it. * tests/guix-lint.sh: New file * Makefile.am (SCM_TESTS): Add it.
2014-10-14gnu: gnutls: Patch bug in 'set-session-server-name!'.Ludovic Courtès
* 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.
2014-10-13gnu: Add xboingJohn Darrington
* gnu/packages/games.scm (xboing): New variable.
2014-10-13utils: Micro-optimize 'bytevector->base16-string'.Ludovic Courtès
This reduces run time of (package-derivation s emacs) by ~1.5%. * guix/utils.scm (bytevector->base16-string): Traverse BV from the end so as to use 'string-concatenate' instead of 'string-concatenate-reverse'.
2014-10-13derivations: Micro-optimize 'imported-modules'.Ludovic Courtès
This reduces run time of (package-derivation s emacs) by ~5%. * guix/derivations.scm (search-path*): New procedure. (imported-modules): Use it instead of 'search-path'.
2014-10-13derivations: Memoize 'derivation-path->base16-hash'.Ludovic Courtès
This reduces run time of (package-derivation s emacs) by ~10%. * guix/derivations.scm (derivation-path->base16-hash): New procedure. (derivation-hash): Use it.
2014-10-13gnu: gnutls: Update to 3.2.19.Ludovic Courtès
* gnu/packages/gnutls.scm (gnutls): Update to 3.2.19.
2014-10-13gnu: xfig, transfig: Patch compiler flags for mips and i686.Eric Bavier
* gnu/packages/xfig.scm (xfig, transfig)[arguments]: Have Makefile substitution match for more targets.
2014-10-13emacs: Add support for switching generations.Alex Kost
* emacs/guix-base.el (guix-switch-to-generation): New procedure. * emacs/guix-info.el (guix-generation-info-insert-current): Insert button for switching to generation. * emacs/guix-list.el (guix-generation-list-switch): New procedure. * doc/emacs.texi (emacs List buffer, emacs Info buffer): Document switching generations.
2014-10-13emacs: Add 'current' generation parameter.Alex Kost
* emacs/guix-main.scm (generation-param-alist): Add 'current' parameter. * emacs/guix-base.el (guix-param-titles): Add title for 'current' parameter. * emacs/guix-info.el: Display 'current' parameter. (guix-generation-info-current, guix-generation-info-not-current): New faces. (guix-generation-info-insert-current): New procedure. * emacs/guix-list.el: Display 'current' column. (guix-generation-list-get-current): New procedure.
2014-10-13gnu: nss-mdns: Add alternate source URLs.Mark H Weaver
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.
2014-10-13gnu: icu4c: Reinstate RUNPATH on shared libraries.Ludovic Courtès
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.
2014-10-13gnu: guile-ssh: Update to 0.7.1.Ludovic Courtès
* gnu/packages/ssh.scm (guile-ssh)[source]: Update to 0.7.1. [arguments]: Remove ssh/Makefile.am fiddling from 'autoreconf' phase. Remove #:parallel-build? argument. [inputs]: Add LIBGCRYPT-1.5.
2014-10-13gnu: libssh: Add libgcrypt bug-fix patch.Ludovic Courtès
Suggested by Artyom Poptsov <poptsov.artyom@gmail.com>. * gnu/packages/ssh.scm (libssh)[source]: Add 'patches'.
2014-10-13gnu: guix: Update development snapshot.Ludovic Courtès
* 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.
2014-10-12derivations: Add #:guile parameter to 'graft-derivation'.Ludovic Courtès
* guix/derivations.scm (graft-derivation): Add #:guile parameter; pass it to 'build-expression->derivation'.
2014-10-12list-packages: Handle 'origin' patches.Ludovic Courtès
* build-aux/list-packages.scm (package->sxml)[patches]: Handle the case where PATCH is an 'origin'.
2014-10-12gnu: Add unixodbcJohn Darrington
* gnu/packages/databases.scm (unixodbc): New variable.
2014-10-12gnu: magit: Update to 1.2.1.Mark H Weaver
* gnu/packages/emacs.scm (magit): Update to 1.2.1.
2014-10-12emacs: Allow list functions to deal with nil values.Alex Kost
* emacs/guix-list.el (guix-list-get-tabulated-entry): Call functions returning column value even for nil values. (guix-list-get-one-line): Adjust for accepting nil argument.
2014-10-12guix package: Add '--switch-generation' option.Alex Kost
* guix/scripts/package.scm (switch-to-generation): New procedure. (switch-to-previous-generation): Use it. (guix-package): Adjust for '--switch-generation' option. * tests/guix-package.sh: Test it. * doc/guix.texi (Invoking guix package): Document it.
2014-10-12profiles: Add 'relative-generation'.Alex Kost
* guix/profiles.scm: (relative-generation): New procedure. (previous-generation-number): Use it.
2014-10-12profiles: Add condition types for profiles and generations.Alex Kost
Suggested by Ludovic Courtès. * guix/profiles.scm (&profile-error, &profile-not-found-error, &missing-generation-error): New condition types. * guix/ui.scm (call-with-error-handling): Handle new types. * guix/scripts/package.scm (roll-back, guix-package): Raise '&profile-not-found-error' where needed.
2014-10-11gnu: libarchive: Apply fixes including for CVE-2013-0211.Mark H Weaver
* gnu/packages/patches/libarchive-CVE-2013-0211.patch, gnu/packages/patches/libarchive-fix-lzo-test-case.patch, gnu/packages/patches/libarchive-mtree-filename-length-fix.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/backup.scm (libarchive)[source]: Add patches.
2014-10-11gnu: Add transfig.Eric Bavier
* gnu/packages/xfig.scm (transfig): New variable.
2014-10-11gnu: Add xfig.Eric Bavier
* gnu/packages/xfig.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-10-11gnu: libjpeg: Upgrade to version 9a.Eric Bavier
* gnu/packages/image.scm (libjpeg): Upgrade to version 9a.
2014-10-11gnu: Add imake.Eric Bavier
* gnu/packages/xorg.scm (imake): New variable.
2014-10-12syscalls: Accept ENOENT in the 'swapoff' test.Ludovic Courtès
Fixes <http://bugs.gnu.org/18690>. Reported by Philip Woods <elzairthesorcerer@gmail.com>. * tests/syscalls.scm ("swapoff, EINVAL/EPERM"): Rename to... ("swapoff, ENOENT/EINVAL/EPERM"): ... this. Add ENOENT to the list of possible return values.
2014-10-12Augment '.dir-locals.el' with bug-reference-mode settings.Ludovic Courtès
2014-10-11gnu: Add perl-zip.John Darrington
* gnu/packages/zip.scm (perl-zip): New variable.
2014-10-11gnu: openssh: Update to 6.7p1.Mark H Weaver
* gnu/packages/ssh.scm (openssh): Update to 6.7p1.