summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-03doc: Update description of the chroot contents.Ludovic Courtès
* doc/guix.texi (Build Environment Setup): Adjust description of /dev and /proc; remove footnote about /dev/shm, now obsolete.
2014-04-03offload: Prevent the '.drv' and build result from being GC'd.Ludovic Courtès
Before that, there was a small time window during which the GC could wipe the .drv (before 'guix build' has been called), or the build result (before 'retrieve-files' has started.) * guix/scripts/offload.scm (remote-pipe): Add #:quote? parameter and honor it. (%gc-root-file): New variable. (register-gc-root, remove-gc-root): New procedures. (offload): Adjust comment. Run 'guix build' with '-r %GC-ROOT-FILE'. (transfer-and-offload): Call 'register-gc-root' before sending (derivation-file-name DRV). Call 'remove-gc-root' after the call to 'offload' or 'retrieve-files'. (send-files): Call 'remote-pipe' with #:quote? #f. (retrieve-files): Likewise.
2014-04-03gnu: parted: Build against Readline 6.2.Ludovic Courtès
* gnu/packages/readline.scm (readline-6.2): New variable. * gnu/packages/parted.scm (parted): Use it instead of READLINE.
2014-04-03gnu: inkscape: Use libgc 7.2.Ludovic Courtès
* gnu/packages/inkscape.scm (inkscape): Use LIBGC-7.2 instead of LIBGC.
2014-04-03gnu: python: Use /nix/.../sh in popen2 moduleEric Bavier
* gnu/packages/python.scm (python-2): patch Lib/popen2.py to use /nix/.../sh.
2014-04-03gnu: global: Upgrade to 6.2.12.Andreas Enge
* gnu/packages/global.scm (global): Upgrade to 6.2.12.
2014-04-03gnu: apl: Upgrade to 1.3.Andreas Enge
* gnu/packages/apl.scm (apl): Upgrade to 1.3.
2014-04-03gnu: xorriso: Upgrade to 1.3.6.pl01.Andreas Enge
* gnu/packages/cdrom.scm (xorriso): Upgrade to 1.3.6.pl01.
2014-04-03gnu: gxmessage: Upgrade to 2.20.1.Andreas Enge
* gnu/packages/gxmessage.scm (gxmessage): Upgrade to 2.20.1.
2014-04-03gnu: help2man: Upgrade to 1.45.1.Andreas Enge
* gnu/packages/help2man.scm (help2man): Upgrade to 1.45.1.
2014-04-03gnu: zile: Upgrade to 2.4.11.Andreas Enge
* gnu/packages/zile.scm (zile): Upgrade to 2.4.11.
2014-04-03gnu: units: Upgrade to 2.11.Andreas Enge
* gnu/packages/maths.scm (units): Upgrade to 2.11.
2014-04-03gnu: freeipmi: Upgrade to 1.4.1.Andreas Enge
* gnu/packages/freeipmi.scm (freeipmi): Upgrade to 1.4.1.
2014-04-03gnu: parallel: Upgrade to 20140322.Andreas Enge
* gnu/packages/parallel.scm (parallel): Upgrade to 20140322.
2014-04-03gnu: xnee: Upgrade to 3.18.Andreas Enge
* gnu/packages/xnee.scm (xnee): Upgrade to 3.18.
2014-04-03gnu: glpk: Upgrade to 4.54.Andreas Enge
* gnu/packages/maths.scm (glpk): Upgrade to 4.54.
2014-04-03gnu: texlive: Fix bug recently introduced in d4bf49b.Mark H Weaver
Fixes bug introduced in d4bf49b140bd5cfb3580d2a038679160dc1331b5. * gnu/packages/texlive.scm (texlive): Change 'alist-replace' to 'alist-cons-before'.
2014-04-02tests: Add 'union-build' test for <http://bugs.gnu.org/17083>.Ludovic Courtès
* tests/union.scm ("union-build with symlink to directory"): New test.
2014-04-02union: Rewrite to be faster; handle symlink/directory conflicts.Mark H Weaver
* guix/build/union.scm: Rewrite; only 'file=?' remains unchanged. Remove 'tree-union' and 'delete-duplicate-leaves' exports. Merge inputs in a breadth-first fashion. Follow symlinks for purposes of making decisions about the merge. * tests/union.scm: Remove tests of 'tree-union' and 'delete-duplicate-leaves'.
2014-04-02gnu: sqlite: Fix sqlite on systems with page size larger than 32K.Mark H Weaver
Based on a patch by Dan Kennedy <danielk1977@gmail.com>. * gnu/packages/patches/sqlite-large-page-size-fix.patch: New file. * gnu/packages/sqlite.scm (sqlite): Add it. * gnu-system.am (dist_patch_DATA): Add it.
2014-04-02gnu: sqlite: Upgrade to 3.8.4.2.Mark H Weaver
* gnu/packages/sqlite.scm (sqlite): Upgrade to 3.8.4.2.
2014-04-02gnu: sqlite: Compute source URL from version number.Mark H Weaver
* gnu/packages/sqlite.scm (sqlite): Compute the numeric-version from the traditional version string, and use it to compute the source URL.
2014-04-02gnu: mutt: Upgrade to 1.5.23.Mark H Weaver
* gnu/packages/mail.scm (mutt): Upgrade to 1.5.23. Add bitbucket source URL and try it first.
2014-04-02gnu: bazaar: Install man pages in share/man.Mark H Weaver
* gnu/packages/version-control.scm (bazaar): Add a phase that fixes setup.py to install man pages in share/man.
2014-04-02gnu: ocaml: Install man pages in share/man.Mark H Weaver
* gnu/packages/ocaml.scm (ocaml): Pass -mandir to configure.
2014-04-02gnu: pth: Install man pages in share/man.Mark H Weaver
* gnu/packages/pth.scm (pth): Add --mandir to configure flags.
2014-04-02gnu: expect: Install man pages in share/man.Mark H Weaver
* gnu/packages/tcl.scm (expect): Add --mandir configure flag. Use 'let' to simplify configure flags generation.
2014-04-02gnu: zip: Improve build process and install man pages in share/man.Mark H Weaver
* gnu/packages/zip.scm (zip): Eliminate custom configure phase which copied and patched the Makefile. Instead add "-f" and "prefix" to make-flags, as well as "MANDIR". Remove "generic_gcc" from the make-flags, so that it will not be passed during other phases involving 'make'. Instead replace the 'build' phase with one that specifies the "generic_gcc" target.
2014-04-02gnu: lua: Install man pages in share/man.Mark H Weaver
* gnu/packages/lua.scm (lua): Use 'system*' instead of 'system'. Add INSTALL_MAN argument to 'make'.
2014-04-02gnu: indent: Install docs in share/doc.Mark H Weaver
* gnu/packages/indent.scm (indent): Add a phase to fix the docdir setting in doc/Makefile.in.
2014-04-02guix package: 'search-path-environment-variables' traverses module tree once.Ludovic Courtès
* guix/scripts/package.scm (search-path-environment-variables)[manifest-entry->package]: Use 'find-best-packages-by-name' instead of 'find-packages-by-name'. On a profile with 140 packages, this reduces execution time of this procedure from 5.8 seconds to 2.9 seconds (50% improvement.)
2014-04-02guix package: Register non-default profiles as GC roots.Ludovic Courtès
* guix/scripts/package.scm (maybe-register-gc-root): New procedure. * tests/guix-package.sh (profile): Grep the output of "guix gc --list-live" in a couple of places.
2014-04-02gnu: net-tools: Install man pages and locales in share, not usr/share.Mark H Weaver
* gnu/packages/linux.scm (net-tools): Add 'INSTALLNLSDIR' and 'mandir' variables to make flags.
2014-04-02gnu: libssh: Upgrade to 0.6.3.Mark H Weaver
* gnu/packages/ssh.scm (libssh): Upgrade to 0.6.3.
2014-04-02gnu: pulseaudio: Increase timeouts for tests.Mark H Weaver
* gnu/packages/pulseaudio.scm: Set the 'CK_DEFAULT_TIMEOUT' environment variable to 120 in the 'pre-check' phase. Suggested by Ludovic Courtès.
2014-04-02gnu: file: Upgrade to 5.18.Mark H Weaver
* gnu/packages/file.scm (file): Upgrade to 5.18.
2014-04-01gnu: guile-json: Install under .../site/2.0.Ludovic Courtès
* gnu/packages/guile.scm (guile-json)[source]: Add 'snippet'.
2014-04-01pki: Keep ACL in native sexp format to speed up 'authorized-key?'.Ludovic Courtès
* guix/pki.scm (acl-entry-sexp, acl-sexp): Remove. (public-keys->acl, current-acl): Return a native sexp. (acl->public-keys, authorized-key?): Expect ACL to be a native sexp. * guix/scripts/archive.scm (authorize-key): Convert ACL to canonical-sexp when writing it.
2014-04-01substitute-binary: Avoid consing 'regexp-exec' arguments.Ludovic Courtès
* guix/scripts/substitute-binary.scm (regexp-exec): Change formals to (rx str . rest).
2014-04-01substitute-binary: Avoid reloading the ACL repeatedly.Ludovic Courtès
* guix/scripts/substitute-binary.scm (guix-substitute-binary) <--query>: Cache the result of (current-acl); pass it to 'valid-narinfo?' calls. This saves 12% wall-clock time for "guix build emacs -n".
2014-04-01gnu: Add Bogofilter.Ludovic Courtès
* gnu/packages/mail.scm (bogofilter): New variable.
2014-04-01gnu: Add guile-json.Cyril Roelandt
* gnu/packages/guile.scm (guile-json): New variable.
2014-03-31Use 'signature-case' in (guix nar) and 'substitute-binary'.Ludovic Courtès
* guix/nar.scm (restore-file-set)[assert-valid-signature]: Rewrite in terms of 'signature-case'. * guix/scripts/substitute-binary.scm (narinfo-signature->canonical-sexp): Call 'leave' instead of 'raise' when SIGNATURE is invalid. (&nar-signature-error, &nar-invalid-hash-error): Remove. (assert-valid-signature): Add 'narinfo' parameter; remove 'port'. Rewrite in terms of 'signature-case' and 'leave'. Mention NARINFO's URI in error messages. Adjust caller. (narinfo-sha256): New procedure. (assert-valid-narinfo): Use it. (valid-narinfo?): Rewrite using 'narinfo-sha256' and 'signature-case'. * tests/substitute-binary.scm (assert-valid-signature, test-error-condition): Remove. ("corrupt signature data", "unauthorized public key", "invalid signature"): Remove.
2014-03-31pki: Add 'signature-case' macro.Ludovic Courtès
* guix/pki.scm (%signature-status): New procedure. (signature-case): New macro. * tests/pki.scm (%secret-key, %alternate-secret-key): New variables. ("signature-case valid-signature", "signature-case invalid-signature", "signature-case hash-mismatch", "signature-case unauthorized-key", "signature-case corrupt-signature"): New tests.
2014-03-31substitute-binary: Notify of valid signatures.Ludovic Courtès
* guix/scripts/substitute-binary.scm (assert-valid-narinfo): Add #:verbose? parameter; when true, write "found valid signature". (valid-narinfo?): Pass #:verbose? #f.
2014-03-31guix archive: Make sure $sysconfdir/guix exists in '--authorize'.Ludovic Courtès
* guix/scripts/archive.scm (authorize-key): Add 'mkdir-p' call. Reported by Alex Sassmannshausen <alex.sassmannshausen@gmail.com>.
2014-03-31doc: fix typo.Alex Sassmannshausen
* doc/guix.texi (Substitutes): add a missing 's'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-03-31gnu: Remove unused lambda arguments and prefer separate phases overEric Bavier
augmented phases. * gnu/packages/compression.scm (sharutils) [arguments]: Remove unused lambda args. * gnu/packages/gl.scm (mesa) [arguments]: Same * gnu/packages/fltk.scm [arguments]: Same. Substitute const check phase with #:tests? #f. Add pre-configure phase. * gnu/packages/ghostscript.scm (ghostscript) [arguments]: Put makefile patches in separate phase. Put so steps oinseparate phases. * gnu/packages/glib.scm (gobject-introspection) [arguments]: Remove unused lambda args. Put patches in pre-configure phase. * gnu/packages/gnupg.scm (gnupg) [arguments]: Put patch in pre-configure phase. (pius) [arguments]: Delete const #t configure and build phases. (signing-party) [arguments]: Factor patches into post-unpack phase. (paperkey) [arguments]: Remove unused lambda args. Factor out patches into pre-check phase. * gnu/packages/icu4c.scm [arguments]: Change source dir after standard unpack phase. Factor configure patches into pre-configure phase. * gnu/packages/lsof.scm [arguments]: Remove unused lambda args. Remove unnecessary apply. * gnu/packages/lvm.scm (lvm2) [arguments]: Factor out patches into pre-configure phase. * gnu/packages/libtiff.scm [arguments]: Same * gnu/packages/maths.scm (hdf5) [arguments]: Same * gnu/packages/gtk.scm (gtk+-2) [arguments]: Same * gnu/packages/mp3.scm (libmad) [arguments]: Same (id3lib) [arguments]: Same * gnu/packages/python.scm (python-2) [arguments]: Same * gnu/packages/texlive.scm (texlive) [arguments]: Same * gnu/packages/pretty-print.scm (a2ps) [arguments]: Same (trueprint) [arguments]: Same (source-highlight) [arguments]: Same. Remove unused lambda args. * gnu/packages/netpbm.scm [arguments]: Remove unused lambda args. Factor out test patches into pre-check phase. Condense calls to substitute* * gnu/packages/openldap.scm [arguments]: Factor out libtool copy into post-configure phases. [synopsis] Remove package name. * gnu/packages/ssh.scm (openssh) [arguments]: Factor out patches into separate phases. * gnu/packages/tcsh.scm [arguments]: Factor out test patches into pre-check phase. * gnu/packages/version-control.scm (git) [arguments]: Factor out patches into post-configure phase. * gnu/packages/vim.scm [arguments]: Same. [synopsis] Remove package name. * gnu/packages/vpn.scm (openconnect) [arguments]: Put configure flags in #:configure-flags
2014-03-31offload: Exit with code 100 upon build failures.Ludovic Courtès
* guix/scripts/offload.scm (transfer-and-offload): Exit with code 100 upon build failure.
2014-03-30doc: Document substitutes.Ludovic Courtès
* doc/guix.texi (Invoking guix-daemon): Add cross-reference to "Substitutes". (Features): Remove footnote about unauthenticated substitutes. Link to "Substitutes". (Substitutes): New node. (Invoking guix build): Link to "Substitutes". (Packaging Guidelines): Likewise.