summary refs log tree commit diff
AgeCommit message (Collapse)Author
2014-01-04gnu: lsh: Distinguish between native inputs and target inputs.Ludovic Courtès
* gnu/packages/lsh.scm (lsh): Move M4, Guile, gperf, and psmisc to 'native-inputs'. Use GUILE-2.0 instead of GUILE-FINAL.
2014-01-03doc: Update 'ROADMAP'.Ludovic Courtès
* ROADMAP: Add link to the updated road map, and the a note on release history.
2014-01-03Thank Niels.Ludovic Courtès
2014-01-03gnu: pulseaudio: Add patch for 'volume-test'; re-enable tests.Ludovic Courtès
* 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.
2013-12-30gnu: games: Add new package gnubgJohn Darrington
* gnu/packages/games.scm (gnubg): New variable Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-30gnu: libgcrypt: Add "debug" output.Ludovic Courtès
* gnu/packages/gnupg.scm (libgcrypt): Add 'outputs' field.
2013-12-30archive: Add '--authorize'.Ludovic Courtès
* 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-30archive: Add '--generate-key'.Ludovic Courtès
* 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-30pk-crypto: Fix 'canonical-sexp->sexp' for atoms.Ludovic Courtès
* 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-30pk-crypto: Work around Libgcrypt bug <https://bugs.g10code.com/gnupg/issue1594>.Ludovic Courtès
* 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-30authenticate: Consistently use 'leave' for fatal error reporting.Ludovic Courtès
* guix/scripts/authenticate.scm (guix-authenticate): Replace all uses of 'format' + 'exit' with 'leave'.
2013-12-30Thank Kete.Ludovic Courtès
2013-12-30gnu: mesa: Move out of xorg.scm and into gl.scmJohn Darrington
* 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-30doc: Invoke 'useradd' with '--system'.Ludovic Courtès
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-29gnu: automake: Upgrade to 1.14.1.Ludovic Courtès
* gnu/packages/autotools.scm (automake): Upgrade to 1.14.1.
2013-12-29gnu: gdbm: Upgrade to 1.11.Ludovic Courtès
* gnu/packages/gdbm.scm (gdbm): Upgrade to 1.11.
2013-12-29build: Improve documentation of Nix-related options.Ludovic Courtès
* configure.ac: Add documentation for --with-nix and --with-nixpkgs.
2013-12-29gnu: games: New moduleJohn Darrington
* gnu/packages/games.scm (gnubik): New variable Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2013-12-29gnu: gnome: Add new package gtkglextJohn Darrington
* 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-29authenticate: Disallow imports signed with unauthorized keys.Ludovic Courtès
* guix/scripts/authenticate.scm (signature-sexp): Remove. (guix-authenticate): Upon '-verify', check whether the signature's public key passes 'authorized-key?'.
2013-12-29Add (guix pki).Ludovic Courtès
* guix/pki.scm, tests/pki.scm: New files. * Makefile.am (MODULES): Add 'guix/pki.scm'. (SCM_TESTS): Add 'tests/pki.scm'.
2013-12-29config: Export '%config-directory'.Ludovic Courtès
* configure.ac: Define and substitute 'guix_sysconfdir'. * guix/config.scm.in (%config-directory): New variable.
2013-12-29Move 'with-atomic-file-output' to (guix utils).Ludovic Courtès
* guix/scripts/substitute-binary.scm (with-atomic-file-output): Move to... * guix/utils.scm (with-atomic-file-output): ... here.
2013-12-29pk-crypto: Add canonical-sexp to sexp conversion procedures.Ludovic Courtès
* 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-29pk-crypto: Add 'canonical-sexp-length' and related procedures.Ludovic Courtès
* 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-29pk-crypto: 'canonical-sexp-nth-data' returns a symbol for "tokens".Ludovic Courtès
* 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-29authenticate: Store the public key as part of the signature.Ludovic Courtès
* 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-29pk-crypto: Rename 'gcry-sexp' to 'canonical-sexp'.Ludovic Courtès
* 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-28gnu: python: Update to 3.3.3.Andreas Enge
* gnu/packages/python.scm (python): Update to 3.3.3.
2013-12-28gnu: python-2: Update to 2.7.6.Andreas Enge
* gnu/packages/python.scm (python-2): Update to 2.7.6.
2013-12-28gnu: parallel: Update to 20131122.Andreas Enge
* gnu/packages/parallel.scm (parallel): Update to 20131122.
2013-12-28gnu: xorriso: Update to 1.3.4.Andreas Enge
* gnu/packages/cdrom.scm (xorriso): Update to 1.3.4.
2013-12-28gnu: libcdio: Update to 0.92.Andreas Enge
* gnu/packages/cdrom.scm (libcdio): Update to 0.92.
2013-12-28gnu: libextractor: Update to 1.3.Andreas Enge
* gnu/packages/gnunet.scm (libextractor): Update to 1.3.
2013-12-22gnu: vim: Update to 7.4.Andreas Enge
* gnu/packages/vim.scm (vim): Update to 7.4.
2013-12-22Update 'TODO'.Ludovic Courtès
2013-12-22Add 'guix archive'.Ludovic Courtès
* guix/scripts/archive.scm, tests/guix-archive.sh: New files. * Makefile.am (MODULES): Add 'archive.scm'. (SH_TESTS): Add 'guix-archive.sh'. * doc/guix.texi (Invoking guix archive): New section. * guix/scripts/build.scm: Export 'derivation-from-expression'. * guix/scripts/package.scm: Export 'specification->package+output'.
2013-12-22build: Install 'guix-authenticate'.Ludovic Courtès
* daemon.am (nodist_libexec_SCRIPTS): New variable.
2013-12-21guix build: Improve procedural decomposition.Ludovic Courtès
* guix/scripts/build.scm (%store): Remove. (derivation-from-expression): Add 'store' parameter. Adjust caller accordingly. (register-root): New procedure, formerly within 'guix-build'. (options->derivations): New procedure, formerly inline within 'guix-build'. (guix-build): Adjust accordingly.
2013-12-21Factorize package search between 'guix package' and 'guix build'.Ludovic Courtès
* guix/scripts/package.scm (newest-available-packages): Remove. (find-best-packages-by-name): Move to... * gnu/packages.scm (find-best-packages-by-name): ... here. (find-newest-available-packages): Memoize. * guix/scripts/build.scm (specification->package): New procedure, formerly called 'find-package' within 'guix-build'. (guix-build): Adjust accordingly.
2013-12-21authenticate: Add test.Ludovic Courtès
* tests/guix-authenticate.sh: New file. * Makefile.am (SH_TESTS): Add it.
2013-12-21build: Adjust pk-crypto tests to Libgcrypt 1.5.3.Ludovic Courtès
Reported by Andreas Enge <andreas@enge.fr>. * tests/pk-crypto.scm ("string->gcry-sexp->string"): Remove "#C0FFEE#" from SEXPS. ("gcry-sexp-nth"): Start at index 1.
2013-12-20daemon: Implement signed archive import/export.Ludovic Courtès
* guix/scripts/authenticate.scm, nix/scripts/guix-authenticate.in, tests/signing-key.pub, tests/signing-key.sec: New files. * po/POTFILES.in: Add 'guix/scripts/authenticate.scm'. * guix/store.scm (dump-port): New procedure. (process-stderr): Add 'user-port' optional parameter. Handle the %STDERR-WRITE and %STDERR-READ cases as expected. (import-paths, export-path, export-paths): New procedures. * tests/store.scm ("export/import several paths", "import corrupt path"): New tests. * Makefile.am (MODULES): Add 'guix/scripts/authenticate.scm'. (EXTRA_DIST): Add 'tests/signing-key.{pub,sec}'. * daemon.am (libstore_a_CPPFLAGS)[-DNIX_CONF_DIR]: Change 'NIX_CONF_DIR' to .../guix. Change 'OPENSSL_PATH' to 'guix-authenticate'. * config-daemon.ac: Instantiate 'nix/scripts/guix-authenticate'. * nix/nix-daemon/guix-daemon.cc (main): Augment $PATH to include 'settings.nixLibexecDir'. * test-env.in: Export 'NIX_CONF_DIR' and 'NIX_LIBEXEC_DIR'. Populate $NIX_CONF_DIR.
2013-12-20pk-crypto: Add a few sexp utility procedures.Ludovic Courtès
* guix/pk-crypto.scm (gcry-sexp-car, gcry-sexp-cdr, gcry-sexp-nth, gcry-sexp-nth-data, dereference-size_t, latin1-string->bytevector, hash-data->bytevector): New procedures. * tests/pk-crypto.scm ("gcry-sexp-car + cdr", "gcry-sexp-nth", "gcry-sexp-nth-data", "bytevector->hash-data->bytevector"): New tests.
2013-12-20Update 'TODO'.Ludovic Courtès
2013-12-20Add (guix pk-crypto).Ludovic Courtès
* guix/pk-crypto.scm, tests/pk-crypto.scm: New files. * Makefile.am (MODULES, SCM_TESTS): Add them.
2013-12-19sync-with-upstream: Work around limitation of dash.Ludovic Courtès
Reported by Andreas Enge <andreas@enge.fr>. * nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash.
2013-12-19daemon: Fix 'HashSink::currentHash()'.Ludovic Courtès
Before that, calls to 'HashSink::currentHash()' would eventually lead to a segfault because the underlying gcrypt handle has been closed. (Note that this method is only used via 'importPaths' and 'exportPath', though.) * nix/libutil/gcrypt-hash.hh (struct guix_hash_context): Add a constructor and a copy constructor; move out of 'extern "C"'. * nix/libutil/gcrypt-hash.cc (guix_hash_final): Clear 'md_handle' upon exit. * nix/sync-with-upstream (top_srcdir): Change hash.{cc,hh} to read 'struct Ctx' instead of 'union Ctx'.
2013-12-19daemon: Add libgcrypt call to state that the initialization is over.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.
2013-12-18gnu: xf86-video-vmware: Add input xorg-server.Andreas Enge
* gnu/packages/xorg.scm (xf86-video-vmware): Add input xorg-server.