summary refs log tree commit diff
AgeCommit message (Collapse)Author
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.
2014-10-11Add copyright line to gnuzilla.scm.Mark H Weaver
* 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).
2014-10-10scripts: Add 'environment' command.David Thompson
* guix/scripts/environment.scm: New file. * Makefile.am (MODULES): Add it. * doc/guix.texi ("Invoking guix environment"): New node.
2014-10-10build: Make sure tests/guix-package.sh doesn't leave anything behind it.Ludovic Courtès
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'.
2014-10-10doc: Add 'operating-system' reference.Ludovic Courtès
* doc/guix.texi (Using the Configuration System): Add xref to "operating-system Reference". (operating-system Reference): New section. (Networking Services): Add xref to it.
2014-10-10doc: Use @deftp for 'build-machine'.Ludovic Courtès
* doc/guix.texi (Daemon Offload Setup): Use @deftp for 'build-machine'.
2014-10-10gnu: icu4c: Correct error in the binaries' runpathJohn Darrington
* gnu/packages/icu4c.scm (icu4c): Apply the RUNPATH to the binaries, instead of the libs
2014-10-10ui: Move 'show-manifest-transaction' from (guix profiles).Alex Kost
* guix/profiles.scm: Do not use (guix ui) module. (right-arrow, manifest-show-transaction): Move and rename to... * guix/ui.scm (right-arrow, show-manifest-transaction): ... here. * tests/profiles.scm ("manifest-show-transaction"): Move to... * tests/ui.scm ("show-manifest-transaction"): ... here. (guile-1.8.8, guile-2.0.9): New variables. * emacs/guix-main.scm (process-package-actions): Rename 'manifest-show-transaction' to 'show-manifest-transaction'. * guix/scripts/package.scm (guix-package): Likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-09ui: Make sure we use the right domain for &message translation.Ludovic Courtès
* guix/ui.scm (call-with-error-handling): Add %GETTEXT-DOMAIN as a second argument to 'gettext'.
2014-10-09Break module cycle involving (guix store) and (guix ui).Ludovic Courtès
Before, there was a cycle along the lines of: (guix store) -> (guix nar) -> (guix ui) -> (guix store) This caused problems, as discussed at: http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00109.html This patch removes cycles in the (guix ...) modules. * guix/nar.scm (&nar-error, &nar-read-error, dump, write-contents, read-contents, %archive-version-1, write-file, restore-file): Move to... * guix/serialization.scm: ... here. * guix/store.scm: Remove dependency on (guix nar). * guix/scripts/hash.scm, guix/scripts/offload.scm, guix/scripts/substitute-binary.scm, tests/nar.scm, tests/store.scm, tests/substitute-binary.scm: Adjust accordingly.
2014-10-09substitute-binary: Ignore $GUIX_BINARY_SUBSTITUTE_URL.Ludovic Courtès
* guix/scripts/substitute-binary.scm (%cache-url): Ignore the 'GUIX_BINARY_SUBSTITUTE_URL' environment variable. * test-env.in: Invoke 'guix-daemon' with '--substitute-urls'. * tests/substitute-binary.scm: Set '%cache-url' to the value of 'GUIX_BINARY_SUBSTITUTE_URL'.
2014-10-09daemon: Add '--substitute-urls' option.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_SUBSTITUTE_URLS): New macro. (GUIX_OPT_NO_BUILD_HOOK, GUIX_OPT_GC_KEEP_OUTPUTS, GUIX_OPT_GC_KEEP_DERIVATIONS): Renumber. (options): Add '--substitute-urls'. (parse_opt): Honor it. (main): Add 'settings.set' call for the default "substitute-urls" value. * guix/scripts/substitute-binary.scm (daemon-options, find-daemon-option): New procedures. (%cache-url): Define based on the "substitute-urls" daemon option. * doc/guix.texi (Invoking guix-daemon): Document '--substitute-urls'. (Substitutes): Mention it.
2014-10-09gnu: icecat: Update to 31.1.1.Mark H Weaver
* 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.
2014-10-08monads: Add 'mbegin'.Ludovic Courtès
* guix/monads.scm (mbegin): New macro. * tests/monads.scm ("mbegin"): New test. * doc/guix.texi (The Store Monad): Document it.
2014-10-08packages: Gracefully print packages whose 'location' is #f.Ludovic Courtès
* guix/packages.scm (<package> printer): Check whether LOC is #f. * tests/packages.scm ("printer with location", "printer without location"): New tests.
2014-10-08Add Federico to 'AUTHORS'.Ludovic Courtès
2014-10-08doc: Document 'glib-or-gtk-build-system'.Federico Beffa
* doc/guix.texi (Build System): Document 'glib-or-gtk-build-system'. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-10-08gnu: cmake: Use our curl, zlib, expat, bzip2, and libarchive.Eric Bavier
* 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.
2014-10-08gnu: slim: Fix typo in synopsis and wrap description.Eric Bavier
* gnu/packages/slim.scm (slim)[synopsis]: Fix typo. [description]: Fix two-space-after-end-of-sentence. Wrap to 80 characters.
2014-10-08gnu: conkeror: install conkeror-spawn-helper.Eric Bavier
* gnu/packages/conkeror.scm (conkeror)[build-system]: Change to gnu-build-system. Adjust arguments accordingly. [inputs]: Remove now-implicit bash. [native-inputs]: Remove now-implicit tar and gzip. [description]: Fix two-space-after-end-of-sentence. Remove comment about separate conkeror-spawn-process-helper package.
2014-10-08gnu: Add the 'glib-or-gtk' build system.Federico Beffa
* guix/build-system/glib-or-gtk.scm, guix/build/glib-or-gtk-build-system.scm: New files. * Makefile.am (MODULES): Add them. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-08derivations: Add 'graft-derivation'.Ludovic Courtès
* guix/derivations.scm (graft-derivation): New procedure. * guix/build/graft.scm: New file. * Makefile.am (MODULES): Add it. * tests/derivations.scm ("graft-derivation"): New test.