~ruther/guix-local

ref: bc5bf85fa222cf06e5d8236d01872c1bb89a8d20 guix-local/distro d---------
f678f6d9 — Ludovic Courtès 13 years ago
distro: bzip2: Patch `SHELL' in `Makefile-libbz2_so'.

* distro/packages/compression.scm (bzip2): Call `patch-makefile-SHELL'
  in BUILD-SHARED-LIB.
98ea038b — Ludovic Courtès 13 years ago
distro: libc: Update to 2.17.

* distro/packages/base.scm (glibc): Update to 2.17.
380d5dec — Ludovic Courtès 13 years ago
distro: attr: Fix references to /bin/sh.

* distro/packages/attr.scm (attr): Add `patch-makefile-SHELL'.  Patch
  `test/run' in `check' phase.
c0895112 — Ludovic Courtès 13 years ago
build-system/gnu: Patch shebangs in all the source; patch SHELL in makefiles.

* guix/build/utils.scm (call-with-ascii-input-file): New procedure.
  (patch-shebang): Use it.
  (patch-makefile-SHELL): New procedure.
* guix/build/gnu-build-system.scm (patch-source-shebangs): Patch all the
  files, not just executables; remove `po/Makefile.in.in' patching.
  (patch-generated-files): Rename to...
  (patch-generated-file-shebangs): ... this.  Patch executables and
  makefiles.
  (%standard-phases): Adjust accordingly.

* distro/packages/autotools.scm (libtool): Remove call to `patch-shebang'.
* distro/packages/base.scm (gcc-4.7): Likewise.
  (guile-final): Remove hack to skip `test-command-line-encoding2'.
* distro/packages/bash.scm (bash): Remove `pre-configure-phase'.
* distro/packages/readline.scm (readline): Likewise.
* distro/packages/ncurses.scm (ncurses): Remove `pre-install-phase'.
8722e80e — Ludovic Courtès 13 years ago
distro: coreutils: Update to 8.20.

* distro/packages/base.scm (coreutils): Update to 8.20.
8ffaa93b — Ludovic Courtès 13 years ago
distro: guile: Patch (ice-9 popen) to use the right shell.

* distro/packages/guile.scm (guile-2.0): Add `pre-configure'.
* distro/packages/base.scm (guile-final): Adjust to preserve the
  `pre-configure' phase.
f5b78949 — Ludovic Courtès 13 years ago
distro: m4: Patch references to /bin/sh.

* distro/packages/m4.scm (m4): Add `pre-check' phase.
42ff70e2 — Ludovic Courtès 13 years ago
distro: libtool: Run test suite in parallel; patch references to /bin/sh.

* distro/packages/autotools.scm (libtool): Add `pre-check' phase.
530c1695 — Ludovic Courtès 13 years ago
distro: bash, readline: Patch so that `make' uses the right shell.

* distro/packages/readline.scm (readline): Add `pre-configure-phase' to
  patch `MAKE_SHELL' in `configure.  Move `post-install-phase' body to
  a variable.
* distro/packages/bash.scm (bash): Likewise.
c2031363 — Ludovic Courtès 13 years ago
distro: gawk: Use the right shell instead of /bin/sh.

* distro/packages/gawk.scm (gawk): Patch shell file name in io.c.
8ccdbaa8 — Ludovic Courtès 13 years ago
distro: Update `guile-final' to not fail during `patch-source-shebangs' phase.

* distro/packages/base.scm (guile-final): Add workaround on top of
  GUILE-2.0/FIXED to avoid `patch-source-shebangs' failure on one of the
  source files.
49f5a216 — Ludovic Courtès 13 years ago
distro: ncurses: Patch references to /bin/sh.

* distro/packages/ncurses.scm (ncurses): Add `patch-makefile-phase' and
  `pre-install-phase'.
0f099552 — Ludovic Courtès 13 years ago
distro: Update bootstrap binaries.

Use bootstrap binaries that were generated with the `make-bootstrap'
changes introduced in previous commit.

* Makefile.am (nodist_bootstrap_x86_64_linux_DATA,
  nodist_bootstrap_i686_linux_DATA): Change Guile tarball name.
  (distro/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz,
  distro/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz): New targets.
  (distro/packages/bootstrap/x86_64-linux/guile-bootstrap-2.0.6.tar.xz,
  distro/packages/bootstrap/i686-linux/guile-bootstrap-2.0.6.tar.xz):
  Remove.
* build-aux/download.scm (file-name->uri): Use "20121219" directory.
* distro/packages/bootstrap.scm (%bootstrap-guile): Update file name.
  (%bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc,
  %bootstrap-gcc): Update directory name and hashes.
5d4fd267 — Ludovic Courtès 13 years ago
distro: make-bootstrap: Have libc's functions search for `sh' in $PATH.

* distro/packages/make-bootstrap.scm (%glibc-with-relocatable-system,
  %standard-inputs-with-relocatable-glibc): New variables.
  (%static-inputs)[gawk]: Apply `gawk-shell.patch'.
  [finalize]: New procedure.
  Build all the packages against %STANDARD-INPUTS-WITH-RELOCATABLE-GLIBC.
  (%glibc-stripped): Inherit from %GLIBC-WITH-RELOCATABLE-SYSTEM.
  (%gcc-static, %guile-static): Build against
  %STANDARD-INPUTS-WITH-RELOCATABLE-GLIBC.
* distro/packages/patches/gawk-shell.patch,
  distro/packages/patches/glibc-bootstrap-system.patch: New files.
* Makefile.am (dist_patch_DATA): Add them.
6e32f6c0 — Ludovic Courtès 13 years ago
distro: glibc: Add a statically-linked Bash to $out/bin.

* distro/packages/base.scm (glibc): Pass `ac_cv_path_BASH_SHELL' in the
  configure flags.  During the `pre-configure' phase, copy the
  "static-bash" input to $out/bin, and change `system' and `popen' to
  use it instead of /bin/sh.  Add the "static-bash" input.
  Suggested by Shea Levy <shea@shealevy.com> and
  Lluís Batlle i Rossell <viric@viric.name>.
d6f80f18 — Ludovic Courtès 13 years ago
distro: gcc: Patch to allow builds without /bin/sh.

* distro/packages/base.scm (gcc-4.7): In `pre-configure' phase, patch
  shebang in `gcc/exec-tool.in'.
dfb53ee2 — Ludovic Courtès 13 years ago
distro: ld-wrapper: Use the current Bash instead of /bin/sh.

* distro/packages/ld-wrapper.scm: Use @BASH@ in shebang.  Change module
  name to (gnu build-support ld-wrapper).
* distro/packages/base.scm (ld-wrapper-boot3): Substitute @BASH@.
  (ld-wrapper): Use BASH-FINAL.
ea8fbbf2 — Ludovic Courtès 13 years ago
distro: make: Change default shell from /bin/sh to the actual shell.

* distro/packages/base.scm (gnu-make): Add `set-default-shell' phase.
  (gnu-make-boot0): Adjust phases accordingly.
45298f8f — Ludovic Courtès 13 years ago
distro: Linux-Libre: Set $ARCH based on the actual system type.

* distro/packages/linux.scm (linux-libre-headers): Set $ARCH based on
  the `system' keyword argument.
325285d5 — Ludovic Courtès 13 years ago
distro: guile: Switch to 2.0.7.

* distro/packages/guile.scm (guile-2.0/fixed): Alias GUILE-2.0.
Next