summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* utils: Add a non-blocking option for 'fcntl-flock'.Ludovic Courtès2014-03-08
| | | | | | * guix/utils.scm (F_SETLK): New variable. (fcntl-flock): Add 'wait?' keyword parameter; honor it. * tests/utils.scm ("fcntl-flock non-blocking"): New test.
* doc: Explain what's special about the (gnu packages ...) name space.Ludovic Courtès2014-03-08
| | | | | | | | | | * doc/guix.texi (Invoking guix package): Explain where packages are searched for and link to "Package Modules". (Defining Packages) <example>: Use 'define-module' clause instead of 'use-modules'. Explain why and link to "Package Modules". (Invoking guix build): Explain where packages aer searched for and link to "Package Modules". (Package Modules): Explain that (gnu packages ...) is scanned.
* gnu: Add a2ps, trueprint, enscript, and source-highlightEric Bavier2014-03-07
| | | | | | | * gnu/packages/pretty-print.scm: New file * gnu/packages/patches/source-highlight-regexrange-test.patch: New file * gnu-system.am (dist_patch_DATA): Add patch. (GNU_SYSTEM_MODULES): Add pretty-print.scm
* store: 'export-paths' doesn't export references of the given files.Ludovic Courtès2014-03-07
| | | | | | | | | | | This fixes a regression introduced in 99fbddf9a623757e39d88bfb431f8f7d6f24b75b ("store: Change 'export-paths' to always export in topological order.") * guix/store.scm (export-paths): Define 'ordered' variable. Iterate over it. * tests/store.scm ("export/import paths, ensure topological order"): Add 'file0'. Adjust accordingly.
* gnu: Add ncmpc.David Thompson2014-03-06
| | | | * gnu/packages/mpd.scm (ncmpc): New variable.
* utils: 'fcntl-flock' passes an errno when throwing an exception.Ludovic Courtès2014-03-06
| | | | | * guix/utils.scm (%libc-errno-pointer, errno): New procedures. (fcntl-flock): Use it as the exception's argument.
* offload: Serialize file transfers to build machines.Ludovic Courtès2014-03-06
| | | | | | | | * guix/scripts/offload.scm (machine-lock-file, lock-machine, unlock-machine): New procedures. (with-machine-lock): New macro. (process-request): Wrap 'send-files' and 'retrieve-files' calls in 'with-machine-lock'.
* tests: Rewrite 'fcntl-lock' test.Ludovic Courtès2014-03-06
| | | | | | | | | * tests/utils.scm (temp-file): New variable. ("fcntl-flock"): Rewrite to actually test whether the child process waits for the lock to be released. The previous test was wrong because (1) it expected F_SETLK semantics, not F_SETLKW, and (2) it got EBADF because of a mismatch between the open mode and the lock style.
* download: Perform derivations locally.Ludovic Courtès2014-03-06
| | | | | | * guix/download.scm (url-fetch): Pass #:local-build? #t to 'build-expression->derivation'. * guix/git-download.scm (git-fetch): Likewise.
* gnu: Add bitlbee.Mark H Weaver2014-03-06
| | | | | | | * gnu/packages/messaging.scm (bitlbee): New variable. * gnu/packages/patches/bitlbee-fix-tests.patch: New file. * gnu/packages/patches/bitlbee-memset-fix.patch: New file. * gnu-system.am (dist_patch_DATA): Add patches.
* gnu: Add libotr.Mark H Weaver2014-03-06
| | | | | * gnu/packages/messaging.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: gnupg: Add support for version 1.4.16.Mark H Weaver2014-03-06
| | | | * gnu/packages/gnupg.scm (gnupg-1): New variable.
* gnu: Add lynx.Mark H Weaver2014-03-05
| | | | | * gnu/packages/lynx.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: gnutls: Upgrade to 3.2.12.Mark H Weaver2014-03-05
| | | | | | * gnu/packages/gnutls.scm (gnutls): Upgrade to 3.2.12. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Add ElementTree and pybugz.Ludovic Courtès2014-03-03
| | | | | * gnu/packages/python.scm (python2-element-tree, python2-pybugz): New variables.
* doc: Factorize documentation of common build options.Ludovic Courtès2014-03-03
| | | | | | | | | | * doc/guix.texi (Invoking guix package): Remove documentation for --dry-run, --fallback, --no-substitutes, and --max-silent-time. Add a cross-ref to "Invoking guix build". (Invoking guix archive): Add "common build options" as the cross-ref topic for "Invoking guix build". (Invoking guix build): Move common build options separately. Add a paragraph to explain.
* gnu: subversion: Update to 1.7.14.Andreas Enge2014-03-02
| | | | * gnu/packages/version-control.scm (subversion): Update to 1.7.14.
* gnu: subversion: Enable http checkouts.Andreas Enge2014-03-02
| | | | | * gnu/packages/version-control.scm (subversion): Add input neon-0.29.6 to enable http and https checkouts.
* gnu: Add neon-0.29.6.Andreas Enge2014-03-02
| | | | * gnu/packages/version-control.scm (neon-0.29.6): New variable.
* gnu: Add neon.Andreas Enge2014-03-02
| | | | * gnu/packages/version-control.scm (neon): New variable.
* gnu: hurd: Add Hurd headers.Manolis Ragkousis2014-03-01
| | | | | | | * gnu/packages/hurd.scm (hurd-headers): New variable. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* guix package: Use the common build options from (guix scripts build).Ludovic Courtès2014-03-01
| | | | | | | | | | | * guix/scripts/build.scm (%standard-build-options): Change option handlers to support multiple seeds. * guix/scripts/package.scm (show-help): Remove --dry-run, --fallback, --no-substitutes, and --max-silent-time. (%options): Likewise, and add %STANDARD-BUILD-OPTIONS. (%default-options): Add 'verbosity'. (guix-package): Call 'set-build-options-from-command-line' instead of 'set-build-options'.
* gnu: guile-ssh: Upgrade to 0.5.0.Ludovic Courtès2014-03-01
| | | | | | | * gnu/packages/ssh.scm (guile-ssh): Upgrade to 0.5.0. [arguments]: Adjust 'autoreconf' phase. Add #:parallel-tests? #f and #:tests? #f. [native-inputs]: Add TEXINFO.
* substitute-binary: Gracefully handle HTTP GET errors.Ludovic Courtès2014-03-01
| | | | | | | * guix/http-client.scm (&http-get-error): New condition type. (http-fetch): Raise it instead of using 'error'. * guix/scripts/substitute-binary.scm (fetch) <http>: Wrap body into 'guard' form; gracefully handle 'http-get-error?' conditions.
* offload: Comment out attempt to set up an lsh gateway.Ludovic Courtès2014-03-01
| | | | | * guix/scripts/offload.scm (open-ssh-gateway): Comment out. (process-request): Remove call to 'open-ssh-gateway' and to 'kill'.
* offload: 'remote-pipe' uses the right SSH key.Ludovic Courtès2014-03-01
| | | | | * guix/scripts/offload.scm (remote-pipe): Pass -i when invoking %LSHG-COMMAND.
* offload: Take the target machine load into account.Ludovic Courtès2014-03-01
| | | | | | | * guix/scripts/offload.scm (machine-load, machine-less-loaded?, machine-less-loaded-or-faster?): New procedures. (choose-build-machine): Use 'machine-less-loaded-or-faster?' when sorting. Return the head of MACHINES unless it's loaded is >= 2.
* guix archive: Change '--help' to show '--authorize'.Ludovic Courtès2014-02-28
| | | | * guix/scripts/archive.scm (show-help): Add '--authorize'.
* gnu: libgc: Change URLs to point to hboehm.info.Ludovic Courtès2014-02-28
| | | | | | | * gnu/packages/bdw-gc.scm (libgc)[source, home-page, license]: Update URL. (libatomic-ops)[source, home-page]: Likewise. (libgc-7.4)[source]: Likewise.
* gnu-maintenance: Adjust 'latest-release' to filter Bash's patch directories.Ludovic Courtès2014-02-28
| | | | | | * guix/gnu-maintenance.scm (latest-release)[patch-directory-name?]: New procedure. <subdirs>: Use it to filter out Bash-like patch directories.
* hydra: Set the default absolute build timeout to 20h.Ludovic Courtès2014-02-27
| | | | * build-aux/hydra/gnu-system.scm (package->alist): Add 'timeout' item.
* gnu: Move libwebsockets to (gnu packages web).Ludovic Courtès2014-02-27
| | | | | | | * gnu/packages/libwebsockets.scm: Remove. Move libwebsockets package definition to... * gnu/packages/web.scm (libwebsockets): ... here. * gnu-system.am (GNU_SYSTEM_MODULES): Remove libwebsockets.scm.
* store: Use 'when' instead of 'if' in effectful context.Ludovic Courtès2014-02-27
| | | | * guix/store.scm (set-build-options): Use 'when' instead of 'if'.
* gnu: Add mpd.David Thompson2014-02-25
| | | | * gnu/packages/mpd.scm (mpd): New variable.
* gnu: Add libmpdclient.David Thompson2014-02-25
| | | | | * gnu/packages/mpd.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu: zile: Upgrade to 2.4.10Eric Bavier2014-02-25
| | | | * gnu/packages/zile.scm (zile): Upgrade to 2.4.10
* gnu: parallel: Upgrade to 20140222Eric Bavier2014-02-25
| | | | * gnu/packages/parallel.scm (parallel): Upgrade to 20140222
* gnu: ffmpeg: Upgrade to 2.1.4Mark H Weaver2014-02-25
| | | | * gnu/packages/video.scm (ffmpeg): Upgrade to 2.1.4.
* gnu: libmicrohttpd: Update to 0.9.34.Sree Harsha Totakura2014-02-24
| | | | * gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.34.
* Update SRFI-64 to the latest upstream version.Mark H Weaver2014-02-24
| | | | | * srfi/srfi-64.scm: Export 'test-group'. Call 'cond-expand-provide'. * srfi/srfi-64.upstream.scm: Update to the latest upstream version.
* gnu: Add miniupnpc.Sree Harsha Totakura2014-02-24
| | | | | | | * gnu/packages/upnp.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Andreas Enge <andreas@enge.fr>
* derivations: Remove unused 'derivation' parameter.Ludovic Courtès2014-02-21
| | | | | * guix/derivations.scm (derivation): Remove unused #:hash-mode parameter. * doc/guix.texi (Derivations): Adjust accordingly.
* gnu: Add libwebsockets.Ludovic Courtès2014-02-21
| | | | | * gnu/packages/libwebsockets.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* Add (guix git-download).Ludovic Courtès2014-02-21
| | | | | | * guix/git-download.scm, guix/build/git.scm: New files. * Makefile.am (MODULES): Add them. * guix/packages.scm (<origin>): Fix comment for 'method' field.
* doc: More on what's special about the archive format.Ludovic Courtès2014-02-21
| | | | | * doc/guix.texi (Invoking guix archive): Expound on what sets the Nar format apart.
* nar: Produce archives with files sorted in C collation order.Ludovic Courtès2014-02-21
| | | | | | | * guix/nar.scm (write-file) <directory>: Pass 'string<?' as the second argument to 'scandir'. * tests/nar.scm ("write-file puts file in C locale collation order"): New test.
* derivations: Add support for recursive fixed-output derivations.Ludovic Courtès2014-02-21
| | | | | | | | | | | | | | | | | | | | | * guix/derivations.scm (<derivation-output>): Add 'recursive?' field. Adjust 'make-derivation-output' callers. (%read-derivation) <fixed-output>: When HASH-ALGO starts with 'r:', set the 'recursive?' field and drop 'r:' from the hash algo name. (write-derivation)[write-output]: Write the algo as 'r:HASH-ALGO' when the RECURSIVE? field is set. (derivation-hash) <fixed-output>: Prepend "r:" when RECURSIVE? is set. (fixed-output-path): New procedure. (derivation): Add #:recursive? parameter. Use 'fixed-output-path' to compute the output file name of a fixed output derivation. (build-expression->derivation): Add #:recursive? parameter. Pass it to 'derivation'. * tests/derivations.scm ("fixed-output derivation, recursive", "build-expression->derivation produces recursive fixed-output", "build-expression->derivation uses recursive fixed-output"): New tests. * doc/guix.texi (Derivations): Document #:recursive? for 'derivation'. Add #:recursive? for 'build-expression->derivation'.
* guix hash: Add '--recursive'.Ludovic Courtès2014-02-21
| | | | | | | | | | | | * guix/scripts/hash.scm (show-help): Add --recursive. (%options): Likewise. (guix-hash)[file-hash]: New procedure. Honor --recursive. Use it. * guix/nar.scm (write-file): Add missing field to the &nar-error condition raised upon unsupported file type; change its message to be more descriptive. * tests/guix-hash.sh: Add tests with -r. * doc/guix.texi (Invoking guix hash): Document --recursive.
* ui: Handle SRFI-35 '&message' conditions.Ludovic Courtès2014-02-21
| | | | | | * guix/ui.scm (call-with-error-handling): Add case for 'message-condition?'. * po/Makevars: Fix typo in comment.
* nar: 'write-file' can write to non-file ports.Ludovic Courtès2014-02-21
| | | | | | * guix/nar.scm (write-contents): Use 'sendfile' only when P is a file port. * tests/nar.scm ("write-file supports non-file output ports"): New test.