guix:guix.git
5 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.

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

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

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

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

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

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

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

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

5 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>

5 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>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5 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).

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

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

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

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

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

5 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

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

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

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

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

5 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".

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

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

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

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

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

5 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=/'.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5 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).

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

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

5 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).

5 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

5 years agognu: Add Racket.
Ludovic Courtès [Sun, 16 Jun 2013 18:43:29 +0000 (20:43 +0200)]
gnu: Add Racket.

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

5 years agobuild-system/trivial: Fix introduction of `%target' when cross-building.
Ludovic Courtès [Sat, 15 Jun 2013 21:38:31 +0000 (23:38 +0200)]
build-system/trivial: Fix introduction of `%target' when cross-building.

* guix/build-system/trivial.scm (trivial-cross-build): Wrap BUILDER in a
  `let' rather than in `begin'.

5 years agognu: linux-libre-headers: Allow cross-compilation.
Ludovic Courtès [Sat, 15 Jun 2013 21:33:56 +0000 (23:33 +0200)]
gnu: linux-libre-headers: Allow cross-compilation.

* gnu/packages/linux.scm (linux-libre-headers): Use (guix build
  gnu-cross-build) and %standard-cross-phases when cross-compiling.

5 years agognu: pkg-config: Export package definition.
Ludovic Courtès [Sat, 15 Jun 2013 13:07:57 +0000 (15:07 +0200)]
gnu: pkg-config: Export package definition.

* gnu/packages/pkg-config.scm (%pkg-config): Make public.
  Reported by Andreas Enge <andreas@enge.fr>.

5 years agognu: Add pango.
Andreas Enge [Fri, 14 Jun 2013 21:33:17 +0000 (23:33 +0200)]
gnu: Add pango.

* gnu/packages/gtk.scm (pango): New variable.

5 years agognu: Add harfbuzz.
Andreas Enge [Fri, 14 Jun 2013 21:28:58 +0000 (23:28 +0200)]
gnu: Add harfbuzz.

* gnu/packages/gtk.scm (harfbuzz): New variable.