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
Sree Harsha Totakura
7c869effd4
gnu: ncdc: Update to 1.19.
...
* gnu/packages/dc (ncdc): Update to 1.19.
Signed-off-by: Andreas Enge <andreas@enge.fr>
2014-02-18 22:19:33 +01:00
Mark H Weaver
d93627e4a9
gnu: gnutls: Upgrade to 3.2.11.
...
* gnu/packages/gnutls.scm (gnutls): Upgrade to 3.2.11. Improve URI
computation.
2014-02-18 10:27:04 -05:00
Mark H Weaver
625bd40806
gnu: icu4c: Upgrade to 52.1.
...
* gnu/packages/icu4c.scm (icu4c): Upgrade to 52.1.
2014-02-17 18:47:23 -05:00
Mark H Weaver
0841dcf7dd
gnu: patchelf: Fix platform page size determination.
...
* gnu/packages/patches/patchelf-page-size.patch: New file.
* gnu/packages/elf.scm (patchelf): Add the patch.
* gnu-system.am (dist_patch_DATA): Add the patch.
2014-02-17 18:47:22 -05:00
Ludovic Courtès
e7fc17b592
guix build: Factorize common options.
...
* guix/scripts/build.scm (show-build-options-help,
set-build-options-from-command-line): New procedures.
(show-help): Remove description of --dry-run,
--fallback, --no-substitutes, --max-silent-time, and --cores. Call
'show-build-options-help'.
(%standard-build-options): New variable.
(%options): Remove --dry-run, --fallback, --no-substitutes,
--verbosity, --max-silent-time, and --cores. Add
%STANDARD-BUILD-OPTIONS.
(guix-build): Use 'set-build-options-from-command-line' instead of
'set-build-options'.
* guix/scripts/archive.scm (show-help): Remove description of --dry-run,
--fallback, --no-substitutes, --max-silent-time, and --cores. Call
'show-build-options-help'.
(%options): Remove --dry-run, --fallback, --no-substitutes,
--verbosity, --max-silent-time, and --cores. Add
%STANDARD-BUILD-OPTIONS.
(export-from-store): Call 'set-build-options-from-command-line'
instead of 'set-build-options.
2014-02-18 00:13:24 +01:00
Mark H Weaver
98e7fc9b02
gnu: Add xapian.
...
* gnu/packages/search.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-02-17 15:07:15 -05:00
Sree Harsha Totakura
d850e5b913
gnu: gnurl: Update to 7.35.0.
...
* gnu/packages/gnunet.scm (gnurl): Update to 7.35.0.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-02-16 23:35:38 +01:00
John Darrington
7ee3f1a208
gnu: Add hdf5.
...
* gnu/packages/maths.scm (hdf5): New variable.
* gnu/packages/maths.scm (octave): New input hdf5.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-02-16 23:35:37 +01:00
Mark H Weaver
436c95d9a7
gnu: dmd: Sleep longer in tests, for slower machines.
...
* gnu/packages/patches/dmd-tests-longer-sleeps.patch: New file.
* gnu/packages/admin.scm (dmd): Add the patch.
* gnu-system.am (dist_patch_DATA): Add it.
2014-02-16 16:40:21 -05:00
Mark H Weaver
72f210eafa
gnu: Add ttf-dejavu.
...
* gnu/packages/fonts.scm (ttf-dejavu): New variable.
2014-02-16 16:40:15 -05:00
Mark H Weaver
aaab995948
Update .gitignore for Guile 2.0.9 bootstrap binaries.
...
* .gitignore: Change version number in ignored Guile bootstrap
binaries from 2.0.7 to 2.0.9.
2014-02-16 16:40:08 -05:00
Mark H Weaver
445c5abad8
gnu: ratpoison: Patch to use $SHELL instead of /bin/sh.
...
* gnu/packages/patches/ratpoison-shell.patch: New file.
* gnu/packages/ratpoison.scm (ratpoison): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.
2014-02-16 16:39:37 -05:00
Ludovic Courtès
686e637ed2
Add Manolis to 'AUTHORS'.
2014-02-16 19:53:59 +01:00
Manolis Ragkousis
0193c00432
gnu: Add GNU Mach headers.
...
* gnu/packages/hurd.scm: New file
* gnu-system.am (GNU_SYSTEM_MODULES): Add hurd.scm
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-02-16 19:52:59 +01:00
Sree Harsha Totakura
7af52bd58c
gnu: gnunet: Fix failing testcases.
...
* gnu/packages/gnunet.scm (gnurl): Add pkg-config.
* gnu/packages/patches/gnunet-fix-tests.patch: Append fix for integration testcases.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-02-12 18:36:46 +01:00
Ludovic Courtès
bdff90a16a
guix build: Move 'set-build-options' call earlier.
...
* guix/scripts/build.scm (guix-build): Move 'set-build-options' call
before 'show-what-to-build'.
2014-02-12 00:03:20 +01:00
Ludovic Courtès
d66b704b51
store: Add comments for the stracer.
...
* guix/store.scm (%worker-magic-1, %worker-magic-2): Add comments.
2014-02-12 00:03:20 +01:00
Mark H Weaver
9e5ace9d1d
gnu: isc-dhcp: Upgrade to 4.3.0.
...
* gnu/packages/admin.scm (isc-dhcp): Upgrade to 4.3.0.
2014-02-11 15:57:06 -05:00
Sree Harsha Totakura
b6b29c7737
gnu: curl, gnurl: Fix failing testcase 172.
...
* gnu/packages/patches/curl-fix-test172.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the patch file.
* gnu/packages/gnunet.scm (gnurl): Apply the patch file.
* gnu/packages/curl.scm (curl): Apply the patch file.
Signed-off-by: Andreas Enge <andreas@enge.fr>
2014-02-11 19:44:48 +01:00
Andreas Enge
1680df13a8
gnu: gnunet: Correct typo.
...
* gnu/packages/gnunet.scm (gnunet): Correct typo.
2014-02-11 10:22:01 +01:00
Mark H Weaver
bbafef3ff1
gnu: texinfo: Make version 4.13a available.
...
* gnu/packages/texinfo.scm (texinfo-4): New variable.
2014-02-10 19:21:08 -05:00
Andreas Enge
05e8a0b005
gnu: gnunet: Add input libmicrohttpd.
...
* gnu/packages/gnunet.scm (gnunet): Add input libmicrohttpd and improve
formatting.
2014-02-10 23:44:57 +01:00
Ludovic Courtès
99fbddf9a6
store: Change 'export-paths' to always export in topological order.
...
* guix/store.scm (export-paths): Pass PATHS through
'topologically-sorted' before iterating.
* tests/store.scm ("export/import paths, ensure topological order"): New
test.
2014-02-10 23:36:42 +01:00