aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/base.scm
Commit message (Collapse)AuthorAge
* gnu: Split (gnu packages base), adding (gnu packages commencement).Ludovic Courtès2014-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (gnu-make-boot0, diffutils-boot0, findutils-boot0, %boot0-inputs, nix-system->gnu-triplet, boot-triplet, binutils-boot0, gcc-boot0, perl-boot0, linux-libre-headers-boot0, texinfo-boot0, %boot1-inputs, glibc-final-with-bootstrap-bash, cross-gcc-wrapper, static-bash-for-glibc, glibc-final, gcc-boot0-wrapped, %boot2-inputs, binutils-final, libstdc++, gcc-final, ld-wrapper-boot3, %boot3-inputs, bash-final, %boot4-inputs, guile-final, gnu-make-final, ld-wrapper, coreutils-final, grep-final, %boot5-inputs, %final-inputs, canonical-package, gcc-toolchain, gcc-toolchain-4.8, gcc-toolchain-4.9): Move to... * gnu/packages/commencement.scm: ... here. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * build-aux/check-final-inputs-self-contained.scm: Adjust accordingly. * gnu/packages/cross-base.scm: Likewise. * gnu/packages/make-bootstrap.scm: Likewise. * guix/build-system/cmake.scm (cmake-build): Likewise. * guix/build-system/gnu.scm (standard-packages, gnu-build, gnu-cross-build): Likewise. * guix/build-system/perl.scm (perl-build): Likewise. * guix/build-system/python.scm (python-build): Likewise. * guix/build-system/trivial.scm (guile-for-build): Likewise. * guix/download.scm (url-fetch): Likewise. * guix/gexp.scm (default-guile): Likewise. * guix/git-download.scm (git-fetch): Likewise. * guix/monads.scm (run-with-store): Likewise. * guix/packages.scm (default-guile): Likewise. * guix/scripts/package.scm (guix-package): Likewise. * guix/scripts/refresh.scm: Likewise. * guix/svn-download.scm (svn-fetch): Likewise. * tests/builders.scm (%bootstrap-inputs, %bootstrap-search-paths): Likewise. * tests/packages.scm ("GNU Make, bootstrap"): Likewise. * tests/guix-package.sh: Likewise. * gnu/services/base.scm: Use 'canonical-package' instead of xxx-final. * gnu/services/xorg.scm: Likewise. * gnu/system/vm.scm: Likewise. * guix/scripts/pull.scm (guix-pull): Likewise.
* system: Prefer packages from %FINAL-INPUTS.Ludovic Courtès2014-06-19
| | | | | | * gnu/packages/base.scm (canonical-package): New procedure. * gnu/system.scm (%base-packages): Pass BASH, COREUTILS, FINDUTILS, GREP, and SED through 'canonical-package'.
* gnu: Remove dependency from gzip to the bootstrap binaries.Ludovic Courtès2014-06-15
| | | | | | * gnu/packages/base.scm (grep-final): New variable. (%boot5-inputs): Add it. (%final-inputs): Use it.
* gnu: grep: Upgrade to 2.20.Ludovic Courtès2014-06-12
| | | | * gnu/packages/base.scm (grep): Upgrade to 2.20.
* gnu: coreutils: Remove run-time dependency on Bash.Ludovic Courtès2014-06-09
| | | | | | * gnu/packages/base.scm (coreutils)[arguments] <patch-shell-references>: Leave src/split.c unpatched. Set $SHELL. Use .../bin/sh and not .../bin/bash in tests.
* gnu: gcc: Add a "lib" output.Ludovic Courtès2014-06-09
| | | | | | | | | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.7)[configure-flags]: Add --with-gxx-include-dir. [outputs]: New field. [arguments] <phases>: Adjust to use the "lib" output. Add 'substitute*' calls for "libstdc++-v3/python/Makefile.in" and "gcc/config.in". * gnu/packages/base.scm (gcc-boot0) <symlink-libgcc_eh>: Use the "lib" output. (cross-gcc-wrapper): Add 'outputs' field. (glibc-final)[arguments]: Adjust #:allowed-references to list '(GCC-BOOT0 "lib"). (libstdc++): Add 'outputs' field. (gcc-final)[arguments]: Add "lib" to #:allowed-references. * gnu/packages/make-bootstrap.scm (%gcc-static): Add 'outputs' field.
* gnu: glibc-final: Remove top-level circular dependency.Ludovic Courtès2014-06-08
| | | | | | | | | This fixes a top-level circular dependency between linux.scm and base.scm introduced in 2e92375. * gnu/packages/base.scm (glibc-final): Remove call to 'package-with-restricted-references', and use an 'arguments' field instead.
* gnu: gcc-final: Make sure the output refers only to libc.Ludovic Courtès2014-06-07
| | | | | * gnu/packages/base.scm (gcc-final)[arguments]: Add #:allowed-references.
* gnu: binutils-final: Make sure the output refers only to libc.Ludovic Courtès2014-06-07
| | | | | * gnu/packages/base.scm (binutils-final)[arguments]: Add #:allowed-references.
* gnu: glibc-final: Make sure we hold just the right set of references.Ludovic Courtès2014-06-07
| | | | | * gnu/packages/base.scm (glibc-final): Wrap in 'package-with-restricted-references'.
* gnu: glibc: Make sure the bootstrap libc is not in $CPATH.Ludovic Courtès2014-06-07
| | | | | | | | | | This fixes a bug whereby the bootstrap-glibc headers could be picked up when building libc.so, which could be noticed by the fact that the .debug files contained references to bootstrap-glibc. * gnu/packages/base.scm (glibc-final-with-bootstrap-bash)[arguments]: Add 'pre-configure' phase. [inputs]: Remove 'alist-delete' call.
* gnu: Build the final Coreutils before Findutils.Ludovic Courtès2014-06-07
| | | | | | | | This fixes a bug whereby Findutils' 'updatedb' script would retain a reference to the bootstrap binaries ('sort', etc.) * gnu/packages/base.scm (coreutils-final, %boot5-inputs): New variables. (%final-inputs): Use them.
* Merge branch 'master' into core-updatesLudovic Courtès2014-06-06
|\
| * gnu: Set proper source location for 'gcc-final'.Ludovic Courtès2014-06-04
| | | | | | | | | | * gnu/packages/base.scm (gcc-final)[location]: New field. Reported by Andreas Enge <andreas@enge.fr>.
* | gnu: grep: Upgrade to 2.19.Ludovic Courtès2014-05-27
| | | | | | | | * gnu/packages/base.scm (grep): Upgrade to 2.19.
* | Merge branch 'master' into core-updatesLudovic Courtès2014-05-27
|\|
| * gnu: Add GCC 4.9.0.Ludovic Courtès2014-04-22
| | | | | | | | | | * gnu/packages/gcc.scm (gcc-4.9): New variable. * gnu/packages/base.scm (gcc-toolchain-4.9): New variable.
* | gnu: gmp: Upgrade to 6.0.0a.Andreas Enge2014-04-15
| | | | | | | | | | | | * gnu/packages/multiprecision.scm (gmp): Upgrade to 6.0.0a. * gnu/packages/base.scm (gcc-boot0): Modify symbolic link to point to gmp-6.0.0 instead of the non-existing gmp-6.0.0a.
* | gnu: gcc-final: Add Texinfo as an input.Ludovic Courtès2014-04-14
|/ | | | * gnu/packages/base.scm (gcc-final)[native-inputs]: New field.
* gnu: Add 'gcc-toolchain'.Ludovic Courtès2014-04-05
| | | | | * gnu/packages/base.scm (gcc-toolchain): New procedure. (gcc-toolchain-4.8): New variable.
* gnu: glibc: Patch mtrace.pl to avoid retaining a reference to Perl.Ludovic Courtès2014-03-24
| | | | | * gnu/packages/base.scm (glibc)[argument] <pre-configure phase>: Patch malloc/mtrace.pl.
* Merge branch 'master' into core-updatesMark H Weaver2014-03-22
|\
| * gnu: tzdata: Upgrade to 2014a.Mark H Weaver2014-03-20
| |
* | coreutils: fix test suiteCyril Roelandt2014-03-07
| | | | | | | | | | | | | | | | * gnu/packages/patches/coreutils-skip-nohup.patch: patch taken from the git repository of coreutils, that makes sure tests/misc/nohup.sh does not fail when /dev/tty does not exist. * gnu/packages/base.scm (coreutils): use it. * gnu-system.am (dist_patch_DATA): add it.
* | Partly revert "gnu: Remove now unneeded 'modules' fields from 'origin' ↵Ludovic Courtès2014-02-28
| | | | | | | | | | | | | | | | | | | | specifications." This partly reverts commit a3a1417dc715f432fadbefbe9896f56a14236741. * gnu/packages/base.scm (glibc)[source]: Re-add 'modules' clause. * gnu/packages/lsh.scm (lsh)[source]: Remove 'use-modules' form from 'snippet'. Add 'modules' field.
* | gnu: Remove now unneeded 'modules' fields from 'origin' specifications.Ludovic Courtès2014-02-28
| | | | | | | | | | | | | | | | | | The previous commit has made (guix build utils) imported by default, so no need to specify it. * gnu/packages/base.scm (glibc)[source]: Remove 'modules' and 'imported-modules' fields. * gnu/packages/lsh.scm (lsh)[source]: Likewise.
* | gnu: grep: Upgrade to 2.18.Ludovic Courtès2014-02-22
| | | | | | | | * gnu/packages/base.scm (grep): Upgrade to 2.18.
* | gnu: glibc: Upgrade to 2.19.Ludovic Courtès2014-02-10
| | | | | | | | | | | | | | * gnu/packages/base.scm (glibc): Upgrade to 2.19. Remove 'glibc-make-4.0.patch'. * gnu/packages/patches/glibc-make-4.0.patch: Remove. * gnu-system.am (dist_patch_DATA): Adjust accordingly.
* | gnu: coreutils: Fix cross-compilation issue with 'dummy-man'.Ludovic Courtès2014-02-10
| | | | | | | | | | | | | | | | | | | | | | | | This should work around the bug described at <http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/coreutils/coreutils-8.22/fix-for-dummy-man-usage.patch>. * gnu/packages/base.scm (coreutils)[patches]: Add 'coreutils-dummy-man.patch'. [native-inputs]: Don't pass PERL when (%current-target-system) is true. * gnu/packages/patches/coreutils-dummy-man.patch: New file. * gnu-system.am (dist_patch_DATA): Add it.
* | gnu: binutils: Build with --enable-deterministic-archives.Ludovic Courtès2014-02-06
| | | | | | | | | | | | * gnu/packages/base.scm (binutils): Add '--enable-deterministic-archives' to #:configure-flags. Suggestion from Lunar's 2014 FOSDEM talk on reproducible builds.
* | gnu: coreutils: Move Perl to 'native-inputs'.Ludovic Courtès2014-02-06
| | | | | | | | | | | | | | * gnu/packages/base.scm (coreutils): Add 'native-inputs' field. This should allow cross builds to have man pages, and work around this 'dummy-man' bug: <http://git.yoctoproject.org/cgit.cgi/poky/plain/meta/recipes-core/coreutils/coreutils-8.22/fix-for-dummy-man-usage.patch>.
* | gnu: grep, coreutils: Upgrade.Ludovic Courtès2014-01-08
| | | | | | | | | | * gnu/packages/base.scm (grep): Upgrade to 2.16. (coreutils): Upgrade to 8.22.
* | gnu: binutils: Upgrade to 2.24.Ludovic Courtès2014-01-08
| | | | | | | | | | | | | | | | * gnu/packages/patches/binutils-loongson-madd-fix.patch: Remove. * gnu-system.am (dist_patch_DATA): Adjust accordingly. * gnu/packages/base.scm (binutils): Upgrade to 2.24. Remove 'binutils-loongson-madd-fix.patch'. Remove 'outputs' field. Pass '--enable-install-libbfd'.
* | gnu: make: Build with Guile support.Ludovic Courtès2014-01-07
| | | | | | | | | | * gnu/packages/base.scm (gnu-make, gnu-make-boot0): Add 'native-inputs' field.
* | gnu: glibc: Build the Info pages.Ludovic Courtès2014-01-07
|/ | | | | | | | * gnu/packages/base.scm (glibc): Add 'native-inputs' field. (perl-boot0): New variable. (linux-libre-headers-boot0): Use it. (texinfo-boot0): New variable. (glibc-final-with-bootstrap-bash): Add 'native-inputs' field.
* gnu: tzdata: Fix cross-compilation.Ludovic Courtès2013-12-14
| | | | | | | Reported by John Darrington <john@darrington.wattle.id.au>. * gnu/packages/base.scm (tzdata): Use the 'source' keyword argument in phases rather than the "source" input. This fixes cross-compilation.
* gnu: Synchronize descriptions with 'gnumaint'.Ludovic Courtès2013-12-01
|
* gnu: {binutils,bash,gnu-make}-final are private.Ludovic Courtès2013-11-24
| | | | | * gnu/packages/base.scm (binutils-final, bash-final, gnu-make-final): Use 'define', not 'define-public'.
* Merge branch 'master' into core-updatesLudovic Courtès2013-11-20
|\ | | | | | | | | Conflicts: guix/packages.scm
| * gnu: hello: Upgrade to 2.9.Ludovic Courtès2013-11-19
| | | | | | | | | | * gnu/packages/base.scm (hello): Upgrade to 2.9. Remove 'arguments' and 'inputs' fields, which were never needed.
* | gnu: tar: Upgrade to 1.27.1.Ludovic Courtès2013-11-18
| | | | | | | | * gnu/packages/base.scm (tar): Upgrade to 1.27.1.
* | gnu: glibc: Really disable 'ldconfig' and /etc/ld.so.cache.Ludovic Courtès2013-11-16
| | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (glibc): Add 'snippet' to set use_ldconfig=no. Remove "glibc-no-ld-so-cache.patch"; that patch would still build 'ldconfig', and ld.so would still contain ld.so.cache-related code, and would look for info in /etc/etc/ld.so.cache (sic). * gnu/packages/patches/glibc-no-ld-so-cache.patch: Remove. * gnu-system.am (dist_patch_DATA): Adjust accordingly.
* | gnu: Switch to GCC 4.8 as the default compiler.Ludovic Courtès2013-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build-aux/download.scm (file-name->uri): Update URL to /20131110. * gnu-system.am (nodist_bootstrap_x86_64_linux_DATA, nodist_bootstrap_i686_linux_DATA): Change base name to 'guile-2.0.9.tar.xz'. (gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz, gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz): New targets. (gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz, gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz): Remove. (gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): Update hash. * gnu/packages/base.scm (gcc-boot0): Base upon GCC-4.8. Enable C++, and add a few --disable flags. Remove MPFR workaround. (cross-gcc-wrapper): Base upon GCC-4.8. Wrap both 'gcc' and 'g++'. (libstdc++): New variable. (gcc-final): Add it as an input; pass corresponding -I and -L flags. * gnu/packages/bootstrap.scm (%bootstrap-guile): Always use "guile-2.0.9.tar.xz. (%bootstrap-coreutils&co): Update hashes. (%bootstrap-binutils): Update URL and hashes. (%bootstrap-glibc): Likewise. (%bootstrap-gcc): Likewise. * gnu/packages/gcc.scm (gcc-4.7): Add LDFLAGS. Add --disable-libstdcxx-pch. Modify the GNU_USER*_SPEC macros from gnu-user*.h instead of the raw _SPEC macros.
* | gnu: binutils: apply fixes and workarounds for Loongson 2F CPUs.Mark H Weaver2013-11-03
| | | | | | | | | | | | | | * gnu/packages/patches/binutils-loongson-madd-fix.patch: New file. * gnu/packages/patches/binutils-loongson-workaround.patch: New file. * gnu/packages/base.scm (binutils): Add patches. * gnu-system.am (dist_patch_DATA): Add patches.
* | gnu: Revert to GCC 4.7 as the default compiler.Ludovic Courtès2013-11-01
| | | | | | | | | | | | | | | | GCC 4.8 relies on C++ headers (<cstring>, <iosfwd>, etc.) that are missing from the current bootstrap GCC. * gnu/packages/base.scm (gcc-boot0, cross-gcc-wrapper, gcc-final): Base on GCC-4.7. This reverts part of commit 9ae7cee.
* | gnu: Switch to GCC 4.8 as the default compiler.Ludovic Courtès2013-11-01
| | | | | | | | | | | | | | | | * gnu/packages/base.scm (gcc-boot0, cross-gcc-wrapper, gcc-final): Base on GCC-4.8. * gnu/packages/cross-base.scm (cross-gcc): Likewise. * gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc, %gcc-static, %gcc-stripped): Likewise.
* | gnu: grep: Update to 2.15.Ludovic Courtès2013-11-01
| | | | | | | | * gnu/packages/base.scm (grep): Update to 2.15.
* | gnu: make: Update to 4.0, with Guile support.Ludovic Courtès2013-10-16
| | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (gnu-make): Update to 4.0. Add Guile as an input. (gnu-make-boot0): Patch 'build.sh' so it does not attempt to build 'guile.c'. (gnu-make-final): New variable. (%final-inputs): Use it. (glibc): Add 'glibc-make-4.0.patch'. * gnu/packages/patches/glibc-make-4.0.patch: New file. * gnu-system.am (dist_patch_DATA): Add it.
* | gnu: base: Fix circular dependency between %final-outputs and <origin> inputs.Ludovic Courtès2013-10-16
| | | | | | | | | | * gnu/packages/base.scm (%final-inputs): Add 'package-with-bootstrap-guile' to 'finalize'.
* | gnu: Use the 'patches' field of <origin>.Ludovic Courtès2013-10-10
| | | | | | | | | | | | | | | | | | | | * gnu/packages/autotools.scm (libtool): Add 'patches' field to the origin. Remove 'inputs' field. * gnu/packages/base.scm (findutils, gnu-make, binutils, glibc): Likewise. * gnu/packages/m4.scm (m4): Likewise. * gnu/packages/perl.scm (perl): Likewise. * gnu/packages/readline.scm (readline): Likewise.