jackhill/guix/guix.git
10 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Fri, 8 Nov 2013 20:58:09 +0000 (21:58 +0100)]
Merge branch 'master' into core-updates

Conflicts:
guix/packages.scm

10 years agognu: lapack: Use origin snippet to remove the non-free files.
Ludovic Courtès [Thu, 7 Nov 2013 22:07:45 +0000 (23:07 +0100)]
gnu: lapack: Use origin snippet to remove the non-free files.

* gnu/packages/maths.scm (lapack): Add 'snippet' field with contents of
  former 'remove-non-free-files' phase; remove that phase.

10 years agopackages: Add a 'snippet' field to <origin>.
Ludovic Courtès [Thu, 7 Nov 2013 21:41:21 +0000 (22:41 +0100)]
packages: Add a 'snippet' field to <origin>.

* guix/packages.scm (<origin>): Add 'snippet', 'modules', and
  'imported-modules' fields.
  (patch-and-repack): Make 'inputs' a keyword parameter.  Add 'snippet',
  'modules', and 'imported-modules' parameters.  Accept SOURCE as a raw
  file name.  Insert SNIPPET in BUILDER.  Pass IMPORTED-MODULES to
  'build-expression->derivation'.
  (package-source-derivation): Pass the extra arguments to
  'patch-and-repack'.
* tests/packages.scm ("package-source-derivation, snippet"): New test.
* doc/guix.texi (Defining Packages): Mention the 'patches' and 'snippet'
  fields.
  (Invoking guix build): Tell that --source has patches and snippets
  applied.
  (Software Freedom): Mention packages that contain non-free code.

10 years agodoc: Document current security issue with substitutes.
Ludovic Courtès [Thu, 7 Nov 2013 21:18:24 +0000 (22:18 +0100)]
doc: Document current security issue with substitutes.

Suggested by Mark H. Weaver <mhw@netris.org>.

* doc/guix.texi (Features): Add note about unauthenticated binaries.

10 years agodoc: Improve documentation of '--no-substitutes'.
Ludovic Courtès [Thu, 7 Nov 2013 20:57:53 +0000 (21:57 +0100)]
doc: Improve documentation of '--no-substitutes'.

Suggested by Mark H. Weaver <mhw@netris.org>.

* doc/guix.texi (Invoking guix package): Spell out the --no-substitutes
  documentation.
  (Invoking guix build): Use the more complete --no-substitutes
  documentation.
  (Invoking guix-daemon): Explain the interaction with what clients ask
  for.

10 years agognu: Add LAPACK.
Nikita Karetnikov [Mon, 4 Nov 2013 18:58:54 +0000 (18:58 +0000)]
gnu: Add LAPACK.

* gnu/packages/maths.scm (lapack): New variable.

10 years agoAdd indentation rule for 'origin'.
Ludovic Courtès [Wed, 6 Nov 2013 23:18:20 +0000 (00:18 +0100)]
Add indentation rule for 'origin'.

10 years agotests: Fix max-silent-time test.
Ludovic Courtès [Mon, 4 Nov 2013 22:41:33 +0000 (23:41 +0100)]
tests: Fix max-silent-time test.

* tests/derivations.scm ("build-expression->derivation and
  max-silent-time"): Use STORE instead of %STORE.  Change BUILDER to
  succeed by default.  Return #f when no exception is raised.

10 years agotests: Add the builder as an input to raw derivations.
Ludovic Courtès [Mon, 4 Nov 2013 22:06:13 +0000 (23:06 +0100)]
tests: Add the builder as an input to raw derivations.

* tests/derivations.scm ("build derivation with 1 source",
  "derivation with local file as input",
  "derivation with a fixed-output input",
  "multiple-output derivation",
  "multiple-output derivation, non-alphabetic order",
  "user of multiple-output derivation"): Add %BASH as an input, needed
  in chroot builds.

10 years agognu: mit-krb5: don't assume arguments are evaluated right-to-left.
Mark H Weaver [Mon, 4 Nov 2013 18:33:49 +0000 (13:33 -0500)]
gnu: mit-krb5: don't assume arguments are evaluated right-to-left.

* gnu/packages/patches/mit-krb5-init-fix.patch: New file.
* gnu/packages/mit-krb5.scm (mit-krb5): Apply patch at the end of the custom
  unpack phase.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agoAdd mips64el-linux to the list of supported systems.
Mark H Weaver [Sun, 3 Nov 2013 21:40:01 +0000 (16:40 -0500)]
Add mips64el-linux to the list of supported systems.

* m4/guix.m4 (GUIX_ASSERT_SUPPORTED_SYSTEM): Add mips64el-linux to the list of
  supported systems.

10 years agognu: add bootstrap support for mips64el-linux using the MIPS N32 ABI.
Mark H Weaver [Thu, 17 Oct 2013 19:47:56 +0000 (15:47 -0400)]
gnu: add bootstrap support for mips64el-linux using the MIPS N32 ABI.

* .gitignore: Add entry for bootstrap/mips64el-linux/guile-2.0.9.tar.xz.

* gnu-system.am (bootstrap_mips64el_linuxdir,
  dist_bootstrap_mips64el_linux_DATA, nodist_bootstrap_mips64el_linux_DATA):
  New variables.
  (DISTCLEANFILES): Add $(nodist_bootstrap_mips64el_linux_DATA).
  (gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): New target.

* build-aux/download.scm (file-name->uri): Adapt to the newer mips64el-linux
  bootstrap tarballs.

* gnu/packages/bootstrap.scm (%bootstrap-guile, %bootstrap-coreutils&co,
  %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Adapt to the newer
  mips64el-linux bootstrap tarballs.

* gnu/packages/bootstrap/mips64el-linux/bash:
* gnu/packages/bootstrap/mips64el-linux/mkdir:
* gnu/packages/bootstrap/mips64el-linux/tar:
* gnu/packages/bootstrap/mips64el-linux/xz: New files.

10 years agognu: liboop: fix deplibs check method for mips64.
Mark H Weaver [Sat, 2 Nov 2013 22:12:36 +0000 (18:12 -0400)]
gnu: liboop: fix deplibs check method for mips64.

* gnu/packages/patches/liboop-mips64-deplibs-fix.patch: New file.
* gnu/packages/lsh.scm (liboop): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: gd: fix deplibs check method for mips64.
Mark H Weaver [Sat, 2 Nov 2013 22:04:45 +0000 (18:04 -0400)]
gnu: gd: fix deplibs check method for mips64.

* gnu/packages/patches/gd-mips64-deplibs-fix.patch: New file.
* gnu/packages/gd.scm (gd): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: libmad: Fix MIPS assembler code to work with new GCC.
Mark H Weaver [Fri, 1 Nov 2013 04:15:16 +0000 (00:15 -0400)]
gnu: libmad: Fix MIPS assembler code to work with new GCC.

* gnu/packages/patches/libmad-mips-newgcc.patch: New file.
* gnu/packages/mp3.scm (libmad): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: libtheora: patch ancient config.guess to support mips64.
Mark H Weaver [Fri, 1 Nov 2013 03:59:00 +0000 (23:59 -0400)]
gnu: libtheora: patch ancient config.guess to support mips64.

* gnu/packages/patches/libtheora-config-guess.patch: New file.
* gnu/packages/oggvorbis.scm (libtheora): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: alsa-lib: fix atomic op declarations for MIPS.
Mark H Weaver [Sun, 3 Nov 2013 23:28:03 +0000 (18:28 -0500)]
gnu: alsa-lib: fix atomic op declarations for MIPS.

* gnu/packages/patches/alsa-lib-mips-atomic-fix.patch: New file.
* gnu/packages/linux.scm (alsa-lib): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: gdb: patch-makefile-SHELL for all Makefile.in files.
Mark H Weaver [Sun, 3 Nov 2013 23:25:27 +0000 (18:25 -0500)]
gnu: gdb: patch-makefile-SHELL for all Makefile.in files.

* gnu/packages/gdb.scm (gdb): patch-makefile-SHELL for all Makefile.in files
  after configure.

10 years agognu: gdb: Fix opcode table for Loongson fused multiply-add.
Mark H Weaver [Sun, 3 Nov 2013 23:23:38 +0000 (18:23 -0500)]
gnu: gdb: Fix opcode table for Loongson fused multiply-add.

* gnu/packages/patches/gdb-loongson-madd-fix.patch: New file.
* gnu/packages/gdb.scm (gdb): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: libffi: fix handling of uint32_t arguments on MIPS N32.
Mark H Weaver [Sun, 3 Nov 2013 23:20:00 +0000 (18:20 -0500)]
gnu: libffi: fix handling of uint32_t arguments on MIPS N32.

* gnu/packages/patches/libffi-mips-n32-fix.patch: New file.
* gnu/packages/libffi.scm (libffi): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: libtool: skip a test that fails on MIPS N32.
Mark H Weaver [Sun, 3 Nov 2013 23:15:00 +0000 (18:15 -0500)]
gnu: libtool: skip a test that fails on MIPS N32.

* gnu/packages/patches/libtool-skip-tests-for-mips.patch: New file.
* gnu/packages/autotools.scm (libtool): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agognu: binutils: apply fixes and workarounds for Loongson 2F CPUs.
Mark H Weaver [Sun, 3 Nov 2013 23:08:33 +0000 (18:08 -0500)]
gnu: binutils: apply fixes and workarounds for Loongson 2F CPUs.

* gnu/packages/patches/binutils-loongson-madd-fix.patch: New file.
* gnu/packages/patches/binutils-loongson-workaround.patch: New file.
* gnu/packages/base.scm (binutils): Add patches.
* gnu-system.am (dist_patch_DATA): Add patches.

10 years agognu: recutils: Upgrade to 1.6.
Ludovic Courtès [Sun, 3 Nov 2013 22:24:16 +0000 (23:24 +0100)]
gnu: recutils: Upgrade to 1.6.

* gnu/packages/recutils.scm (recutils): Upgrade to 1.6.  Add cURL and
  libgcrypt as inputs.

10 years agoui: Make '--version' output GCS-compliant.
Ludovic Courtès [Sun, 3 Nov 2013 22:09:30 +0000 (23:09 +0100)]
ui: Make '--version' output GCS-compliant.

* guix/ui.scm (show-version-and-exit): Display copyright year, license,
  and LACK OF WARRANTY.

10 years agognu: make-bootstrap: Build libc and Guile without a .gnu_debuglink.
Ludovic Courtès [Sun, 3 Nov 2013 21:35:17 +0000 (22:35 +0100)]
gnu: make-bootstrap: Build libc and Guile without a .gnu_debuglink.

* gnu/packages/make-bootstrap.scm (glibc-for-bootstrap, %guile-static):
  Add 'outputs' field.

10 years agognu: make-bootstrap: Allow bit-reproducibility for 'glibc-stripped'.
Ludovic Courtès [Sat, 2 Nov 2013 21:28:30 +0000 (22:28 +0100)]
gnu: make-bootstrap: Allow bit-reproducibility for 'glibc-stripped'.

* gnu/packages/make-bootstrap.scm (%glibc-stripped): Remove '.install'
  and '..install.cmd' files.

10 years agognu: cmake: Bump to 2.8.12
Cyril Roelandt [Sat, 2 Nov 2013 21:17:08 +0000 (22:17 +0100)]
gnu: cmake: Bump to 2.8.12

* gnu/packages/cmake.scm: bump to 2.8.12

10 years agognu: make-bootstrap: Add C++ header files to the bootstrap GCC.
Ludovic Courtès [Sat, 2 Nov 2013 14:17:08 +0000 (15:17 +0100)]
gnu: make-bootstrap: Add C++ header files to the bootstrap GCC.

* gnu/packages/make-bootstrap.scm (%gcc-stripped): Add $gcc/include/c++.

10 years agognu: cross-gcc: Fix build of 'gcc-cross-sans-libc'.
Ludovic Courtès [Sat, 2 Nov 2013 11:58:52 +0000 (12:58 +0100)]
gnu: cross-gcc: Fix build of 'gcc-cross-sans-libc'.

* gnu/packages/cross-base.scm (cross-gcc): Add "--disable-libatomic".

10 years agodoc: Document the syntax of the '--remove' argument.
Ludovic Courtès [Fri, 1 Nov 2013 23:01:35 +0000 (00:01 +0100)]
doc: Document the syntax of the '--remove' argument.

* doc/guix.texi (Invoking guix package): Document the syntax of
  '--remove' patterns.

10 years agoguix package: Show the output name of what's being removed.
Ludovic Courtès [Fri, 1 Nov 2013 22:59:25 +0000 (23:59 +0100)]
guix package: Show the output name of what's being removed.

* guix/scripts/package.scm (show-what-to-remove/install): Show the
  output name of packages being removed.

10 years agoguix package: Fix indentation of "will be removed" messages.
Ludovic Courtès [Fri, 1 Nov 2013 22:12:36 +0000 (23:12 +0100)]
guix package: Fix indentation of "will be removed" messages.

* guix/scripts/package.scm (show-what-to-remove/install): Remove extra
  indentation from the removal sentences.

10 years agoguix package: Allow removal of a specific package output.
Ludovic Courtès [Fri, 1 Nov 2013 22:11:17 +0000 (23:11 +0100)]
guix package: Allow removal of a specific package output.

Fixes <http://bugs.gnu.org/15756>.

* guix/profiles.scm (<manifest-pattern>): New record type.
  (remove-manifest-entry): Remove.
  (entry-predicate, manifest-matching-entries): New procedures.
  (manifest-remove): Accept a list of <manifest-pattern>.
  (manifest-installed?): Replace 'name' parameter by 'pattern', a
  <manifest-pattern>.
* guix/scripts/package.scm (options->removable): Return a list of
  <manifest-pattern>.
  (guix-package)[process-action]: Use 'manifest-matching-entries' to
  compute the list of packages to remove.
* tests/profiles.scm: New file.
* Makefile.am (SCM_TESTS): Add it.

10 years agoguix package: Separate '--remove' option processing.
Ludovic Courtès [Fri, 1 Nov 2013 16:12:15 +0000 (17:12 +0100)]
guix package: Separate '--remove' option processing.

* guix/scripts/package.scm (options->removable): New procedure.
  (guix-package)[process-actions]: Use it.  Rename 'remove*' to 'remove'
  and 'install*' to 'install'.

10 years agoui: Factorize package specification parsing.
Ludovic Courtès [Fri, 1 Nov 2013 15:57:48 +0000 (16:57 +0100)]
ui: Factorize package specification parsing.

* guix/ui.scm (package-specification->name+version+output): New
  procedure.
* guix/scripts/package.scm (specification->package+output): Use it.
* tests/ui.scm ("package-specification->name+version+output"): New test.

10 years agoAdd (guix profiles).
Ludovic Courtès [Fri, 1 Nov 2013 15:31:45 +0000 (16:31 +0100)]
Add (guix profiles).

* guix/scripts/package.scm (show-what-to-remove/install): New procedure,
  moved from...
  (guix-package): ... here.
  (<manifest>, make-manifest, <manifest-entry>,
  profile-manifest, manifest->sexp, sexp->manifest, read-manifest,
  write-manifest, remove-manifest-entry, manifest-remove,
  manifest-installed?, manifest=?, profile-regexp, generation-numbers,
  previous-generation-number, profile-derivation, generation-number,
  generation-file-name, generation-time, lower-input): Move to...
* guix/profiles.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.

10 years agognu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++.
Nikita Karetnikov [Fri, 1 Nov 2013 20:34:24 +0000 (20:34 +0000)]
gnu: Add GCC front ends for Fortran, Go, Objective C, and Objective C++.

* gnu/packages/gcc.scm (custom-gcc, gfortran-4.8, gccgo-4.8)
  (gcc-objc-4.8, gcc-objc++-4.8): New variables.

10 years agognu: ffmpeg: Fix typo in configure flags.
Andreas Enge [Fri, 1 Nov 2013 20:08:26 +0000 (21:08 +0100)]
gnu: ffmpeg: Fix typo in configure flags.

* gnu/packages/video.scm (ffmpeg): Add "d" in "3d" in configure flags.

10 years agognu: Revert to GCC 4.7 as the default compiler.
Ludovic Courtès [Fri, 1 Nov 2013 14:31:16 +0000 (15:31 +0100)]
gnu: Revert to GCC 4.7 as the default compiler.

GCC 4.8 relies on C++ headers (<cstring>, <iosfwd>, etc.) that are
missing from the current bootstrap GCC.

* gnu/packages/base.scm (gcc-boot0, cross-gcc-wrapper, gcc-final): Base
  on GCC-4.7.  This reverts part of commit 9ae7cee.

10 years agognu: Add ffmpeg.
Andreas Enge [Thu, 31 Oct 2013 22:15:46 +0000 (23:15 +0100)]
gnu: Add ffmpeg.

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

10 years agognu: Switch to GCC 4.8 as the default compiler.
Ludovic Courtès [Fri, 1 Nov 2013 12:04:38 +0000 (13:04 +0100)]
gnu: Switch to GCC 4.8 as the default compiler.

* gnu/packages/base.scm (gcc-boot0, cross-gcc-wrapper, gcc-final): Base
  on GCC-4.8.
* gnu/packages/cross-base.scm (cross-gcc): Likewise.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc,
  %gcc-static, %gcc-stripped): Likewise.

10 years agognu: grep: Update to 2.15.
Ludovic Courtès [Fri, 1 Nov 2013 12:01:20 +0000 (13:01 +0100)]
gnu: grep: Update to 2.15.

* gnu/packages/base.scm (grep): Update to 2.15.

10 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Fri, 1 Nov 2013 11:59:31 +0000 (12:59 +0100)]
Merge branch 'master' into core-updates

10 years agognu: pulseaudio: increase timeout of thread test.
Mark H Weaver [Fri, 1 Nov 2013 03:05:27 +0000 (23:05 -0400)]
gnu: pulseaudio: increase timeout of thread test.

* gnu/packages/patches/pulseaudio-test-timeouts.patch: New file.
* gnu/packages/pulseaudio.scm (pulseaudio): Add patch.
* gnu-system.am (dist_patch_DATA): Add patch.

10 years agounion: Do not warn when identical files collide.
Ludovic Courtès [Thu, 31 Oct 2013 22:31:00 +0000 (23:31 +0100)]
union: Do not warn when identical files collide.

* guix/build/union.scm (file=?): New procedure.
  (union-build)[resolve-collision]: Do not warn when identical files
  collide.

10 years agognu: Add bridge-utils.
Ludovic Courtès [Thu, 31 Oct 2013 22:29:25 +0000 (23:29 +0100)]
gnu: Add bridge-utils.

* gnu/packages/linux.scm (bridge-utils): New variable.

10 years agognu: libmicrohttpd: Update to 0.9.31.
Andreas Enge [Wed, 30 Oct 2013 22:07:50 +0000 (23:07 +0100)]
gnu: libmicrohttpd: Update to 0.9.31.

* gnu/packages/gnunet.scm (libmicrohttpd): Update to 0.9.31,
    synchronise the description with GNU SRC.

10 years agognu: Add gst-plugins-base-0.10.
Andreas Enge [Wed, 30 Oct 2013 21:58:39 +0000 (22:58 +0100)]
gnu: Add gst-plugins-base-0.10.

* gnu/packages/gstreamer.scm (gst-plugins-base-0.10): New variable.

10 years agognu: gstreamer-0.10: Propagate input libxml2.
Andreas Enge [Wed, 30 Oct 2013 21:57:52 +0000 (22:57 +0100)]
gnu: gstreamer-0.10: Propagate input libxml2.

* gnu/packages/gstreamer.scm (gstreamer-0.10): Propagate input libxml2.

10 years agoguix package: Factorize generation file name computation.
Ludovic Courtès [Wed, 30 Oct 2013 21:08:35 +0000 (22:08 +0100)]
guix package: Factorize generation file name computation.

* guix/scripts/package.scm (generation-file-name): New procedure.
  Change all occurrences of (format #f "~a-~a-link" profile number) to
  use it.

10 years agoguix package: Specify inputs for each manifest entry.
Ludovic Courtès [Wed, 30 Oct 2013 21:01:43 +0000 (22:01 +0100)]
guix package: Specify inputs for each manifest entry.

* guix/scripts/package.scm (<manifest-entry>): Add 'inputs' field.
  (manifest=?, lower-input): New procedure.
  (profile-derivation)[builder]: Add #:log-port argument to
  'union-build'.
  [ensure-valid-input]: Remove.
  Add each entry's inputs to the input list.
  (options->installable): Return just the list of entries.
  [package->manifest-entry]: Set 'inputs' field.
  [canonicalize-deps]: Rename to...
  [deduplicate]: ... this.  Remove input fiddling.
  (guix-package)[process-actions]: Use 'manifest=?' to compare the new
  and old manifests.  Pass directly PROF-DRV to 'show-what-to-build'.
  Pass #:print-build-trace #f to 'set-build-options'.

10 years agounion: Make the log port a parameter.
Ludovic Courtès [Wed, 30 Oct 2013 20:43:37 +0000 (21:43 +0100)]
union: Make the log port a parameter.

* guix/build/union.scm (union-build): Add 'log-port' keyword parameter;
  use it.

10 years agoderivations: 'derivation-path->output-path' honors the 'output' parameter.
Ludovic Courtès [Wed, 30 Oct 2013 18:09:32 +0000 (19:09 +0100)]
derivations: 'derivation-path->output-path' honors the 'output' parameter.

* guix/derivations.scm (derivation-path->output-path): Pass OUTPUT.
* tests/derivations.scm ("multiple-output derivation,
  derivation-path->output-path"): New test.

10 years agoguix package: Always use the term "profile", not "user environment".
Ludovic Courtès [Wed, 30 Oct 2013 16:31:05 +0000 (17:31 +0100)]
guix package: Always use the term "profile", not "user environment".

* guix/scripts/package.scm (%user-environment-directory): Rename to...
  (%user-profile-directory): ... this.  Update users accordingly.
  (profile-derivation): Use the term "profile" instead of "user
  environment", and use "profile" as the derivation name.

10 years agoguix package: Introduce <manifest> and <manifest-entry> types.
Ludovic Courtès [Wed, 30 Oct 2013 16:13:27 +0000 (17:13 +0100)]
guix package: Introduce <manifest> and <manifest-entry> types.

* guix/scripts/package.scm (<manifest>, <manifest-entry>): New record
  types.
  (make-manifest, read-manifest, manifest->sexp, sexp->manifest,
  read-manifest, write-manifest, remove-manifest-entry, manifest-remove,
  manifest-installed?): New procedures.
  (profile-derivation): Take a manifest as the second parameter.  Use
  'manifest->sexp'.  Expect <manifest-entry> objects instead of
  "tuples".  Adjust callers accordingly.
  (search-path-environment-variables): Changes 'packages' parameter to
  'entries'.  Rename 'package-in-manifest->package' to
  'manifest-entry->package'; expect <manifest-entry> objects.
  (display-search-paths): Rename 'packages' to 'entries'.
  (options->installable): Change 'installed' to 'manifest'.  Have
  'canonicalize-deps' return name/path tuples instead of raw packages.
  Rename 'package->tuple' to 'package->manifest-entry'.  Use
  <manifest-entry> objects instead of tuples.
  (guix-package)[process-actions]: Likewise.  Rename 'packages' to
  'entries'.
  [process-query]: Use 'manifest-entries' instead of
  'manifest-packages'.

10 years agoguix package: Better separate option processing.
Ludovic Courtès [Wed, 30 Oct 2013 14:26:14 +0000 (15:26 +0100)]
guix package: Better separate option processing.

* guix/scripts/package.scm (find-package): Rename to...
  (specification->package+output): ... this.  Rename 'name' parmameter
  to 'spec'.  Return a package and output name instead of a tuple.
  (options->installable): New procedure
  (guix-package)[process-actions]: Use it, and remove corresponding
  code.

10 years agognu: Add gstreamer-0.10.
Andreas Enge [Wed, 30 Oct 2013 21:06:57 +0000 (22:06 +0100)]
gnu: Add gstreamer-0.10.

* gnu/packages/gstreamer.scm (gstreamer-0.10): New variable.
* gnu/packages/patches/gstreamer-0.10-bison3.patch,
  gnu/packages/patches/gstreamer-0.10-silly-test.patch: New files.
* gnu-system.am (dist_patch_DATA): Add patches.

10 years agognu: mit-krb5: Update to 1.11.3.
Andreas Enge [Tue, 29 Oct 2013 22:41:49 +0000 (23:41 +0100)]
gnu: mit-krb5: Update to 1.11.3.

* gnu/packages/mit-krb5.scm (mit-krb5): Update to 1.11.3.

10 years agoguix package: Declutter the entry point.
Ludovic Courtès [Tue, 29 Oct 2013 21:03:02 +0000 (22:03 +0100)]
guix package: Declutter the entry point.

* guix/scripts/package.scm (newest-available-packages,
  find-best-packages-by-name, find-package, upgradeable?): New
  procedures, moved from...
  (guix-package): ... here.

10 years agoChange indentation rule for 'package' for the common case.
Mark H Weaver [Tue, 29 Oct 2013 16:19:44 +0000 (12:19 -0400)]
Change indentation rule for 'package' for the common case.

* .dir-locals.el: Change the indentation rule for 'package' to do the right
  thing for packages without an inherit clause.

10 years agolist-runtime-roots: List files referenced by environment variables.
Ludovic Courtès [Mon, 28 Oct 2013 23:08:15 +0000 (00:08 +0100)]
list-runtime-roots: List files referenced by environment variables.

Inspired by <https://github.com/NixOS/nix/compare/772b70952f75...4ddd077bfa9a>.

* nix/scripts/list-runtime-roots.in (%store-directory): New variable.
  (proc-environ-roots): New procedure.
  (<top-level>): Use it.

10 years agodoc: Augment the "Porting" section.
Ludovic Courtès [Mon, 28 Oct 2013 21:59:57 +0000 (22:59 +0100)]
doc: Augment the "Porting" section.

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

* doc/guix.texi (Porting): Document needed changes to (gnu packages
  bootstrap) and (gnu packages linux).

10 years agognu: Add python2-empy.
Ludovic Courtès [Mon, 28 Oct 2013 21:54:48 +0000 (22:54 +0100)]
gnu: Add python2-empy.

* gnu/packages/python.scm (python2-empy): New variable.

10 years agobuild-system/{cmake,perl}: Don't use (guix build gnu-build-system).
Ludovic Courtès [Mon, 28 Oct 2013 21:54:27 +0000 (22:54 +0100)]
build-system/{cmake,perl}: Don't use (guix build gnu-build-system).

Previously references to '%standard-phases' in builder-side code would
refer to the wrong one.

* guix/build-system/cmake.scm (cmake-build): Remove (guix build
  gnu-build-system) from the default MODULES value.
* guix/build-system/perl.scm (perl-build): Likewise.

10 years agognu: gcc-4.8: Upgrade to 4.8.2.
Nikita Karetnikov [Mon, 28 Oct 2013 16:44:26 +0000 (16:44 +0000)]
gnu: gcc-4.8: Upgrade to 4.8.2.

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

10 years agognu: mesa: Update URI.
Andreas Enge [Sat, 26 Oct 2013 13:09:15 +0000 (15:09 +0200)]
gnu: mesa: Update URI.

* gnu/packages/xorg.scm (mesa): Update URI.

10 years agognu: lzip: Update to 1.15.
Andreas Enge [Sat, 26 Oct 2013 13:03:27 +0000 (15:03 +0200)]
gnu: lzip: Update to 1.15.

* gnu/packages/compression.scm (lzip): Update to 1.15.

10 years agognu: Add libmikmod.
David Thompson [Mon, 21 Oct 2013 23:50:01 +0000 (19:50 -0400)]
gnu: Add libmikmod.

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

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: Add Pem.
Eric Bavier [Mon, 21 Oct 2013 23:05:25 +0000 (18:05 -0500)]
gnu: Add Pem.

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

Signed-off-by: Andreas Enge <andreas@enge.fr>
10 years agognu: Add sharutils.
Andreas Enge [Fri, 25 Oct 2013 22:24:44 +0000 (00:24 +0200)]
gnu: Add sharutils.

* gnu/packages/compression.scm (sharutils): New variable.

10 years agognu: rsync: Update to 3.1.0.
Andreas Enge [Fri, 25 Oct 2013 20:44:51 +0000 (22:44 +0200)]
gnu: rsync: Update to 3.1.0.

* gnu/packages/rsync.scm (rsync): Update to 3.1.0.

10 years agognu: gmp: Update to 5.1.3.
Andreas Enge [Thu, 24 Oct 2013 15:54:16 +0000 (17:54 +0200)]
gnu: gmp: Update to 5.1.3.

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

10 years agognu: qt: Correct source uri.
Andreas Enge [Wed, 23 Oct 2013 21:32:24 +0000 (23:32 +0200)]
gnu: qt: Correct source uri.

* gnu/packages/qt.scm (qt-4): Correct source uri (reported by
    Cyril Roelandt <tipecaml@gmail.com>).

10 years agognu: Add GLPK.
Andreas Enge [Tue, 22 Oct 2013 18:24:33 +0000 (20:24 +0200)]
gnu: Add GLPK.

* gnu/packages/maths.scm (glpk): New variable.

10 years agognu: Add GNU Alive.
Ludovic Courtès [Fri, 18 Oct 2013 22:07:28 +0000 (00:07 +0200)]
gnu: Add GNU Alive.

* gnu/packages/system.scm (alive): New variable.

10 years agobuild: Build the bootstrap-graph.{png,eps,pdf} under $(top_srcdir).
Ludovic Courtès [Fri, 18 Oct 2013 20:05:39 +0000 (22:05 +0200)]
build: Build the bootstrap-graph.{png,eps,pdf} under $(top_srcdir).

Fixes <http://bugs.gnu.org/15640>.
Reported by Eric Bavier <ericbavier@gmail.com>.

* doc.am (EXTRA_DIST): Add doc/images/bootstrap-graph.pdf to the
  distribution.
  (pdf-local, info-local, ps-local): Prepend $(top_srcdir) to the image
  file names.

10 years agognu: dfc: Add missing input.
Ludovic Courtès [Thu, 17 Oct 2013 22:25:06 +0000 (00:25 +0200)]
gnu: dfc: Add missing input.

* gnu/packages/system.scm (dfc): Add 'native-inputs' field.

10 years agognu: glib: Work around test failure in 'gio/tests/network-address.c'.
Ludovic Courtès [Thu, 17 Oct 2013 21:50:11 +0000 (23:50 +0200)]
gnu: glib: Work around test failure in 'gio/tests/network-address.c'.

* gnu/packages/patches/glib-tests-newnet.patch: New file.
* gnu/packages/glib.scm (glib): Use it.
* gnu-system.am (dist_patch_DATA): Add it.

10 years agognu: evince: Set search path for MIME info.
Ludovic Courtès [Thu, 17 Oct 2013 21:13:20 +0000 (23:13 +0200)]
gnu: evince: Set search path for MIME info.

* gnu/packages/gnome.scm (evince): Add #:phases argument.  Remove "perl"
  and "perl-xml-parser" inputs since they are not directly needed; move
  "intltool" to 'native-inputs'.

10 years agognu: Add shared-mime-info.
Ludovic Courtès [Thu, 17 Oct 2013 20:43:27 +0000 (22:43 +0200)]
gnu: Add shared-mime-info.

* gnu/packages/gnome.scm (shared-mime-info): New variable.

10 years agognu: Add SCons.
Ludovic Courtès [Thu, 17 Oct 2013 20:27:39 +0000 (22:27 +0200)]
gnu: Add SCons.

* gnu/packages/python.scm (scons): New variable.

10 years agodoc: Improve the copyright notice.
Nikita Karetnikov [Thu, 17 Oct 2013 13:21:10 +0000 (13:21 +0000)]
doc: Improve the copyright notice.

10 years agognu: make: Update to 4.0, with Guile support.
Ludovic Courtès [Wed, 16 Oct 2013 14:27:45 +0000 (16:27 +0200)]
gnu: make: Update to 4.0, with Guile support.

* gnu/packages/base.scm (gnu-make): Update to 4.0.  Add Guile as an input.
  (gnu-make-boot0): Patch 'build.sh' so it does not attempt to build 'guile.c'.
  (gnu-make-final): New variable.
  (%final-inputs): Use it.
  (glibc): Add 'glibc-make-4.0.patch'.
* gnu/packages/patches/glibc-make-4.0.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

10 years agognu: base: Fix circular dependency between %final-outputs and <origin> inputs.
Ludovic Courtès [Wed, 16 Oct 2013 14:15:07 +0000 (16:15 +0200)]
gnu: base: Fix circular dependency between %final-outputs and <origin> inputs.

* gnu/packages/base.scm (%final-inputs): Add
  'package-with-bootstrap-guile' to 'finalize'.

10 years agoutils: 'find-files' always returns a proper list.
Ludovic Courtès [Wed, 16 Oct 2013 13:53:59 +0000 (15:53 +0200)]
utils: 'find-files' always returns a proper list.

Reported at <http://bugs.gnu.org/15608>.

* guix/build/utils.scm (find-files): Change the 'error' procedure to
  return RESULT.  Before we would end up with an improper list.

10 years agognu: readline: Turn 'patches' into a list.
Ludovic Courtès [Wed, 16 Oct 2013 13:51:43 +0000 (15:51 +0200)]
gnu: readline: Turn 'patches' into a list.

* gnu/packages/readline.scm (readline): Turn 'patches' into a list.

10 years agognu: harfbuzz: Update to 0.9.22.
Andreas Enge [Wed, 16 Oct 2013 08:44:56 +0000 (10:44 +0200)]
gnu: harfbuzz: Update to 0.9.22.

* gnu/packages/gtk.scm (harfbuzz): Update to 0.9.22; should solve the test
    problems on i686.

10 years agoUpdate 'AUTHORS'.
Ludovic Courtès [Tue, 15 Oct 2013 22:13:40 +0000 (00:13 +0200)]
Update 'AUTHORS'.

10 years agognu: Add autogen package
Eric Bavier [Mon, 14 Oct 2013 17:55:53 +0000 (12:55 -0500)]
gnu: Add autogen package

* gnu/package/autogen.scm: New file
* gnu-system.am: Add it

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agoRemove weirdnesses caused by 'letrec*' behavior of record field initializers.
Ludovic Courtès [Tue, 15 Oct 2013 21:42:58 +0000 (23:42 +0200)]
Remove weirdnesses caused by 'letrec*' behavior of record field initializers.

* gnu/packages/bootstrap.scm (package-from-tarball): Remove '*' from
  parameter names.  Adjust accordingly.
* gnu/packages/linux-initrd.scm (expression->initrd): Use 'name'
  directly, removing the 'name*' alias.
* gnu/packages/linux.scm (linux-libre-headers, linux-libre): Rename
  'version*' to 'version'.

10 years agorecords: define-record-type*: Field bindings are bound with 'let*'.
Ludovic Courtès [Tue, 15 Oct 2013 21:31:22 +0000 (23:31 +0200)]
records: define-record-type*: Field bindings are bound with 'let*'.

* guix/records.scm (define-record-type*): Wrap field bindings in a
  'let*', not in a 'letrec*', which turned out to be pointlessly
  inconvenient.
* tests/records.scm: Adjust test names accordingly.

10 years agobuild: Add 'clean-go' target.
Ludovic Courtès [Tue, 15 Oct 2013 21:25:08 +0000 (23:25 +0200)]
build: Add 'clean-go' target.

* Makefile.am (clean-go): New phony target.

10 years agoguix package: '--search' matches against package names.
Ludovic Courtès [Tue, 15 Oct 2013 20:59:50 +0000 (22:59 +0200)]
guix package: '--search' matches against package names.

* guix/scripts/package.scm (find-packages-by-description): Return
  packages whose name matches RX.

10 years agoThank Jeffrin and David.
Ludovic Courtès [Mon, 14 Oct 2013 21:18:54 +0000 (23:18 +0200)]
Thank Jeffrin and David.

10 years agognu: Add libtheora.
David Thompson [Mon, 14 Oct 2013 20:40:02 +0000 (16:40 -0400)]
gnu: Add libtheora.

* gnu/packages/oggvorbis.scm (libtheora): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
10 years agognu: subversion, cmake: Clean up descriptions.
Ludovic Courtès [Mon, 14 Oct 2013 07:48:52 +0000 (09:48 +0200)]
gnu: subversion, cmake: Clean up descriptions.

* gnu/packages/cmake.scm (cmake): Simplify the synopsis.
* gnu/packages/version-control.scm (subversion): Remove "open-source"
  from the description.

10 years agognu: Add libgnome-keyring and Evince.
Ludovic Courtès [Sun, 13 Oct 2013 20:49:52 +0000 (22:49 +0200)]
gnu: Add libgnome-keyring and Evince.

* gnu/packages/gnome.scm (libgnome-keyring, evince): New variables.

10 years agognu: poppler: Build the poppler-glib bindings.
Ludovic Courtès [Sun, 13 Oct 2013 20:49:23 +0000 (22:49 +0200)]
gnu: poppler: Build the poppler-glib bindings.

* gnu/packages/pdf.scm (poppler): Add Cairo and GLib as inputs.

10 years agognu: Add dogtail.
Ludovic Courtès [Sun, 13 Oct 2013 20:35:50 +0000 (22:35 +0200)]
gnu: Add dogtail.

* gnu/packages/python.scm (python2-dogtail): New variable.

10 years agopull: Compile modules correctly regardless of the compilation order.
Ludovic Courtès [Sun, 13 Oct 2013 20:22:42 +0000 (22:22 +0200)]
pull: Compile modules correctly regardless of the compilation order.

* guix/scripts/pull.scm (unpack)[builder]: Work around
  <http://bugs.gnu.org/15602>.