~ruther/guix-local

8197c978 — Ludovic Courtès 13 years ago
utils: Change `substitute*' to allow iteration over several matches.

* guix/build/utils.scm (substitute): Do not pass the OUT to PROC; use
  `list-matches' instead of `regexp-exec' and pass a list of matches to
  PROC. Expect PROC to return a string, and output that.  Fold over
  RX+PROC in order.  Use `(read-line p 'concat)' to include the trailing
  delimiter in LINE.
  (substitute*): Produce code to iterate over the matches, and return a
  string, which includes anything from the original line that's in
  between matches.

* distro/base.scm (gcc-4.7, glibc): Adjust accordingly: remove use
  of (ice-9 regex) and `regexp-substitute/global'; return a string.
9dd036f3 — Ludovic Courtès 13 years ago
distro: m4: Add patch to allow builds with glibc 2.16+.

* distro/base.scm (m4): Use `m4-gets-undeclared.patch'.

* distro/patches/m4-gets-undeclared.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
6dd7787c — Ludovic Courtès 13 years ago
Add a `guile-for-build' parameter to `build-expression->derivation'.

* guix/derivations.scm (%guile-for-build): Use `nixpkgs-derivation*'
  instead of `nixpkgs-derivation'.
  (build-expression->derivation): New `guile-for-build' keyword
  parameter.  Use it.
4c1eddf7 — Ludovic Courtès 13 years ago
Add an `env-vars' keyword parameter to `build-expression->derivation'.

* guix/derivations.scm (build-expression->derivation): New `env-vars'
  keyword parameter; default to '().  Use it.
dc4e0257 — Ludovic Courtès 13 years ago
build-system/gnu: Add `path-exclusions' parameter.

* guix/build/gnu-build-system.scm (set-paths): Add new `path-exclusions'
  parameter; honor it.
* guix/build-system/gnu.scm (gnu-build): New `path-exclusions' keyword
  parameter; pass it to BUILDER.

* distro/base.scm (gcc-4.7): Exclude "libc" from $LIBRARY_PATH.
f1f100b2 — Ludovic Courtès 13 years ago
distro: gcc: Allow `libstdc++' to be found.

* distro/base.scm (gcc-4.7): Add `-rpath' arguments to `LIB_SPEC' to
  allow `libstdc++' to be found by users.
6e0874db — Ludovic Courtès 13 years ago
distro: gcc: Pass #:strip-binaries?.

* distro/base.scm (gcc-4.7): Pass #:strip-binaries?.
877217b8 — Ludovic Courtès 13 years ago
build-system/gnu: Honor the `patch-shebangs?' and `strip-binaries?' parameters.

* guix/build/gnu-build-system.scm (patch-shebangs): Honor
  PATCH-SHEBANGS?.
  (strip): Honor STRIP-BINARIES?.  Display a message from `strip-dir'.
8759a648 — Ludovic Courtès 13 years ago
guix-build: Fix the "unrecognized option" error message.

* guix-build.in (guix-build): Show the option name when an unrecognized
  option is passed.
e815763e — Ludovic Courtès 13 years ago
build-system/gnu: Add a `strip' phase.

* guix/build/gnu-build-system.scm (strip): New procedure.
  (%standard-phases): Add it.

* guix/build-system/gnu.scm (gnu-build): New `strip-binaries?',
  `strip-flags', and `strip-directories' keyword parameters.  Pass them
  to BUILDER.
84209975 — Ludovic Courtès 13 years ago
build-system/gnu: Always invoke `configure' with a relative path.

* guix/build/gnu-build-system.scm (configure): Change SRCDIR to always
  be a relative path.
a436d201 — Ludovic Courtès 13 years ago
distro: gcc: Do not store configure flags in the resulting binaries.

* distro/base.scm (gcc-4.7): Add a `post-configure' phase to clear
  `TOPLEVEL_CONFIGURE_ARGUMENTS' in the top-level `Makefile'.
dcd60f43 — Ludovic Courtès 13 years ago
define-record-type*: Add the `inherit' syntactic constructor keyword.

* guix/utils.scm (define-record-type*)[make-syntactic-constructor]: New
  `type' parameter.  Add the `inherit' keyword and corresponding support
  code.

* tests/utils.scm ("define-record-type* & inherit", "define-record-type*
  & inherit & letrec* behavior"): New tests.
c79dae60 — Ludovic Courtès 13 years ago
distro: Add missing Binutils patch.

* distro/patches/binutils-ld-new-dtags.patch: New file.
* Makefile.am (dist_patch_DATA): Add it.
7cdeac02 — Ludovic Courtès 13 years ago
distro: Add the GNU C Library.

* distro/base.scm (glibc): New variable.
3db3913e — Ludovic Courtès 13 years ago
distro: Add Linux headers.

* distro/base.scm (linux-headers): New variable.
73f9a978 — Cyprien Nicolas (fulax) 13 years ago
configure.ac: Make 'guild' configure check fatal, otherwise one gets 'compile: command not found' during make
8f6201a3 — Ludovic Courtès 13 years ago
distro: Add GNU Binutils.

* distro/base.scm (binutils): New variable.
81e57ec5 — Ludovic Courtès 13 years ago
distro: Add GCC.

* distro/base.scm (gcc-4.7): New variable.
8773648e — Ludovic Courtès 13 years ago
utils: Change `substitute*' to accept a list of files to patch.

* guix/build/utils.scm (substitute*): Support a list of files as the
  first argument.
Next