jackhill/guix/guix.git
11 years agognu: Add GNU RCS.
Ludovic Courtès [Sat, 11 May 2013 20:49:39 +0000 (22:49 +0200)]
gnu: Add GNU RCS.

* gnu/packages/bazaar.scm: Rename to...
* gnu/packages/version-control.scm: ... this.
  (rcs): New variable.
* Makefile.am (MODULES): Adjust accordingly.

11 years agobuild: Really clean .log files from SRFI-64.
Ludovic Courtès [Sat, 11 May 2013 20:42:38 +0000 (22:42 +0200)]
build: Really clean .log files from SRFI-64.

* Makefile.am (CLEANFILES): Really catch .log files from SRFI-64.

11 years agobuild: Run `tests/guix-gc.sh' last to avoid test failures.
Ludovic Courtès [Sat, 11 May 2013 20:37:33 +0000 (22:37 +0200)]
build: Run `tests/guix-gc.sh' last to avoid test failures.

* Makefile.am (tests/guix-gc.log): New target.  This should fix failures
  that occurred with "make check -j" the first time.

11 years agognu: Add Scheme48.
Ludovic Courtès [Sat, 11 May 2013 20:13:59 +0000 (22:13 +0200)]
gnu: Add Scheme48.

* gnu/packages/scheme.scm (scheme48): New variable.
* gnu/packages/patches/scheme48-tests.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.

11 years agognu: gnupg: Update to 2.0.20.
Ludovic Courtès [Sat, 11 May 2013 19:28:16 +0000 (21:28 +0200)]
gnu: gnupg: Update to 2.0.20.

* gnu/packages/gnupg.scm (gnupg): Update to 2.0.20.

11 years agognu: chicken: Clear description.
Ludovic Courtès [Sat, 11 May 2013 18:00:48 +0000 (20:00 +0200)]
gnu: chicken: Clear description.

* gnu/packages/scheme.scm (chicken): Remove unneeded part of the
  description.

11 years agodoc: Document "guix download".
Ludovic Courtès [Sat, 11 May 2013 14:18:15 +0000 (16:18 +0200)]
doc: Document "guix download".

* doc/guix.texi (Defining Packages): Linke to "Invoking guix download".
  (Utilities): Add an overview paragraph.
  (Invoking guix download): New node.

11 years agognu: Sync synopses with the Womb.
Ludovic Courtès [Sat, 11 May 2013 13:58:20 +0000 (15:58 +0200)]
gnu: Sync synopses with the Womb.

* gnu/packages/bazaar.scm (bazaar): Use synopsis from the Womb.
* gnu/packages/gv.scm (gv): Likewise.

11 years agotests: Fix out-of-source builds.
Ludovic Courtès [Sat, 11 May 2013 13:43:33 +0000 (15:43 +0200)]
tests: Fix out-of-source builds.

* tests/nar.scm (%test-dir): Compute relative to `pre-inst-env', which
  is in $top_builddir.

11 years agotests: Add `guix hash' test.
Ludovic Courtès [Sat, 11 May 2013 13:09:56 +0000 (15:09 +0200)]
tests: Add `guix hash' test.

* guix/scripts/hash.scm (guix-hash)[eof->null]: New procedure.
  Use it to convert the EOF object to the empty bytevector.
* tests/guix-hash.sh: New file.
* Makefile.am (SH_TESTS): Add it.

11 years agoUpdate Nix sub-module.
Ludovic Courtès [Sat, 11 May 2013 12:49:12 +0000 (14:49 +0200)]
Update Nix sub-module.

* nix-upstream: Update to 3a0cc43ac89ae8f778764c9f5e27b361e4986913
  (Nix ~1.5.2).

11 years agorefresh: Add `--key-server' and `--gpg'.
Ludovic Courtès [Sat, 11 May 2013 12:36:58 +0000 (14:36 +0200)]
refresh: Add `--key-server' and `--gpg'.

* guix/scripts/refresh.scm (%options): Add `--key-server' and `--gpg'.
  (show-help): Update accordingly.
  (update-package): New procedure, formerly in `guix-refresh'.
  (guix-refresh): Use it.  Parameterize `%openpgp-key-server' and
  `%gpg-command'.

11 years agognupg: Turn the GPG command name and keyserver into parameters.
Ludovic Courtès [Sat, 11 May 2013 10:44:19 +0000 (12:44 +0200)]
gnupg: Turn the GPG command name and keyserver into parameters.

* guix/gnupg.scm (%gpg-command): Turn into a SRFI-39 parameter.
  (%openpgp-key-server): Likewise.  Default to pgp.mit.edu, as
  keys.gnupg.net is unreliable.
  Update users.

11 years agognu: Add CHICKEN.
Ludovic Courtès [Sat, 11 May 2013 09:38:38 +0000 (11:38 +0200)]
gnu: Add CHICKEN.

* gnu/packages/scheme.scm (chicken): New variable.

11 years agoui: Invite users to try `--help' in the error message.
Ludovic Courtès [Fri, 10 May 2013 21:14:26 +0000 (23:14 +0200)]
ui: Invite users to try `--help' in the error message.

* guix/ui.scm (show-guix-usage): Mention `guix --help'.
  Suggested by Mark H. Weaver.
  (run-guix-command): Invoke it when a command is not found.
  (guix-main): Adjust accordingly.

11 years agoUpdate `NEWS'.
Ludovic Courtès [Fri, 10 May 2013 21:05:00 +0000 (23:05 +0200)]
Update `NEWS'.

11 years agopackage: Store the output path of packages installed with `-e'.
Ludovic Courtès [Fri, 10 May 2013 21:04:39 +0000 (23:04 +0200)]
package: Store the output path of packages installed with `-e'.

* guix/scripts/package.scm (guix-package)[process-actions](package->tuple):
  Put the output path in the tuple, not the derivation path.
* tests/guix-package.sh: Add test.

11 years agopackage: Make sure the dependencies get built along with the manifest.
Ludovic Courtès [Fri, 10 May 2013 20:46:19 +0000 (22:46 +0200)]
package: Make sure the dependencies get built along with the manifest.

Before this, something like "guix package -i glibc" could fail because
glibc lists linux-libre-headers as a propagated input (which would be
added as a dependency in the manifest) but the linux-libre-headers
output could be unavailable, leading to an error like this:

  path `/nix/store/4v2bk8sx5cm166gks3fi3q7d9zchibnk-linux-libre-headers-3.3.8' is not valid

This patch adds such dependencies as inputs of the profile derivation.

* guix/scripts/package.scm (profile-derivation): Accept package objects
  in the `deps' field of an element of PACKAGES.  Convert them to their
  output path for BUILDER, and add them to the inputs of the
  `build-expression->derivation' call.
  (input->name+path): When INPUT doesn't contain a package object,
  return it as is.
  (guix-package)[process-actions](canonicalize-deps): Expect DEPS to
  contain package objects, and leave them as is.

11 years agoUpdate `TODO'.
Ludovic Courtès [Fri, 10 May 2013 19:08:01 +0000 (21:08 +0200)]
Update `TODO'.

11 years agorefresh: Gracefully handle failure to download a tarball.
Ludovic Courtès [Fri, 10 May 2013 13:07:00 +0000 (15:07 +0200)]
refresh: Gracefully handle failure to download a tarball.

* guix/scripts/refresh.scm (guix-refresh): When updating a source file,
  gracefully handle the case where TARBALL is #f.
  Reported by Nikita Karetnikov <nikita@karetnikov.org>.

11 years agoui: Implement `guix --help'.
Ludovic Courtès [Fri, 10 May 2013 10:33:18 +0000 (12:33 +0200)]
ui: Implement `guix --help'.

* guix/ui.scm (command-files, commands, show-guix-help): New procedures.
  (guix-main): Invoke `show-guix-help' when passed `--help'.

11 years agoui: Gracefully report "command not found" errors.
Ludovic Courtès [Fri, 10 May 2013 10:14:01 +0000 (12:14 +0200)]
ui: Gracefully report "command not found" errors.

* guix/ui.scm (run-guix-command): Can `resolve-interface' errors and
  report them with `leave'.  Parameterize `program-name' from here.
  (guix-main): Remove parameterization of `program-name'.

11 years agognu-maintenance: Add GnuTLS FTP server.
Ludovic Courtès [Thu, 9 May 2013 23:15:04 +0000 (01:15 +0200)]
gnu-maintenance: Add GnuTLS FTP server.

* guix/gnu-maintenance.scm (ftp-server/directory)[quirks]: Add GnuTLS.

11 years agodownload: Fix premature socket close on TLS connections.
Ludovic Courtès [Thu, 9 May 2013 23:14:25 +0000 (01:14 +0200)]
download: Fix premature socket close on TLS connections.

This would manifest when downloading a large file such as the Bazaar
tarball, leading to an "Error in the pull function" GnuTLS exception.

* guix/build/download.scm (add-weak-reference): New procedure.
  (tls-wrap): Add (add-weak-reference record port).

11 years agopackage: Use ~/.guix-profile as the default for --search-paths.
Ludovic Courtès [Thu, 9 May 2013 20:58:23 +0000 (22:58 +0200)]
package: Use ~/.guix-profile as the default for --search-paths.

* guix/scripts/package.scm (search-path-environment-variables): Prefer
  %USER-ENVIRONMENT-DIRECTORY when it points to PROFILE.
  (display-search-paths): Use 3 spaces for indentation.

11 years agobuild: Make sure the user's Guile has all the required features.
Ludovic Courtès [Thu, 9 May 2013 20:26:51 +0000 (22:26 +0200)]
build: Make sure the user's Guile has all the required features.

* m4/guix.m4 (GUIX_ASSERT_GUILE_FEATURES): New macro.
* configure.ac: Use it.

11 years agognu: geiser: Update to 0.4.
Ludovic Courtès [Wed, 8 May 2013 22:16:53 +0000 (00:16 +0200)]
gnu: geiser: Update to 0.4.

* gnu/packages/emacs.scm (geiser): Update to 0.4.

11 years agognu: Add GNU Bazaar.
Nikita Karetnikov [Wed, 8 May 2013 20:46:13 +0000 (20:46 +0000)]
gnu: Add GNU Bazaar.

* gnu/packages/bazaar.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agoAdd 'python-build-system'.
Nikita Karetnikov [Wed, 8 May 2013 22:44:28 +0000 (22:44 +0000)]
Add 'python-build-system'.

* guix/build-system/python.scm, guix/build/python-build-system.scm: New files.
* Makefile.am (MODULES): Add them.

11 years agoAdd (guix build rpath).
Ludovic Courtès [Wed, 8 May 2013 21:24:05 +0000 (23:24 +0200)]
Add (guix build rpath).

* guix/build/rpath.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/packages/python.scm (python): Use it; remove local copy of
  the *rpath* procedures.
* gnu/packages/samba.scm (samba): Likewise.

11 years agognu: Add tzdata.
Ludovic Courtès [Wed, 8 May 2013 20:44:21 +0000 (22:44 +0200)]
gnu: Add tzdata.

* gnu/packages/base.scm (tzdata): New variable.

11 years agognu: Add cryptsetup.
Andreas Enge [Wed, 8 May 2013 14:35:34 +0000 (16:35 +0200)]
gnu: Add cryptsetup.

* gnu/packages/cryptsetup.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: Add lvm2.
Andreas Enge [Wed, 8 May 2013 14:24:03 +0000 (16:24 +0200)]
gnu: Add lvm2.

* gnu/packages/lvm.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agodoc: Update `NEWS'.
Ludovic Courtès [Wed, 8 May 2013 14:08:25 +0000 (16:08 +0200)]
doc: Update `NEWS'.

* NEWS: Update.

11 years agodoc: Document `guix refresh'.
Ludovic Courtès [Wed, 8 May 2013 14:07:50 +0000 (16:07 +0200)]
doc: Document `guix refresh'.

* doc/guix.texi (Defining Packages): Add cross-reference to "Invoking
  guix refresh".
  (Invoking guix refresh): New node.

11 years agopackage: Display the output of packages to be installed/removed.
Ludovic Courtès [Wed, 8 May 2013 13:21:47 +0000 (15:21 +0200)]
package: Display the output of packages to be installed/removed.

* guix/scripts/package.scm (guix-package)[show-what-to-remove/install]:
  Display the output name.

11 years agopackage: Preserve the installed package output when upgrading.
Ludovic Courtès [Wed, 8 May 2013 13:11:20 +0000 (15:11 +0200)]
package: Preserve the installed package output when upgrading.

* guix/scripts/package.scm (guix-package)[find-package]: Add optional
  parameter `output'.  Use it.
  [process-actions]: When computing UPGRADE, pass OUTPUT to
  `find-package'.

11 years agognu: python: Build the shared library.
Ludovic Courtès [Tue, 7 May 2013 23:50:21 +0000 (01:50 +0200)]
gnu: python: Build the shared library.

* gnu/packages/python.scm (python): Add `--enable-shared'.  Add
  #:modules and #:phases.  Add PatchELF as an input.

11 years agognu: gsasl: Propagate GnuTLS.
Ludovic Courtès [Tue, 7 May 2013 23:47:38 +0000 (01:47 +0200)]
gnu: gsasl: Propagate GnuTLS.

* gnu/packages/gsasl.scm (gsasl): Move GnuTLS to `propagated-inputs'.

11 years agognu: Add Hugs.
Nikita Karetnikov [Tue, 7 May 2013 20:07:52 +0000 (20:07 +0000)]
gnu: Add Hugs.

* gnu/packages/hugs.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agoui: Capitalize informative messages.
Ludovic Courtès [Tue, 7 May 2013 11:28:11 +0000 (13:28 +0200)]
ui: Capitalize informative messages.

* guix/ui.scm (show-what-to-build): Capitalize user messages, as per the
  GCS (info "(standards) Errors").

11 years agopackage: Fix spacing in user messages.
Ludovic Courtès [Tue, 7 May 2013 11:23:30 +0000 (13:23 +0200)]
package: Fix spacing in user messages.

* guix/scripts/package.scm (guix-package)[process-actions]: Fix spacing.

11 years agognu: help2man: Update to 1.41.2.
Ludovic Courtès [Mon, 6 May 2013 22:21:18 +0000 (00:21 +0200)]
gnu: help2man: Update to 1.41.2.

* gnu/packages/help2man.scm (help2man): Update to 1.41.2.

11 years agognu: guile-ncurses: Update to 1.4.
Ludovic Courtès [Mon, 6 May 2013 22:13:28 +0000 (00:13 +0200)]
gnu: guile-ncurses: Update to 1.4.

* gnu/packages/guile.scm (guile-ncurses): Update to 1.4.

11 years agognu: Add GNU FreeIPMI.
Ludovic Courtès [Mon, 6 May 2013 22:12:18 +0000 (00:12 +0200)]
gnu: Add GNU FreeIPMI.

* gnu/packages/freeipmi.scm: New file.
* Makefile.am (MODULES): Add it.

11 years agognu: gv: Move to a separate file.
Ludovic Courtès [Mon, 6 May 2013 21:50:30 +0000 (23:50 +0200)]
gnu: gv: Move to a separate file.

* gnu/packages/ghostscript.scm (ghostscript): Remove libxext and libxt
  as inputs.
  (gv): Move to...
* gnu/packages/gv.scm (gv): ... here.  New file.
  (ghostscript/x): Variant of GHOSTSCRIPT with libxt and libxext as
  inputs.

11 years agognu: freetype: Use mirror:// URL.
Ludovic Courtès [Mon, 6 May 2013 21:48:36 +0000 (23:48 +0200)]
gnu: freetype: Use mirror:// URL.

* gnu/packages/fontutils.scm (freetype): Use mirror://savannah URL.

11 years agorefresh: Change default to not update source files.
Ludovic Courtès [Mon, 6 May 2013 20:31:22 +0000 (22:31 +0200)]
refresh: Change default to not update source files.

* guix/scripts/refresh.scm (%options): Change `--dry-run' to `--update'.
  (show-help): Adjust accordingly.
  (guix-refresh): Likewise.

11 years agognu: Add GNU gv.
Andreas Enge [Sun, 5 May 2013 09:23:13 +0000 (11:23 +0200)]
gnu: Add GNU gv.

* gnu/packages/ghostscript.scm (gv): New variable.

11 years agognu: ghostscript: Add X support.
Andreas Enge [Sun, 5 May 2013 09:19:26 +0000 (11:19 +0200)]
gnu: ghostscript: Add X support.

* gnu/packages/ghostscript.scm (ghostscript): Add X related inputs.

11 years agognu: Add libxaw3d.
Andreas Enge [Sun, 5 May 2013 08:45:55 +0000 (10:45 +0200)]
gnu: Add libxaw3d.

* gnu/packages/xorg.scm (libxaw3d): New variable.

11 years agognu: Add atk.
Andreas Enge [Sat, 4 May 2013 22:06:32 +0000 (00:06 +0200)]
gnu: Add atk.

* gnu/packages/gtk.scm: New module.
* Makefile.am (MODULES): Add it.

11 years agognu: Add id3lib.
Andreas Enge [Sat, 4 May 2013 21:13:22 +0000 (23:13 +0200)]
gnu: Add id3lib.

* gnu/packages/mp3.scm (id3lib): New variable.

11 years agognu: Have python paths set automatically..
Andreas Enge [Wed, 1 May 2013 20:24:49 +0000 (22:24 +0200)]
gnu: Have python paths set automatically..

* gnu/packages/xorg.scm (meas): Drop special handling of python paths.
* gnu/packages/xml.scm (libxslt): Drop special handling of python paths.

11 years agognu: xorg: Have perl paths set automatically.
Andreas Enge [Wed, 1 May 2013 19:38:05 +0000 (21:38 +0200)]
gnu: xorg: Have perl paths set automatically.

* gnu/packages/xorg.scm (xkeyboard-config): Drop special handling of perl paths.

11 years agoMerge branch 'core-updates'
Ludovic Courtès [Tue, 30 Apr 2013 15:06:00 +0000 (17:06 +0200)]
Merge branch 'core-updates'

11 years agoutils: Adjust 'wrap-program'.
Nikita Karetnikov [Sun, 28 Apr 2013 16:08:23 +0000 (16:08 +0000)]
utils: Adjust 'wrap-program'.

* guix/build/utils.scm (wrap-program): Fix computation of PROG-REAL and
  PROG-TMP when PROG is an absolute file name.  Add "$@" in the
  generated script, and quote PROG-REAL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
11 years agosubstitute-binary: Support decompression from non-file ports.
Ludovic Courtès [Mon, 29 Apr 2013 21:25:19 +0000 (23:25 +0200)]
substitute-binary: Support decompression from non-file ports.

* guix/scripts/substitute-binary.scm (filtered-port): Move to utils.scm.
  (decompressed-port): Upon "none", return '() as the second value.
  (guix-substitute-binary): Expect `decompressed-port' to return a list
  of PIDs as its second value.
* guix/utils.scm (filtered-port): New procedure.  Add case for when
  INPUT is not `file-port?'.
* tests/utils.scm ("filtered-port, file", "filtered-port, non-file"):
  New tests.

11 years agobuild: Add silent-rules machinery for `guild compile'.
Ludovic Courtès [Mon, 29 Apr 2013 20:00:24 +0000 (22:00 +0200)]
build: Add silent-rules machinery for `guild compile'.

* Makefile.am (AM_V_GUILEC, AM_V_GUILEC_, AM_V_GUILEC_0): New
  variables.
  (.scm.go): Use $(AM_V_GUILEC).

11 years agobuild: Replace *.log in `CLEANFILES' by the exact list of files.
Ludovic Courtès [Mon, 29 Apr 2013 19:52:21 +0000 (21:52 +0200)]
build: Replace *.log in `CLEANFILES' by the exact list of files.

* Makefile.am (SCM_TESTS, SH_TESTS): New variables.
  (TESTS): Use them.
  (CLEANFILES): Replace *.log by $(SCM_TESTS:%.scm=%.log).

11 years agognu: make-bootstrap: Fix %glibc-stripped.
Ludovic Courtès [Sun, 28 Apr 2013 22:28:36 +0000 (00:28 +0200)]
gnu: make-bootstrap: Fix %glibc-stripped.

* gnu/packages/make-bootstrap.scm (%glibc-stripped): Add `outputs' field.

11 years agobuild-system/gnu: Fix default name for the "doc" output directory.
Ludovic Courtès [Sat, 27 Apr 2013 15:27:16 +0000 (17:27 +0200)]
build-system/gnu: Fix default name for the "doc" output directory.

* guix/build/gnu-build-system.scm (configure)[package-name]: Drop the
  prefix corresponding to the hash part of OUT.

11 years agoguix package: Add `--search-paths' & co.
Ludovic Courtès [Sun, 28 Apr 2013 21:05:57 +0000 (23:05 +0200)]
guix package: Add `--search-paths' & co.

* guix/scripts/package.scm (search-path-environment-variables,
  display-search-paths): New procedures.
  (show-help, %options): Add `--search-paths'.
  (guix-package)[process-actions]: Call `display-search-paths' once the
  profile is ready.
  [process-query]: Honor `search-paths'.

11 years agoutils: Add `string-tokenize*'.
Ludovic Courtès [Sun, 28 Apr 2013 19:38:40 +0000 (21:38 +0200)]
utils: Add `string-tokenize*'.

* guix/utils.scm (string-tokenize*): New procedure.
* tests/utils.scm ("string-tokenize*"): New test.

11 years agognu: xpdf: Use gs-fonts to provide standard postscript fonts.
Andreas Enge [Sun, 28 Apr 2013 20:05:27 +0000 (22:05 +0200)]
gnu: xpdf: Use gs-fonts to provide standard postscript fonts.

* gnu/packages/pdf (xpdf): Add path to gs-fonts in xpdfrc.

11 years agognu: Add gs-fonts.
Andreas Enge [Sun, 28 Apr 2013 19:12:55 +0000 (21:12 +0200)]
gnu: Add gs-fonts.

* gnu/packages/ghostscript.scm (gs-fonts): New variable.

11 years agopackages: Work around compiler bug in Guile 2.0.5.
Ludovic Courtès [Sat, 27 Apr 2013 21:02:06 +0000 (23:02 +0200)]
packages: Work around compiler bug in Guile 2.0.5.

* guix/packages.scm (package-field-location): Work around compiler bug
  in 2.0.5.  Reported by Andreas Enge <andreas@enge.fr>.

11 years agoweb: Add workaround for <http://bugs.gnu.org/13095>.
Ludovic Courtès [Sat, 27 Apr 2013 21:00:51 +0000 (23:00 +0200)]
web: Add workaround for <bugs.gnu.org/13095>.

* guix/web.scm: Add workaround for <http://bugs.gnu.org/13095>.

11 years agoweb: Add 2.0.5 workaround for responses without content-length.
Ludovic Courtès [Sat, 27 Apr 2013 21:00:21 +0000 (23:00 +0200)]
web: Add 2.0.5 workaround for responses without content-length.

* guix/web.scm (read-response-body*)[when-guile<=2.0.5]: Support
  responses without content-length.
  Reported by Andreas Enge <andreas@enge.fr>.

11 years agognu-maintenance: Fix error message of `update-package-source'.
Ludovic Courtès [Sat, 27 Apr 2013 20:52:43 +0000 (22:52 +0200)]
gnu-maintenance: Fix error message of `update-package-source'.

* guix/gnu-maintenance.scm (update-package-source): In the (not loc)
  case, pass the location first and convert it to a string.

11 years agodoc: Update `NEWS'.
Ludovic Courtès [Sat, 27 Apr 2013 15:10:41 +0000 (17:10 +0200)]
doc: Update `NEWS'.

* NEWS: Populate.

11 years agoui: Add `args-fold*' and use it.
Ludovic Courtès [Sat, 27 Apr 2013 14:46:39 +0000 (16:46 +0200)]
ui: Add `args-fold*' and use it.

* guix/ui.scm (args-fold*): New procedure.
* guix/scripts/build.scm, guix/scripts/download.scm,
  guix/scripts/gc.scm, guix/scripts/hash.scm, guix/scripts/import.scm,
  guix/scripts/package.scm, guix/scripts/pull.scm,
  guix/scripts/refresh.scm: Use `args-fold*' instead of `args-fold'.

11 years agoui: Use consistent spacing in `show-what-to-build' messages.
Ludovic Courtès [Sat, 27 Apr 2013 14:37:09 +0000 (16:37 +0200)]
ui: Use consistent spacing in `show-what-to-build' messages.

* guix/ui.scm (show-what-to-build): Use consistent spacing in "the
  following..." messages.

11 years agognu: Update libgpg-error and libassuan.
Ludovic Courtès [Sat, 27 Apr 2013 14:30:01 +0000 (16:30 +0200)]
gnu: Update libgpg-error and libassuan.

* gnu/packages/gnupg.scm (libgpg-error): Update to 1.11.
  (libassuan): Update to 2.1.0.

11 years agognu-maintenance: Fix `latest-release' for GnuPG.
Ludovic Courtès [Sat, 27 Apr 2013 14:26:48 +0000 (16:26 +0200)]
gnu-maintenance: Fix `latest-release' for GnuPG.

* guix/gnu-maintenance.scm (latest-release): Filter out directories
  whose name does not contain digits early in the process.  This fixes
  (latest-release "gnupg").

11 years agoftp-client: `ftp-chdir' changes one step at a time.
Ludovic Courtès [Sat, 27 Apr 2013 14:25:54 +0000 (16:25 +0200)]
ftp-client: `ftp-chdir' changes one step at a time.

* guix/ftp-client.scm (%char-set:not-slash): New variable.
  (ftp-chdir): Add docstring.  Change to DIR one step at a time.
  (ftp-retr): Fix indentation.

11 years agognu: bison: Update to 2.7.1.
Ludovic Courtès [Sat, 27 Apr 2013 10:18:21 +0000 (12:18 +0200)]
gnu: bison: Update to 2.7.1.

* gnu/packages/bison.scm (bison): Update to 2.7.1.

11 years agognu: gprolog: Update to 1.4.4.
Ludovic Courtès [Sat, 27 Apr 2013 10:13:21 +0000 (12:13 +0200)]
gnu: gprolog: Update to 1.4.4.

* gnu/packages/gprolog.scm (gprolog): Update to 1.4.4.

11 years agognu: gdb: Update to 7.6.
Ludovic Courtès [Sat, 27 Apr 2013 10:11:54 +0000 (12:11 +0200)]
gnu: gdb: Update to 7.6.

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

11 years agopull: Use `download-to-store'.
Ludovic Courtès [Sat, 27 Apr 2013 09:40:18 +0000 (11:40 +0200)]
pull: Use `download-to-store'.

* guix/scripts/pull.scm (download-and-store): Remove.
  (unpack): Use `download-to-store' instead.

11 years agoweb: Backport chunked encoding support for Guile <= 2.0.5.
Ludovic Courtès [Sat, 27 Apr 2013 09:37:31 +0000 (11:37 +0200)]
web: Backport chunked encoding support for Guile <= 2.0.5.

* guix/web.scm (when-guile<=2.0.5): New macro.
  (read-chunk-header, read-chunk, read-chunk-body,
  make-chunked-input-port, read-response-body*)[when-guile<=2.0.5]: New
  procedures.
  (http-fetch): Clarify message when (not data).

11 years agobuild: Explicitly require Guile >= 2.0.5.
Ludovic Courtès [Sat, 27 Apr 2013 09:28:36 +0000 (11:28 +0200)]
build: Explicitly require Guile >= 2.0.5.

* configure.ac: Require guile-2.0 >= 2.0.5.

11 years agognu: gawk: Update to 4.0.2.
Ludovic Courtès [Fri, 26 Apr 2013 22:23:45 +0000 (00:23 +0200)]
gnu: gawk: Update to 4.0.2.

* gnu/packages/gawk.scm (gawk): Update to 4.0.2.

11 years agognu: patch: Update to 2.7.1.
Ludovic Courtès [Fri, 26 Apr 2013 22:23:19 +0000 (00:23 +0200)]
gnu: patch: Update to 2.7.1.

* gnu/packages/base.scm (patch): Update to 2.7.1.

11 years agognu: Binutils 2.23.2 and GCC 4.7.3.
Ludovic Courtès [Fri, 26 Apr 2013 20:51:07 +0000 (22:51 +0200)]
gnu: Binutils 2.23.2 and GCC 4.7.3.

* gnu/packages/base.scm (binutils): Update to 2.23.2.
  (binutils-2.23, ld-wrapper-2.23): Remove.
  (gcc-4.8): Move to...
* gnu/packages/gcc.scm (gcc-4.8): ... here.
  (gcc-4.7): Update to 4.7.3.  Add dependencies on ISL, CLooG, libelf,
  and zlib.

11 years agognu: guile: Default to 2.0.9.
Ludovic Courtès [Fri, 26 Apr 2013 20:48:17 +0000 (22:48 +0200)]
gnu: guile: Default to 2.0.9.

* gnu/packages/guile.scm (guile-2.0/fixed): Switch to `guile-2.0'.

11 years agognu: diffutils: Update to 3.3.
Ludovic Courtès [Fri, 26 Apr 2013 20:13:14 +0000 (22:13 +0200)]
gnu: diffutils: Update to 3.3.

* gnu/packages/base.scm (diffutils): Update to 3.3.

11 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Fri, 26 Apr 2013 14:43:08 +0000 (16:43 +0200)]
Merge branch 'master' into core-updates

Conflicts:
Makefile.am
gnu/packages/autotools.scm
gnu/packages/guile.scm
gnu/packages/python.scm
gnu/packages/shishi.scm
guix/gnu-maintenance.scm
guix/scripts/build.scm
guix/scripts/gc.scm
guix/scripts/package.scm
guix/scripts/substitute-binary.scm
guix/ui.scm
nix/nix-daemon/guix-daemon.cc
test-env.in
tests/nar.scm
tests/store.scm

11 years agognu: libgcrypt: Update to 1.5.2.
Ludovic Courtès [Thu, 25 Apr 2013 21:21:49 +0000 (23:21 +0200)]
gnu: libgcrypt: Update to 1.5.2.

* gnu/packages/gnupg.scm (libgcrypt): Update to 1.5.2.

11 years agognu: dejagnu: Update to 1.5.1.
Ludovic Courtès [Thu, 25 Apr 2013 21:19:52 +0000 (23:19 +0200)]
gnu: dejagnu: Update to 1.5.1.

* gnu/packages/dejagnu.scm (dejagnu): Update to 1.5.1.

11 years agognu: nano: Update to 2.3.2.
Ludovic Courtès [Thu, 25 Apr 2013 21:18:20 +0000 (23:18 +0200)]
gnu: nano: Update to 2.3.2.

* gnu/packages/nano.scm (nano): Update to 2.3.2.

11 years agognu: ed: Update to 1.8.
Ludovic Courtès [Thu, 25 Apr 2013 21:07:59 +0000 (23:07 +0200)]
gnu: ed: Update to 1.8.

* gnu/packages/ed.scm (ed): Update to 1.8.

11 years agognu-maintenance: Add newline in warning messages.
Ludovic Courtès [Thu, 25 Apr 2013 21:07:24 +0000 (23:07 +0200)]
gnu-maintenance: Add newline in warning messages.

* guix/gnu-maintenance.scm (download-tarball): Add newline in warning
  messages.

11 years agodoc: Add note on installing Guix from Guix.
Ludovic Courtès [Thu, 25 Apr 2013 21:01:05 +0000 (23:01 +0200)]
doc: Add note on installing Guix from Guix.

* README (Installing Guix from Guix): New section.
  Suggested by Alex Sassmannshausen <alex.sassmannshausen@gmail.com>.

11 years agorefresh: Add `--select'.
Ludovic Courtès [Thu, 25 Apr 2013 20:56:25 +0000 (22:56 +0200)]
refresh: Add `--select'.

* guix/scripts/refresh.scm (%options): Add `--select'.
  (show-help): Likewise.  Augment initial help text.
  (guix-refresh)[core-package?]: New procedure.
  Use it when selecting packages.

11 years agoweb: Factorize `http-get' hackery.
Ludovic Courtès [Thu, 25 Apr 2013 20:06:48 +0000 (22:06 +0200)]
web: Factorize `http-get' hackery.

This should fix `substitute-binary --query' on Guile 2.0.5.

* guix/web.scm: New file.
* Makefile.am (MODULES): Add it.
* po/POTFILES.in: Add it.
* guix/gnu-maintenance.scm (http-fetch): Remove.
  (%package-list-url): Turn into a URI.
  (official-gnu-packages): Add #:text? #t to `http-fetch' call.
* guix/scripts/substitute-binary.scm (fetch): Remove `http' case, and
  use `http-fetch' instead.

11 years agognu: wdiff: Update to 1.2.1.
Ludovic Courtès [Wed, 24 Apr 2013 22:10:15 +0000 (00:10 +0200)]
gnu: wdiff: Update to 1.2.1.

* gnu/packages/wdiff.scm (wdiff): Update to 1.2.1.  Add Texinfo as an input.

11 years agognu: nettle: Update to 2.7.
Ludovic Courtès [Wed, 24 Apr 2013 22:06:39 +0000 (00:06 +0200)]
gnu: nettle: Update to 2.7.

* gnu/packages/nettle.scm (nettle): Update to 2.7.

11 years agognu: libtasn1: Update to 3.3.
Ludovic Courtès [Wed, 24 Apr 2013 22:06:19 +0000 (00:06 +0200)]
gnu: libtasn1: Update to 3.3.

* gnu/packages/gnutls.scm (libtasn1): Update to 3.3.

11 years agognu-maintenance: Optimize `gnu-package?'.
Ludovic Courtès [Wed, 24 Apr 2013 21:49:05 +0000 (23:49 +0200)]
gnu-maintenance: Optimize `gnu-package?'.

* guix/gnu-maintenance.scm (gnu-package?): Capture a memoizing version
  of `gnu-package?'.