summary refs log tree commit diff
AgeCommit message (Collapse)Author
2015-04-07gnu: gcc: Disable RUNPATH validation for native builds.Ludovic Courtès
* gnu/packages/gcc.scm (gcc-4.7)[arguments]: Pass #:validate-runpath? #f. * gnu/packages/commencement.scm (gcc-boot0)[arguments]: Override #:validate-runpath? with 'substitute-keyword-arguments'. (gcc-final)[arguments]: Likewise. * gnu/packages/cross-base.scm (cross-gcc-arguments): Likewise.
2015-04-07gnu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.Ludovic Courtès
* gnu/packages/ld-wrapper.scm (%disable-rpath?): New variable. (rpath-arguments): Honor it.
2015-04-07gnu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.Ludovic Courtès
This avoids adding bogus entries to the RUNPATH of installed binaries, pointing to the build directory or similar. * gnu/packages/ld-wrapper.scm (store-file-name?): New procedure. (rpath-arguments): Add "-rpath" flag on when FILE matches 'store-file-name?', not when it matches 'pure-file-name?'.
2015-04-07gnu: ld-wrapper: Extract symlink dereferencing.Ludovic Courtès
* gnu/packages/ld-wrapper.scm (readlink*, dereference-symlinks): New procedures. (pure-file-name?): Use it instead of local loop.
2015-04-06gnu: dbus: Update to 1.8.16.Mark H Weaver
* gnu/packages/glib.scm (dbus): Update to 1.8.16.
2015-04-06gnu: gnutls: Update to 3.3.14.Mark H Weaver
* gnu/packages/gnutls.scm (gnutls): Update to 3.3.14.
2015-04-06gnu: gtk+: Update to 3.16.0.Andy Wingo
* gnu/packages/gtk.scm (gtk+): Update to 3.16.0. Add libepoxy to propagated-inputs. Add gettext to native-inputs. Add a 'pre-configure' phase instead of modifying the existing 'configure' phase. Fix references to 'gtk-update-icon-cache' in Makefile.in files. Co-Authored-By: Mark H Weaver <mhw@netris.org>
2015-04-06gnu: Add libepoxy.Andy Wingo
* gnu/packages/gl.scm (libepoxy): New variable. Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-06gnu: Paper over a build circularity problem.Andy Wingo
A forthcoming gtk+ update that will import (gnu packages gl) from (gnu packages gtk) triggers an issue related to circular dependencies between modules. This patch works around the issue. * gnu/packages/sdl.scm: Remove the #:prefix from the (gnu packages fontutils) import, and instead #:hide 'freetype' from the (guix licenses) import. Modified-By: Mark H Weaver <mhw@netris.org>
2015-04-06utils: 'find-files' does not follow symlinks by default.Ludovic Courtès
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-06gnu: linux-libre-headers: Update to 3.14.37.Mark H Weaver
* gnu/packages/linux.scm (linux-libre-headers): Update to 3.14.37.
2015-04-06build-system/gnu: Add docstring to 'delete-info-dir-file'.Federico Beffa
* guix/build/gnu-build-system.scm (delete-info-dir-file): Add docstring.
2015-04-06build-system/gnu: Add 'delete-info-dir-file' phase.Federico Beffa
* guix/build/gnu-build-system.scm (delete-info-dir-file): New procedure. (%standard-phases): Use it.
2015-04-05gnu: glib: Add search path specification for 'GIO_EXTRA_MODULES'.宋文武
* gnu/packages/glib.scm (glib): Add specification for 'GIO_EXTRA_MODULES'.
2015-04-05gnu: cairo: Update to 1.14.2.Andy Wingo
* gnu/packages/gtk.scm (cairo): Update to 1.14.2.
2015-04-05gnu: glib: Update to 2.44.0.Andy Wingo
* gnu/packages/glib.scm (glib): Update to 2.44.0.
2015-04-05gnu: gettext: Link explicitly to libexpat, again.Andy Wingo
* 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>
2015-04-05gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.Ludovic Courtès
* gnu/packages/linux.scm (util-linux)[arguments]: Pass --with-bashcompletiondir.
2015-04-05gremlin: Ignore non-store file names in RUNPATH and warn about them.Ludovic Courtès
* 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-05gnu: ghostscript: Add $libdir to the RUNPATH of executables.Ludovic Courtès
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-05gnu: ghostscript: Use 'modify-phases'.Ludovic Courtès
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Use 'modify-phases' instead of a chain of 'alist-cons-after'.
2015-04-05gnu: ghostscript: Make sure phases don't fail.Ludovic Courtès
* gnu/packages/ghostscript.scm (ghostscript)[arguments]: Wrap 'system*' calls in (zero? ...).
2015-04-05gnu: openssl: Set appropriate RUNPATH on shared libraries.Ludovic Courtès
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-04gnu: ed: Update to 1.11.Mark H Weaver
* gnu/packages/ed.scm (ed): Update to 1.11.
2015-04-03gnu: cross-base: Use an 'ld' wrapper also when cross-compiling.Ludovic Courtès
* 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-03gnu: ld-wrapper: Use a hard-coded self-reference instead of $0.Ludovic Courtès
* 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-03gnu: Add 'make-ld-wrapper' procedure.Ludovic Courtès
* gnu/packages/base.scm (make-ld-wrapper): New procedure. Abstracted from... * gnu/packages/commencement.scm (ld-wrapper-boot3): ... here. Use it.
2015-04-02gnu: ncurses: Install terminfo files when cross-compiling.Ludovic Courtès
* 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-02gnu: gcc: Fix libgcc_s directory in RUNPATH for cross-compiled binaries.Ludovic Courtès
* 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-02gnu: commencement: Turn off RUNPATH checks for 'gcc-final'.Ludovic Courtès
* gnu/packages/commencement.scm (gcc-final)[arguments]: Add #:validate-runpath? #f.
2015-04-01build-system/gnu: Add 'validate-runpath' phase.Ludovic Courtès
* 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-01utils: Make the second 'find-files' argument optional.Ludovic Courtès
* guix/build/utils.scm (find-files): Make 'pred' optional.
2015-04-01gnu: Refer to %GNU-BUILD-SYSTEM-MODULES instead of listing modules.Ludovic Courtès
* 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-01gnu: Remove unneeded uses of #:imported-modules.Ludovic Courtès
* 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-01build-system: Factorize the list of modules imported on the build side.Ludovic Courtès
* 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-01gremlin: Guard against invalid ELF segments.Ludovic Courtès
* 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-01gremlin: Add libnsl to libc's library list.Ludovic Courtès
* guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".
2015-04-01gnu: node: Remove unneeded import.Ludovic Courtès
* gnu/packages/node.scm: Remove import of (guix build gnu-build-system).
2015-03-31gnu: Update bootstrap binaries for x86_64 and i686.Ludovic Courtès
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-31utils: 'find-files' takes an arbitrary predicate as its second argument.Ludovic Courtès
* 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-31utils: 'modify-phases' no longer introduces quotes.Ludovic Courtès
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-31Merge branch 'master' into core-updatesLudovic Courtès
2015-03-31Add (guix build gremlin).Ludovic Courtès
* 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-31tests: Fix module name for 'lint'.Ludovic Courtès
* tests/lint.scm: Change module name to 'test-lint'.
2015-03-31gnu: xterm: Update to 317.Mark H Weaver
* gnu/packages/xorg.scm (xterm): Update to 317.
2015-03-31gnu: pbtranscript-tofu: Add missing inputs.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[inputs]: Add missing runtime inputs.
2015-03-31gnu: pbtranscript-tofu: Delete pre-built libraries.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete "build" directory and any shared objects after unpacking.
2015-03-31gnu: Add python-networkx.Ricardo Wurmus
* gnu/packages/python.scm (python-networkx, python2-networkx): New variables.
2015-03-31gnu: Add python-decorator.Ricardo Wurmus
* gnu/packages/python.scm (python-decorator, python2-decorator): New variables.
2015-03-31gnu: Add vcftools.Ricardo Wurmus
* gnu/packages/bioinformatics.scm (vcftools): New variable.