summary refs log tree commit diff
AgeCommit message (Collapse)Author
2015-01-07gnu: Add bootstrap binaries for 'armhf-linux'.Mark H Weaver
* gnu/packages/bootstrap/armhf-linux/bash, gnu/packages/bootstrap/armhf-linux/mkdir, gnu/packages/bootstrap/armhf-linux/tar, gnu/packages/bootstrap/armhf-linux/xz: New files. * gnu-system.am (bootstrap_armhf_linuxdir, dist_bootstrap_armhf_linux_DATA) (nodist_bootstrap_armhf_linux_DATA): New variables. (DISTCLEANFILES): Add $(nodist_bootstrap_armhf_linux_DATA). (gnu/packages/bootstrap/armhf-linux/guile-2.0.11.tar.xz): New target. * build-aux/download.scm (file-name->uri): Use newer date in URI for armhf-linux. * gnu/packages/bootstrap.scm (raw-build): Use "guile-2.0.11.tar.xz" on armhf-linux. (glibc-dynamic-linker, %bootstrap-coreutils&co, %bootstrap-binutils) (%bootstrap-glibc, %bootstrap-gcc): Add armhf-linux cases. * m4/guix.m4 (GUIX_SYSTEM_TYPE): Add armhf case. (GUIX_ASSERT_SUPPORTED_SYSTEM): Add armhf-linux to list of supported systems. * doc/guix.texi (GNU Distribution): Add armhf-linux to the list of supported systems.
2015-01-07gnu: libtool: Skip nopic test on ARM and MIPS systems.Mark H Weaver
* gnu/packages/patches/libtool-skip-tests.patch: Skip nopic test on ARM and MIPS systems.
2015-01-07gnu: Add toolchain support for 'armhf-linux'.Mark H Weaver
Based on preliminary work by John Darrington <john@darrington.wattle.id.au>. * gnu/packages/cross-base.scm (xgcc-armhf): New variable. * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add armhf case. (gcc-4.7)[pre-configure]: Add gcc/config/*/linux-eabi.h to the list of files in which to patch GLIBC_DYNAMIC_LINKER. * gnu/packages/bootstrap.scm (glibc-dynamic-linker): Add armhf case. * guix/utils.scm (gnu-triplet->nix-system, nix-system->gnu-triplet): Add armhf cases.
2015-01-07gnu: patchelf: On ARM, apply experimental patch to get it working.Mark H Weaver
* gnu/packages/patches/patchelf-rework-for-arm.patch: New file. * gnu-system.am: Add it. * gnu/packages/elf.scm: Apply patch when the target is ARM.
2015-01-07gnu: gmp: Apply fixes for armhf.Mark H Weaver
* gnu/packages/patches/gmp-arm-asm-nothumb.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/multiprecision.scm (gmp): Add patch. Include --build triplet in configure args when building natively. * gnu/packages/commencement.scm (gcc-final): Use bootstrap guile to build gmp-source.
2015-01-07gnu: gcc: Use 'gcc-configure-flags-for-triplet' for native compilers too.Mark H Weaver
* gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Do not export it. (gcc-4.7): Pass the result of 'gcc-configure-flags-for-triplet' to configure for all builds, including native ones. * gnu/packages/cross-base.scm (cross-gcc-arguments): Do not add the result of 'gcc-configure-flags-for-triplet' here, since it is now included in the configure-flags inherited from gcc-4.8.
2015-01-07Move 'nix-system->gnu-triplet' to (guix utils) and export it.Mark H Weaver
* gnu/packages/commencement.scm (nix-system->gnu-triplet): Move to... * guix/utils.scm (nix-system->gnu-triplet): ... here. Fix docstring typo.
2015-01-07gnu: gcc-static: Remove -lgcc_s from GNU_USER_TARGET_LIB_SPEC.Mark H Weaver
* gnu/packages/make-bootstrap.scm (%gcc-static): Add 'remove-lgcc_s phase. * gnu/packages/gcc.scm (gcc-4.7): Add comment.
2015-01-07gnu: bootstrap: Fix egrep and fgrep after unpacking bootstrap binaries.Mark H Weaver
* gnu/packages/bootstrap.scm (%bootstrap-coreutils&co): Add #:snippet argument to 'package-from-tarball' that calls 'patch-shebang' on egrep and fgrep after unpacking. Test 'fgrep' instead of 'true'.
2015-01-07gnu: bootstrap: Add support for snippets to 'package-from-tarball'.Mark H Weaver
* gnu/packages/bootstrap.scm (package-from-tarball): Add new keyword argument #:snippet.
2015-01-07gnu: tcl: Pass --mandir to configure.Mark H Weaver
This partially reverts 9b1bf33081652210502c6ef34506e27a9bc60f06. "gnu: Remove a bunch of now unneeded '--mandir' configure flags." * gnu/packages/tcl.scm (tcl)[arguments]: Put back the --mandir configure flag, with a comment explaining why it's still needed.
2015-01-07gnu: Make libtool and libltdl completely separate.Ludovic Courtès
* gnu/packages/autotools.scm (libtool)[outputs]: Remove. [arguments]: Remove 'if' around arguments. Add #:configure-flags. * gnu/packages/apr.scm (apr)[inputs]: Change libtool to libltdl. * gnu/packages/fontutils.scm (libuninameslist)[native-inputs]: Remove "libtool-bin". * gnu/packages/global.scm (global): Change libtool to libltdl. * gnu/packages/gnunet.scm (libextractor, gnunet): Likewise. * gnu/packages/graphviz.scm (graphviz): Likewise. * gnu/packages/libcanberra.scm (libcanberra): Likewise. * gnu/packages/libevent.scm (libuv)[native-inputs]: Remove "bin" part for libtool. * gnu/packages/mail.scm (mailutils): Change libtool to libltdl. (libetpan): Remove "bin" part for libtool. * gnu/packages/mp3.scm (libmp3splt): Change libtool to libltdl. * gnu/packages/openldap.scm (openldap): Remove "bin" part of libtool. Move it from 'inputs' to 'native-inputs'. * gnu/packages/photo.scm (libgphoto2): Change libtool to libltdl. * gnu/packages/pulseaudio.scm (pulseaudio): Likewise. * gnu/packages/ssh.scm (guile-ssh): Remove "bin" part of libtool. * gnu/packages/web.scm (libpsl): Likewise. * gnu/packages/weechat.scm (weechat): Move libtool to 'native-inputs' and add libltdl to 'inputs'.
2015-01-07gnu: libtool: Update to 2.4.4.Ludovic Courtès
* gnu/packages/patches/libtool-2.4-skip-tests.patch: Rename to... * gnu/packages/patches/libtool-skip-tests.patch: ... this. * gnu/packages/patches/libtool-skip-tests-for-mips.patch: Remove. * gnu-system.am (dist_patch_DATA): Adjust accordingly. * gnu/packages/autotools.scm (libtool): Update to 2.4.4. (libtool-2.4.4): Remove.
2015-01-07gnu: guile: Depend on 'libltdl' rather than 'libtool'.Ludovic Courtès
* gnu/packages/guile.scm (guile-1.8, guile-2.0): Replace LIBTOOL with LIBLTDL.
2015-01-07gnu: libtool: Add libltdl as a separate package.Ludovic Courtès
* gnu/packages/autotools.scm (libltdl): New variable.
2015-01-07gnu: libtool: Use 'parallel-job-count' to get the argument for '-j'.Ludovic Courtès
* gnu/packages/autotools.scm (libtool)[arguments] <check>: Use (parallel-job-count) instead of hand-written code.
2015-01-07Revert "gnu: gcc: Add '-lgcc_s' only when '-pthread' is given."Mark H Weaver
This reverts commit 9097e666d48c9b6c0263dcbe60b5af69ff7689f4. This turned out not to be a good strategy. Some build system, e.g. tcl's, do not pass -pthread on GNU/Linux by default, but merely link with -lpthread. Also, Ludovic found other cases where libgcc_s is dlopened by libc that have nothing to do with pthreads, e.g. to walk the stack.
2015-01-06gnu: guile: Apply fixes for arm.Mark H Weaver
* gnu/packages/patches/guile-arm-fixes.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/guile.scm (guile-2.0): Add patch.
2015-01-06gnu: gcc: Add '-lgcc_s' only when '-pthread' is given.Mark H Weaver
Suggested by Ludovic Courtès <ludo@gnu.org>. * gnu/packages/gcc.scm (gcc-4.7): In our modified GNU_USER_TARGET_LIB_SPEC, add '-lgcc_s' only when '-pthread' is given.
2015-01-06gnu: gcc: Improve dynamic linker patching code.Mark H Weaver
* gnu/packages/gcc.scm (gcc-4.7): Join multi-line definitions of GLIBC_DYNAMIC_LINKER* before attempting substitutions. (gcc-4.9)[arguments]: Remove arguments override.
2015-01-06gnu: patchelf: Update to 0.8.Mark H Weaver
* gnu/packages/elf.scm (patchelf): Update to 0.8. * gnu/packages/patches/patchelf-page-size.patch: Adapt to new version.
2015-01-06gnu: bash: Update to 4.3.33.Mark H Weaver
* gnu/packages/bash.scm (%patch-series-4.3): Add patches 31-33.
2015-01-06gnu: udev: Remove package, now superceded by eudev.Mark H Weaver
* gnu/packages/linux.scm (udev): Remove. (eudev): Incorporate fields formerly inherited from udev.
2015-01-06gnu: lvm2: Switch to eudev from udev.Mark H Weaver
* gnu/packages/linux.scm (lvm2)[inputs]: Use eudev, not udev.
2015-01-06gnu: swig: Build a UTF-8 locale for the tests.Mark H Weaver
* gnu/packages/swig.scm (swig)[arguments]: Add 'install-locales' phase.
2015-01-06gnu: icu4c: Avoid use of 'patchelf'; fix build on ARM systems.Mark H Weaver
* gnu/packages/icu4c.scm (icu4c)[inputs]: Remove patchelf. [configure-flags]: Add --enable-rpath. Add --with-data-packaging=archive on arm systems. [phases]: Remove 'add-lib-to-runpath' phase.
2015-01-06gnu: gawk: Fix target-system check.Mark H Weaver
* gnu/packages/gawk.scm (gawk): Fix target-system check.
2015-01-06gnu: boost: Fix target-system check.Mark H Weaver
* gnu/packages/boost.scm (boost): Fix target-system check.
2015-01-06gnu: texlive: Fix target-system check.Mark H Weaver
* gnu/packages/texlive.scm (texlive)[arguments]: Fix target-system check.
2015-01-06gnu: gtk+: Include xorg-server in native-inputs on MIPS; enable tests.Mark H Weaver
* gnu/packages/gtk.scm (gtk+)[native-inputs]: Unconditionally include xorg-server and enable tests.
2015-01-06gnu: mit-krb5: Build with default gcc.Mark H Weaver
* gnu/packages/mit-krb5.scm (mit-krb5)[native-inputs]: Remove gcc-4.7.
2015-01-06Merge branch 'master' into core-updatesMark H Weaver
2015-01-06gnu: automake: Update to 1.15.Ludovic Courtès
* gnu/packages/autotools.scm (automake): Update to 1.15.
2015-01-06gnu: git-manpages: Install under $out/share/man, not $out/share.Ludovic Courtès
* gnu/packages/version-control.scm (git-manpages)[argument]: Install under $out/share/man, not $out/share.
2015-01-06gnu: Add git-manpages.Ludovic Courtès
* gnu/packages/version-control.scm (git-manpages): New variable.
2015-01-06gnu: git: Update to 2.2.1.Ludovic Courtès
* gnu/packages/version-control.scm (git): Update to 2.2.1.
2015-01-06gnu: libtool-2.4.4: Disable tests on MIPS.Ludovic Courtès
* gnu/packages/autotools.scm (libtool-2.4.4)[arguments]: New field.
2015-01-05linux-boot: Make /etc/mtab a symlink to /proc/self/mounts.宋文武
Fixes <http://bugs.gnu.org/19491>. * gnu/build/linux-boot.scm (mount-root-file-system): Make /root/etc/mtab a symlink to /proc/self/mounts. * gnu/build/file-systems.scm (mount-file-system): Don't update /etc/mtab. * guix/build/syscalls.scm (mount, umount): Have #:update-mtab? default to #f.
2015-01-04doc: guix-daemon now automatically creates '…/profiles/per-user'.Ludovic Courtès
Fixes <http://bugs.gnu.org/19315>. Reported by rekado <rekado@elephly.net>. * doc/guix.texi (Invoking guix package): Adjust text to new guix-daemon behavior introduced in commit 15ddeff.
2015-01-04build: Check for <tr1/unordered_set>, now used by the daemon.Ludovic Courtès
* config-daemon.ac: Check for <tr1/unordered_set>.
2015-01-04Merge commit a1dd396cc02922372314c35c8035a38bfeea08df of branch 'nix'.Ludovic Courtès
2015-01-04pk-crypto: Improve docstring of signature-related procedures.Ludovic Courtès
* guix/pk-crypto.scm (bytevector->hash-data, sign): Augment docstring.
2015-01-04gnu: Remove a bunch of now unneeded '--mandir' configure flags.Ludovic Courtès
This has become redundant with the 'validate-documentation-location' phase introduced in commit d68fe74. * gnu/packages/compression.scm (bzip2): Remove 'fix-man-dir' phase. * gnu/packages/ncurses.scm (ncurses)[arguments]: Remove --mandir. * gnu/packages/pth.scm (pth)[arguments]: Remove #:configure-flags. * gnu/packages/tcl.scm (tcl)[arguments]: Likewise. * gnu/packages/xiph.scm (flac)[arguments]: Likewise.
2015-01-04ld-wrapper: Add '-rpath' flag for libraries passed by file name.Ludovic Courtès
Discussed at <http://lists.gnu.org/archive/html/guix-devel/2015-01/msg00028.html>. * gnu/packages/ld-wrapper.scm (switch-arguments, library-path): Remove. (library-files-linked): Rewrite to include the name of libraries passed by file names, and to honor the current -L search path instead of the final one. (rpath-arguments): Remove 'lib-path' parameter. Expect LIBRARY-FILES to be a list of absolute file names. (ld-wrapper): Adjust accordingly.
2015-01-04build-system/gnu: Use executables from the target inputs in 'patch-shebangs'.Ludovic Courtès
Fixes <http://bugs.gnu.org/18895>. * guix/build/gnu-build-system.scm (patch-shebangs): Add #:inputs parameter. Remove 'bindirs'. Add 'bin-directories', 'output-bindirs', and 'input-bindirs'. Use them instead of (getenv "PATH") to as the argument to 'patch-shebang'.
2015-01-03gnu: gcc-4.9: Fix build on MIPS.Mark H Weaver
* gnu/packages/gcc.scm (gcc-4.9): Add 'join-two-line-dynamic-linker-defns phase.
2015-01-03gnu: Search for patches under $GUIX_PACKAGE_PATH.Ludovic Courtès
Fixes <http://bugs.gnu.org/19364>. Reported by Tomáš Čech <sleep_walker@suse.cz> and Mark H Weaver <mhw@netris.org>. * gnu/packages.scm (%patch-path): Move after definition of %package-module-path'. Append "/gnu/packages/patches" only to %DISTRO-ROOT-DIRECTORY. * tests/guix-package.sh: Add 'emacs-foo-bar-patched' test.
2015-01-03gnu: libtool: Add 2.4.4.Ludovic Courtès
* gnu/packages/patches/libtool-2.4-skip-tests.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/autotools.scm (libtool-2.4.4): New variable.
2015-01-03guix package: Follow symlinks for pattern search paths.Ludovic Courtès
* guix/scripts/package.scm (search-path-environment-variables): Add local 'files' variable. * tests/packages.scm ("--search-paths with pattern"): New test.
2015-01-03gnu: libxml2: Wrap search path specification in a list.Ludovic Courtès
Reported by Mark H Weaver. * gnu/packages/xml.scm (libxml2)[native-search-paths]: Wrap into a list.