jackhill/guix/guix.git
10 years agodoc: Update 'ROADMAP'.
Ludovic Courtès [Fri, 3 Jan 2014 17:19:58 +0000 (18:19 +0100)]
doc: Update 'ROADMAP'.

* ROADMAP: Add link to the updated road map, and the a note on release
  history.

10 years agoThank Niels.
Ludovic Courtès [Fri, 3 Jan 2014 15:51:30 +0000 (16:51 +0100)]
Thank Niels.

10 years agognu: pulseaudio: Add patch for 'volume-test'; re-enable tests.
Ludovic Courtès [Fri, 3 Jan 2014 15:47:19 +0000 (16:47 +0100)]
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.

10 years agognu: games: Add new package gnubg
John Darrington [Mon, 30 Dec 2013 18:33:53 +0000 (19:33 +0100)]
gnu: games: Add new package gnubg

* gnu/packages/games.scm (gnubg): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: libgcrypt: Add "debug" output.
Ludovic Courtès [Mon, 30 Dec 2013 22:22:08 +0000 (23:22 +0100)]
gnu: libgcrypt: Add "debug" output.

* gnu/packages/gnupg.scm (libgcrypt): Add 'outputs' field.

10 years agoarchive: Add '--authorize'.
Ludovic Courtès [Mon, 30 Dec 2013 22:18:52 +0000 (23:18 +0100)]
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'.

10 years agoarchive: Add '--generate-key'.
Ludovic Courtès [Mon, 30 Dec 2013 21:46:21 +0000 (22:46 +0100)]
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'.

10 years agopk-crypto: Fix 'canonical-sexp->sexp' for atoms.
Ludovic Courtès [Mon, 30 Dec 2013 21:29:12 +0000 (22:29 +0100)]
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.

10 years agopk-crypto: Work around Libgcrypt bug <https://bugs.g10code.com/gnupg/issue1594>.
Ludovic Courtès [Mon, 30 Dec 2013 21:19:19 +0000 (22:19 +0100)]
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.

10 years agoauthenticate: Consistently use 'leave' for fatal error reporting.
Ludovic Courtès [Mon, 30 Dec 2013 17:23:44 +0000 (18:23 +0100)]
authenticate: Consistently use 'leave' for fatal error reporting.

* guix/scripts/authenticate.scm (guix-authenticate): Replace all uses of
  'format' + 'exit' with 'leave'.

10 years agoThank Kete.
Ludovic Courtès [Mon, 30 Dec 2013 15:57:05 +0000 (16:57 +0100)]
Thank Kete.

10 years agognu: mesa: Move out of xorg.scm and into gl.scm
John Darrington [Sat, 28 Dec 2013 08:10:46 +0000 (09:10 +0100)]
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>
10 years agodoc: Invoke 'useradd' with '--system'.
Ludovic Courtès [Mon, 30 Dec 2013 15:47:32 +0000 (16:47 +0100)]
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>.

10 years agognu: automake: Upgrade to 1.14.1.
Ludovic Courtès [Sun, 29 Dec 2013 21:44:23 +0000 (22:44 +0100)]
gnu: automake: Upgrade to 1.14.1.

* gnu/packages/autotools.scm (automake): Upgrade to 1.14.1.

10 years agognu: gdbm: Upgrade to 1.11.
Ludovic Courtès [Sun, 29 Dec 2013 21:22:09 +0000 (22:22 +0100)]
gnu: gdbm: Upgrade to 1.11.

* gnu/packages/gdbm.scm (gdbm): Upgrade to 1.11.

10 years agobuild: Improve documentation of Nix-related options.
Ludovic Courtès [Sun, 29 Dec 2013 18:53:05 +0000 (19:53 +0100)]
build: Improve documentation of Nix-related options.

* configure.ac: Add documentation for --with-nix and --with-nixpkgs.

10 years agognu: games: New module
John Darrington [Sat, 28 Dec 2013 07:19:43 +0000 (08:19 +0100)]
gnu: games: New module

* gnu/packages/games.scm (gnubik): New variable

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gnome: Add new package gtkglext
John Darrington [Sat, 28 Dec 2013 07:19:42 +0000 (08:19 +0100)]
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>
10 years agoauthenticate: Disallow imports signed with unauthorized keys.
Ludovic Courtès [Sun, 29 Dec 2013 14:55:38 +0000 (15:55 +0100)]
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?'.

10 years agoAdd (guix pki).
Ludovic Courtès [Sun, 29 Dec 2013 14:53:49 +0000 (15:53 +0100)]
Add (guix pki).

* guix/pki.scm, tests/pki.scm: New files.
* Makefile.am (MODULES): Add 'guix/pki.scm'.
  (SCM_TESTS): Add 'tests/pki.scm'.

10 years agoconfig: Export '%config-directory'.
Ludovic Courtès [Sun, 29 Dec 2013 14:52:50 +0000 (15:52 +0100)]
config: Export '%config-directory'.

* configure.ac: Define and substitute 'guix_sysconfdir'.
* guix/config.scm.in (%config-directory): New variable.

10 years agoMove 'with-atomic-file-output' to (guix utils).
Ludovic Courtès [Sun, 29 Dec 2013 14:51:07 +0000 (15:51 +0100)]
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.

10 years agopk-crypto: Add canonical-sexp to sexp conversion procedures.
Ludovic Courtès [Sat, 28 Dec 2013 15:16:00 +0000 (16:16 +0100)]
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.

10 years agopk-crypto: Add 'canonical-sexp-length' and related procedures.
Ludovic Courtès [Sat, 28 Dec 2013 14:47:35 +0000 (15:47 +0100)]
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.

10 years agopk-crypto: 'canonical-sexp-nth-data' returns a symbol for "tokens".
Ludovic Courtès [Sat, 28 Dec 2013 14:41:48 +0000 (15:41 +0100)]
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.

10 years agoauthenticate: Store the public key as part of the signature.
Ludovic Courtès [Fri, 27 Dec 2013 23:42:07 +0000 (00:42 +0100)]
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.

10 years agopk-crypto: Rename 'gcry-sexp' to 'canonical-sexp'.
Ludovic Courtès [Fri, 27 Dec 2013 22:32:26 +0000 (23:32 +0100)]
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.

10 years agognu: python: Update to 3.3.3.
Andreas Enge [Sat, 28 Dec 2013 14:41:01 +0000 (15:41 +0100)]
gnu: python: Update to 3.3.3.

* gnu/packages/python.scm (python): Update to 3.3.3.

10 years agognu: python-2: Update to 2.7.6.
Andreas Enge [Sat, 28 Dec 2013 14:24:08 +0000 (15:24 +0100)]
gnu: python-2: Update to 2.7.6.

* gnu/packages/python.scm (python-2): Update to 2.7.6.

10 years agognu: parallel: Update to 20131122.
Andreas Enge [Sat, 28 Dec 2013 13:59:15 +0000 (14:59 +0100)]
gnu: parallel: Update to 20131122.

* gnu/packages/parallel.scm (parallel): Update to 20131122.

10 years agognu: xorriso: Update to 1.3.4.
Andreas Enge [Sat, 28 Dec 2013 13:53:07 +0000 (14:53 +0100)]
gnu: xorriso: Update to 1.3.4.

* gnu/packages/cdrom.scm (xorriso): Update to 1.3.4.

10 years agognu: libcdio: Update to 0.92.
Andreas Enge [Sat, 28 Dec 2013 13:42:04 +0000 (14:42 +0100)]
gnu: libcdio: Update to 0.92.

* gnu/packages/cdrom.scm (libcdio): Update to 0.92.

10 years agognu: libextractor: Update to 1.3.
Andreas Enge [Sat, 28 Dec 2013 08:01:15 +0000 (09:01 +0100)]
gnu: libextractor: Update to 1.3.

* gnu/packages/gnunet.scm (libextractor): Update to 1.3.

10 years agognu: vim: Update to 7.4.
Andreas Enge [Sun, 22 Dec 2013 22:23:11 +0000 (23:23 +0100)]
gnu: vim: Update to 7.4.

* gnu/packages/vim.scm (vim): Update to 7.4.

10 years agoUpdate 'TODO'.
Ludovic Courtès [Sun, 22 Dec 2013 00:10:11 +0000 (01:10 +0100)]
Update 'TODO'.

10 years agoAdd 'guix archive'.
Ludovic Courtès [Sun, 22 Dec 2013 00:08:21 +0000 (01:08 +0100)]
Add 'guix archive'.

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

10 years agobuild: Install 'guix-authenticate'.
Ludovic Courtès [Sat, 21 Dec 2013 23:02:39 +0000 (00:02 +0100)]
build: Install 'guix-authenticate'.

* daemon.am (nodist_libexec_SCRIPTS): New variable.

10 years agoguix build: Improve procedural decomposition.
Ludovic Courtès [Sat, 21 Dec 2013 21:53:58 +0000 (22:53 +0100)]
guix build: Improve procedural decomposition.

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

10 years agoFactorize package search between 'guix package' and 'guix build'.
Ludovic Courtès [Sat, 21 Dec 2013 21:36:32 +0000 (22:36 +0100)]
Factorize package search between 'guix package' and 'guix build'.

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

10 years agoauthenticate: Add test.
Ludovic Courtès [Sat, 21 Dec 2013 20:47:17 +0000 (21:47 +0100)]
authenticate: Add test.

* tests/guix-authenticate.sh: New file.
* Makefile.am (SH_TESTS): Add it.

10 years agobuild: Adjust pk-crypto tests to Libgcrypt 1.5.3.
Ludovic Courtès [Fri, 20 Dec 2013 23:09:51 +0000 (00:09 +0100)]
build: Adjust pk-crypto tests to Libgcrypt 1.5.3.

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.

10 years agodaemon: Implement signed archive import/export.
Ludovic Courtès [Fri, 20 Dec 2013 16:17:42 +0000 (17:17 +0100)]
daemon: Implement signed archive import/export.

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

10 years agopk-crypto: Add a few sexp utility procedures.
Ludovic Courtès [Fri, 20 Dec 2013 14:22:15 +0000 (15:22 +0100)]
pk-crypto: Add a few sexp utility procedures.

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

10 years agoUpdate 'TODO'.
Ludovic Courtès [Thu, 19 Dec 2013 23:37:41 +0000 (00:37 +0100)]
Update 'TODO'.

10 years agoAdd (guix pk-crypto).
Ludovic Courtès [Thu, 19 Dec 2013 23:36:26 +0000 (00:36 +0100)]
Add (guix pk-crypto).

* guix/pk-crypto.scm, tests/pk-crypto.scm: New files.
* Makefile.am (MODULES, SCM_TESTS): Add them.

10 years agosync-with-upstream: Work around limitation of dash.
Ludovic Courtès [Wed, 18 Dec 2013 23:42:35 +0000 (00:42 +0100)]
sync-with-upstream: Work around limitation of dash.

Reported by Andreas Enge <andreas@enge.fr>.

* nix/sync-with-upstream: Expand use of {cc,hh}, to placate dash.

10 years agodaemon: Fix 'HashSink::currentHash()'.
Ludovic Courtès [Wed, 18 Dec 2013 20:48:57 +0000 (21:48 +0100)]
daemon: Fix 'HashSink::currentHash()'.

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

10 years agodaemon: Add libgcrypt call to state that the initialization is over.
Ludovic Courtès [Wed, 18 Dec 2013 20:29:00 +0000 (21:29 +0100)]
daemon: Add libgcrypt call to state that the initialization is over.

* nix/nix-daemon/guix-daemon.cc (main): Add 'gcry_control' call.

10 years agognu: xf86-video-vmware: Add input xorg-server.
Andreas Enge [Wed, 18 Dec 2013 18:58:40 +0000 (19:58 +0100)]
gnu: xf86-video-vmware: Add input xorg-server.

* gnu/packages/xorg.scm (xf86-video-vmware): Add input xorg-server.

10 years agognu: iso-codes: Update to 3.49.
Andreas Enge [Wed, 18 Dec 2013 14:49:57 +0000 (15:49 +0100)]
gnu: iso-codes: Update to 3.49.

* gnu/packages/iso-codes.scm (iso-codes): Update to 3.49.

10 years agognu: shishi: Use libgcrypt-1.5.
Andreas Enge [Wed, 18 Dec 2013 13:24:34 +0000 (14:24 +0100)]
gnu: shishi: Use libgcrypt-1.5.

* gnu/packages/shishi.scm (shishi): Use input libgcrypt-1.5 instead of 1.6.

10 years agognu: libgcrypt: Make old version 1.5.3 public.
Andreas Enge [Wed, 18 Dec 2013 13:11:01 +0000 (14:11 +0100)]
gnu: libgcrypt: Make old version 1.5.3 public.

* gnu/packages/gnupg.scm (libgcrypt-1.5): New variable.
* gnu/packages/ssh.scm (libssh): Use libgcrypt-1.5 instead of defining it
    ad-hoc.

10 years agognu: libssh: Upgrade to 0.5.5.
Ludovic Courtès [Tue, 17 Dec 2013 21:02:07 +0000 (22:02 +0100)]
gnu: libssh: Upgrade to 0.5.5.

* gnu/packages/ssh.scm (libssh): Upgrade to 0.5.5.

10 years agognu: libssh: Build against an older libgcrypt.
Ludovic Courtès [Tue, 17 Dec 2013 21:01:42 +0000 (22:01 +0100)]
gnu: libssh: Build against an older libgcrypt.

* gnu/packages/ssh.scm (libssh): Use libgcrypt 1.5.3 as an input.

10 years agognu: ffmpeg: Modify runpath of binaries to include output library path.
Andreas Enge [Tue, 17 Dec 2013 20:19:41 +0000 (21:19 +0100)]
gnu: ffmpeg: Modify runpath of binaries to include output library path.

* gnu/packages/video.scm (ffmpeg): Patch binaries to add output library path
    to runpath.

10 years agognu: tor: Upgrade to 0.2.4.19.
Ludovic Courtès [Mon, 16 Dec 2013 22:57:24 +0000 (23:57 +0100)]
gnu: tor: Upgrade to 0.2.4.19.

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

10 years agognu: freeipmi: Upgrade to 1.3.4.
Ludovic Courtès [Mon, 16 Dec 2013 22:45:21 +0000 (23:45 +0100)]
gnu: freeipmi: Upgrade to 1.3.4.

* gnu/packages/freeipmi.scm (freeipmi): Upgrade to 1.3.4.

10 years agognu: libgcrypt: Upgrade to 1.6.0.
Ludovic Courtès [Mon, 16 Dec 2013 22:44:58 +0000 (23:44 +0100)]
gnu: libgcrypt: Upgrade to 1.6.0.

* gnu/packages/gnupg.scm (libgcrypt): Upgrade to 1.6.0.

10 years agopull: Move build code to (guix build pull).
Ludovic Courtès [Mon, 16 Dec 2013 22:07:17 +0000 (23:07 +0100)]
pull: Move build code to (guix build pull).

* guix/build/pull.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/pull.scm (unpack): Use it.

10 years agognu: Add gnome-desktop.
Cyril Roelandt [Tue, 15 Oct 2013 01:29:13 +0000 (03:29 +0200)]
gnu: Add gnome-desktop.

* gnu/packages/gnome.scm (gnome-desktop): New variable.

10 years agognu: Add iso-codes.
Cyril Roelandt [Tue, 15 Oct 2013 01:28:59 +0000 (03:28 +0200)]
gnu: Add iso-codes.

* gnu/packages/iso-codes.scm: New file.
* gnu-system.am: Add it.

10 years agognu: Add libpeas.
Cyril Roelandt [Mon, 14 Oct 2013 22:34:35 +0000 (00:34 +0200)]
gnu: Add libpeas.

* gnu/packages/gnome.scm (libpeas): New variable.

10 years agognu: gtk+: enable introspection.
Cyril Roelandt [Mon, 14 Oct 2013 22:14:34 +0000 (00:14 +0200)]
gnu: gtk+: enable introspection.

* gnu/packages/gtk.scm (atk, gdk-pixbuf, gtk+, pango): enable introspection
* guix/build/gnome.scm: New file.

10 years agognu: gobject-introspection: look for 'gcc' when no compiler seems available.
Cyril Roelandt [Wed, 16 Oct 2013 01:47:56 +0000 (03:47 +0200)]
gnu: gobject-introspection: look for 'gcc' when no compiler seems available.

* gnu/packages/patches/gobject-introspection.patch: New file.

10 years agognu: Move libelf and patchelf to (gnu packages elf).
Ludovic Courtès [Sun, 15 Dec 2013 22:27:56 +0000 (23:27 +0100)]
gnu: Move libelf and patchelf to (gnu packages elf).

* gnu/packages/patchelf.scm (patchelf): Move to...
* gnu/packages/elf.scm (patchelf): ... here.
* gnu/packages/patchelf.scm: Remove.
* gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly.
* gnu/packages/gcc.scm (libelf): Move to...
* gnu/packages/elf.scm (libelf): ... here.
* gnu/packages/cdrom.scm, gnu/packages/icu4c.scm,
  gnu/packages/samba.scm, gnu/packages/scheme.scm, gnu/packages/ssh.scm:
  Adjust references to (gnu packages patchelf).

10 years agognu: Add elfutils.
Ludovic Courtès [Sun, 15 Dec 2013 22:19:44 +0000 (23:19 +0100)]
gnu: Add elfutils.

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

10 years agognu: Move numerous "inputs" which should be "native-inputs".
John Darrington [Sun, 15 Dec 2013 11:01:56 +0000 (12:01 +0100)]
gnu: Move numerous "inputs" which should be "native-inputs".

* gnu/packages/avahi.scm, gnu/packages/cdrom.scm, gnu/packages/cryptsetup.scm,
  gnu/packages/curl.scm, gnu/packages/emacs.scm, gnu/packages/fontutils.scm,
  gnu/packages/gdb.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm,
  gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm,
  gnu/packages/gnupg.scm, gnu/packages/gnuzilla.scm, gnu/packages/graphviz.scm,
  gnu/packages/groff.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm,
  gnu/packages/gv.scm, gnu/packages/imagemagick.scm, gnu/packages/irssi.scm,
  gnu/packages/kde.scm, gnu/packages/libcanberra.scm, gnu/packages/libtiff.scm,
  gnu/packages/linux.scm, gnu/packages/lvm.scm, gnu/packages/mp3.scm,
  gnu/packages/netpbm.scm, gnu/packages/parted.scm, gnu/packages/pdf.scm,
  gnu/packages/pulseaudio.scm, gnu/packages/qemu.scm, gnu/packages/qt.scm,
  gnu/packages/ratpoison.scm, gnu/packages/rdf.scm, gnu/packages/slim.scm,
  gnu/packages/texlive.scm, gnu/packages/version-control.scm,
  gnu/packages/video.scm, gnu/packages/vpn.scm, gnu/packages/w3m.scm,
  gnu/packages/xml.scm, gnu/packages/xnee.scm, gnu/packages/xorg.scm,
  gnu/packages/zip.scm:  Move some build-time dependencies from `inputs' to
  `native-inputs'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: gnupg: Fix cross-compile issues.
John Darrington [Sun, 15 Dec 2013 08:39:05 +0000 (09:39 +0100)]
gnu: gnupg: Fix cross-compile issues.

* gnu/packages/gnupg.scm (libgpg-error): Add gcc as a native input,
  and set the CC_FOR_BUILD variable.

* gnu/packages/gnupg.scm (libgcrypt): Add libgpg-error as a native input and
  set the --with-gpg-error-prefix configure option.

* gnu/packages/gnupg.scm (libksba): Add libgpg-error as a native input and
  set the --with-gpg-error-prefix configure option.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: openssl: Fix cross-compile issues.
John Darrington [Sun, 15 Dec 2013 08:03:37 +0000 (09:03 +0100)]
gnu: openssl: Fix cross-compile issues.

* gnu/packages/openssl.scm (openssl): Move perl from inputs to
  native-inputs.
  Replace reference to target bash with the native bash or target bash as
  appropriate.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: imagemagick: Add inputs.
Andreas Enge [Sun, 15 Dec 2013 00:15:49 +0000 (01:15 +0100)]
gnu: imagemagick: Add inputs.

* gnu/packages/imagemagick.scm (imagemagick): Add inputs fftw and lcms.

10 years agognu: imagemagick: Update to 6.8.7-9.
Andreas Enge [Sat, 14 Dec 2013 23:19:09 +0000 (00:19 +0100)]
gnu: imagemagick: Update to 6.8.7-9.

* gnu/packages/imagemagick.scm (imagemagick): Update to 6.8.7-9.

10 years agognu: qt: Update to 5.2.0.
Andreas Enge [Sat, 14 Dec 2013 22:16:46 +0000 (23:16 +0100)]
gnu: qt: Update to 5.2.0.

* gnu/packages/qt.scm (qt): Update to 5.2.0.

10 years agoguix package: allow multiple arguments after -i, -r, and -u.
Mark H Weaver [Fri, 13 Dec 2013 20:37:57 +0000 (15:37 -0500)]
guix package: allow multiple arguments after -i, -r, and -u.

* guix/scripts/package.scm (%options): Adapt option processors to accept and
  return a second seed value: 'arg-handler', which handles bare arguments (if
  not false).  The install, remove, and upgrade option processors return an
  arg-handler that repeat the same operation.  All other option processors
  return #f as the arg-handler.  Make the arguments to install and remove
  optional.  The upgrade option processor deletes (upgrade . #f) from the
  alist before adding a new entry.
  (guix-package): Procedures passed to 'args-fold*' accept the new seed value
  'arg-handler'.  The 'operand-proc' uses 'arg-handler' (if not false).

* doc/guix.texi (Invoking guix package): Update docs.

* tests/guix-package.sh: Add test.

10 years agognu: libxml2: Fixed cross-compilation.
John Darrington [Sat, 14 Dec 2013 18:05:17 +0000 (19:05 +0100)]
gnu: libxml2: Fixed cross-compilation.

* gnu/packages/xml.scm (libxml2): assign "cross-libc"
  to the variable glibc.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: tzdata: Fix cross-compilation.
Ludovic Courtès [Sat, 14 Dec 2013 18:23:29 +0000 (19:23 +0100)]
gnu: tzdata: Fix cross-compilation.

Reported by John Darrington <john@darrington.wattle.id.au>.

* gnu/packages/base.scm (tzdata): Use the 'source' keyword argument in
  phases rather than the "source" input.  This fixes cross-compilation.

10 years agopull: Compile guix/ files before gnu/ files.
Ludovic Courtès [Sat, 14 Dec 2013 15:48:38 +0000 (16:48 +0100)]
pull: Compile guix/ files before gnu/ files.

* guix/scripts/pull.scm (unpack)[builder]: Build files under guix/
  before files under gnu/.

10 years agopull: Compile files in parallel.
Ludovic Courtès [Sat, 14 Dec 2013 15:31:01 +0000 (16:31 +0100)]
pull: Compile files in parallel.

* guix/scripts/pull.scm (unpack)[builder](compile-file*): Remove.
  (call-with-process, p-for-each): New procedures.  Use them to compile
  files in parallel.

10 years agopull: Limit memory usage when compiling.
Ludovic Courtès [Fri, 13 Dec 2013 23:40:15 +0000 (00:40 +0100)]
pull: Limit memory usage when compiling.

Reported by Arne Babenhauserheide <arne.babenhauserheide@kit.edu>.

* guix/scripts/pull.scm (unpack)[builder](compile-file*): Change to run
  'compile-file' in a child process.  This limits memory usage; before
  that memory usage was proportional to the number of files to compile.

10 years agognu: icecat: Further analyse the failure of using system libpng and libjpeg.
Andreas Enge [Sat, 14 Dec 2013 12:50:37 +0000 (13:50 +0100)]
gnu: icecat: Further analyse the failure of using system libpng and libjpeg.

* gnu/packages/gnuzilla.scm (icecat): Add comments.

10 years agognu: file: Fixed cross-compilation.
John Darrington [Fri, 13 Dec 2013 09:52:12 +0000 (10:52 +0100)]
gnu: file: Fixed cross-compilation.

* gnu/packages/file.scm (file): [(eq? (%current-target-system) #f)] Add native-inputs.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: icecat: Build without debugging symbols; use some of the system libs.
Ludovic Courtès [Fri, 13 Dec 2013 17:08:18 +0000 (18:08 +0100)]
gnu: icecat: Build without debugging symbols; use some of the system libs.

* gnu/packages/gnuzilla.scm (icecat): Add 'native-inputs'.  Add bzip2,
  libevent, libffi, and zlib as inputs.  Add #:configure-flags.  Change
  'configure' phase to honor it.

10 years agognu: idutils: Add Emacs as an input so idutils.el gets compiled and installed.
Ludovic Courtès [Fri, 13 Dec 2013 17:01:40 +0000 (18:01 +0100)]
gnu: idutils: Add Emacs as an input so idutils.el gets compiled and installed.

* gnu/packages/idutils.scm (idutils): Add Emacs to 'native-inputs'.

10 years agognu: global: Install the elisp file under $out/share/emacs/site-lisp.
Ludovic Courtès [Fri, 13 Dec 2013 17:01:04 +0000 (18:01 +0100)]
gnu: global: Install the elisp file under $out/share/emacs/site-lisp.

* gnu/packages/global.scm (global)[arguments]: Add #:phases.

10 years agognu: ffmpeg: Check via "make fate".
Andreas Enge [Fri, 13 Dec 2013 10:32:25 +0000 (11:32 +0100)]
gnu: ffmpeg: Check via "make fate".

* gnu/packages/patches/ffmpeg-check.patch: Drop patch.
* gnu-system.am (dist_patch_DATA): Unregister patch.
* gnu/packages/video.scm (ffmpeg): Drop patch and use "fate" as test target
    as recommended at http://trac.ffmpeg.org/ticket/3177#comment:11 .
* gnu/packages/video.scm

10 years agognu: libtasn1: Upgrade to 3.4.
Ludovic Courtès [Wed, 11 Dec 2013 22:05:12 +0000 (23:05 +0100)]
gnu: libtasn1: Upgrade to 3.4.

* gnu/packages/gnutls.scm (libtasn1): Upgrade to 3.4.  Add
  'native-inputs' field.

10 years agobuild: Skip one 'package-source-derivation' test when networking is missing.
Ludovic Courtès [Wed, 11 Dec 2013 12:55:49 +0000 (13:55 +0100)]
build: Skip one 'package-source-derivation' test when networking is missing.

* tests/packages.scm ("package-source-derivation, snippet"): Skip when
  networking is missing.

10 years agognu: guix: Upgrade to 0.5.
Ludovic Courtès [Wed, 11 Dec 2013 12:55:17 +0000 (13:55 +0100)]
gnu: guix: Upgrade to 0.5.

* gnu/packages/package-management.scm (guix): Upgrade to 0.5.  Update
  the bootstrap binaries; add mips64el; add
  'guix-test-networking.patch'.

10 years agobuild: Bump to version 0.6.
Ludovic Courtès [Wed, 11 Dec 2013 12:53:03 +0000 (13:53 +0100)]
build: Bump to version 0.6.

* configure.ac: Switch to 0.6.

10 years agoUpdate 'NEWS'.
Ludovic Courtès [Wed, 11 Dec 2013 12:06:19 +0000 (13:06 +0100)]
Update 'NEWS'.

10 years agobuild: Remove '..' from srcdir/builddir in 'pre-inst-env'.
Ludovic Courtès [Wed, 11 Dec 2013 10:58:54 +0000 (11:58 +0100)]
build: Remove '..' from srcdir/builddir in 'pre-inst-env'.

* pre-inst-env.in (abs_top_srcdir, abs_top_builddir): New variables.
  Use them instead of @abs_top_srcdir@ and @abs_top_builddir@.
  This fixes the "package-field-location, relative file name" test in
  'make distcheck'.

10 years agodoc: Slightly improve the "System Configuration" node.
Ludovic Courtès [Wed, 11 Dec 2013 09:47:55 +0000 (10:47 +0100)]
doc: Slightly improve the "System Configuration" node.

* doc/guix.texi (System Configuration): Add paragraph on upgrades and
  rollback, moved from "Using the Configuration System".
  (Using the Configuration System): Change variable name to
  'komputilo'.  Add xref to "Package Modules".

10 years agognu: gdb: Upgrade to 7.6.2.
Ludovic Courtès [Wed, 11 Dec 2013 00:25:39 +0000 (01:25 +0100)]
gnu: gdb: Upgrade to 7.6.2.

* gnu/packages/gdb.scm (gdb): Update to 7.6.2.

10 years agognu: vm: Increase size of VM image.
Ludovic Courtès [Wed, 11 Dec 2013 00:10:41 +0000 (01:10 +0100)]
gnu: vm: Increase size of VM image.

* gnu/system/vm.scm (system-qemu-image): Add 'disk-image-size'
  parameter; increase it.

10 years agostore: Optimize 'store-path-package-name' and 'store-path-hash-part'.
Ludovic Courtès [Tue, 10 Dec 2013 23:19:27 +0000 (00:19 +0100)]
store: Optimize 'store-path-package-name' and 'store-path-hash-part'.

* guix/store.scm (store-regexp*): New procedure.
  (store-path-package-name, store-path-hash-part): Use it.

10 years agostore: Add tests for 'store-path-package-name'.
Ludovic Courtès [Tue, 10 Dec 2013 23:18:07 +0000 (00:18 +0100)]
store: Add tests for 'store-path-package-name'.

* tests/store.scm ("store-path-package-name", "store-path-package-name
  #f"): New tests.

10 years agoUpdate '.po' files.
Ludovic Courtès [Tue, 10 Dec 2013 21:56:26 +0000 (22:56 +0100)]
Update '.po' files.

10 years agoNEWS: Small changes.
Andreas Enge [Tue, 10 Dec 2013 21:14:23 +0000 (22:14 +0100)]
NEWS: Small changes.

NEWS: Typos and very minor changes.

10 years agoUpdate 'NEWS'.
Ludovic Courtès [Tue, 10 Dec 2013 20:53:59 +0000 (21:53 +0100)]
Update 'NEWS'.

10 years agognu: Honor the operating system's locale and timezone.
Ludovic Courtès [Tue, 10 Dec 2013 20:46:59 +0000 (21:46 +0100)]
gnu: Honor the operating system's locale and timezone.

* gnu/system.scm (etc-directory): Add 'locale' and 'timezone'
  parameters.  Set 'LC_ALL', 'TZ', and 'TZDIR' in /etc/profile.
  (operating-system-derivation): Adjust call accordingly.
* gnu/system/vm.scm (%demo-operating-system): Change locale to
  'en_US.UTF-8'.  Add TZDATA to 'packages'.

10 years agohydra: Add zlib, gzip, and xz to the core package set.
Ludovic Courtès [Tue, 10 Dec 2013 12:56:26 +0000 (13:56 +0100)]
hydra: Add zlib, gzip, and xz to the core package set.

* build-aux/hydra/gnu-system.scm (%core-packages): Add zlib, gzip, and xz.