aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* emacs: Improve interface for working with multiple profiles.Alex Kost2014-10-18
| | | | | | | | | | | | | | | | | | | | | | | | | 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'.
* packages: Add 'package-transitive-supported-systems'.Ludovic Courtès2014-10-17
| | | | | | * 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.
* gnu: valgrind: Don't build on mipsel64-linux.Ludovic Courtès2014-10-17
| | | | * gnu/packages/valgrind.scm (valgrind): Add 'supported-systems'.
* gnu: sdl-gfx: Build only on Intel machines.Ludovic Courtès2014-10-17
| | | | * gnu/packages/sdl.scm (sdl-gfx): Add 'supported-systems' field.
* derivations: 'graft-derivation' correctly handles multiple-output sources.Ludovic Courtès2014-10-17
| | | | | * guix/derivations.scm (graft-derivation): Add DRV as input for each one of OUTPUT-NAMES.
* packages: Improve the package-to-derivation cache.Ludovic Courtès2014-10-17
| | | | | | * guix/packages.scm (cache): Preserve the former values associated with PACKAGE. (cached): Bind SYSTEM in 'let', to prevent double evaluation.
* derivations: Add #:system parameter to 'graft-derivation'.Ludovic Courtès2014-10-17
| | | | * guix/derivations.scm (graft-derivation): Add #:system parameter.
* derivations: Introduce 'graft' record type.Ludovic Courtès2014-10-17
| | | | | | | | * 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'.
* records: Improve the docstring of 'define-record-type*'.Ludovic Courtès2014-10-17
| | | | | * guix/records.scm (define-record-type*): Agument the docstring, give examples.
* doc: Replace "emacs" with "Emacs" in node names.Alex Kost2014-10-17
| | | | | | Suggested by Ludovic Courtès. * doc/emacs.texi: Use "Emacs" in node names.
* emacs: Add 'guix-generations-by-time' command.Alex Kost2014-10-17
| | | | | | | | * 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.
* download: Allow use of substitutes.Ludovic Courtès2014-10-16
| | | | | | | | 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.
* gnu: linux-libre: Update to 3.17.1.Jason Self2014-10-16
| | | | * gnu/packages/linux.scm (linux-libre): Update to version 3.17.1.
* emacs: Support auto-updating after performing REPL operation.Alex Kost2014-10-16
| | | | | | | | | | | | | | | | | * 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.
* emacs: Add hooks for REPL operations.Alex Kost2014-10-16
| | | | | | | | | * 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'.
* guix lint: add the --checkers option.Cyril Roelandt2014-10-16
| | | | | | | * 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.
* gnu: gnutls: Patch bug in 'set-session-server-name!'.Ludovic Courtès2014-10-14
| | | | | | * 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.
* gnu: Add xboingJohn Darrington2014-10-13
| | | | * gnu/packages/games.scm (xboing): New variable.
* utils: Micro-optimize 'bytevector->base16-string'.Ludovic Courtès2014-10-13
| | | | | | | | 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'.
* derivations: Micro-optimize 'imported-modules'.Ludovic Courtès2014-10-13
| | | | | | | 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'.
* derivations: Memoize 'derivation-path->base16-hash'.Ludovic Courtès2014-10-13
| | | | | | | This reduces run time of (package-derivation s emacs) by ~10%. * guix/derivations.scm (derivation-path->base16-hash): New procedure. (derivation-hash): Use it.
* gnu: gnutls: Update to 3.2.19.Ludovic Courtès2014-10-13
| | | | * gnu/packages/gnutls.scm (gnutls): Update to 3.2.19.
* gnu: xfig, transfig: Patch compiler flags for mips and i686.Eric Bavier2014-10-13
| | | | | * gnu/packages/xfig.scm (xfig, transfig)[arguments]: Have Makefile substitution match for more targets.
* emacs: Add support for switching generations.Alex Kost2014-10-13
| | | | | | | | | * 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.
* emacs: Add 'current' generation parameter.Alex Kost2014-10-13
| | | | | | | | | | * 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.
* gnu: nss-mdns: Add alternate source URLs.Mark H Weaver2014-10-13
| | | | | | | 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.
* gnu: icu4c: Reinstate RUNPATH on shared libraries.Ludovic Courtès2014-10-13
| | | | | | | | | 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: guile-ssh: Update to 0.7.1.Ludovic Courtès2014-10-13
| | | | | | | * 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.
* gnu: libssh: Add libgcrypt bug-fix patch.Ludovic Courtès2014-10-13
| | | | | | Suggested by Artyom Poptsov <poptsov.artyom@gmail.com>. * gnu/packages/ssh.scm (libssh)[source]: Add 'patches'.
* gnu: guix: Update development snapshot.Ludovic Courtès2014-10-13
| | | | | | | * 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.
* derivations: Add #:guile parameter to 'graft-derivation'.Ludovic Courtès2014-10-12
| | | | | * guix/derivations.scm (graft-derivation): Add #:guile parameter; pass it to 'build-expression->derivation'.
* list-packages: Handle 'origin' patches.Ludovic Courtès2014-10-12
| | | | | * build-aux/list-packages.scm (package->sxml)[patches]: Handle the case where PATCH is an 'origin'.
* gnu: Add unixodbcJohn Darrington2014-10-12
| | | | * gnu/packages/databases.scm (unixodbc): New variable.
* gnu: magit: Update to 1.2.1.Mark H Weaver2014-10-12
| | | | * gnu/packages/emacs.scm (magit): Update to 1.2.1.
* emacs: Allow list functions to deal with nil values.Alex Kost2014-10-12
| | | | | | * 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.
* guix package: Add '--switch-generation' option.Alex Kost2014-10-12
| | | | | | | | * 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.
* profiles: Add 'relative-generation'.Alex Kost2014-10-12
| | | | | * guix/profiles.scm: (relative-generation): New procedure. (previous-generation-number): Use it.
* profiles: Add condition types for profiles and generations.Alex Kost2014-10-12
| | | | | | | | | | 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.
* gnu: libarchive: Apply fixes including for CVE-2013-0211.Mark H Weaver2014-10-11
| | | | | | | | * 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.
* gnu: Add transfig.Eric Bavier2014-10-11
| | | | * gnu/packages/xfig.scm (transfig): New variable.
* gnu: Add xfig.Eric Bavier2014-10-11
| | | | | * gnu/packages/xfig.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: libjpeg: Upgrade to version 9a.Eric Bavier2014-10-11
| | | | * gnu/packages/image.scm (libjpeg): Upgrade to version 9a.
* gnu: Add imake.Eric Bavier2014-10-11
| | | | * gnu/packages/xorg.scm (imake): New variable.
* syscalls: Accept ENOENT in the 'swapoff' test.Ludovic Courtès2014-10-12
| | | | | | | | | 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.
* Augment '.dir-locals.el' with bug-reference-mode settings.Ludovic Courtès2014-10-12
|
* gnu: Add perl-zip.John Darrington2014-10-11
| | | | * gnu/packages/zip.scm (perl-zip): New variable.
* gnu: openssh: Update to 6.7p1.Mark H Weaver2014-10-11
| | | | * gnu/packages/ssh.scm (openssh): Update to 6.7p1.
* Add copyright line to gnuzilla.scm.Mark H Weaver2014-10-11
| | | | | * gnu/packages/gnuzilla.scm: Add copyright line for Mark H Weaver, which should have been added in 74c7af9 (gnu: icecat: Update to 31.1.1).
* scripts: Add 'environment' command.David Thompson2014-10-10
| | | | | | * guix/scripts/environment.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi ("Invoking guix environment"): New node.
* build: Make sure tests/guix-package.sh doesn't leave anything behind it.Ludovic Courtès2014-10-10
| | | | | | | Fixes a regression introduced in commit 300868ba. * tests/guix-package.sh: Move 'module_dir' definition to the top, and "rm -rf" it from the top-most 'trap'. Remove second use of 'trap'.