Commit Graph

6094 Commits

Author SHA1 Message Date
Ludovic Courtès 9c4b6e5484 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.
2015-04-02 22:25:55 +02:00
Ludovic Courtès 7e3c9f741b 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.
2015-04-02 10:26:15 +02:00
Ludovic Courtès c2366e3ce4 gnu: commencement: Turn off RUNPATH checks for 'gcc-final'.
* gnu/packages/commencement.scm (gcc-final)[arguments]: Add
  #:validate-runpath? #f.
2015-04-02 00:19:53 +02:00
Ludovic Courtès 112da58875 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.
2015-04-01 16:47:49 +02:00
Ludovic Courtès 4ba3a84d07 utils: Make the second 'find-files' argument optional.
* guix/build/utils.scm (find-files): Make 'pred' optional.
2015-04-01 15:43:54 +02:00
Ludovic Courtès 8ff3df5baa 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.
2015-04-01 15:41:55 +02:00
Ludovic Courtès 8f3c3e84c2 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.
2015-04-01 15:39:47 +02:00
Ludovic Courtès bb42c78a23 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.
2015-04-01 15:34:19 +02:00
Ludovic Courtès 7be8c63e0d 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.
2015-04-01 14:17:39 +02:00
Ludovic Courtès d83ccc9b42 gremlin: Add libnsl to libc's library list.
* guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".
2015-04-01 13:46:01 +02:00
Ludovic Courtès ed835ad710 gnu: node: Remove unneeded import.
* gnu/packages/node.scm: Remove import of (guix build gnu-build-system).
2015-04-01 10:36:17 +02:00
Ludovic Courtès 4c0d38bee3
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.
2015-03-31 23:07:17 +02:00
Ludovic Courtès 1968262a23 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.
2015-03-31 22:55:41 +02:00
Ludovic Courtès f8503e2b25 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.
2015-03-31 22:43:01 +02:00
Ludovic Courtès 023dd28a30 Merge branch 'master' into core-updates 2015-03-31 22:41:54 +02:00
Ludovic Courtès 15aa2c3842 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.
2015-03-31 22:23:57 +02:00
Ludovic Courtès 4e7b6b4838 tests: Fix module name for 'lint'.
* tests/lint.scm: Change module name to 'test-lint'.
2015-03-31 22:23:57 +02:00
Mark H Weaver fbbcf6989b gnu: xterm: Update to 317.
* gnu/packages/xorg.scm (xterm): Update to 317.
2015-03-31 14:30:38 -04:00
Ricardo Wurmus c5372108f2 gnu: pbtranscript-tofu: Add missing inputs.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[inputs]: Add missing
  runtime inputs.
2015-03-31 20:04:41 +02:00
Ricardo Wurmus 49261e45d8 gnu: pbtranscript-tofu: Delete pre-built libraries.
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete
  "build" directory and any shared objects after unpacking.
2015-03-31 20:04:32 +02:00
Ricardo Wurmus 32f77c0445 gnu: Add python-networkx.
* gnu/packages/python.scm (python-networkx, python2-networkx): New variables.
2015-03-31 20:00:21 +02:00
Ricardo Wurmus 3cff95cbee gnu: Add python-decorator.
* gnu/packages/python.scm (python-decorator, python2-decorator): New
  variables.
2015-03-31 20:00:00 +02:00
Ricardo Wurmus de07c0db4a gnu: Add vcftools.
* gnu/packages/bioinformatics.scm (vcftools): New variable.
2015-03-31 17:43:52 +02:00
Ricardo Wurmus 8e913213d9 gnu: Add cutadapt.
* gnu/packages/bioinformatics.scm (cutadapt): New variable.
2015-03-31 17:38:56 +02:00
Taylan Ulrich Bayırlı/Kammer 9af288a680 gnu: ngircd: Fix test suite.
* gnu/packages/messaging.scm (ngircd): Overwrite getpid.sh with a more
  reliable version.
2015-03-31 16:16:53 +02:00
Ludovic Courtès f73b8e3d0a install: Create /var/tmp.
Suggested by Mark H Weaver <mhw@netris.org>.

* gnu/build/install.scm (directives): Add /var/tmp.
2015-03-31 13:59:37 +02:00
Ludovic Courtès e9f1fa39a2 gnu: Add missing copyright line.
* gnu/packages/graphics.scm: Add copyright line for 87bafa0.
2015-03-30 15:37:35 +02:00
Ludovic Courtès 96af558907 elf: Add missing argument in 'elf-segment'.
* guix/elf.scm (elf-segment): Add missing argument N.
2015-03-30 15:21:11 +02:00
Mark H Weaver a06af9f528 gnu: tzdata: Update to 2015b.
* gnu/packages/base.scm (tzdata): Update to 2015b.
2015-03-30 06:01:03 -04:00
Mark H Weaver 8d30be32fa Revert "gnu: tzdata: Update to 2015b."
This reverts commit 41fd23334d.
2015-03-30 06:00:14 -04:00
Taylan Ulrich Bayırlı/Kammer 147479c918 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.
2015-03-30 11:47:33 +02:00
Taylan Ulrich Bayırlı/Kammer b47be0214d 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.
2015-03-30 11:47:33 +02:00
Mark H Weaver 41fd23334d gnu: tzdata: Update to 2015b.
* gnu/packages/base.scm (tzdata): Update to 2015b.
2015-03-30 05:34:24 -04:00
Mark H Weaver e930c2a350 gnu: liba52: Pass --build to configure.
* gnu/packages/video.scm (liba52)[arguments]: Pass --build to configure.
2015-03-29 21:36:31 -04:00
Mark H Weaver 18ad5bff7a gnu: xbindkeys: Pass --build to configure.
* gnu/packages/xdisorg.scm (xbindkeys)[arguments]: Pass --build to
  configure.
2015-03-29 21:35:24 -04:00
Ludovic Courtès 2242ff45fa gexp: Slightly simplify 'lower-inputs'.
* guix/gexp.scm (lower-inputs): Simplify first case by removing the
  'input' binding.
2015-03-29 22:23:33 +02:00
Ludovic Courtès d9ae938f2c 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.
2015-03-29 22:23:33 +02:00
Ludovic Courtès b39fc6f7bc 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.
2015-03-29 22:23:33 +02:00
Eric Bavier 065b795497 gnu: Add tocc.
* gnu/packages/search.scm (libtocc, tocc): New variables.
2015-03-29 14:35:37 -05:00
Eric Bavier b4a9c92467 gnu: Add UnQLite.
* gnu/packages/databases.scm (unqlite): New variable.
2015-03-29 14:35:37 -05:00
Eric Bavier 3bfc99c74c gnu: Add Catch.
* gnu/packages/check.scm (catch-framework): New variable.
2015-03-29 14:28:11 -05:00
Jason Self 2babe98e4e gnu: linux-libre: Update to 3.18.10
* gnu/packages/linux.scm (linux-libre): Update to version 3.18.10.
2015-03-28 19:26:02 -07:00
Taylan Ulrich Bayırlı/Kammer 1c1178cd17 gnu: Add mpv.
* gnu/packages/video.scm (mpv): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 6f6c8b6537 gnu: Add vapoursynth.
* gnu/packages/video.scm (vapoursynth): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer d814be32d5 gnu: Add tesseract-ocr.
* gnu/packages/ocr.scm (tesseract-ocr): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 9e617a5419 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.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 894e2cba52 gnu: Add leptonica.
* gnu/packages/image.scm (leptonica): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 060ad3def4 gnu: Add libwebp.
* gnu/packages/image.scm (libwebp): New variable.
2015-03-27 19:39:31 +01:00
Taylan Ulrich Bayırlı/Kammer 9b5db9be7f gnu: freeglut: Add mesa to propagated inputs.
* gnu/packages/gl.scm (freeglut): Add mesa to propagated inputs.
2015-03-27 19:39:30 +01:00
Taylan Ulrich Bayırlı/Kammer ee3b55ea6d gnu: Add libva.
* gnu/packages/video.scm (libva): New variable.
2015-03-27 19:39:30 +01:00