Ludovic Courtès
eb9a9feefd
guix package: Gracefully handle EPIPE on '--search'.
...
* guix/scripts/package.scm (guix-package): Wrap body of 'search' in
'leave-on-EPIPE'.
2014-01-13 18:51:07 +01:00
Ludovic Courtès
8fa3e6b338
ui: Don't use hyphens in 'package->recutils' output.
...
* guix/ui.scm (package->recutils): Rename recutils field from
'home-page' to 'homepage'.
2014-01-13 18:49:26 +01:00
Ludovic Courtès
6869e5c90c
gnu: Add aumix.
...
* gnu/packages/linux.scm (aumix): New variable.
2014-01-13 18:47:59 +01:00
Ludovic Courtès
40d806afae
gnu: Add GnuPG's pinentry.
...
* gnu/packages/gnupg.scm (pinentry): New variable.
2014-01-13 18:47:31 +01:00
Ludovic Courtès
d50f242d50
gnu: guile-ssh: Remove now unneeded cruft.
...
* gnu/packages/ssh.scm (guile-ssh): Remove libssh version hack from
'autoreconf' phase.
2014-01-13 00:37:16 +01:00
Ludovic Courtès
15756a7a12
gnu: Add Aspell dictionaries.
...
* gnu/packages/aspell.scm (aspell-dictionary): New procedure.
(aspell-dict-en, aspell-dict-eo, aspell-dict-es, aspell-dict-fr): New
variables.
2014-01-12 22:47:48 +01:00
Ludovic Courtès
1d6816f98c
config: '%store-directory' always honors $NIX_STORE_DIR.
...
* guix/config.scm.in (%store-directory): Honor $NIX_STORE_DIR.
* guix/store.scm (%store-prefix): Use %store-directory directly.
2014-01-08 21:37:06 +01:00
Ludovic Courtès
80d0447c95
config: '%state-directory' always honors $NIX_STATE_DIR.
...
* guix/config.scm.in (%state-directory): Honor $NIX_STATE_DIR.
* guix/scripts/package.scm (%profile-directory): Use %state-directory
directly.
* guix/store.scm (%default-socket-path, log-file): Likewise.
2014-01-08 21:12:55 +01:00
Ludovic Courtès
021a201f29
store: Fix 'log-file' to support uncompressed logs.
...
* guix/store.scm (log-file): Report the file without '.bz2' if it
exists.
2014-01-08 19:23:33 +01:00
Ludovic Courtès
87236aed77
archive: Add '--missing'.
...
* guix/scripts/archive.scm (show-help, %options): Add '--missing'.
(guix-archive)[lines]: New procedure.
Use it to honor '--missing'.
* tests/guix-archive.sh: Add tests.
* doc/guix.texi (Invoking guix archive): Document '--missing'.
2014-01-06 22:25:29 +01:00
Ludovic Courtès
b846126052
gnu: lsh: Move generic patching to 'snippet'.
...
* gnu/packages/lsh.scm (lsh): Move generic patching to the 'snippet'
field of 'origin'.
2014-01-05 23:46:45 +01:00
Ludovic Courtès
590e4154b6
archive: Make sure $sysconfdir/guix exists.
...
* guix/pki.scm (ensure-acl): Make sure the directory of %ACL-FILE
exists.
* guix/scripts/archive.scm (generate-key-pair): Likewise for
%PUBLIC-KEY-FILE.
2014-01-05 23:40:06 +01:00
Ludovic Courtès
425b0bfc2e
guix build: Add '--no-build-hook'.
...
* guix/scripts/build.scm (%default-options): Add 'build-hook?' pair.
(show-help, %options): Add --no-build-hook.
(guix-build): Pass the 'build-hook?' value to 'set-build-options'.
* doc/guix.texi (Invoking guix build): Document '--no-build-hook'.
2014-01-05 22:58:32 +01:00
Ludovic Courtès
1a43e4dc57
guix package: Gracefully deal with EPIPE on stdout for --list-*.
...
* guix/scripts/package.scm (leave-on-EPIPE): New macro.
(guix-package): Use it for 'list-installed', 'list-available', and
'--list-generations'.
* tests/guix-package.sh: Add test.
2014-01-04 22:45:33 +01:00
Ludovic Courtès
aebaeaee33
gnu: lsh: Fix the absolute file name of 'sexp-conv'.
...
* gnu/packages/lsh.scm (lsh): Rename 'fix-test-suite' phase to
'pre-configure'. Set PATH_SEXP_CONV in environ.h.in.
2014-01-04 17:27:41 +01:00
Ludovic Courtès
64cc58b249
gnu: nettle: Set the RUNPATH on 'sexp-conv' and other programs.
...
* gnu/packages/nettle.scm (nettle): Rename 'inputs' to 'native-inputs'.
Add 'arguments' field.
2014-01-04 16:59:46 +01:00
Ludovic Courtès
cb58dd3479
gnu: lsh: Distinguish between native inputs and target inputs.
...
* gnu/packages/lsh.scm (lsh): Move M4, Guile, gperf, and psmisc to
'native-inputs'. Use GUILE-2.0 instead of GUILE-FINAL.
2014-01-04 16:46:01 +01:00
Ludovic Courtès
48ad99db25
doc: Update 'ROADMAP'.
...
* ROADMAP: Add link to the updated road map, and the a note on release
history.
2014-01-03 18:19:58 +01:00
Ludovic Courtès
7c49bbe466
Thank Niels.
2014-01-03 16:51:30 +01:00
Ludovic Courtès
f5ac2352e9
gnu: pulseaudio: Add patch for 'volume-test'; re-enable tests.
...
* gnu/packages/patches/pulseaudio-volume-test.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/pulseaudio.scm (pulseaudio): Use it. Remove
#:tests? #t.
2014-01-03 16:47:19 +01:00
John Darrington
bf0018cd87
gnu: games: Add new package gnubg
...
* gnu/packages/games.scm (gnubg): New variable
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-30 23:33:56 +01:00
Ludovic Courtès
40fed2d836
gnu: libgcrypt: Add "debug" output.
...
* gnu/packages/gnupg.scm (libgcrypt): Add 'outputs' field.
2013-12-30 23:22:08 +01:00
Ludovic Courtès
f82cc5fdbe
archive: Add '--authorize'.
...
* guix/scripts/archive.scm (authorize-key): New procedure.
(guix-archive): Call it when OPTS contains 'authorize-key'.
* tests/guix-archive.sh: Add test with invalid public key.
* guix/pki.scm: Export '%acl-file'.
* doc/guix.texi (Invoking guix archive): Make it clear that '--import'
works only with authorized keys. Document '--authorize'.
2013-12-30 23:18:52 +01:00
Ludovic Courtès
554f26ece3
archive: Add '--generate-key'.
...
* guix/pk-crypto.scm (error-source, error-string): New procedures.
* guix/pki.scm (%private-key-file): New variable.
* guix/scripts/archive.scm (show-help): Document '--generate-key'.
(%options): Add "generate-key".
(generate-key-pair): New procedure.
(guix-archive): Call 'generate-key' when OPTS contains a
'generate-key' pair.
* doc/guix.texi (Setting Up the Daemon): Suggest generating a key pair.
(Invoking guix archive): Document '--generate-key'.
2013-12-30 22:57:37 +01:00
Ludovic Courtès
dedb5d947e
pk-crypto: Fix 'canonical-sexp->sexp' for atoms.
...
* guix/pk-crypto.scm (canonical-sexp->sexp): Add hack to extract an
atom's buffer.
* tests/pk-crypto.scm ("sexp->canonical-sexp->sexp"): Add sample.
2013-12-30 22:29:12 +01:00
Ludovic Courtès
36341854df
pk-crypto: Work around Libgcrypt bug < https://bugs.g10code.com/gnupg/issue1594 >.
...
* guix/pk-crypto.scm (canonical-sexp-fold): Call 'nth-data' before
'nth' to work around <https://bugs.g10code.com/gnupg/issue1594 >.
* tests/pk-crypto.scm ("https://bugs.g10code.com/gnupg/issue1594 "): New
test.
2013-12-30 22:19:19 +01:00
Ludovic Courtès
c909dab269
authenticate: Consistently use 'leave' for fatal error reporting.
...
* guix/scripts/authenticate.scm (guix-authenticate): Replace all uses of
'format' + 'exit' with 'leave'.
2013-12-30 18:23:44 +01:00
Ludovic Courtès
6fc04984d2
Thank Kete.
2013-12-30 16:57:05 +01:00
John Darrington
200726ed09
gnu: mesa: Move out of xorg.scm and into gl.scm
...
* gnu/packages/xorg.scm (mesa): Move to...
* gnu/packages/gl.scm (mesa): ... here. New variable.
* gnu/packages/gnome.scm, gnu/packages/gnuzilla.scm,
gnu/packages/qemu.scm, gnu/packages/qt.scm: Adjust accordingly.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-30 16:53:30 +01:00
Ludovic Courtès
4d1a2b50a6
doc: Invoke 'useradd' with '--system'.
...
Reported by Kete <kete@ninthfloor.org>.
Fixes <http://bugs.gnu.org/16289 >.
* doc/guix.texi (Setting Up the Daemon): Add '--system' to the 'useradd'
command line. Suggested by Kete <kete@ninthfloor.org>.
2013-12-30 16:47:32 +01:00
Ludovic Courtès
4b155fea74
gnu: automake: Upgrade to 1.14.1.
...
* gnu/packages/autotools.scm (automake): Upgrade to 1.14.1.
2013-12-29 22:44:23 +01:00
Ludovic Courtès
57ed6ab792
gnu: gdbm: Upgrade to 1.11.
...
* gnu/packages/gdbm.scm (gdbm): Upgrade to 1.11.
2013-12-29 22:22:09 +01:00
Ludovic Courtès
bb0a70e1f1
build: Improve documentation of Nix-related options.
...
* configure.ac: Add documentation for --with-nix and --with-nixpkgs.
2013-12-29 19:53:05 +01:00
John Darrington
490c6528ed
gnu: games: New module
...
* gnu/packages/games.scm (gnubik): New variable
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-29 19:50:23 +01:00
John Darrington
ed19903d56
gnu: gnome: Add new package gtkglext
...
* gnu/packages/gnome.scm (gtkglext): New variable.
* gnu/packages/patches/gtkglext-disable-disable-deprecated.patch,
gnu/packages/patches/gtkglext-remove-pangox-dependency.patch: New
files.
* gnu-system.am (dist_patch_DATA): Add them.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-29 18:53:25 +01:00
Ludovic Courtès
96e5085c81
authenticate: Disallow imports signed with unauthorized keys.
...
* guix/scripts/authenticate.scm (signature-sexp): Remove.
(guix-authenticate): Upon '-verify', check whether the signature's
public key passes 'authorized-key?'.
2013-12-29 15:57:24 +01:00
Ludovic Courtès
8b420f74e4
Add (guix pki).
...
* guix/pki.scm, tests/pki.scm: New files.
* Makefile.am (MODULES): Add 'guix/pki.scm'.
(SCM_TESTS): Add 'tests/pki.scm'.
2013-12-29 15:57:24 +01:00
Ludovic Courtès
3f40cfdece
config: Export '%config-directory'.
...
* configure.ac: Define and substitute 'guix_sysconfdir'.
* guix/config.scm.in (%config-directory): New variable.
2013-12-29 15:57:24 +01:00
Ludovic Courtès
04d4c8a439
Move 'with-atomic-file-output' to (guix utils).
...
* guix/scripts/substitute-binary.scm (with-atomic-file-output): Move to...
* guix/utils.scm (with-atomic-file-output): ... here.
2013-12-29 15:57:24 +01:00
Ludovic Courtès
9501d7745e
pk-crypto: Add canonical-sexp to sexp conversion procedures.
...
* guix/pk-crypto.scm (canonical-sexp-fold, canonical-sexp->sexp,
sexp->canonical-sexp): New procedures.
* tests/pk-crypto.scm ("canonical-sexp->sexp",
"sexp->canonical-sexp->sexp"): New tests.
2013-12-29 15:57:24 +01:00
Ludovic Courtès
363ae1da82
pk-crypto: Add 'canonical-sexp-length' and related procedures.
...
* guix/pk-crypto.scm (canonical-sexp-length, canonical-sexp-null?,
canonical-sexp-list?): New procedures.
* tests/pk-crypto.scm ("canonical-sexp-length", "canonical-sexp-list?"):
New tests.
2013-12-29 15:57:24 +01:00
Ludovic Courtès
a2cbbb743d
pk-crypto: 'canonical-sexp-nth-data' returns a symbol for "tokens".
...
* guix/pk-crypto.scm (token-string?): New procedure.
(canonical-sexp-nth-data): Return a symbol when the element is a
"token", and a bytevector otherwise.
(latin1-string->bytevector): Remove.
(hash-data->bytevector): Adjust accordingly.
* tests/pk-crypto.scm ("canonical-sexp-nth"): Adjust accordingly. Add
octet string example.
2013-12-29 15:57:23 +01:00
Ludovic Courtès
6df1fb8991
authenticate: Store the public key as part of the signature.
...
* guix/scripts/authenticate.scm (signature-sexp): New procedure.
(guix-authenticate): Use it to produce the signature. Adjust
verification code accordingly.
* tests/store.scm ("import corrupt path"): Adjust test accordingly.
2013-12-29 15:57:23 +01:00
Ludovic Courtès
b0a33ac157
pk-crypto: Rename 'gcry-sexp' to 'canonical-sexp'.
...
* guix/pk-crypto.scm: Rename procedures, variables, etc. from
'gcry-sexp' to 'canonical-sexp'. Add comment with references.
* guix/scripts/authenticate.scm, tests/pk-crypto.scm: Adjust
accordingly.
2013-12-29 15:57:23 +01:00
Andreas Enge
557813760d
gnu: python: Update to 3.3.3.
...
* gnu/packages/python.scm (python): Update to 3.3.3.
2013-12-28 15:41:01 +01:00
Andreas Enge
ee2b510929
gnu: python-2: Update to 2.7.6.
...
* gnu/packages/python.scm (python-2): Update to 2.7.6.
2013-12-28 15:24:08 +01:00
Andreas Enge
81bb10ad17
gnu: parallel: Update to 20131122.
...
* gnu/packages/parallel.scm (parallel): Update to 20131122.
2013-12-28 14:59:15 +01:00
Andreas Enge
f6727409c2
gnu: xorriso: Update to 1.3.4.
...
* gnu/packages/cdrom.scm (xorriso): Update to 1.3.4.
2013-12-28 14:53:07 +01:00
Andreas Enge
d0c2cf7d54
gnu: libcdio: Update to 0.92.
...
* gnu/packages/cdrom.scm (libcdio): Update to 0.92.
2013-12-28 14:42:04 +01:00
Andreas Enge
579b249683
gnu: libextractor: Update to 1.3.
...
* gnu/packages/gnunet.scm (libextractor): Update to 1.3.
2013-12-28 09:01:15 +01:00