jackhill/guix/guix.git
9 years agognu: glib: Add search path specification for 'GIO_EXTRA_MODULES'.
宋文武 [Sun, 5 Apr 2015 15:10:19 +0000 (23:10 +0800)]
gnu: glib: Add search path specification for 'GIO_EXTRA_MODULES'.

* gnu/packages/glib.scm (glib): Add specification for 'GIO_EXTRA_MODULES'.

9 years agognu: cairo: Update to 1.14.2.
Andy Wingo [Sat, 4 Apr 2015 20:44:02 +0000 (22:44 +0200)]
gnu: cairo: Update to 1.14.2.

* gnu/packages/gtk.scm (cairo): Update to 1.14.2.

9 years agognu: glib: Update to 2.44.0.
Andy Wingo [Sat, 4 Apr 2015 20:30:10 +0000 (22:30 +0200)]
gnu: glib: Update to 2.44.0.

* gnu/packages/glib.scm (glib): Update to 2.44.0.

9 years agognu: gettext: Link explicitly to libexpat, again.
Andy Wingo [Sun, 5 Apr 2015 08:22:28 +0000 (10:22 +0200)]
gnu: gettext: Link explicitly to libexpat, again.

* gnu/packages/gettext.scm (gnu-gettext): Re-enable patch from
  0e4e4b1329bcf881620f230fda60b6b63d1f8356 to explictly link to
  libexpat.  Otherwise libexpat was searched at runtime via dlopen,
  which obviously doesn't work in a Guix context.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
9 years agognu: util-linux: Install Bash completions under 'etc/bash_completion.d'.
Ludovic Courtès [Sun, 5 Apr 2015 21:18:19 +0000 (23:18 +0200)]
gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.

* gnu/packages/linux.scm (util-linux)[arguments]: Pass
  --with-bashcompletiondir.

9 years agogremlin: Ignore non-store file names in RUNPATH and warn about them.
Ludovic Courtès [Sun, 5 Apr 2015 13:31:55 +0000 (15:31 +0200)]
gremlin: Ignore non-store file names in RUNPATH and warn about them.

* guix/build/gremlin.scm (validate-needed-in-runpath)[runpath]:
  Add (filter absolute-file-name? ...).
  Emit a warning when RUNPATH file names that do not match
  'store-file-name?'.  Change format of error message to begin with file
  name.
* guix/build/utils.scm (store-file-name?): New procedure.

9 years agognu: ghostscript: Add $libdir to the RUNPATH of executables.
Ludovic Courtès [Sun, 5 Apr 2015 13:23:11 +0000 (15:23 +0200)]
gnu: ghostscript: Add $libdir to the RUNPATH of executables.

Fixes <http://bugs.gnu.org/20050>.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* gnu/packages/patches/ghostscript-runpath.patch: New file.
* gnu/packages/ghostscript.scm (ghostscript)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: ghostscript: Use 'modify-phases'.
Ludovic Courtès [Sun, 5 Apr 2015 08:45:56 +0000 (10:45 +0200)]
gnu: ghostscript: Use 'modify-phases'.

* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Use
  'modify-phases' instead of a chain of 'alist-cons-after'.

9 years agognu: ghostscript: Make sure phases don't fail.
Ludovic Courtès [Sun, 5 Apr 2015 08:44:02 +0000 (10:44 +0200)]
gnu: ghostscript: Make sure phases don't fail.

* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Wrap 'system*'
  calls in (zero? ...).

9 years agognu: openssl: Set appropriate RUNPATH on shared libraries.
Ludovic Courtès [Sat, 4 Apr 2015 23:17:30 +0000 (01:17 +0200)]
gnu: openssl: Set appropriate RUNPATH on shared libraries.

Fixes <http://bugs.gnu.org/20041>.
Reported by taylanbayirli@gmail.com (Taylan Ulrich Bayırlı/Kammer).

* gnu/packages/patches/openssl-runpath.patch: New file.
* gnu/packages/openssl.scm (openssl)[source]: Use it.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: ed: Update to 1.11.
Mark H Weaver [Sat, 4 Apr 2015 07:32:37 +0000 (03:32 -0400)]
gnu: ed: Update to 1.11.

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

9 years agognu: cross-base: Use an 'ld' wrapper also when cross-compiling.
Ludovic Courtès [Fri, 3 Apr 2015 19:26:24 +0000 (21:26 +0200)]
gnu: cross-base: Use an 'ld' wrapper also when cross-compiling.

* gnu/packages/base.scm (make-ld-wrapper): Add #:target parameter and
  honor it.
* gnu/packages/cross-base.scm (cross-gcc-arguments)[#:phases]
  <make-cross-binutils-visible>: Refer to the ld wrapper.
  (cross-gcc)[native-inputs]: Add "ld-wrapper-cross".

9 years agognu: ld-wrapper: Use a hard-coded self-reference instead of $0.
Ludovic Courtès [Fri, 3 Apr 2015 20:27:45 +0000 (22:27 +0200)]
gnu: ld-wrapper: Use a hard-coded self-reference instead of $0.

* gnu/packages/ld-wrapper.scm: Use @SELF@ instead of $0.  This is so
  that the .go file is found even when the wrapper is invoked via a
  symlink to it.
* gnu/packages/base.scm (make-ld-wrapper): Substitute @SELF@.

9 years agognu: Add 'make-ld-wrapper' procedure.
Ludovic Courtès [Fri, 3 Apr 2015 09:54:01 +0000 (11:54 +0200)]
gnu: Add 'make-ld-wrapper' procedure.

* gnu/packages/base.scm (make-ld-wrapper): New procedure.  Abstracted
  from...
* gnu/packages/commencement.scm (ld-wrapper-boot3): ... here.  Use it.

9 years agognu: ncurses: Install terminfo files when cross-compiling.
Ludovic Courtès [Thu, 2 Apr 2015 20:24:43 +0000 (22:24 +0200)]
gnu: ncurses: Install terminfo files when cross-compiling.

* gnu/packages/ncurses.scm (ncurses): Remove 'cross-pre-install-phase'.
  When cross-compiling, it was leading to an empty $out/share/terminfo
  directory.

9 years agognu: gcc: Fix libgcc_s directory in RUNPATH for cross-compiled binaries.
Ludovic Courtès [Thu, 2 Apr 2015 08:26:15 +0000 (10:26 +0200)]
gnu: gcc: Fix libgcc_s directory in RUNPATH for cross-compiled binaries.

* gnu/packages/gcc.scm (gcc-4.7): Add 'libdir' procedure.  Use it to
  determine the right libdir, including when cross-compiling.  This
  fixes a bug whereby the RUNPATH of cross-compiled binaries would be
  set to $crossgcc/lib instead of $crossgcc/$triplet/lib.
  See <http://hydra.gnu.org/build/354389/nixlog/1/raw> for an example.

9 years agognu: commencement: Turn off RUNPATH checks for 'gcc-final'.
Ludovic Courtès [Wed, 1 Apr 2015 22:19:53 +0000 (00:19 +0200)]
gnu: commencement: Turn off RUNPATH checks for 'gcc-final'.

* gnu/packages/commencement.scm (gcc-final)[arguments]: Add
  #:validate-runpath? #f.

9 years agobuild-system/gnu: Add 'validate-runpath' phase.
Ludovic Courtès [Wed, 1 Apr 2015 14:47:49 +0000 (16:47 +0200)]
build-system/gnu: Add 'validate-runpath' phase.

* guix/build/gnu-build-system.scm (every*, validate-runpath): New
  procedures.
  (%standard-phases): Add 'validate-runpath'.
* guix/build-system/gnu.scm (%gnu-build-system-modules): Add (guix build
  gremlin) and (guix elf).
  (gnu-build): Add #:validate-runpath?.
  [builder]: Pass it.
  (gnu-cross-build): Likewise.
* gnu/packages/base.scm (glibc)[arguments]: Add #:validate-runpath? #f.

9 years agoutils: Make the second 'find-files' argument optional.
Ludovic Courtès [Wed, 1 Apr 2015 13:43:54 +0000 (15:43 +0200)]
utils: Make the second 'find-files' argument optional.

* guix/build/utils.scm (find-files): Make 'pred' optional.

9 years agognu: Refer to %GNU-BUILD-SYSTEM-MODULES instead of listing modules.
Ludovic Courtès [Wed, 1 Apr 2015 13:41:55 +0000 (15:41 +0200)]
gnu: Refer to %GNU-BUILD-SYSTEM-MODULES instead of listing modules.

* gnu/packages/cdrom.scm (cdparanoia)[arguments]: Refer to
  %GNU-BUILD-SYSTEM-MODULES instead of providing the actual list.
* gnu/packages/emacs.scm (magit, emacs-w3m, emacs-wget, emms):
  Likewise.
* gnu/packages/haskell.scm (ghc): Likewise.
* gnu/packages/samba.scm (samba): Likewise.
* gnu/packages/video.scm (ffmpeg): Likewise.

9 years agognu: Remove unneeded uses of #:imported-modules.
Ludovic Courtès [Wed, 1 Apr 2015 13:39:47 +0000 (15:39 +0200)]
gnu: Remove unneeded uses of #:imported-modules.

* gnu/packages/certs.scm (nss-certs)[arguments]: Remove
  #:imported-modules.
* gnu/packages/gnuzilla.scm (nss)[arguments]: Likewise.
* gnu/packages/texlive.scm (texlive-texmf)[arguments]: Likewise.
* gnu/packages/xfce.scm (xfce)[arguments]: Likewise.

9 years agobuild-system: Factorize the list of modules imported on the build side.
Ludovic Courtès [Wed, 1 Apr 2015 13:34:19 +0000 (15:34 +0200)]
build-system: Factorize the list of modules imported on the build side.

* guix/build-system/gnu.scm (%default-modules): Rename to...
  (%gnu-build-system-modules): ... this.
  (%default-modules): New variable.
  (dist-package, gnu-build): Use %GNU-BUILD-SYSTEM-MODULES for
  #:imported-modules.
  (gnu-cross-build): Likewise, and use %DEFAULT-MODULES for #:modules.
* guix/build-system/cmake.scm (%cmake-build-system-modules): New
  variable.
  (cmake-build): Use it for #:imported-modules.
* guix/build-system/glib-or-gtk.scm (%default-imported-modules): Rename
  to...
  (%glib-or-gtk-build-system-modules): ... this.  Refer to
  %GNU-BUILD-SYSTEM-MODULES.  Adjust uses.
* guix/build-system/perl.scm (%perl-build-system-modules): New
  variable.
  (perl-build): Use it for #:imported-modules.
* guix/build-system/python.scm (%python-build-system-modules): New
  variable.
  (python-build): Use it for #:imported-modules.
* guix/build-system/ruby.scm (%ruby-build-system-modules): New variable.
  (ruby-build): Use it for #:imported-modules.
* guix/build-system/waf.scm (%waf-build-system-modules): New variable.
  (waf-build): Use it for #:imported-modules.

9 years agogremlin: Guard against invalid ELF segments.
Ludovic Courtès [Wed, 1 Apr 2015 12:02:49 +0000 (14:02 +0200)]
gremlin: Guard against invalid ELF segments.

* guix/build/gremlin.scm (&elf-error, &invalid-segment-size): New error
  condition types.
  (dynamic-link-segment): Compare SEGMENT's offset + size to ELF's total
  size.
  (validate-needed-in-runpath): Wrap body in 'guard' form.

9 years agogremlin: Add libnsl to libc's library list.
Ludovic Courtès [Wed, 1 Apr 2015 11:46:01 +0000 (13:46 +0200)]
gremlin: Add libnsl to libc's library list.

* guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".

9 years agognu: node: Remove unneeded import.
Ludovic Courtès [Wed, 1 Apr 2015 08:36:17 +0000 (10:36 +0200)]
gnu: node: Remove unneeded import.

* gnu/packages/node.scm: Remove import of (guix build gnu-build-system).

9 years agognu: Update bootstrap binaries for x86_64 and i686.
Ludovic Courtès [Tue, 31 Mar 2015 21:06:51 +0000 (23:06 +0200)]
gnu: Update bootstrap binaries for x86_64 and i686.

Fixes <http://bugs.gnu.org/19780>.
Reported by Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>.

* gnu/packages/bootstrap/i686-linux/bash,
  gnu/packages/bootstrap/i686-linux/mkdir,
  gnu/packages/bootstrap/i686-linux/tar,
  gnu/packages/bootstrap/i686-linux/xz,
  gnu/packages/bootstrap/x86_64-linux/bash,
  gnu/packages/bootstrap/x86_64-linux/mkdir,
  gnu/packages/bootstrap/x86_64-linux/tar,
  gnu/packages/bootstrap/x86_64-linux/xz: Update from
  <ftp://alpha.gnu.org:/gnu/guix/bootstrap/i686-linux/20131110/static-binaries.tar.xz>
  and
  <ftp://alpha.gnu.org:/gnu/guix/bootstrap/x86_64-linux/20131110/static-binaries.tar.xz>,
  respectively.  The libc in those binaries has no dynamic NSS support,
  which could otherwise lead to crashes when they tried to load NSS
  modules of the host system.

9 years agoutils: 'find-files' takes an arbitrary predicate as its second argument.
Ludovic Courtès [Tue, 31 Mar 2015 20:55:41 +0000 (22:55 +0200)]
utils: 'find-files' takes an arbitrary predicate as its second argument.

* guix/build/utils.scm (file-name-predicate): New procedure.
  (find-files): Rename second parameter to 'pred'.  When 'pred' is not a
  procedure, call 'file-name-predicate'.  Use PRED instead of
  'regexp-exec' in the leaf procedure.

9 years agoutils: 'modify-phases' no longer introduces quotes.
Ludovic Courtès [Tue, 31 Mar 2015 20:43:01 +0000 (22:43 +0200)]
utils: 'modify-phases' no longer introduces quotes.

Suggested by Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>.

* guix/build/utils.scm (%modify-phases): Remove quotes.
* guix/build/cmake-build-system.scm (%standard-phases): Adjust
  accordingly.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
* gnu/packages/bash.scm, gnu/packages/code.scm, gnu/packages/gl.scm,
  gnu/packages/gnome.scm, gnu/packages/graphics.scm,
  gnu/packages/image.scm, gnu/packages/key-mon.scm,
  gnu/packages/ocr.scm, gnu/packages/plotutils.scm,
  gnu/packages/search.scm, gnu/packages/video.scm: Likewise.

9 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Tue, 31 Mar 2015 20:41:54 +0000 (22:41 +0200)]
Merge branch 'master' into core-updates

9 years agoAdd (guix build gremlin).
Ludovic Courtès [Tue, 31 Mar 2015 20:10:08 +0000 (22:10 +0200)]
Add (guix build gremlin).

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

9 years agotests: Fix module name for 'lint'.
Ludovic Courtès [Tue, 31 Mar 2015 19:59:05 +0000 (21:59 +0200)]
tests: Fix module name for 'lint'.

* tests/lint.scm: Change module name to 'test-lint'.

9 years agognu: xterm: Update to 317.
Mark H Weaver [Tue, 31 Mar 2015 18:30:05 +0000 (14:30 -0400)]
gnu: xterm: Update to 317.

* gnu/packages/xorg.scm (xterm): Update to 317.

9 years agognu: pbtranscript-tofu: Add missing inputs.
Ricardo Wurmus [Tue, 31 Mar 2015 11:46:27 +0000 (13:46 +0200)]
gnu: pbtranscript-tofu: Add missing inputs.

* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[inputs]: Add missing
  runtime inputs.

9 years agognu: pbtranscript-tofu: Delete pre-built libraries.
Ricardo Wurmus [Tue, 31 Mar 2015 10:37:31 +0000 (12:37 +0200)]
gnu: pbtranscript-tofu: Delete pre-built libraries.

* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete
  "build" directory and any shared objects after unpacking.

9 years agognu: Add python-networkx.
Ricardo Wurmus [Tue, 31 Mar 2015 10:35:09 +0000 (12:35 +0200)]
gnu: Add python-networkx.

* gnu/packages/python.scm (python-networkx, python2-networkx): New variables.

9 years agognu: Add python-decorator.
Ricardo Wurmus [Tue, 31 Mar 2015 10:34:37 +0000 (12:34 +0200)]
gnu: Add python-decorator.

* gnu/packages/python.scm (python-decorator, python2-decorator): New
  variables.

9 years agognu: Add vcftools.
Ricardo Wurmus [Fri, 20 Mar 2015 15:50:33 +0000 (16:50 +0100)]
gnu: Add vcftools.

* gnu/packages/bioinformatics.scm (vcftools): New variable.

9 years agognu: Add cutadapt.
Ricardo Wurmus [Fri, 20 Mar 2015 15:17:55 +0000 (16:17 +0100)]
gnu: Add cutadapt.

* gnu/packages/bioinformatics.scm (cutadapt): New variable.

9 years agognu: ngircd: Fix test suite.
Taylan Ulrich Bayırlı/Kammer [Mon, 30 Mar 2015 08:37:11 +0000 (10:37 +0200)]
gnu: ngircd: Fix test suite.

* gnu/packages/messaging.scm (ngircd): Overwrite getpid.sh with a more
  reliable version.

9 years agoinstall: Create /var/tmp.
Ludovic Courtès [Tue, 31 Mar 2015 11:59:37 +0000 (13:59 +0200)]
install: Create /var/tmp.

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

* gnu/build/install.scm (directives): Add /var/tmp.

9 years agognu: Add missing copyright line.
Ludovic Courtès [Mon, 30 Mar 2015 13:37:35 +0000 (15:37 +0200)]
gnu: Add missing copyright line.

* gnu/packages/graphics.scm: Add copyright line for 87bafa0.

9 years agoelf: Add missing argument in 'elf-segment'.
Ludovic Courtès [Mon, 30 Mar 2015 13:20:55 +0000 (15:20 +0200)]
elf: Add missing argument in 'elf-segment'.

* guix/elf.scm (elf-segment): Add missing argument N.

9 years agognu: tzdata: Update to 2015b.
Mark H Weaver [Mon, 30 Mar 2015 09:33:33 +0000 (05:33 -0400)]
gnu: tzdata: Update to 2015b.

* gnu/packages/base.scm (tzdata): Update to 2015b.

9 years agoRevert "gnu: tzdata: Update to 2015b."
Mark H Weaver [Mon, 30 Mar 2015 09:59:51 +0000 (05:59 -0400)]
Revert "gnu: tzdata: Update to 2015b."

This reverts commit 41fd23334d9932c978579576fd86c5f89894c015.

9 years agognu: Add audacity.
Taylan Ulrich Bayırlı/Kammer [Fri, 20 Feb 2015 20:52:21 +0000 (21:52 +0100)]
gnu: Add audacity.

* gnu/packages/audacity.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/patches/audacity-fix-ffmpeg-binding.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: portaudio: Patch for Audacity compatibility.
Taylan Ulrich Bayırlı/Kammer [Mon, 2 Mar 2015 00:06:35 +0000 (01:06 +0100)]
gnu: portaudio: Patch for Audacity compatibility.

* gnu/packages/audio.scm (portaudio): Add a patch for Audacity compatibility.
* gnu/packages/patches/portaudio-audacity-compat.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.

9 years agognu: tzdata: Update to 2015b.
Mark H Weaver [Mon, 30 Mar 2015 09:33:33 +0000 (05:33 -0400)]
gnu: tzdata: Update to 2015b.

* gnu/packages/base.scm (tzdata): Update to 2015b.

9 years agognu: liba52: Pass --build to configure.
Mark H Weaver [Mon, 30 Mar 2015 01:35:34 +0000 (21:35 -0400)]
gnu: liba52: Pass --build to configure.

* gnu/packages/video.scm (liba52)[arguments]: Pass --build to configure.

9 years agognu: xbindkeys: Pass --build to configure.
Mark H Weaver [Mon, 30 Mar 2015 01:34:02 +0000 (21:34 -0400)]
gnu: xbindkeys: Pass --build to configure.

* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Pass --build to
  configure.

9 years agogexp: Slightly simplify 'lower-inputs'.
Ludovic Courtès [Sat, 28 Mar 2015 17:24:03 +0000 (18:24 +0100)]
gexp: Slightly simplify 'lower-inputs'.

* guix/gexp.scm (lower-inputs): Simplify first case by removing the
  'input' binding.

9 years agogexp: Add 'local-file'.
Ludovic Courtès [Sat, 28 Mar 2015 20:26:33 +0000 (21:26 +0100)]
gexp: Add 'local-file'.

* guix/gexp.scm (<local-file>): New record type.
  (local-file): New procedure.
  (local-file-compiler): New compiler.
  (gexp->sexp) <struct? thing>: Handle the case where 'lower' returns a
  file name.
  (text-file*): Update docstring.local-file doc
* tests/gexp.scm ("one local file", "gexp->derivation, local-file"): New
  tests.
* doc/guix.texi (G-Expressions): Mention local files early.  Document
  'local-file'.  Update 'text-file*' documentation.

9 years agodoc: Update gexp wrt. extensibility.
Ludovic Courtès [Sat, 28 Mar 2015 20:16:36 +0000 (21:16 +0100)]
doc: Update gexp wrt. extensibility.

This is a followup to bcb1328.

* doc/guix.texi (G-Expressions): Move paragraph about extensibility
  below.  Remove assumptions that things are either packages or
  derivations.

9 years agognu: Add tocc.
Eric Bavier [Fri, 27 Mar 2015 21:16:41 +0000 (16:16 -0500)]
gnu: Add tocc.

* gnu/packages/search.scm (libtocc, tocc): New variables.

9 years agognu: Add UnQLite.
Eric Bavier [Fri, 27 Mar 2015 21:15:02 +0000 (16:15 -0500)]
gnu: Add UnQLite.

* gnu/packages/databases.scm (unqlite): New variable.

9 years agognu: Add Catch.
Eric Bavier [Fri, 27 Mar 2015 21:12:01 +0000 (16:12 -0500)]
gnu: Add Catch.

* gnu/packages/check.scm (catch-framework): New variable.

9 years agognu: linux-libre: Update to 3.18.10
Jason Self [Sun, 29 Mar 2015 02:26:02 +0000 (19:26 -0700)]
gnu: linux-libre: Update to 3.18.10

* gnu/packages/linux.scm (linux-libre): Update to version 3.18.10.

9 years agognu: Add mpv.
Taylan Ulrich Bayırlı/Kammer [Thu, 19 Mar 2015 22:46:21 +0000 (23:46 +0100)]
gnu: Add mpv.

* gnu/packages/video.scm (mpv): New variable.

9 years agognu: Add vapoursynth.
Taylan Ulrich Bayırlı/Kammer [Sat, 21 Mar 2015 22:09:11 +0000 (23:09 +0100)]
gnu: Add vapoursynth.

* gnu/packages/video.scm (vapoursynth): New variable.

9 years agognu: Add tesseract-ocr.
Taylan Ulrich Bayırlı/Kammer [Sat, 21 Mar 2015 19:11:56 +0000 (20:11 +0100)]
gnu: Add tesseract-ocr.

* gnu/packages/ocr.scm (tesseract-ocr): New variable.

9 years agognu: Rename (gnu packages ocrad) to (gnu packages ocr).
Taylan Ulrich Bayırlı/Kammer [Fri, 20 Mar 2015 15:22:34 +0000 (16:22 +0100)]
gnu: Rename (gnu packages ocrad) to (gnu packages ocr).

* gnu/packages/ocrad.scm: Deleted.
* gnu/packages/ocr.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Change ocrad.scm to ocr.scm.

9 years agognu: Add leptonica.
Taylan Ulrich Bayırlı/Kammer [Sat, 21 Mar 2015 18:41:54 +0000 (19:41 +0100)]
gnu: Add leptonica.

* gnu/packages/image.scm (leptonica): New variable.

9 years agognu: Add libwebp.
Taylan Ulrich Bayırlı/Kammer [Sat, 21 Mar 2015 18:40:21 +0000 (19:40 +0100)]
gnu: Add libwebp.

* gnu/packages/image.scm (libwebp): New variable.

9 years agognu: freeglut: Add mesa to propagated inputs.
Taylan Ulrich Bayırlı/Kammer [Sat, 21 Mar 2015 18:36:25 +0000 (19:36 +0100)]
gnu: freeglut: Add mesa to propagated inputs.

* gnu/packages/gl.scm (freeglut): Add mesa to propagated inputs.

9 years agognu: Add libva.
Taylan Ulrich Bayırlı/Kammer [Fri, 20 Mar 2015 14:52:52 +0000 (15:52 +0100)]
gnu: Add libva.

* gnu/packages/video.scm (libva): New variable.

9 years agoFix remaining references to "substitute-binary".
Taylan Ulrich Bayırlı/Kammer [Thu, 26 Mar 2015 22:34:21 +0000 (23:34 +0100)]
Fix remaining references to "substitute-binary".

* nix/nix-daemon/guix-daemon.cc (main): Change substitute-binary to
  substitute.
* po/guix/POTFILES.in: Likewise.
* tests/guix-daemon.sh: Likewise.
* tests/guix-system.sh: Likewise.

9 years agognu: glibc: Fix cross-compilation regression.
Ludovic Courtès [Thu, 26 Mar 2015 22:09:35 +0000 (23:09 +0100)]
gnu: glibc: Fix cross-compilation regression.

Fixes a regression introduced in 12b0dbd.
See <http://lists.gnu.org/archive/html/guix-devel/2015-03/msg00698.html>.

* gnu/packages/base.scm (glibc)[arguments] <pre-configure>: Add
  #:native-inputs parameter.  Look up "static-bash" first in INPUTS,
  then in NATIVE-INPUTS.

9 years agognu: wpa-supplicant: Install DBUS access configuration.
Tomáš Čech [Thu, 26 Mar 2015 15:08:13 +0000 (16:08 +0100)]
gnu: wpa-supplicant: Install DBUS access configuration.

* gnu/packages/admin.scm (wpa-supplicant): Install DBUS configuration file.

9 years agognu: global: Update to 6.4.
Ludovic Courtès [Thu, 26 Mar 2015 15:40:35 +0000 (16:40 +0100)]
gnu: global: Update to 6.4.

* gnu/packages/code.scm (global): Update to 6.4.

9 years agognu: tor: Update to 0.2.5.11.
Ludovic Courtès [Thu, 26 Mar 2015 15:38:16 +0000 (16:38 +0100)]
gnu: tor: Update to 0.2.5.11.

* gnu/packages/tor.scm (tor): Update to 0.2.5.11.

9 years agognu: nano: Update to 2.4.0.
Ludovic Courtès [Thu, 26 Mar 2015 15:37:47 +0000 (16:37 +0100)]
gnu: nano: Update to 2.4.0.

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

9 years agoservices: guix-service: Add service documentation.
Alex Kost [Wed, 25 Mar 2015 18:48:28 +0000 (21:48 +0300)]
services: guix-service: Add service documentation.

* gnu/services/base.scm (guix-service): Add 'documentation' field to the
  service.

9 years agoservices: Add 'lirc-service'.
Alex Kost [Sun, 22 Mar 2015 13:33:17 +0000 (16:33 +0300)]
services: Add 'lirc-service'.

* gnu/services/lirc.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
* doc/guix.texi (Various Services): New node.  Document 'lirc-service'.

9 years agognu: Add LIRC.
Alex Kost [Sun, 22 Mar 2015 13:23:47 +0000 (16:23 +0300)]
gnu: Add LIRC.

* gnu/packages/lirc.scm: New file.
* gnu/packages/patches/lirc-localstatedir.patch: New file.
* gnu-system.am: Add them.

9 years agognu: Add IBus.
Ricardo Wurmus [Mon, 16 Mar 2015 06:54:13 +0000 (07:54 +0100)]
gnu: Add IBus.

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

9 years agognu: openblas: build for all supported CPUs.
Ricardo Wurmus [Wed, 25 Mar 2015 18:20:11 +0000 (19:20 +0100)]
gnu: openblas: build for all supported CPUs.

* gnu/packages/maths.scm (openblas)[arguments]: Add "DYNAMIC_ARCH=1" to
  make flags.  Remove "#:substitutable? #f".

9 years agognu: openssh: Update to 6.8p1.
Mark H Weaver [Thu, 26 Mar 2015 03:09:22 +0000 (23:09 -0400)]
gnu: openssh: Update to 6.8p1.

* gnu/packages/ssh.scm (openssh): Update to 6.8p1.  Make 'patch-tests'
  substitution more robust.

9 years agognu: Add gnome-mines.
宋文武 [Tue, 24 Mar 2015 11:52:22 +0000 (19:52 +0800)]
gnu: Add gnome-mines.

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

9 years agognu: cross-base: Make the libc static-bash bug more apparent.
Ludovic Courtès [Wed, 25 Mar 2015 20:26:31 +0000 (21:26 +0100)]
gnu: cross-base: Make the libc static-bash bug more apparent.

The 'static-bash' input of cross libcs has always been compiled
natively.  This patch makes the issue more visible.

* gnu/packages/cross-base.scm (cross-libc): Add 'inputs' field, and
  add (package-inputs glibc) to 'native-inputs'.

9 years agognu: icecat: Apply fixes for CVE-2015-{0817,0818} and other selected bugs.
Mark H Weaver [Wed, 25 Mar 2015 12:20:49 +0000 (08:20 -0400)]
gnu: icecat: Apply fixes for CVE-2015-{0817,0818} and other selected bugs.

* gnu/packages/patches/icecat-CVE-2015-0817.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt1.patch,
  gnu/packages/patches/icecat-CVE-2015-0818-pt2.patch,
  gnu/packages/patches/icecat-bug-1127780.patch,
  gnu/packages/patches/icecat-bug-1144991.patch,
  gnu/packages/patches/icecat-bug-1145870.patch,
  gnu/packages/patches/icecat-bug-1146339.patch: New files.
* gnu-system.am (dist_patch_DATA): Add them.
* gnu/packages/gnuzilla.scm (icecat): Add patches.

9 years agoMerge branch 'master' into core-updates
Ludovic Courtès [Wed, 25 Mar 2015 09:52:52 +0000 (10:52 +0100)]
Merge branch 'master' into core-updates

9 years agosubstitute: Rename cache directory from "substitute-binary" to "substitute".
Ludovic Courtès [Wed, 25 Mar 2015 09:44:19 +0000 (10:44 +0100)]
substitute: Rename cache directory from "substitute-binary" to "substitute".

* guix/scripts/substitute.scm (%narinfo-cache-directory): Change
  "substitute-binary" to "substitute".
* tests/store.scm ("substitute query"): Likewise.
* tests/substitute.scm (call-with-narinfo): Likewise.

9 years agoRename 'guix substitute-binary' to 'guix substitute'.
Ludovic Courtès [Wed, 25 Mar 2015 09:34:27 +0000 (10:34 +0100)]
Rename 'guix substitute-binary' to 'guix substitute'.

* guix/scripts/substitute-binary.scm: Rename to...
* guix/scripts/substitute.scm: ... this.  Adjust module name, entry
  point, comments, and help string accordingly.
* nix/scripts/substitute-binary.in: Rename to...
* nix/scripts/substitute.in: ... this.
* pre-inst-env.in (NIX_SUBSTITUTERS): Adjust accordingly.
* tests/substitute-binary.scm: Rename to...
* tests/substitute.scm: ... this.  Adjust references to (guix scripts
  substitute) accordingly.
* guix/ui.scm (show-guix-help)[internal?]: Change "substitute-binary" to
  "substitute".
* Makefile.am (MODULES, SCM_TESTS): Adjust to file renames.
* daemon.am (nodist_pkglibexec_SCRIPTS): Likewise.
* config-daemon.ac: Likewise.
* guix/tests.scm (call-with-derivation-narinfo): Adjust comments and
  docstring.

9 years agoderivations: 'substitution-oracle' now ignores sub-trees that are valid.
Ludovic Courtès [Wed, 25 Mar 2015 08:48:52 +0000 (09:48 +0100)]
derivations: 'substitution-oracle' now ignores sub-trees that are valid.

Before that, "guix build qt", when only qt itself is missing, would lead
'substitution-oracle' to call 'substitutable-paths' with 318 items.
Now, this is down to 6 items, because it doesn't ask about prerequisites
that are already valid.

* guix/derivations.scm (substitution-oracle)[valid-input?,
  dependencies]: New procedures.
  Use 'dependencies' and remove call to 'remove'.

9 years agoderivations: Add a 'cut?' parameter to 'derivation-prerequisites'.
Ludovic Courtès [Wed, 25 Mar 2015 08:42:45 +0000 (09:42 +0100)]
derivations: Add a 'cut?' parameter to 'derivation-prerequisites'.

* guix/derivations.scm (valid-derivation-input?): New procedure.
  (derivation-prerequisites): Add 'cut?' parameter and honor it.
* tests/derivations.scm ("derivation-prerequisites and
  derivation-input-is-valid?"): New test.

9 years agognu: python: Do not use patchelf.
Mark H Weaver [Mon, 23 Mar 2015 02:39:56 +0000 (22:39 -0400)]
gnu: python: Do not use patchelf.

* gnu/packages/python.scm (python-2): Add rpath for lib directory of output to
  LDFLAGS.  Remove 'patchelf' from inputs.  Remove #:modules and
  #:imported-modules from arguments.  Remove 'add-lib-to-runpath' phase.
  (python): Do not add #:modules to inherited package arguments.

9 years agoderivations: Don't invoke the substituter when an item is already in store.
Ludovic Courtès [Tue, 24 Mar 2015 21:47:25 +0000 (22:47 +0100)]
derivations: Don't invoke the substituter when an item is already in store.

Fixes <http://bugs.gnu.org/20188>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/derivations.scm (substitution-oracle): Add 'valid?' procedure.
  Remove 'valid?' items from PATHS.

9 years agopackages: Add zip archive support to 'patch-and-repack'.
Eric Bavier [Tue, 24 Mar 2015 15:52:05 +0000 (10:52 -0500)]
packages: Add zip archive support to 'patch-and-repack'.

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

* guix/packages.scm (%standard-patch-inputs): Add "unzip".
  (patch-and-repack)[decompression-type]: Detect zip archive.
  [build]: Invoke "unzip" when appropriate.

9 years agognu: calibre: Add a patch to avoid automatic checking for updates.
Andreas Enge [Tue, 24 Mar 2015 19:35:37 +0000 (20:35 +0100)]
gnu: calibre: Add a patch to avoid automatic checking for updates.

* gnu/packages/patches/calibre-no-updates-dialog.patch: New file.
* gnu-system.am (dist_patch_DATA): Register patch.
* gnu/packages/ebook.scm (calibre): Use patch.

9 years agognu: Add pbtranscript-tofu.
Ricardo Wurmus [Fri, 20 Mar 2015 13:36:38 +0000 (14:36 +0100)]
gnu: Add pbtranscript-tofu.

* gnu/packages/bioinformatics.scm (pbtranscript-tofu): New variable.

9 years agognu: Add python2-bx-python.
Ricardo Wurmus [Wed, 18 Mar 2015 13:39:42 +0000 (14:39 +0100)]
gnu: Add python2-bx-python.

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

9 years agognu: Add python2-pbcore.
Ricardo Wurmus [Fri, 20 Mar 2015 11:39:50 +0000 (12:39 +0100)]
gnu: Add python2-pbcore.

* gnu/packages/bioinformatics.scm (python2-pbcore): New variable.

9 years agognu: guix: Update snapshot.
Ludovic Courtès [Mon, 23 Mar 2015 22:13:18 +0000 (23:13 +0100)]
gnu: guix: Update snapshot.

* gnu/packages/package-management.scm (guix-devel): Update.

9 years agognu: geiser: Make description more concise and less personal.
Ludovic Courtès [Mon, 23 Mar 2015 21:18:25 +0000 (22:18 +0100)]
gnu: geiser: Make description more concise and less personal.

* gnu/packages/emacs.scm (geiser)[description]: Tweak.

9 years agognu: geiser: Update to 0.7.
Ludovic Courtès [Mon, 23 Mar 2015 21:17:56 +0000 (22:17 +0100)]
gnu: geiser: Update to 0.7.

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

9 years agosubstitute-binary: Remove thread-safe 'regexp-exec' wrapper.
Ludovic Courtès [Thu, 8 Jan 2015 22:11:28 +0000 (23:11 +0100)]
substitute-binary: Remove thread-safe 'regexp-exec' wrapper.

* guix/scripts/substitute-binary.scm: Remove 'regexp-exec' setting.

9 years agosubstitute-binary: Pipeline HTTP requests instead of using threads.
Ludovic Courtès [Mon, 23 Mar 2015 21:25:04 +0000 (22:25 +0100)]
substitute-binary: Pipeline HTTP requests instead of using threads.

* guix/scripts/substitute-binary.scm (fetch-narinfo, %lookup-threads,
  n-par-map*): Remove.
  (narinfo-cache-file, cached-narinfo, cache-narinfo!, narinfo-request,
  http-multiple-get, read-to-eof, fetch-narinfos, lookup-narinfos,
  narinfo-from-file): New procedures.
  (lookup-narinfo): Rewrite in terms of 'lookup-narinfos'.
  (guix-substitute-binary): Use 'lookup-narinfos' instead of
  'lookup-narinfo'.

9 years agosubstitute-binary: Allow callers to specify the size of a narinfo.
Ludovic Courtès [Mon, 5 Jan 2015 21:31:34 +0000 (22:31 +0100)]
substitute-binary: Allow callers to specify the size of a narinfo.

* guix/scripts/substitute-binary.scm (read-narinfo): Add #:size
  parameter and honor it.

9 years agoRemove unused patchelf inputs.
Mark H Weaver [Mon, 23 Mar 2015 03:56:19 +0000 (23:56 -0400)]
Remove unused patchelf inputs.

* gnu/packages/maths.scm (lapack, gmsh), gnu/packages/ssh.scm (libssh): Remove
  unused patchelf from native-inputs.

9 years agognu: bigloo: Use Emacs with X11 support.
Ludovic Courtès [Mon, 23 Mar 2015 14:17:50 +0000 (15:17 +0100)]
gnu: bigloo: Use Emacs with X11 support.

* gnu/packages/scheme.scm (bigloo)[inputs]: Change EMACS-NO-X to EMACS.

9 years agognu: sdl: Explicitly use mesa as OpenGL driver.
宋文武 [Sat, 21 Mar 2015 07:08:39 +0000 (15:08 +0800)]
gnu: sdl: Explicitly use mesa as OpenGL driver.

* gnu/packages/sdl.scm (sdl)[arguments]<#:configure-flags>: Add
  'LDFLAGS=-lGL'.