summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* gnu: Emit a warning when a package module cannot be loaded.Ludovic Courtès2015-04-07
| | | | | | * guix/ui.scm (warn-about-load-error): New procedure. * gnu/packages.scm (package-modules): Wrap 'resolve-interface' call in 'catch #t', and call 'warn-about-load-error' in handler.
* ui: Add 'report-load-error'.Ludovic Courtès2015-04-07
| | | | | | * guix/scripts/system.scm (read-operating-system): Replace error handling code by a call to 'report-load-error'. * guix/ui.scm (report-load-error): New procedure.
* gnu: Change ld-wrapper extension from .scm to .in.Ludovic Courtès2015-04-07
| | | | | | | | | * gnu/packages/ld-wrapper.scm: Rename to... * gnu/packages/ld-wrapper.in: ... this. * gnu/packages/base.scm (make-ld-wrapper): Adjust "wrapper" input accordingly. * gnu-system.am (GNU_SYSTEM_MODULES): Remove ld-wrapper.scm. (MISC_DISTRO_FILES): New variable.
* gnu: gcc: Disable RUNPATH validation for native builds.Ludovic Courtès2015-04-07
| | | | | | | | | * 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.
* gnu: ld-wrapper: Add 'GUIX_LD_WRAPPER_DISABLE_RPATH' environment variable.Ludovic Courtès2015-04-07
| | | | | * gnu/packages/ld-wrapper.scm (%disable-rpath?): New variable. (rpath-arguments): Honor it.
* gnu: ld-wrapper: Add '-rpath' flag only for libraries that are in the store.Ludovic Courtès2015-04-07
| | | | | | | | | 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?'.
* gnu: ld-wrapper: Extract symlink dereferencing.Ludovic Courtès2015-04-07
| | | | | | * gnu/packages/ld-wrapper.scm (readlink*, dereference-symlinks): New procedures. (pure-file-name?): Use it instead of local loop.
* gnu: dbus: Update to 1.8.16.Mark H Weaver2015-04-06
| | | | * gnu/packages/glib.scm (dbus): Update to 1.8.16.
* gnu: gnutls: Update to 3.3.14.Mark H Weaver2015-04-06
| | | | * gnu/packages/gnutls.scm (gnutls): Update to 3.3.14.
* gnu: gtk+: Update to 3.16.0.Andy Wingo2015-04-06
| | | | | | | | | * 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>
* gnu: Add libepoxy.Andy Wingo2015-04-06
| | | | | | * gnu/packages/gl.scm (libepoxy): New variable. Modified-By: Mark H Weaver <mhw@netris.org>
* gnu: Paper over a build circularity problem.Andy Wingo2015-04-06
| | | | | | | | | | | 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>
* utils: 'find-files' does not follow symlinks by default.Ludovic Courtès2015-04-06
| | | | | | | | 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'.
* gnu: linux-libre-headers: Update to 3.14.37.Mark H Weaver2015-04-06
| | | | * gnu/packages/linux.scm (linux-libre-headers): Update to 3.14.37.
* build-system/gnu: Add docstring to 'delete-info-dir-file'.Federico Beffa2015-04-06
| | | | * guix/build/gnu-build-system.scm (delete-info-dir-file): Add docstring.
* build-system/gnu: Add 'delete-info-dir-file' phase.Federico Beffa2015-04-06
| | | | | * guix/build/gnu-build-system.scm (delete-info-dir-file): New procedure. (%standard-phases): Use it.
* gnu: glib: Add search path specification for 'GIO_EXTRA_MODULES'.宋文武2015-04-05
| | | | * gnu/packages/glib.scm (glib): Add specification for 'GIO_EXTRA_MODULES'.
* gnu: cairo: Update to 1.14.2.Andy Wingo2015-04-05
| | | | * gnu/packages/gtk.scm (cairo): Update to 1.14.2.
* gnu: glib: Update to 2.44.0.Andy Wingo2015-04-05
| | | | * gnu/packages/glib.scm (glib): Update to 2.44.0.
* gnu: gettext: Link explicitly to libexpat, again.Andy Wingo2015-04-05
| | | | | | | | | * 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>
* gnu: util-linux: Install Bash completions under 'etc/bash_completion.d'.Ludovic Courtès2015-04-05
| | | | | * gnu/packages/linux.scm (util-linux)[arguments]: Pass --with-bashcompletiondir.
* gremlin: Ignore non-store file names in RUNPATH and warn about them.Ludovic Courtès2015-04-05
| | | | | | | | | * 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.
* gnu: ghostscript: Add $libdir to the RUNPATH of executables.Ludovic Courtès2015-04-05
| | | | | | | | | 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.
* gnu: ghostscript: Use 'modify-phases'.Ludovic Courtès2015-04-05
| | | | | * gnu/packages/ghostscript.scm (ghostscript)[arguments]: Use 'modify-phases' instead of a chain of 'alist-cons-after'.
* gnu: ghostscript: Make sure phases don't fail.Ludovic Courtès2015-04-05
| | | | | * gnu/packages/ghostscript.scm (ghostscript)[arguments]: Wrap 'system*' calls in (zero? ...).
* gnu: openssl: Set appropriate RUNPATH on shared libraries.Ludovic Courtès2015-04-05
| | | | | | | | | 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.
* gnu: ed: Update to 1.11.Mark H Weaver2015-04-04
| | | | * gnu/packages/ed.scm (ed): Update to 1.11.
* gnu: cross-base: Use an 'ld' wrapper also when cross-compiling.Ludovic Courtès2015-04-03
| | | | | | | | * 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".
* gnu: ld-wrapper: Use a hard-coded self-reference instead of $0.Ludovic Courtès2015-04-03
| | | | | | | * 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@.
* gnu: Add 'make-ld-wrapper' procedure.Ludovic Courtès2015-04-03
| | | | | | * gnu/packages/base.scm (make-ld-wrapper): New procedure. Abstracted from... * gnu/packages/commencement.scm (ld-wrapper-boot3): ... here. Use it.
* gnu: ncurses: Install terminfo files when cross-compiling.Ludovic Courtès2015-04-02
| | | | | | * gnu/packages/ncurses.scm (ncurses): Remove 'cross-pre-install-phase'. When cross-compiling, it was leading to an empty $out/share/terminfo directory.
* gnu: gcc: Fix libgcc_s directory in RUNPATH for cross-compiled binaries.Ludovic Courtès2015-04-02
| | | | | | | | * 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.
* gnu: commencement: Turn off RUNPATH checks for 'gcc-final'.Ludovic Courtès2015-04-02
| | | | | * gnu/packages/commencement.scm (gcc-final)[arguments]: Add #:validate-runpath? #f.
* build-system/gnu: Add 'validate-runpath' phase.Ludovic Courtès2015-04-01
| | | | | | | | | | | | * 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.
* utils: Make the second 'find-files' argument optional.Ludovic Courtès2015-04-01
| | | | * guix/build/utils.scm (find-files): Make 'pred' optional.
* gnu: Refer to %GNU-BUILD-SYSTEM-MODULES instead of listing modules.Ludovic Courtès2015-04-01
| | | | | | | | | | * 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.
* gnu: Remove unneeded uses of #:imported-modules.Ludovic Courtès2015-04-01
| | | | | | | | * 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.
* build-system: Factorize the list of modules imported on the build side.Ludovic Courtès2015-04-01
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* gremlin: Guard against invalid ELF segments.Ludovic Courtès2015-04-01
| | | | | | | | * 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.
* gremlin: Add libnsl to libc's library list.Ludovic Courtès2015-04-01
| | | | * guix/build/gremlin.scm (%libc-libraries): Add "libnsl.so".
* gnu: node: Remove unneeded import.Ludovic Courtès2015-04-01
| | | | * gnu/packages/node.scm: Remove import of (guix build gnu-build-system).
* gnu: Update bootstrap binaries for x86_64 and i686.Ludovic Courtès2015-03-31
| | | | | | | | | | | | | | | | | | | | 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.
* utils: 'find-files' takes an arbitrary predicate as its second argument.Ludovic Courtès2015-03-31
| | | | | | | * 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.
* utils: 'modify-phases' no longer introduces quotes.Ludovic Courtès2015-03-31
| | | | | | | | | | | | | | | | | | | 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.
* Merge branch 'master' into core-updatesLudovic Courtès2015-03-31
|\
| * Add (guix build gremlin).Ludovic Courtès2015-03-31
| | | | | | | | | | | | * guix/build/gremlin.scm, tests/gremlin.scm: New files. * Makefile.am (MODULES): Add guix/build/gremlin.scm. (SCM_TESTS): Add tests/gremlin.scm.
| * tests: Fix module name for 'lint'.Ludovic Courtès2015-03-31
| | | | | | | | * tests/lint.scm: Change module name to 'test-lint'.
| * gnu: xterm: Update to 317.Mark H Weaver2015-03-31
| | | | | | | | * gnu/packages/xorg.scm (xterm): Update to 317.
| * gnu: pbtranscript-tofu: Add missing inputs.Ricardo Wurmus2015-03-31
| | | | | | | | | | * gnu/packages/bioinformatics.scm (pbtranscript-tofu)[inputs]: Add missing runtime inputs.
| * gnu: pbtranscript-tofu: Delete pre-built libraries.Ricardo Wurmus2015-03-31
| | | | | | | | | | * gnu/packages/bioinformatics.scm (pbtranscript-tofu)[arguments]: Delete "build" directory and any shared objects after unpacking.