Ludovic Courtès
dd67b429e1
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'.
2014-03-01 18:29:29 +01:00
Ludovic Courtès
00ee3a712f
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.
2014-03-01 15:41:18 +01:00
Ludovic Courtès
706e9e575d
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.
2014-03-01 15:38:11 +01:00
Ludovic Courtès
1f7fd80032
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'.
2014-03-01 12:24:39 +01:00
Ludovic Courtès
aedbf9b873
offload: 'remote-pipe' uses the right SSH key.
...
* guix/scripts/offload.scm (remote-pipe): Pass -i when invoking
%LSHG-COMMAND.
2014-03-01 12:15:47 +01:00
Ludovic Courtès
165f4b2add
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.
2014-03-01 01:31:18 +01:00
Ludovic Courtès
36b56f081b
guix archive: Change '--help' to show '--authorize'.
...
* guix/scripts/archive.scm (show-help): Add '--authorize'.
2014-02-28 22:31:16 +01:00
Ludovic Courtès
62b76320b4
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.
2014-02-28 18:14:49 +01:00
Ludovic Courtès
a74da6b015
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.
2014-02-28 00:01:53 +01:00
Ludovic Courtès
65f7c35d02
hydra: Set the default absolute build timeout to 20h.
...
* build-aux/hydra/gnu-system.scm (package->alist): Add 'timeout' item.
2014-02-27 22:24:02 +01:00
Ludovic Courtès
833efa0d3e
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.
2014-02-27 22:24:02 +01:00
Ludovic Courtès
371e87d286
store: Use 'when' instead of 'if' in effectful context.
...
* guix/store.scm (set-build-options): Use 'when' instead of 'if'.
2014-02-27 22:24:02 +01:00
David Thompson
7dc68701da
gnu: Add mpd.
...
* gnu/packages/mpd.scm (mpd): New variable.
2014-02-25 17:27:43 -05:00
David Thompson
892d8a818b
gnu: Add libmpdclient.
...
* gnu/packages/mpd.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-02-25 17:27:28 -05:00
Eric Bavier
d79ffe0ece
gnu: zile: Upgrade to 2.4.10
...
* gnu/packages/zile.scm (zile): Upgrade to 2.4.10
2014-02-25 13:59:50 -06:00
Eric Bavier
87e398bdc5
gnu: parallel: Upgrade to 20140222
...
* gnu/packages/parallel.scm (parallel): Upgrade to 20140222
2014-02-25 12:02:53 -06:00
Mark H Weaver
41109e60b7
gnu: ffmpeg: Upgrade to 2.1.4
...
* gnu/packages/video.scm (ffmpeg): Upgrade to 2.1.4.
2014-02-25 06:02:51 -05:00
Sree Harsha Totakura
6a6b8ffc97
gnu: libmicrohttpd: Update to 0.9.34.
...
* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.34.
2014-02-24 23:10:31 -05:00
Mark H Weaver
8fade76f5d
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.
2014-02-24 16:30:08 -05:00
Sree Harsha Totakura
c4dc4466d6
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>
2014-02-24 22:06:58 +01:00
Ludovic Courtès
2096ef47aa
derivations: Remove unused 'derivation' parameter.
...
* guix/derivations.scm (derivation): Remove unused #:hash-mode parameter.
* doc/guix.texi (Derivations): Adjust accordingly.
2014-02-21 23:49:53 +01:00
Ludovic Courtès
93cc13aabb
gnu: Add libwebsockets.
...
* gnu/packages/libwebsockets.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-02-21 23:49:53 +01:00
Ludovic Courtès
9b5b5c1740
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.
2014-02-21 23:49:53 +01:00
Ludovic Courtès
0dbd88db39
doc: More on what's special about the archive format.
...
* doc/guix.texi (Invoking guix archive): Expound on what sets the Nar
format apart.
2014-02-21 23:49:53 +01:00
Ludovic Courtès
96c7448f37
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.
2014-02-21 23:49:53 +01:00
Ludovic Courtès
36bbbbd150
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'.
2014-02-21 23:49:52 +01:00
Ludovic Courtès
3140f2df42
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.
2014-02-21 23:49:52 +01:00
Ludovic Courtès
c1d52c71aa
ui: Handle SRFI-35 '&message' conditions.
...
* guix/ui.scm (call-with-error-handling): Add case for
'message-condition?'.
* po/Makevars: Fix typo in comment.
2014-02-21 23:49:52 +01:00
Ludovic Courtès
a93e91ff48
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.
2014-02-21 23:49:52 +01:00
Ludovic Courtès
86d07a5514
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.
2014-02-21 23:49:52 +01:00
Mark H Weaver
504a83af42
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.
2014-02-21 10:49:55 -05:00
Mark H Weaver
8ec773a8b8
gnu: Add giflib.
...
* gnu/packages/giflib.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-02-21 10:49:46 -05:00
Andreas Enge
7563004301
gnu: gmime: Use gnome mirror for download.
...
* gnu/packages/mail.scm (gmime): Use gnome mirror, fixes download problems
with automatic https redirection.
2014-02-21 12:04:48 +01:00
Manolis Ragkousis
396b3c8b55
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>
2014-02-20 23:18:08 +01:00
Ludovic Courtès
c6d37be951
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.
2014-02-20 23:18:08 +01:00
Mark H Weaver
62d4575de2
gnu: tor: Upgrade to 0.2.4.20.
...
* gnu/packages/tor.scm (tor): Upgrade to 0.2.4.20.
2014-02-19 22:27:32 -05:00
Mark H Weaver
681a6588b2
gnu: Add gmime.
...
* gnu/packages/mail.scm (gmime): New variable.
2014-02-19 22:27:25 -05:00
Mark H Weaver
68640c3c09
gnu: gpgme: Make 'libgpg-error' a propagated input.
...
* gnu/packages/gnupg.scm (gpgme): Make 'libgpg-error' a propagated input.
2014-02-19 22:21:37 -05:00
Mark H Weaver
6ee5a658f7
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.
2014-02-19 22:16:35 -05:00
Eric Bavier
a438d540b1
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>
2014-02-19 23:27:01 +01:00
Ludovic Courtès
9038298cbf
gnu: Add /etc/shells.
...
* gnu/system.scm (etc-directory): Add /etc/shells.
2014-02-19 21:30:16 +01:00
Ludovic Courtès
0b14d1d7e3
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.
2014-02-19 21:10:12 +01:00
Ludovic Courtès
8b198abecd
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'.
2014-02-19 21:08:28 +01:00
Ludovic Courtès
db4fdc04cc
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.
2014-02-19 20:58:24 +01:00
Ludovic Courtès
7fe492e8d9
gnu: bigloo: Upgrade to 4.1a.
...
* gnu/packages/scheme.scm (bigloo): Upgrade to 4.1a.
2014-02-19 16:43:25 +01:00
Ludovic Courtès
75475ff728
gnu: qemu: Disable debug info.
...
* gnu/packages/qemu.scm (qemu-headless): Add '--disable-debug-info' as a
'configure' flag.
2014-02-18 23:47:50 +01:00
Ludovic Courtès
523e48969b
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.
2014-02-18 23:47:49 +01:00
Sree Harsha Totakura
c0e57fb876
gnu: curl: Fix tests.
...
* gnu/packages/curl.scm (curl): Add a new phase and python-2 to native-inputs.
Signed-off-by: Andreas Enge <andreas@enge.fr>
2014-02-18 23:32:08 +01:00
Sree Harsha Totakura
2977b307ef
gnu: curl: Update to 7.35.0.
...
* gnu/packages/curl.scm (curl): Update to 7.35.0.
Signed-off-by: Andreas Enge <andreas@enge.fr>
2014-02-18 23:00:25 +01:00
Sree Harsha Totakura
67543125f3
gnu: gnurl: Do not disable testcase 1022.
...
* gnu/packages/gnunet.scm (gnurl): Do not disable testcase 1022.
Signed-off-by: Andreas Enge <andreas@enge.fr>
2014-02-18 22:54:31 +01:00