jackhill/guix/guix.git
10 years agognu: fuse: Refer to the right 'mount' and 'umount' commands.
Ludovic Courtès [Sun, 16 Mar 2014 22:18:36 +0000 (23:18 +0100)]
gnu: fuse: Refer to the right 'mount' and 'umount' commands.

* gnu/packages/linux.scm (fuse)[inputs]: Change to...
  [native-inputs]: ... this.
  [arguments]: Add #:phases argument.

10 years agostore: Add 'hash-part->path'.
Ludovic Courtès [Fri, 14 Mar 2014 16:16:10 +0000 (17:16 +0100)]
store: Add 'hash-part->path'.

* guix/store.scm (hash-part->path): New procedure.
* tests/store.scm ("hash-part->path"): New test.

10 years agooffload: Fix 'choose-build-machine' for several machines.
Ludovic Courtès [Thu, 13 Mar 2014 21:57:21 +0000 (22:57 +0100)]
offload: Fix 'choose-build-machine' for several machines.

* guix/scripts/offload.scm (choose-build-machine)[undecorate]: Turn into
  a two-argument procedure.

10 years agooffload: Convert the port number to a string when invoking lsh.
Ludovic Courtès [Thu, 13 Mar 2014 21:46:32 +0000 (22:46 +0100)]
offload: Convert the port number to a string when invoking lsh.

* guix/scripts/offload.scm (remote-pipe, send-files): Pass the result of
  'build-machine-port' to 'number->string'.

10 years agooffload: Allow build machines to specify a port number.
Ludovic Courtès [Thu, 13 Mar 2014 20:58:04 +0000 (21:58 +0100)]
offload: Allow build machines to specify a port number.

* guix/scripts/offload.scm (<build-machine>): Add 'port' field.
  (remote-pipe, send-files): Use lsh's '-p' option when invoking it.

10 years agoguix build: Support '--with-source' along with '-e'.
Ludovic Courtès [Thu, 13 Mar 2014 18:21:49 +0000 (19:21 +0100)]
guix build: Support '--with-source' along with '-e'.

* guix/scripts/build.scm (derivation-from-expression): Remove.
  (options->derivations): Handle pairs of the form
  "('argument . (? derivation?))".
  (options/resolve-packages): Add 'store' parameter; update caller.  Add
  'system' variable.  Add case for 'expression pairs.
* guix/scripts/archive.scm (derivation-from-expression): New procedure.

10 years agognu: guile-xcb: Upgrade to 1.3.
Ludovic Courtès [Wed, 12 Mar 2014 23:04:07 +0000 (00:04 +0100)]
gnu: guile-xcb: Upgrade to 1.3.

* gnu/packages/guile-wm.scm (guile-xcb): Upgrade to 1.3.
  [arguments] Pass --with-guile-site-dir= instead of --datadir=,
  and pass --with-guile-site-ccache-dir=.  Remove #:phases.

10 years agognu: linux-libre: Build the FUSE module.
Ludovic Courtès [Wed, 12 Mar 2014 21:55:48 +0000 (22:55 +0100)]
gnu: linux-libre: Build the FUSE module.

* gnu/packages/linux.scm (linux-libre): Set CONFIG_FUSE_FS=m.

10 years agognu: unionfs-fuse: Add statically-linked variant.
Ludovic Courtès [Wed, 12 Mar 2014 14:11:30 +0000 (15:11 +0100)]
gnu: unionfs-fuse: Add statically-linked variant.

* gnu/packages/linux.scm (unionfs-fuse/static): New variable.

10 years agoguix build: Add '--with-source'.
Ludovic Courtès [Tue, 11 Mar 2014 21:08:40 +0000 (22:08 +0100)]
guix build: Add '--with-source'.

* guix/scripts/build.scm (package-with-source): New procedure.
  (show-help): Add '--with-source'.
  (%options): Likewise.
  (options->derivations): Call 'options/with-source' and
  'options/resolve-packages'.
  (options/resolve-packages, options/with-source): New procedures.
* doc/guix.texi (Invoking guix build): Document '--with-source'.

10 years agodownload: 'download-to-store' accepts plain file names.
Ludovic Courtès [Tue, 11 Mar 2014 21:09:31 +0000 (22:09 +0100)]
download: 'download-to-store' accepts plain file names.

* guix/download.scm (download-to-store): When URI is #f, assume that URL
  is a file name, and handle it.

10 years agoMore /gnu/store replacements.
Ludovic Courtès [Mon, 10 Mar 2014 22:58:40 +0000 (23:58 +0100)]
More /gnu/store replacements.

* gnu/packages/gcc.scm (gcc-4.7): Change /nix/store in comment.
* gnu/system/vm.scm (operating-system-default-contents):
  Use (%store-prefix) instead of "/nix/store".
* guix/derivations.scm (derivation-path->output-path,
  derivation-path->output-paths): Change to /gnu/store in docstring.

10 years agognu: linux-initrd: Make the pseudo-tty device nodes.
Ludovic Courtès [Mon, 10 Mar 2014 22:16:02 +0000 (23:16 +0100)]
gnu: linux-initrd: Make the pseudo-tty device nodes.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Create
  /dev/ptmx and /dev/pts.
* gnu/system/vm.scm (qemu-image): Umount /fs/dev/pts before /fs.

10 years agotests: 'topologically-sorted' test handles different references orders.
Ludovic Courtès [Mon, 10 Mar 2014 22:02:43 +0000 (23:02 +0100)]
tests: 'topologically-sorted' test handles different references orders.

* tests/store.scm ("topologically-sorted, more difficult"): Arrange to
  handle a different ordering of (references %store y).

10 years agognu: Add UnionFS-FUSE.
Ludovic Courtès [Mon, 10 Mar 2014 21:31:08 +0000 (22:31 +0100)]
gnu: Add UnionFS-FUSE.

* gnu/packages/linux.scm (unionfs-fuse): New variable.

10 years agodoc: Update packaging guidelines.
Pierre-Antoine Rault [Sun, 9 Mar 2014 16:10:27 +0000 (17:10 +0100)]
doc: Update packaging guidelines.

* HACKING (Submitting Patches): Mention 'git send-mail'.
* doc/guix.texi (Packaging Guidelines): More details on how to prepare a
  package module.
  (Contributing): Add reference to #guix channel on Freenode.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: pretty-print: Fix boost reference
Eric Bavier [Mon, 10 Mar 2014 16:03:16 +0000 (11:03 -0500)]
gnu: pretty-print: Fix boost reference

* gnu/packages/pretty-print.scm (source-highlight): Change "boost-1.54" input
  to "boost"

10 years agooffload: Honor absolute build timeouts.
Ludovic Courtès [Sun, 9 Mar 2014 22:13:53 +0000 (23:13 +0100)]
offload: Honor absolute build timeouts.

* guix/scripts/offload.scm (offload): Remove default value for
  'build-timeout'.  Pass '--timeout' to the remote 'guix build'
  process.
  (transfer-and-offload, process-request): Remove default value for
  'build-timeout'.

10 years agoguix build: Add '--timeout' to the common build options.
Ludovic Courtès [Sun, 9 Mar 2014 22:09:18 +0000 (23:09 +0100)]
guix build: Add '--timeout' to the common build options.

* guix/scripts/build.scm (show-build-options-help): Document
  '--timeout'.
  (set-build-options-from-command-line): Pass #:timeout to
  'set-build-options'.
  (%standard-build-options): Add '--timeout'.
* doc/guix.texi (Invoking guix build): Document it.

10 years agostore: Add #:timeout build option.
Ludovic Courtès [Sun, 9 Mar 2014 22:01:18 +0000 (23:01 +0100)]
store: Add #:timeout build option.

* guix/serialization.scm (write-string-pairs): New procedure.
* guix/store.scm (write-arg): Add 'string-pairs' case.
  (set-build-options): Add 'timeout' keyword parameter.  Honor it.
* tests/derivations.scm ("build-expression->derivation and timeout"):
  New test.

10 years agognu: Add libpcap and jnettop.
Ludovic Courtès [Sun, 9 Mar 2014 21:36:48 +0000 (22:36 +0100)]
gnu: Add libpcap and jnettop.

* gnu/packages/admin.scm (libpcap, jnettop): New variables.

10 years agobuild: Change state and log directories to $localstatedir/.../guix.
Ludovic Courtès [Sun, 9 Mar 2014 21:05:29 +0000 (22:05 +0100)]
build: Change state and log directories to $localstatedir/.../guix.

* daemon.am (libstore_a_CPPFLAGS): Change /nix to /guix.
* guix/config.scm.in (%state-directory): Likewise.
* guix/store.scm (log-file): Likewise.

10 years agoChange the default store file name to /gnu/store.
Ludovic Courtès [Sun, 9 Mar 2014 21:09:12 +0000 (22:09 +0100)]
Change the default store file name to /gnu/store.

* configure.ac: Change the default 'storedir' to /gnu/store.  Print
  $storedir.
* doc/guix.texi: Replace "/nix/store" by "/gnu/store", except where
  describing Nix compatibility.
* Makefile.am: Likewise.

10 years agooffload: Move macro definitions before use.
Ludovic Courtès [Sun, 9 Mar 2014 17:08:21 +0000 (18:08 +0100)]
offload: Move macro definitions before use.

* guix/scripts/offload.scm (lock-file, unlock-file, with-file-lock,
  with-machine-lock, machine-slot-file, acquire-build-slot,
  release-build-slot): Move definitions above their first use.

10 years agognu: soprano: Add input raptor2.
Andreas Enge [Sun, 9 Mar 2014 13:37:14 +0000 (14:37 +0100)]
gnu: soprano: Add input raptor2.

* gnu/packages/rdf.scm (soprano): Add input raptor2.

10 years agooffload: Distinguish between 'decline' and 'postpone'.
Ludovic Courtès [Sun, 9 Mar 2014 13:05:30 +0000 (14:05 +0100)]
offload: Distinguish between 'decline' and 'postpone'.

* guix/scripts/offload.scm (transfer-and-offload): New procedure, with
  core formerly in 'process-request'.
  (choose-build-machine): Remove 'requirements' parameter.
  (process-request): Reply 'decline' when none of MACHINES matches the
  requirements, and 'postpone' when MACHINES are busy.

10 years agognu: raptor2: Disable parallel tests.
Andreas Enge [Sun, 9 Mar 2014 10:42:37 +0000 (11:42 +0100)]
gnu: raptor2: Disable parallel tests.

* gnu/packages/rdf.scm (raptor2): Disable parallel tests since it makes
    tests fail.

10 years agooffload: Prevent locked files from being GC'd.
Ludovic Courtès [Sat, 8 Mar 2014 20:23:12 +0000 (21:23 +0100)]
offload: Prevent locked files from being GC'd.

* guix/scripts/offload.scm (%slots): New variable.
  (choose-build-machine): Add SLOT to '%slots'.

10 years agooffload: Fix thinko.
Ludovic Courtès [Sat, 8 Mar 2014 11:22:49 +0000 (12:22 +0100)]
offload: Fix thinko.

* guix/scripts/offload.scm (choose-build-machine)[machine+slots]: Use
  'filter-map', not 'filter'.

10 years agooffload: Make 'parallel-builds' a hard limit.
Ludovic Courtès [Sat, 8 Mar 2014 11:15:38 +0000 (12:15 +0100)]
offload: Make 'parallel-builds' a hard limit.

* guix/scripts/offload.scm (machine-choice-lock-file,
  machine-slot-file, acquire-build-slot, release-build-slot): New
  procedures.
  (choose-build-machine): Operate with (machine-choice-lock-file)
  taken.  Acquire a build slot for each of MACHINES.  Release those not
  used.

10 years agooffload: Further generalize lock files.
Ludovic Courtès [Sat, 8 Mar 2014 11:07:57 +0000 (12:07 +0100)]
offload: Further generalize lock files.

* guix/scripts/offload.scm (lock-machine, unlock-machine): Remove.
  (lock-file, unlock-file): New procedures.
  (with-file-lock): New macro.
  (with-machine-lock): Rewrite in terms of 'with-file-lock'.

10 years agooffload: Generalize the machine lock mechanism.
Ludovic Courtès [Sat, 8 Mar 2014 10:29:52 +0000 (11:29 +0100)]
offload: Generalize the machine lock mechanism.

* guix/scripts/offload.scm (lock-machine): Add 'hint' parameter.
  (unlock-machine): Remove 'machine' parameter.
  (with-machine-lock): Add 'hint' parameter, and pass it down.
  (process-request): Adjust uses of 'with-machine-lock' to pass the
  'bandwidth hint.

10 years agoutils: Add a non-blocking option for 'fcntl-flock'.
Ludovic Courtès [Fri, 7 Mar 2014 15:46:09 +0000 (16:46 +0100)]
utils: Add a non-blocking option for 'fcntl-flock'.

* guix/utils.scm (F_SETLK): New variable.
  (fcntl-flock): Add 'wait?' keyword parameter; honor it.
* tests/utils.scm ("fcntl-flock non-blocking"): New test.

10 years agodoc: Explain what's special about the (gnu packages ...) name space.
Ludovic Courtès [Fri, 7 Mar 2014 09:21:34 +0000 (10:21 +0100)]
doc: Explain what's special about the (gnu packages ...) name space.

* 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.

10 years agognu: Add a2ps, trueprint, enscript, and source-highlight
Eric Bavier [Thu, 6 Mar 2014 20:16:18 +0000 (14:16 -0600)]
gnu: Add a2ps, trueprint, enscript, and source-highlight

* 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

10 years agostore: 'export-paths' doesn't export references of the given files.
Ludovic Courtès [Thu, 6 Mar 2014 23:18:28 +0000 (00:18 +0100)]
store: 'export-paths' doesn't export references of the given files.

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.

10 years agognu: Add ncmpc.
David Thompson [Thu, 6 Mar 2014 01:45:55 +0000 (20:45 -0500)]
gnu: Add ncmpc.

* gnu/packages/mpd.scm (ncmpc): New variable.

10 years agoutils: 'fcntl-flock' passes an errno when throwing an exception.
Ludovic Courtès [Thu, 6 Mar 2014 20:41:51 +0000 (21:41 +0100)]
utils: 'fcntl-flock' passes an errno when throwing an exception.

* guix/utils.scm (%libc-errno-pointer, errno): New procedures.
  (fcntl-flock): Use it as the exception's argument.

10 years agooffload: Serialize file transfers to build machines.
Ludovic Courtès [Thu, 6 Mar 2014 20:38:45 +0000 (21:38 +0100)]
offload: Serialize file transfers to build machines.

* 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'.

10 years agotests: Rewrite 'fcntl-lock' test.
Ludovic Courtès [Thu, 6 Mar 2014 17:38:19 +0000 (18:38 +0100)]
tests: Rewrite 'fcntl-lock' test.

* 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.

10 years agodownload: Perform derivations locally.
Ludovic Courtès [Wed, 5 Mar 2014 22:25:37 +0000 (23:25 +0100)]
download: Perform derivations locally.

* guix/download.scm (url-fetch): Pass #:local-build? #t to
  'build-expression->derivation'.
* guix/git-download.scm (git-fetch): Likewise.

10 years agognu: Add bitlbee.
Mark H Weaver [Thu, 6 Mar 2014 05:07:07 +0000 (00:07 -0500)]
gnu: Add bitlbee.

* 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.

10 years agognu: Add libotr.
Mark H Weaver [Thu, 6 Mar 2014 00:12:19 +0000 (19:12 -0500)]
gnu: Add libotr.

* gnu/packages/messaging.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

10 years agognu: gnupg: Add support for version 1.4.16.
Mark H Weaver [Wed, 5 Mar 2014 21:21:24 +0000 (16:21 -0500)]
gnu: gnupg: Add support for version 1.4.16.

* gnu/packages/gnupg.scm (gnupg-1): New variable.

10 years agognu: Add lynx.
Mark H Weaver [Wed, 5 Mar 2014 07:16:06 +0000 (02:16 -0500)]
gnu: Add lynx.

* gnu/packages/lynx.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

10 years agognu: gnutls: Upgrade to 3.2.12.
Mark H Weaver [Tue, 4 Mar 2014 20:15:23 +0000 (15:15 -0500)]
gnu: gnutls: Upgrade to 3.2.12.

* gnu/packages/gnutls.scm (gnutls): Upgrade to 3.2.12.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add ElementTree and pybugz.
Ludovic Courtès [Sun, 2 Mar 2014 23:22:33 +0000 (00:22 +0100)]
gnu: Add ElementTree and pybugz.

* gnu/packages/python.scm (python2-element-tree, python2-pybugz): New
  variables.

10 years agodoc: Factorize documentation of common build options.
Ludovic Courtès [Sun, 2 Mar 2014 22:15:31 +0000 (23:15 +0100)]
doc: Factorize documentation of common build options.

* 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.

10 years agognu: subversion: Update to 1.7.14.
Andreas Enge [Sun, 2 Mar 2014 14:09:59 +0000 (15:09 +0100)]
gnu: subversion: Update to 1.7.14.

* gnu/packages/version-control.scm (subversion): Update to 1.7.14.

10 years agognu: subversion: Enable http checkouts.
Andreas Enge [Sun, 2 Mar 2014 13:12:40 +0000 (14:12 +0100)]
gnu: subversion: Enable http checkouts.

* gnu/packages/version-control.scm (subversion): Add input neon-0.29.6 to
    enable http and https checkouts.

10 years agognu: Add neon-0.29.6.
Andreas Enge [Sun, 2 Mar 2014 13:03:00 +0000 (14:03 +0100)]
gnu: Add neon-0.29.6.

* gnu/packages/version-control.scm (neon-0.29.6): New variable.

10 years agognu: Add neon.
Andreas Enge [Sun, 2 Mar 2014 12:48:28 +0000 (13:48 +0100)]
gnu: Add neon.

* gnu/packages/version-control.scm (neon): New variable.

10 years agognu: hurd: Add Hurd headers.
Manolis Ragkousis [Sat, 1 Mar 2014 14:48:09 +0000 (14:48 +0000)]
gnu: hurd: Add Hurd headers.

* 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>
10 years agoguix package: Use the common build options from (guix scripts build).
Ludovic Courtès [Sat, 1 Mar 2014 17:29:29 +0000 (18:29 +0100)]
guix package: Use the common build options from (guix scripts build).

* 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'.

10 years agognu: guile-ssh: Upgrade to 0.5.0.
Ludovic Courtès [Sat, 1 Mar 2014 14:41:18 +0000 (15:41 +0100)]
gnu: guile-ssh: Upgrade to 0.5.0.

* 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.

10 years agosubstitute-binary: Gracefully handle HTTP GET errors.
Ludovic Courtès [Sat, 1 Mar 2014 14:38:11 +0000 (15:38 +0100)]
substitute-binary: Gracefully handle HTTP GET errors.

* 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.

10 years agooffload: Comment out attempt to set up an lsh gateway.
Ludovic Courtès [Sat, 1 Mar 2014 11:24:39 +0000 (12:24 +0100)]
offload: Comment out attempt to set up an lsh gateway.

* guix/scripts/offload.scm (open-ssh-gateway): Comment out.
  (process-request): Remove call to 'open-ssh-gateway' and to 'kill'.

10 years agooffload: 'remote-pipe' uses the right SSH key.
Ludovic Courtès [Sat, 1 Mar 2014 11:15:47 +0000 (12:15 +0100)]
offload: 'remote-pipe' uses the right SSH key.

* guix/scripts/offload.scm (remote-pipe): Pass -i when invoking
  %LSHG-COMMAND.

10 years agooffload: Take the target machine load into account.
Ludovic Courtès [Sat, 1 Mar 2014 00:31:18 +0000 (01:31 +0100)]
offload: Take the target machine load into account.

* 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.

10 years agoguix archive: Change '--help' to show '--authorize'.
Ludovic Courtès [Fri, 28 Feb 2014 21:31:16 +0000 (22:31 +0100)]
guix archive: Change '--help' to show '--authorize'.

* guix/scripts/archive.scm (show-help): Add '--authorize'.

10 years agognu: libgc: Change URLs to point to hboehm.info.
Ludovic Courtès [Fri, 28 Feb 2014 17:14:49 +0000 (18:14 +0100)]
gnu: libgc: Change URLs to point to hboehm.info.

* gnu/packages/bdw-gc.scm (libgc)[source, home-page, license]: Update
  URL.
  (libatomic-ops)[source, home-page]: Likewise.
  (libgc-7.4)[source]: Likewise.

10 years agognu-maintenance: Adjust 'latest-release' to filter Bash's patch directories.
Ludovic Courtès [Thu, 27 Feb 2014 23:01:53 +0000 (00:01 +0100)]
gnu-maintenance: Adjust 'latest-release' to filter Bash's patch directories.

* guix/gnu-maintenance.scm (latest-release)[patch-directory-name?]: New
  procedure.
  <subdirs>: Use it to filter out Bash-like patch directories.

10 years agohydra: Set the default absolute build timeout to 20h.
Ludovic Courtès [Thu, 27 Feb 2014 21:23:04 +0000 (22:23 +0100)]
hydra: Set the default absolute build timeout to 20h.

* build-aux/hydra/gnu-system.scm (package->alist): Add 'timeout' item.

10 years agognu: Move libwebsockets to (gnu packages web).
Ludovic Courtès [Thu, 27 Feb 2014 18:49:12 +0000 (19:49 +0100)]
gnu: Move libwebsockets to (gnu packages web).

* 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.

10 years agostore: Use 'when' instead of 'if' in effectful context.
Ludovic Courtès [Thu, 27 Feb 2014 18:17:10 +0000 (19:17 +0100)]
store: Use 'when' instead of 'if' in effectful context.

* guix/store.scm (set-build-options): Use 'when' instead of 'if'.

10 years agognu: Add mpd.
David Thompson [Tue, 25 Feb 2014 00:03:29 +0000 (19:03 -0500)]
gnu: Add mpd.

* gnu/packages/mpd.scm (mpd): New variable.

10 years agognu: Add libmpdclient.
David Thompson [Sun, 23 Feb 2014 23:25:17 +0000 (18:25 -0500)]
gnu: Add libmpdclient.

* gnu/packages/mpd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

10 years agognu: zile: Upgrade to 2.4.10
Eric Bavier [Tue, 25 Feb 2014 19:59:50 +0000 (13:59 -0600)]
gnu: zile: Upgrade to 2.4.10

* gnu/packages/zile.scm (zile): Upgrade to 2.4.10

10 years agognu: parallel: Upgrade to 20140222
Eric Bavier [Tue, 25 Feb 2014 18:02:53 +0000 (12:02 -0600)]
gnu: parallel: Upgrade to 20140222

* gnu/packages/parallel.scm (parallel): Upgrade to 20140222

10 years agognu: ffmpeg: Upgrade to 2.1.4
Mark H Weaver [Tue, 25 Feb 2014 06:05:38 +0000 (01:05 -0500)]
gnu: ffmpeg: Upgrade to 2.1.4

* gnu/packages/video.scm (ffmpeg): Upgrade to 2.1.4.

10 years agognu: libmicrohttpd: Update to 0.9.34.
Sree Harsha Totakura [Mon, 24 Feb 2014 23:49:59 +0000 (00:49 +0100)]
gnu: libmicrohttpd: Update to 0.9.34.

* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.34.

10 years agoUpdate SRFI-64 to the latest upstream version.
Mark H Weaver [Mon, 24 Feb 2014 21:10:40 +0000 (16:10 -0500)]
Update SRFI-64 to the latest upstream version.

* srfi/srfi-64.scm: Export 'test-group'.  Call 'cond-expand-provide'.
* srfi/srfi-64.upstream.scm: Update to the latest upstream version.

10 years agognu: Add miniupnpc.
Sree Harsha Totakura [Mon, 24 Feb 2014 17:49:54 +0000 (18:49 +0100)]
gnu: Add miniupnpc.

* gnu/packages/upnp.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agoderivations: Remove unused 'derivation' parameter.
Ludovic Courtès [Fri, 21 Feb 2014 22:48:56 +0000 (23:48 +0100)]
derivations: Remove unused 'derivation' parameter.

* guix/derivations.scm (derivation): Remove unused #:hash-mode parameter.
* doc/guix.texi (Derivations): Adjust accordingly.

10 years agognu: Add libwebsockets.
Ludovic Courtès [Fri, 21 Feb 2014 22:44:52 +0000 (23:44 +0100)]
gnu: Add libwebsockets.

* gnu/packages/libwebsockets.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

10 years agoAdd (guix git-download).
Ludovic Courtès [Fri, 21 Feb 2014 22:41:11 +0000 (23:41 +0100)]
Add (guix git-download).

* guix/git-download.scm, guix/build/git.scm: New files.
* Makefile.am (MODULES): Add them.
* guix/packages.scm (<origin>): Fix comment for 'method' field.

10 years agodoc: More on what's special about the archive format.
Ludovic Courtès [Fri, 21 Feb 2014 19:22:57 +0000 (20:22 +0100)]
doc: More on what's special about the archive format.

* doc/guix.texi (Invoking guix archive): Expound on what sets the Nar
  format apart.

10 years agonar: Produce archives with files sorted in C collation order.
Ludovic Courtès [Fri, 21 Feb 2014 19:17:29 +0000 (20:17 +0100)]
nar: Produce archives with files sorted in C collation order.

* 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.

10 years agoderivations: Add support for recursive fixed-output derivations.
Ludovic Courtès [Fri, 21 Feb 2014 22:03:19 +0000 (23:03 +0100)]
derivations: Add support for recursive fixed-output derivations.

* 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'.

10 years agoguix hash: Add '--recursive'.
Ludovic Courtès [Fri, 21 Feb 2014 16:54:32 +0000 (17:54 +0100)]
guix hash: Add '--recursive'.

* 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.

10 years agoui: Handle SRFI-35 '&message' conditions.
Ludovic Courtès [Fri, 21 Feb 2014 16:45:04 +0000 (17:45 +0100)]
ui: Handle SRFI-35 '&message' conditions.

* guix/ui.scm (call-with-error-handling): Add case for
  'message-condition?'.
* po/Makevars: Fix typo in comment.

10 years agonar: 'write-file' can write to non-file ports.
Ludovic Courtès [Fri, 21 Feb 2014 16:37:55 +0000 (17:37 +0100)]
nar: 'write-file' can write to non-file ports.

* 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.

10 years agognu: mpc123: Add patch that fixes a segfault.
Ludovic Courtès [Fri, 21 Feb 2014 00:00:49 +0000 (01:00 +0100)]
gnu: mpc123: Add patch that fixes a segfault.

* gnu/packages/patches/mpc123-initialize-ao.patch: New file.
* gnu/packages/mp3.scm (mpc123): Use it.
* gnu-system.am (dist_patch_DATA): Add it.

10 years agognu: emacs: Add more inputs: giflib, libice, libsm, alsa-lib.
Mark H Weaver [Fri, 21 Feb 2014 09:48:22 +0000 (04:48 -0500)]
gnu: emacs: Add more inputs: giflib, libice, libsm, alsa-lib.

* gnu/packages/emacs.scm (emacs): Add 'giflib', 'libice', 'libsm', and
  'alsa-lib' inputs.  Remove "--with-gif=no" from configure arguments.

10 years agognu: Add giflib.
Mark H Weaver [Fri, 21 Feb 2014 08:21:57 +0000 (03:21 -0500)]
gnu: Add giflib.

* gnu/packages/giflib.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.

10 years agognu: gmime: Use gnome mirror for download.
Andreas Enge [Fri, 21 Feb 2014 11:04:48 +0000 (12:04 +0100)]
gnu: gmime: Use gnome mirror for download.

* gnu/packages/mail.scm (gmime): Use gnome mirror, fixes download problems
    with automatic https redirection.

10 years agognu: hurd: Add MiG.
Manolis Ragkousis [Thu, 20 Feb 2014 15:27:25 +0000 (15:27 +0000)]
gnu: hurd: Add MiG.

* gnu/packages/hurd.scm (mig): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agoguix hash: Don't load the whole file in memory.
Ludovic Courtès [Thu, 20 Feb 2014 11:25:14 +0000 (12:25 +0100)]
guix hash: Don't load the whole file in memory.

* guix/scripts/hash.scm (guix-hash)[eof->null]: Remove.
  (guix-hash): Use 'port-sha256' to compute the hash instead of
  'get-bytevector-all' and co.

10 years agognu: tor: Upgrade to 0.2.4.20.
Mark H Weaver [Wed, 19 Feb 2014 07:06:13 +0000 (02:06 -0500)]
gnu: tor: Upgrade to 0.2.4.20.

* gnu/packages/tor.scm (tor): Upgrade to 0.2.4.20.

10 years agognu: Add gmime.
Mark H Weaver [Wed, 19 Feb 2014 04:08:04 +0000 (23:08 -0500)]
gnu: Add gmime.

* gnu/packages/mail.scm (gmime): New variable.

10 years agognu: gpgme: Make 'libgpg-error' a propagated input.
Mark H Weaver [Thu, 20 Feb 2014 00:20:53 +0000 (19:20 -0500)]
gnu: gpgme: Make 'libgpg-error' a propagated input.

* gnu/packages/gnupg.scm (gpgme): Make 'libgpg-error' a propagated input.

10 years agognu: shishi: Add more inputs for libidn and PAM support.
Mark H Weaver [Tue, 18 Feb 2014 15:34:04 +0000 (10:34 -0500)]
gnu: shishi: Add more inputs for libidn and PAM support.

* gnu/packages/shishi.scm (shishi): Add 'pkg-config' native-input.
  Add 'libidn' and 'linux-pam' inputs.

10 years agognu: calcurse: New module
Eric Bavier [Wed, 19 Feb 2014 22:02:32 +0000 (16:02 -0600)]
gnu: calcurse: New module

* gnu/packages/calcurse.scm: New file
* gnu-system.am (GNU_SYSTEM_MODULES): Add it

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: Add /etc/shells.
Ludovic Courtès [Wed, 19 Feb 2014 20:30:16 +0000 (21:30 +0100)]
gnu: Add /etc/shells.

* gnu/system.scm (etc-directory): Add /etc/shells.

10 years agognu: vm: Remove '%demo-operating-system'.
Ludovic Courtès [Wed, 19 Feb 2014 20:10:12 +0000 (21:10 +0100)]
gnu: vm: Remove '%demo-operating-system'.

* gnu/system/vm.scm (%demo-operating-system): Remove.
  (system-qemu-image, system-qemu-image/shared-store,
  system-qemu-image/shared-store-script): Adjust accordingly.

10 years agognu: Define '%base-services'.
Ludovic Courtès [Wed, 19 Feb 2014 20:08:28 +0000 (21:08 +0100)]
gnu: Define '%base-services'.

* gnu/services/base.scm (%base-services): New variable.
* gnu/system.scm (<operating-system>)[services]: Change the default
  value to %BASE-SERVICES.
* doc/guix.texi (Using the Configuration System): Change
  '%standard-services' to '%base-services'.

10 years agognu: Introduce the (gnu services ...) modules.
Ludovic Courtès [Wed, 19 Feb 2014 19:58:24 +0000 (20:58 +0100)]
gnu: Introduce the (gnu services ...) modules.

* gnu/system/dmd.scm: Remove file.  Move contents to...
* gnu/services.scm, gnu/services/base.scm, gnu/services/dmd.scm,
  gnu/services/networking.scm, gnu/services/xorg.scm: ... here.  New
  files.
* gnu/system.scm, gnu/system/vm.scm: Adjust accordingly.
* guix/scripts/system.scm (%user-module): Likewise.
* doc/guix.texi (Using the Configuration System): Likewise.
  (Defining Services): Likewise.

10 years agognu: bigloo: Upgrade to 4.1a.
Ludovic Courtès [Wed, 19 Feb 2014 15:43:25 +0000 (16:43 +0100)]
gnu: bigloo: Upgrade to 4.1a.

* gnu/packages/scheme.scm (bigloo): Upgrade to 4.1a.

10 years agognu: qemu: Disable debug info.
Ludovic Courtès [Tue, 18 Feb 2014 22:47:09 +0000 (23:47 +0100)]
gnu: qemu: Disable debug info.

* gnu/packages/qemu.scm (qemu-headless): Add '--disable-debug-info' as a
  'configure' flag.

10 years agoAdd 'guix system'.
Ludovic Courtès [Tue, 18 Feb 2014 22:45:58 +0000 (23:45 +0100)]
Add 'guix system'.

* guix/scripts/system.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Likewise.
* doc/guix.texi (Using the Configuration System): Link to "Invoking guix
  system".
  (Invoking guix system): New node.