Commit Graph

6112 Commits

Author SHA1 Message Date
Ludovic Courtès 347f54ed33 utils: 'find-files' does not follow symlinks by default.
Fixes <http://bugs.gnu.org/20081>.
Reported by Tomáš Čech <sleep_walker@suse.cz>.

* guix/build/utils.scm (find-files): Add #:stat parameter.  Pass it as
  last argument to 'file-system-fold'.
2015-04-06 23:09:54 +02:00
Mark H Weaver e081385af2 gnu: linux-libre-headers: Update to 3.14.37.
* gnu/packages/linux.scm (linux-libre-headers): Update to 3.14.37.
2015-04-06 10:25:03 -04:00
Federico Beffa b198545df6 build-system/gnu: Add docstring to 'delete-info-dir-file'.
* guix/build/gnu-build-system.scm (delete-info-dir-file): Add docstring.
2015-04-06 10:47:31 +02:00
Federico Beffa 26b261ecfe build-system/gnu: Add 'delete-info-dir-file' phase.
* guix/build/gnu-build-system.scm (delete-info-dir-file): New procedure.
  (%standard-phases): Use it.
2015-04-06 10:22:21 +02:00
宋文武 1b85e57f11 gnu: glib: Add search path specification for 'GIO_EXTRA_MODULES'.
* gnu/packages/glib.scm (glib): Add specification for 'GIO_EXTRA_MODULES'.
2015-04-05 21:17:03 -04:00
Andy Wingo d8720c5045 gnu: cairo: Update to 1.14.2.
* gnu/packages/gtk.scm (cairo): Update to 1.14.2.
2015-04-05 18:22:23 -04:00
Andy Wingo 6e5c371306 gnu: glib: Update to 2.44.0.
* gnu/packages/glib.scm (glib): Update to 2.44.0.
2015-04-05 18:22:19 -04:00
Andy Wingo 4aaad09db1 gnu: gettext: Link explicitly to libexpat, again.
* gnu/packages/gettext.scm (gnu-gettext): Re-enable patch from
  0e4e4b1329 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>
2015-04-05 23:18:53 +02:00
Ludovic Courtès 29ec55ee27 gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.
* gnu/packages/linux.scm (util-linux)[arguments]: Pass
  --with-bashcompletiondir.
2015-04-05 23:18:19 +02:00
Ludovic Courtès dacd5d2ca7 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.
2015-04-05 15:40:48 +02:00
Ludovic Courtès 1d386b2d71 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.
2015-04-05 15:23:11 +02:00
Ludovic Courtès c17b2adf54 gnu: ghostscript: Use 'modify-phases'.
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Use
  'modify-phases' instead of a chain of 'alist-cons-after'.
2015-04-05 10:45:56 +02:00
Ludovic Courtès 85345684d6 gnu: ghostscript: Make sure phases don't fail.
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Wrap 'system*'
  calls in (zero? ...).
2015-04-05 10:44:02 +02:00
Ludovic Courtès 3e462da5c1 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.
2015-04-05 01:17:30 +02:00
Mark H Weaver 353fda815e gnu: ed: Update to 1.11.
* gnu/packages/ed.scm (ed): Update to 1.11.
2015-04-04 03:46:55 -04:00
Ludovic Courtès 4a740d0fec 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".
2015-04-03 22:31:15 +02:00
Ludovic Courtès 9bab6bea86 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@.
2015-04-03 22:28:06 +02:00
Ludovic Courtès 8fdd410160 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.
2015-04-03 22:28:04 +02:00
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