jackhill/guix/guix.git
10 years agoUpdate eo.po.
Ludovic Courtès [Wed, 10 Jul 2013 18:01:46 +0000 (20:01 +0200)]
Update eo.po.

10 years agognu-maintenance: Add `doc-description' field to <gnu-package-descriptor>.
Ludovic Courtès [Wed, 10 Jul 2013 20:33:40 +0000 (22:33 +0200)]
gnu-maintenance: Add `doc-description' field to <gnu-package-descriptor>.

* guix/gnu-maintenance.scm (%gsrc-package-list-url): New variable.
  (<gnu-package-descriptor>): Add `doc-description' field.
  (official-gnu-packages)[group-package-fields]: Rename to...
  [read-records]: ... this.  Reverse the result.
  [gsrc-description]: New procedure.
  Add the "description" field to the alist passed to `alist->record'.

10 years agorecords: `recutils->alist' recognizes lines starting with a `+'.
Ludovic Courtès [Wed, 10 Jul 2013 16:26:46 +0000 (18:26 +0200)]
records: `recutils->alist' recognizes lines starting with a `+'.

* guix/records.scm (%recutils-plus-rx): New variable.
  (recutils->alist): Use it to read + lines.
* tests/records.scm ("recutils->alist with + lines"): New test.

10 years agognu-maintenance: Use `recutils->alist'.
Ludovic Courtès [Wed, 10 Jul 2013 16:08:09 +0000 (18:08 +0200)]
gnu-maintenance: Use `recutils->alist'.

* guix/gnu-maintenance.scm (official-gnu-packages)[group-package-fields]:
  Rewrite in terms of `recutils->alist'.  Remove `state' parameter.
  Specify "doc-url" and "language" as multiple-value keys in the
  `alist->record' call.

10 years agorecords: `alist->record' supports multiple-field occurrences.
Ludovic Courtès [Wed, 10 Jul 2013 16:04:08 +0000 (18:04 +0200)]
records: `alist->record' supports multiple-field occurrences.

* guix/records.scm (alist->record): Add `multiple-value-keys'
  parameter.  Update docstring, and honor it.
* tests/records.scm ("alist->record"): New record.

10 years agorecords: `recutils->alist' recognizes comments.
Ludovic Courtès [Wed, 10 Jul 2013 15:01:47 +0000 (17:01 +0200)]
records: `recutils->alist' recognizes comments.

* guix/records.scm (%recutils-comment-rx): New variable.
  (recutils->alist): Match comments.
* tests/records.scm ("recutils->alist"): Add comments.

10 years agorecords: Add `recutils->alist' for public consumption.
Ludovic Courtès [Wed, 10 Jul 2013 14:54:17 +0000 (16:54 +0200)]
records: Add `recutils->alist' for public consumption.

* guix/records.scm (%recutils-field-rx): New variable.
  (recutils->alist): New procedure, formerly known as `fields->alist'.
* guix/scripts/substitute-binary.scm (fields->alist): Use it.
* tests/records.scm ("recutils->alist"): New test.

10 years agognu: libpng: Upgrade to 1.5.17.
Ludovic Courtès [Wed, 10 Jul 2013 13:55:39 +0000 (15:55 +0200)]
gnu: libpng: Upgrade to 1.5.17.

* gnu/packages/libpng.scm (libpng): Upgrade to 1.5.17.

10 years agolist-packages: Write out the HTML page as UTF-8.
Ludovic Courtès [Wed, 10 Jul 2013 09:52:35 +0000 (11:52 +0200)]
list-packages: Write out the HTML page as UTF-8.

* build-aux/list-packages.scm (list-packages): Install the "C" locale.
  Write out as UTF-8.

10 years agotests: Fix guix-package.sh in the presence of multiple-output `make'.
Ludovic Courtès [Tue, 9 Jul 2013 23:00:19 +0000 (01:00 +0200)]
tests: Fix guix-package.sh in the presence of multiple-output `make'.

* tests/guix-package.sh: For $boot_make_drv, take only the "out" output.
  Reported by Nikita Karetnikov <nikita@karetnikov.org>.

10 years agoAdd `build-aux/list-packages.scm'.
Ludovic Courtès [Tue, 9 Jul 2013 22:27:53 +0000 (00:27 +0200)]
Add `build-aux/list-packages.scm'.

* build-aux/list-packages.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.

10 years agoMerge branch 'core-updates'
Ludovic Courtès [Tue, 9 Jul 2013 20:17:18 +0000 (22:17 +0200)]
Merge branch 'core-updates'

10 years agodoc: Add "Installing Debugging Files".
Ludovic Courtès [Mon, 8 Jul 2013 22:24:54 +0000 (00:24 +0200)]
doc: Add "Installing Debugging Files".

* doc/guix.texi (Installing Debugging Files): New node.
  (Packages with Multiple Outputs): Add cross-reference.

10 years agodoc: Add "Packages with Multiple Outputs" section.
Ludovic Courtès [Mon, 8 Jul 2013 21:33:45 +0000 (23:33 +0200)]
doc: Add "Packages with Multiple Outputs" section.

* doc/guix.texi (Packages with Multiple Outputs): New node.
  (Invoking guix package): Refer to it.

10 years agotests: Adjust `package-field-location' test for Guile <= 2.0.6.
Ludovic Courtès [Mon, 8 Jul 2013 20:53:31 +0000 (22:53 +0200)]
tests: Adjust `package-field-location' test for Guile <= 2.0.6.

* tests/packages.scm ("package-field-location"): Check the result of
  `read-at' against both VALUE and (FIELD VALUE).
  Reported by Matthew Lien - 練喆明" <bluet@bluet.org>.

10 years agobuild: Set the umask to 0022 before running the daemon for tests.
Ludovic Courtès [Mon, 8 Jul 2013 20:37:02 +0000 (22:37 +0200)]
build: Set the umask to 0022 before running the daemon for tests.

* test-env.in: Run "umask 0022" before running the daemon.
  Reported by Matthew Lien - 練喆明 <bluet@bluet.org>

10 years agobuild: Set the umask to 0022 before running the daemon for tests.
Ludovic Courtès [Mon, 8 Jul 2013 20:37:02 +0000 (22:37 +0200)]
build: Set the umask to 0022 before running the daemon for tests.

* test-env.in: Run "umask 0022" before running the daemon.
  Reported by Matthew Lien - 練喆明 <bluet@bluet.org>

10 years agognu: gettext: Upgrade to 0.18.3.
Ludovic Courtès [Sun, 7 Jul 2013 22:13:15 +0000 (00:13 +0200)]
gnu: gettext: Upgrade to 0.18.3.

* gnu/packages/gettext.scm (gettext): Upgrade to 0.18.3.
  Remove patch.  Change `patch-tests' phase to use (which "sh'); keep it
  regardless of whether we're cross compiling.

10 years agognu: tzdata: Upgrade to 2013d.
Ludovic Courtès [Sun, 7 Jul 2013 21:40:36 +0000 (23:40 +0200)]
gnu: tzdata: Upgrade to 2013d.

* gnu/packages/base.scm (tzdata): Upgrade to 2013d.

10 years agodoc: Move the packaging guidelines to the manual.
Ludovic Courtès [Sun, 7 Jul 2013 21:26:31 +0000 (23:26 +0200)]
doc: Move the packaging guidelines to the manual.

* HACKING (Packaging Guidelines): Remove.
* doc/guix.texi (Packaging Guidelines): New node.

10 years agodoc: Add a "Porting" section.
Ludovic Courtès [Sat, 6 Jul 2013 23:02:48 +0000 (01:02 +0200)]
doc: Add a "Porting" section.

* HACKING (Porting the Guix distro on a new platform): Remove.
* doc/guix.texi (Porting): New node.  Describe cross-compilation as the
  only approach.

10 years agodoc: Add a "Boostrapping" section.
Ludovic Courtès [Sat, 6 Jul 2013 22:29:50 +0000 (00:29 +0200)]
doc: Add a "Boostrapping" section.

* doc/guix.texi (Package Modules): New node, with material formerly
  under "GNU Distribution".
  (Bootstrapping): New node.
* Makefile.am (EXTRA_DIST): Add doc/images/bootstrap-graph.dot and
  doc/images/bootstrap-graph.eps.
  (infoimagedir, dist_infoimage_DATA, DOT_OPTIONS): New variable.
  (.dot.png, .dot.eps, doc/guix.pdf, doc/guix.info, doc/guix.ps): New
  targets.
* doc/images/bootstrap-graph.dot: New file.

10 years agognu: gcc: Add Texinfo to the native inputs.
Ludovic Courtès [Sat, 6 Jul 2013 16:08:29 +0000 (18:08 +0200)]
gnu: gcc: Add Texinfo to the native inputs.

* gnu/packages/gcc.scm (gcc-4.7): Add `native-inputs' field.
  (gcc-4.8): Remove outdated comment.
* gnu/packages/base.scm (gcc-boot0): Add `native-inputs' field.

10 years agobuild: Bail out on unsupported platforms; add `--with-courage'.
Ludovic Courtès [Fri, 5 Jul 2013 19:54:52 +0000 (21:54 +0200)]
build: Bail out on unsupported platforms; add `--with-courage'.

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

10 years agognu: make-bootstrap: guile-static-stripped has no "debug" output.
Ludovic Courtès [Fri, 5 Jul 2013 12:39:47 +0000 (14:39 +0200)]
gnu: make-bootstrap: guile-static-stripped has no "debug" output.

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

10 years agobuild: Correctly determine the system type for non-Linux systems.
Ludovic Courtès [Fri, 5 Jul 2013 12:14:21 +0000 (14:14 +0200)]
build: Correctly determine the system type for non-Linux systems.

* m4/guix.m4 (GUIX_SYSTEM_TYPE): Find `sed'.  Fix sed pattern in the
  non-Linux case.

10 years agostore: Deal with unsupported `setsockopt' operation on GNU/Hurd.
Ludovic Courtès [Thu, 4 Jul 2013 20:49:00 +0000 (22:49 +0200)]
store: Deal with unsupported `setsockopt' operation on GNU/Hurd.

* guix/store.scm (open-connection): Silently ignore ENOPROTOOPT on
  `setsockopt' calls, for the sake of GNU/Hurd.
  Reported by Matthew Lien <bluet@bluet.org> at
  <http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00020.html>.

10 years agodaemon: Make argp usage compatible with libc on GNU/Hurd.
Ludovic Courtès [Thu, 4 Jul 2013 20:46:26 +0000 (22:46 +0200)]
daemon: Make argp usage compatible with libc on GNU/Hurd.

* nix/nix-daemon/guix-daemon.cc (parse_opt): Cast return value to
  `error_t' for the sake of GNU/Hurd.
  Reported by Matthew Lien <bluet@bluet.org> at
  <http://lists.gnu.org/archive/html/bug-guix/2013-07/msg00002.html>.

10 years agoImport (guix hash) in build-aux/download.scm.
Ludovic Courtès [Thu, 4 Jul 2013 11:43:54 +0000 (13:43 +0200)]
Import (guix hash) in build-aux/download.scm.

* build-aux/download.scm: Import (guix hash).
  Reported by Matthew Lien <bluet@bluet.org>.

10 years agobuild-system/gnu: Remove the "debug" output when `strip-binaries?' is #f.
Ludovic Courtès [Thu, 4 Jul 2013 11:26:35 +0000 (13:26 +0200)]
build-system/gnu: Remove the "debug" output when `strip-binaries?' is #f.

* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Delete "debug"
  from OUTPUTS when STRIP-BINARIES? is false.
* gnu/packages/cross-base.scm (cross-libc): Leave `outputs' unchanged.
  This reverts commit a4627d4.

10 years agognu: cross-libc: Remove the "debug" output.
Ludovic Courtès [Thu, 4 Jul 2013 09:08:28 +0000 (11:08 +0200)]
gnu: cross-libc: Remove the "debug" output.

* gnu/packages/cross-base.scm (cross-libc): Remove "debug" from the
  `outputs' field.

10 years agognu: Add a "debug" output for some packages.
Ludovic Courtès [Wed, 3 Jul 2013 21:55:04 +0000 (23:55 +0200)]
gnu: Add a "debug" output for some packages.

* gnu/packages/base.scm (coreutils, gnu-make, glibc): Add a "debug" output.
* gnu/packages/bdw-gc.scm (libgc): Likewise.
* gnu/packages/guile.scm (guile-2.0): Likewise.
* gnu/packages/libffi.scm (libffi): Likewise.
* gnu/packages/multiprecision.scm (gmp, mpfr, mpc): Likewise.

10 years agobuild-system/gnu: Write debug files to the "debug" sub-derivation, if any.
Ludovic Courtès [Wed, 3 Jul 2013 21:53:31 +0000 (23:53 +0200)]
build-system/gnu: Write debug files to the "debug" sub-derivation, if any.

* guix/build/gnu-build-system.scm (strip): Add `objcopy-command' keyword
  parameter.
  [debug-output, debug-file-extension]: New variables.
  [debug-file, make-debug-file, add-debug-link]: New procedures.
  [strip-dir]: Use them.

10 years agoutils: Re-export `alist-cons' and `alist-delete'.
Ludovic Courtès [Wed, 3 Jul 2013 21:08:41 +0000 (23:08 +0200)]
utils: Re-export `alist-cons' and `alist-delete'.

* guix/build/utils.scm: Re-export `alist-cons' and `alist-delete'.

10 years agognu: Add noweb.
Ludovic Courtès [Wed, 3 Jul 2013 13:10:34 +0000 (15:10 +0200)]
gnu: Add noweb.

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

10 years agognu: qemu: Upgrade to 1.5.1.
Ludovic Courtès [Tue, 2 Jul 2013 23:04:57 +0000 (01:04 +0200)]
gnu: qemu: Upgrade to 1.5.1.

* gnu/packages/qemu.scm (qemu-kvm): Add `--cc' configure option.
  Add PIXMAN and ALSA-LIB as inputs.
  (qemu): Upgrade to 1.5.1  Remove autotool hack for pixman.  Patch
  tests/libqtest.c.  Remove Autoconf, Automake, and Libtool from the
  inputs.  Fix `home-page'.

10 years agoUpdate `NEWS' and `TODO'.
Ludovic Courtès [Tue, 2 Jul 2013 20:58:50 +0000 (22:58 +0200)]
Update `NEWS' and `TODO'.

10 years agoUse `port-sha256' and `open-sha256-port'.
Ludovic Courtès [Tue, 2 Jul 2013 23:17:11 +0000 (01:17 +0200)]
Use `port-sha256' and `open-sha256-port'.

* guix/derivations.scm (derivation-hash): Add comment as to why we keep
  the plain `sha256' call.
* guix/scripts/download.scm (guix-download): Use `port-sha256' instead
  of (compose sha256 get-bytevector-all).
* guix/scripts/refresh.scm (update-package): Likewise.

10 years agohash: Add `open-sha256-port'.
Ludovic Courtès [Tue, 2 Jul 2013 20:38:03 +0000 (22:38 +0200)]
hash: Add `open-sha256-port'.

* guix/hash.scm (GCRY_MD_SHA256): New macro.
  (sha256): Use it.
  (open-sha256-md, md-write, md-read, md-close, open-sha256-port,
  port-sha256): New procedures.
* tests/hash.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

10 years agoMove `sha256' to (guix hash).
Ludovic Courtès [Mon, 1 Jul 2013 21:28:21 +0000 (23:28 +0200)]
Move `sha256' to (guix hash).

* guix/utils.scm (sha256): Move to...
* guix/hash.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
* guix/derivations.scm, guix/scripts/download.scm,
  guix/scripts/hash.scm, guix/scripts/refresh.scm, tests/base32.scm,
  tests/derivations.scm, tests/store.scm: Use (guix hash).

10 years agognu: liboop: Fix & improve meta-data.
Ludovic Courtès [Mon, 1 Jul 2013 09:43:23 +0000 (11:43 +0200)]
gnu: liboop: Fix & improve meta-data.

* gnu/packages/lsh.scm (liboop): Fix home page.  Improve `synopsis' and
  `description'.  Thanks to carl hansen <carlhansen1234@gmail.com>, who
  raised it on bug-gsrc@gnu.org.

10 years agoui: Don't make substituter-related RPCs at all when substitutes are disabled.
Ludovic Courtès [Sun, 30 Jun 2013 22:29:22 +0000 (00:29 +0200)]
ui: Don't make substituter-related RPCs at all when substitutes are disabled.

Reported by Nikita Karetnikov and Cyril Roelandt.

* guix/ui.scm (show-what-to-build): Call `substitutable-path-info'
  only when USE-SUBSTITUTES? is true.

10 years agognu: Add GNU vc-dwim.
Ludovic Courtès [Sun, 30 Jun 2013 22:18:36 +0000 (00:18 +0200)]
gnu: Add GNU vc-dwim.

* gnu/packages/version-control.scm (vc-dwim): New variable.

11 years agognu: Add GNU Rush.
Ludovic Courtès [Sat, 29 Jun 2013 20:20:11 +0000 (22:20 +0200)]
gnu: Add GNU Rush.

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

11 years agosubstitute-binary: Avoid dangling connections to the server.
Ludovic Courtès [Sat, 29 Jun 2013 20:10:06 +0000 (22:10 +0200)]
substitute-binary: Avoid dangling connections to the server.

* guix/web.scm (open-socket-for-uri): New procedure.
  (http-fetch): Add `port' keyword parameter; use it.
* guix/scripts/substitute-binary.scm (%random-state): New variable.
  (with-timeout): Wait a little before retrying.
  (fetch): Use `open-socket-for-uri', and keep a copy of the socket in
  variable `port'.  Close PORT upon timeout.

11 years agognutls: fix the test-suite for 32 bits systems.
Cyril Roelandt [Thu, 27 Jun 2013 21:57:45 +0000 (23:57 +0200)]
gnutls: fix the test-suite for 32 bits systems.

* gnu/packages/patches/gnutls-fix-tests-on-32-bits-system.patch: New file.
* gnu-system.am: Add it here...
* gnu/packages/gnutls.scm (gnutls): ... and use it here.

Thanks to Nikos Mavrogiannopoulos for providing this patch:
http://permalink.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/6778

11 years agognu: lout: Upgrade to 3.40.
Ludovic Courtès [Thu, 27 Jun 2013 20:36:41 +0000 (22:36 +0200)]
gnu: lout: Upgrade to 3.40.

* gnu/packages/lout.scm (lout): Upgrade to 3.40.

11 years agodownload: Add Savannah's master site.
Ludovic Courtès [Thu, 27 Jun 2013 20:36:23 +0000 (22:36 +0200)]
download: Add Savannah's master site.

* guix/download.scm (%mirrors): Add the "-noredirect" version of
  Savannah.

11 years agognu: lsh: Upgrade to 2.1.
Ludovic Courtès [Thu, 27 Jun 2013 20:27:26 +0000 (22:27 +0200)]
gnu: lsh: Upgrade to 2.1.

* gnu/packages/lsh.scm (lsh): Upgrade to 2.1.  Add Nettle as an input.
  Remove now unneeded patches.
* gnu/packages/patches/lsh-guile-compat.patch,
  gnu/packages/patches/lsh-no-root-login.patch,
  gnu/packages/patches/lsh-pam-service-name.patch: Remove.
* gnu-system.am (dist_patch_DATA): Remove them.

11 years agognu: gcc: Use `gcc-configure-flags-for-triplet' when cross-compiling GCC.
Ludovic Courtès [Wed, 26 Jun 2013 21:02:49 +0000 (23:02 +0200)]
gnu: gcc: Use `gcc-configure-flags-for-triplet' when cross-compiling GCC.

* gnu/packages/cross-base.scm (gcc-configure-flags-for-triplet): Move to...
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): ... here.  New
  procedure.
  (gcc-4.7): Use it when (%current-target-system) is true.

11 years agobuild: Add "mips64el-linux-gnuabi64" as a cross build target.
Ludovic Courtès [Wed, 26 Jun 2013 20:41:09 +0000 (22:41 +0200)]
build: Add "mips64el-linux-gnuabi64" as a cross build target.

* build-aux/hydra/gnu-system.scm (%packages-to-cross-build): Add
  %bootstrap-tarballs.
  (%cross-targets): Add "mips64el-linux-gnuabi64".

11 years agognu: cross-base: Add support for `mips64el-linux-gnu-gnuabi64' (N64 ABI).
Ludovic Courtès [Wed, 26 Jun 2013 20:37:38 +0000 (22:37 +0200)]
gnu: cross-base: Add support for `mips64el-linux-gnu-gnuabi64' (N64 ABI).

* gnu/packages/cross-base.scm (gcc-configure-flags-for-triplet): New
  procedure.
  (cross-gcc): Use it.
  (xgcc-mips64el): Use *-gnuabi64 instead of the N32 ABI.

11 years agognu: make-bootstrap: Fix cross compilation of binutils-static.
Ludovic Courtès [Wed, 26 Jun 2013 15:23:56 +0000 (17:23 +0200)]
gnu: make-bootstrap: Fix cross compilation of binutils-static.

* gnu/packages/make-bootstrap.scm (%binutils-static): Inherit configure
  flags from BINUTILS.

11 years agognu: make-bootstrap: Have %gcc-static actually static when cross building.
Ludovic Courtès [Wed, 26 Jun 2013 15:01:10 +0000 (17:01 +0200)]
gnu: make-bootstrap: Have %gcc-static actually static when cross building.

* gnu/packages/make-bootstrap.scm (%gcc-static): Pass `-static' through
  `LDFLAGS' when cross-compiling.

11 years agognu: gcc: Allow cross-compilation of GCC itself.
Ludovic Courtès [Wed, 26 Jun 2013 14:51:39 +0000 (16:51 +0200)]
gnu: gcc: Allow cross-compilation of GCC itself.

* gnu/packages/gcc.scm (gcc-4.7): Define `CC_FOR_TARGET',
  `AR_FOR_TARGET', etc. when cross-compiling.

11 years agognu: cross-base: Make `glibc-dynamic-linker' do the right thing.
Ludovic Courtès [Wed, 26 Jun 2013 14:27:51 +0000 (16:27 +0200)]
gnu: cross-base: Make `glibc-dynamic-linker' do the right thing.

* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Determine SYSTEM
  based on (%current-target-system) when it's true.
* gnu/packages/cross-base.scm (cross-gcc): Directly call
  (package-arguments gcc-4.7) from the body of `arguments'.

11 years agognu: cross-base: Build Binutils with `--with-sysroot=/'.
Ludovic Courtès [Wed, 26 Jun 2013 12:31:24 +0000 (14:31 +0200)]
gnu: cross-base: Build Binutils with `--with-sysroot=/'.

* gnu/packages/cross-base.scm (cross-binutils): Use `--with-sysroot=/'.

11 years agobuild: Build the bootstrap tarballs on Hydra.
Ludovic Courtès [Tue, 25 Jun 2013 21:45:34 +0000 (23:45 +0200)]
build: Build the bootstrap tarballs on Hydra.

* build-aux/hydra/gnu-system.scm (%packages-to-cross-build): Uncomment
  the bootstrap tarball packages.

11 years agognu: make-bootstrap: Allow cross-compilation of the bootstrap tarballs.
Ludovic Courtès [Tue, 25 Jun 2013 21:39:14 +0000 (23:39 +0200)]
gnu: make-bootstrap: Allow cross-compilation of the bootstrap tarballs.

* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc): Turn
  `inputs' into a thunk.  Add `native-inputs', and pass it to
  `package-with-explicit-inputs'.
  (%static-inputs): Add %BASH-STATIC as an input to gawk when cross
  building.
  (%glibc-stripped): When cross compiling,
  use (glibc-for-bootstrap (cross-libc)) as the basis.
  (%gcc-static): Base on GCC-4.7, not GCC-FINAL.
  (tarball-package): TAR and XZ are native inputs.  Choose the tarball
  file name based on (%current-target-system) too.

11 years agobuild-system/gnu: `package-with-explicit-inputs' skips non-GBS packages.
Ludovic Courtès [Tue, 25 Jun 2013 21:04:32 +0000 (23:04 +0200)]
build-system/gnu: `package-with-explicit-inputs' skips non-GBS packages.

* guix/build-system/gnu.scm (package-with-explicit-inputs)[rewritten-input]:
  Leave P unchanged if its build system is not GNU-BUILD-SYSTEM.

11 years agognu: cross-base: Make the cross tools native inputs.
Ludovic Courtès [Tue, 25 Jun 2013 18:57:14 +0000 (20:57 +0200)]
gnu: cross-base: Make the cross tools native inputs.

* gnu/packages/cross-base.scm (cross-gcc): Change `inputs' to
  `native-inputs', and set `inputs' to the empty list.
  (cross-libc): Likewise.

11 years agobuild-system/gnu: Augment `package-with-explicit-inputs' for cross builds.
Ludovic Courtès [Tue, 25 Jun 2013 18:54:56 +0000 (20:54 +0200)]
build-system/gnu: Augment `package-with-explicit-inputs' for cross builds.

* guix/build-system/gnu.scm (package-with-explicit-inputs): Add
  `native-inputs' keyword parameter.  Allow INPUTS and NATIVE-INPUTS to
  be thunks.

11 years agognu: bigloo: Explicitly link libbigloopthread against libgc.
Ludovic Courtès [Tue, 25 Jun 2013 18:31:10 +0000 (20:31 +0200)]
gnu: bigloo: Explicitly link libbigloopthread against libgc.

* gnu/packages/scheme.scm (bigloo): In `configure' phase, change
  api/thread/src/Makefile to explicitly link against libgc.

11 years agobuild-system/trivial: Don't bind `%target' in the builder.
Ludovic Courtès [Mon, 24 Jun 2013 22:06:31 +0000 (00:06 +0200)]
build-system/trivial: Don't bind `%target' in the builder.

* guix/build-system/trivial.scm (trivial-cross-build): Don't bind
  `%target' here since this causes problem when BUILDER
  contains (use-modules ...) clauses, and can be achieved differently
  anyway.

11 years agognu: gawk: Allow cross-compilation.
Ludovic Courtès [Mon, 24 Jun 2013 22:00:09 +0000 (00:00 +0200)]
gnu: gawk: Allow cross-compilation.

* gnu/packages/gawk.scm (gawk)[arguments]: Annihilate the
  `check-for-shared-lib-support' target when cross-compiling.

11 years agobuild-system/gnu: Disable test suite when cross building.
Ludovic Courtès [Mon, 24 Jun 2013 21:26:50 +0000 (23:26 +0200)]
build-system/gnu: Disable test suite when cross building.

* guix/build-system/gnu.scm (gnu-cross-build): Change #:tests? to
  default to #f.

11 years agognu: Add gdk-pixbuf.
Andreas Enge [Sat, 15 Jun 2013 07:26:07 +0000 (09:26 +0200)]
gnu: Add gdk-pixbuf.

* gnu/packages/gtk.scm (gdk-pixbuf): New variable.

11 years agognu: ed: Upgrade to 1.9.
Ludovic Courtès [Sat, 22 Jun 2013 17:03:35 +0000 (19:03 +0200)]
gnu: ed: Upgrade to 1.9.

* gnu/packages/ed.scm (ed): Upgrade to 1.9.

11 years agognu: gcc-4.8: Upgrade to 4.8.1.
Ludovic Courtès [Sat, 22 Jun 2013 17:03:10 +0000 (19:03 +0200)]
gnu: gcc-4.8: Upgrade to 4.8.1.

* gnu/packages/gcc.scm (gcc-4.8): Upgrade to 4.8.1.

11 years agognu: libffi: Upgrade to 3.0.13.
Ludovic Courtès [Sat, 22 Jun 2013 14:47:09 +0000 (16:47 +0200)]
gnu: libffi: Upgrade to 3.0.13.

* gnu/packages/libffi.scm (libffi): Upgrade to 3.0.13.

11 years agoutils: `set-path-environment-variable' calls `unsetenv' for empty values.
Ludovic Courtès [Sat, 22 Jun 2013 14:42:46 +0000 (16:42 +0200)]
utils: `set-path-environment-variable' calls `unsetenv' for empty values.

* guix/build/utils.scm (set-path-environment-variable): When VALUE is
  the empty string, call `unsetenv' instead of `setenv'.
* gnu/packages/guile.scm (guile-2.0)[arguments]: Remove `unsetenv'
  trick.

11 years agognu: acl, attr: Make `gettext' a native input.
Ludovic Courtès [Sat, 22 Jun 2013 14:32:30 +0000 (16:32 +0200)]
gnu: acl, attr: Make `gettext' a native input.

* gnu/packages/acl.scm (acl): Make `gettext' a native input, always.
* gnu/packages/attr.scm (attr): Likewise.

11 years agognu: gmp: Upgrade to 5.1.2.
Ludovic Courtès [Sat, 22 Jun 2013 14:29:40 +0000 (16:29 +0200)]
gnu: gmp: Upgrade to 5.1.2.

* gnu/packages/multiprecision.scm (gmp): Update to 5.1.2.

11 years agognu: gawk: Upgrade to 4.1.0.
Ludovic Courtès [Sat, 22 Jun 2013 14:29:19 +0000 (16:29 +0200)]
gnu: gawk: Upgrade to 4.1.0.

* gnu/packages/gawk.scm (gawk): Update to 4.1.0.  Remove wrong-headed
  comments.

11 years agognu: gzip: Upgrade to 1.6.
Ludovic Courtès [Sat, 22 Jun 2013 14:27:13 +0000 (16:27 +0200)]
gnu: gzip: Upgrade to 1.6.

* gnu/packages/compression.scm (gzip): Upgrade.

11 years agobuild-system/gnu: Set #:tests? to #f when cross-compiling.
Ludovic Courtès [Sat, 22 Jun 2013 14:15:23 +0000 (16:15 +0200)]
build-system/gnu: Set #:tests? to #f when cross-compiling.

* guix/build/gnu-build-system.scm (check): Add `target' formal
  parameter.  Change `tests?' to default to (not target).

11 years agodownload: Don't fail when abbreviating `file://' URIs.
Ludovic Courtès [Sat, 22 Jun 2013 14:10:25 +0000 (16:10 +0200)]
download: Don't fail when abbreviating `file://' URIs.

* guix/build/download.scm (uri-abbreviation)[elide-path]: Handle the
  case where URI has no `host' part.

11 years agobuild-system/gnu: Save `environment-variables' after each phase.
Ludovic Courtès [Thu, 20 Jun 2013 22:32:07 +0000 (00:32 +0200)]
build-system/gnu: Save `environment-variables' after each phase.

* guix/build/gnu-build-system.scm (set-paths): Move `system' call to...
  (gnu-build): ... here.

11 years agobuild-system/gnu: Unify with (guix build-system gnu-cross-build).
Ludovic Courtès [Thu, 20 Jun 2013 22:25:54 +0000 (00:25 +0200)]
build-system/gnu: Unify with (guix build-system gnu-cross-build).

* guix/build/gnu-build-system.scm (set-paths): Add `native-inputs' and
  `native-search-paths' keyword parameters.  Honor them.
  (configure): Add `target' and `native-inputs' keyword parameters.
  Look for Bash in NATIVE-INPUTS or INPUTS.  Pass `--host' when TARGET
  is true.
  (strip): Add `strip-command' keyword parameter.  Use it.
* guix/build/gnu-cross-build.scm: Remove.
* Makefile.am (MODULES): Adjust accordingly.
* gnu/packages/acl.scm, gnu/packages/attr.scm, gnu/packages/base.scm,
  gnu/packages/bash.scm, gnu/packages/gawk.scm,
  gnu/packages/gettext.scm, gnu/packages/guile.scm,
  gnu/packages/libffi.scm, gnu/packages/libsigsegv.scm,
  gnu/packages/linux.scm, gnu/packages/ncurses.scm,
  gnu/packages/readline.scm, guix/build-system/gnu.scm: Replace
  `%standard-cross-phases' by `%standard-phases'.  Remove references
  to (guix build gnu-cross-build).

11 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Thu, 20 Jun 2013 21:51:00 +0000 (23:51 +0200)]
Merge branch 'master' into core-updates

Conflicts:
gnu/packages/make-bootstrap.scm

11 years agognu: libgc: Always build with -DUSE_LIBC_PRIVATES.
Ludovic Courtès [Thu, 20 Jun 2013 21:47:22 +0000 (23:47 +0200)]
gnu: libgc: Always build with -DUSE_LIBC_PRIVATES.

* gnu/packages/bdw-gc.scm (libgc): Add `arguments' field.
* gnu/packages/make-bootstrap.scm (%guile-static): Remove local `libgc'.

11 years agognu: libgc: Switch to 7.2d.
Ludovic Courtès [Thu, 20 Jun 2013 21:45:41 +0000 (23:45 +0200)]
gnu: libgc: Switch to 7.2d.

* gnu/packages/bdw-gc.scm (libgc): Upgrade to 7.2d.
  (libgc-7.2): Remove.

11 years agobuild: Move Hydra recipe to build-aux/hydra.
Ludovic Courtès [Thu, 20 Jun 2013 20:49:34 +0000 (22:49 +0200)]
build: Move Hydra recipe to build-aux/hydra.

* hydra.scm: Rename to...
* build-aux/hydra/gnu-system.scm: ... this.
* Makefile.am (EXTRA_DIST): Adjust accordingly.

11 years agopackage: Fix i18n of the number of packages message.
Ludovic Courtès [Thu, 20 Jun 2013 19:24:14 +0000 (21:24 +0200)]
package: Fix i18n of the number of packages message.

* guix/scripts/package.scm (guix-package)[process-actions]: Use `N_' for
  i18n of the number of packages message.

11 years agosubstitute-binary: Report progress while downloading.
Ludovic Courtès [Thu, 20 Jun 2013 21:41:11 +0000 (23:41 +0200)]
substitute-binary: Report progress while downloading.

* guix/scripts/substitute-binary.scm (decompressed-port): Improve docstring.
  (progress-report-port): New procedure.
  (guix-substitute-binary)["--substitute"]: Use it to report progress.
* guix/build/download.scm: Export `progress-proc' and `uri-abbreviation'.

11 years agoUpdate eo.po.
Ludovic Courtès [Wed, 19 Jun 2013 21:19:35 +0000 (23:19 +0200)]
Update eo.po.

11 years agobuild: Split Makefile.am into two parts.
Ludovic Courtès [Wed, 19 Jun 2013 21:19:03 +0000 (23:19 +0200)]
build: Split Makefile.am into two parts.

* Makefile.am (MODULES): Move gnu/* to gnu-system.am.
  (patchdir, dist_patch_DATA, bootstrapdir,
  bootstrap_x86_64_linuxdir, bootstrap_i686_linuxdir,
  dist_bootstrap_x86_64_linux_DATA, dist_bootstrap_i686_linux_DATA,
  nodist_bootstrap_x86_64_linux_DATA, nodist_bootstrap_i686_linux_DATA,
  install-data-hook, DISTCLEANFILES, DOWNLOAD_FILE,
  gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz,
  gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz): Move to...
* gnu-system.am: ... here.  New file.

11 years agopackage: Display the number of installed packages upon completion.
Ludovic Courtès [Wed, 19 Jun 2013 20:42:03 +0000 (22:42 +0200)]
package: Display the number of installed packages upon completion.

* guix/scripts/package.scm (guix-package)[process-actions]: Display the
  number of packages in the profile upon completion.

11 years agoAdd `substitute-binary.scm' to POTFILES.in.
Ludovic Courtès [Wed, 19 Jun 2013 17:27:53 +0000 (19:27 +0200)]
Add `substitute-binary.scm' to POTFILES.in.

* po/POTFILES.in: Add guix/scripts/substitute-binary.scm.

11 years agognu: Add ImageMagick.
Ludovic Courtès [Wed, 19 Jun 2013 17:27:23 +0000 (19:27 +0200)]
gnu: Add ImageMagick.

* gnu/packages/imagemagick.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/download.scm (%mirrors): Add `imagemagick' entry.

11 years agosubstitute-binary: Provide feedback when the server is unresponsive.
Ludovic Courtès [Mon, 17 Jun 2013 22:11:40 +0000 (00:11 +0200)]
substitute-binary: Provide feedback when the server is unresponsive.

* guix/scripts/substitute-binary.scm (%fetch-timeout): New variable.
  (with-timeout): New macro.
  (fetch): Add `timeout?' keyword parameter.  Enclose `http-fetch' call
  in `with-timeout'.
  (guix-substitute-binary): Call `fetch' with #:timeout? #f.

11 years agobuild: Fix `sync-with-upstream'.
Ludovic Courtès [Mon, 17 Jun 2013 21:54:39 +0000 (23:54 +0200)]
build: Fix `sync-with-upstream'.

* nix/sync-with-upstream: Remove schema.sql.hh.

11 years agognu: Add Linux iproute2.
Ludovic Courtès [Mon, 17 Jun 2013 21:53:42 +0000 (23:53 +0200)]
gnu: Add Linux iproute2.

* gnu/packages/bdb.scm (bdb): Add `--enable-compat185'.
* gnu/packages/linux.scm (iproute): New variable.

11 years agognu: Add iptables.
Ludovic Courtès [Mon, 17 Jun 2013 20:33:35 +0000 (22:33 +0200)]
gnu: Add iptables.

* gnu/packages/linux.scm (iptables): New variable.

11 years agognu: graphviz: Fix typo.
Ludovic Courtès [Mon, 17 Jun 2013 10:25:19 +0000 (12:25 +0200)]
gnu: graphviz: Fix typo.

* gnu/packages/graphviz.scm (graphviz): Fix typo in description.

11 years agognu: Move subversion with the other version control systems.
Cyril Roelandt [Sat, 15 Jun 2013 01:33:42 +0000 (03:33 +0200)]
gnu: Move subversion with the other version control systems.

* gnu/packages/subversion.scm: Remove file.
* gnu/packages/version-control.scm (subversion): New variable.
* Makefile.am (MODULES): remove subversion.scm.

11 years agobuild: Remove non-existent git.scm from Makefile.am.
Ludovic Courtès [Sun, 16 Jun 2013 23:18:09 +0000 (01:18 +0200)]
build: Remove non-existent git.scm from Makefile.am.

* Makefile.am (MODULES): Remove git.scm.

11 years agognu: Add Graphviz.
Ludovic Courtès [Sun, 16 Jun 2013 23:15:55 +0000 (01:15 +0200)]
gnu: Add Graphviz.

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

11 years agognu: libpng: Propagate zlib.
Ludovic Courtès [Sun, 16 Jun 2013 23:16:24 +0000 (01:16 +0200)]
gnu: libpng: Propagate zlib.

* gnu/packages/libpng.scm (libpng): Propagate zlib.

11 years agognu: Add GD.
Ludovic Courtès [Sun, 16 Jun 2013 21:57:34 +0000 (23:57 +0200)]
gnu: Add GD.

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