Age | Commit message (Expand) | Author |
2012-11-13 | Remove (guix http) and (guix ftp)....* guix/ftp.scm, guix/http.scm, guix/build/ftp.scm, guix/build/http.scm:
Remove.
* Makefile.am (MODULES): Likewise.
* tests/builders.scm, distro/packages/base.scm,
distro/packages/bash.scm, distro/packages/bdw-gc.scm,
distro/packages/compression.scm, distro/packages/gawk.scm,
distro/packages/gnupg.scm, distro/packages/gperf.scm,
distro/packages/guile.scm, distro/packages/libffi.scm,
distro/packages/libsigsegv.scm, distro/packages/libtool.scm,
distro/packages/libunistring.scm, distro/packages/lout.scm,
distro/packages/m4.scm, distro/packages/multiprecision.scm,
distro/packages/ncurses.scm, distro/packages/perl.scm,
distro/packages/pkg-config.scm, distro/packages/pth.scm,
distro/packages/readline.scm, distro/packages/recutils.scm: Use
`url-fetch' instead of `http-fetch' and `ftp-fetch'.
* distro/packages/bootstrap.scm: Likewise
(bootstrap-origin): Remove references to `http-fetch' and
`ftp-fetch'.
* guix.scm (%public-modules): Remove `http' and `ftp'; add `download'.
| Ludovic Courtès |
2012-11-12 | Add (guix download) and (guix build download)....* guix/download.scm, guix/build/download.scm: New files.
* Makefile.am (MODULES): Add them.
* tests/builders.scm ("url-fetch"): New test.
* distro/packages/bootstrap.scm (bootstrap-origin): Support
`url-fetch'.
* guix/snix.scm (snix-derivation->guix-package): Use `url-fetch' instead
of `http-fetch'.
| Ludovic Courtès |
2012-11-09 | http: Add informative output....* guix/build/http.scm (http-fetch): Emit message indicating the
download.
| Ludovic Courtès |
2012-11-09 | http: Check the HTTP response code, and bail if not 200....* guix/build/http.scm (http-fetch): Check RESP's code; error out when
it's not 200.
| Ludovic Courtès |
2012-10-29 | Add (guix build union)....* guix/build/union.scm, tests/union.scm: New files.
* Makefile.am (MODULES): Add `guix/build/union.scm'.
(TESTS): Add `tests/union.scm'.
| Ludovic Courtès |
2012-10-26 | utils: Remove special `substitute*' syntax for lists of files....* guix/build/utils.scm (substitute*): Remove special syntax for
list-of-files; instead, check whether FILE is `list?' at run time.
* distro/packages/base.scm (gcc-4.7, %binutils-static): Adjust
accordingly.
| Ludovic Courtès |
2012-10-18 | http/ftp: Tweak to avoid depending on libc's NSS....* guix/build/http.scm (open-connection-for-uri): New procedure.
(http-fetch): Use it. Pass the result as a #:port argument to
`http-get'.
Add hack to modify the `set-port-encoding!' binding in (web response).
* guix/ftp-client.scm (ftp-open): Add optional `port' parameter,
defaulting to 21. When calling `getaddrinfo', convert PORT to a
string and pass AI_NUMERICSERV when PORT is a number.
| Ludovic Courtès |
2012-10-17 | utils: Add `find-files'....* guix/build/utils.scm (find-files): New procedure.
| Ludovic Courtès |
2012-10-17 | utils: Add `copy-recursively'; use it....* guix/build/utils.scm (copy-recursively): New procedure.
* distro/packages/base.scm (%guile-static-stripped): Use it.
| Ludovic Courtès |
2012-10-17 | utils: Add `mkdir-p'; use it....* guix/build/utils.scm (mkdir-p): New procedure.
* distro/packages/base.scm (gnu-make-boot0, gcc-boot0-wrapped,
ld-wrapper-boot3, %static-binaries, %guile-static-stripped): Use it.
* distro/packages/typesetting.scm (lout): Likewise.
| Ludovic Courtès |
2012-10-16 | utils: Add `fold-port-matches' and `remove-store-references'....* guix/build/utils.scm (fold-port-matches, remove-store-references): New
procedures.
* tests/build-utils.scm ("fold-port-matches", "fold-port-matches,
trickier", "fold-port-matches, with unmatched chars"): New tests.
| Ludovic Courtès |
2012-10-16 | utils: Add `with-atomic-file-replacement'....* guix/build/utils.scm (with-atomic-file-replacement): New procedure.
(substitute): Use it.
| Ludovic Courtès |
2012-10-05 | Support build-cores = 0; change `guix-build' to default to 0....* guix/build/gnu-build-system.scm (%parallel-job-count): New variable.
(build, check): Use it instead of $NIX_BUILD_CORES.
* guix-build.in (guix-build): Default to 0 for the #:build-cores option.
| Ludovic Courtès |
2012-09-12 | Add (guix ftp) and companion modules....* guix/ftp-client.scm, guix/ftp.scm, guix/build/ftp.scm: New files.
* Makefile.am (MODULES): Add them.
* distro/base.scm (libffi): Use `ftp-fetch'.
| Ludovic Courtès |
2012-09-06 | build-system/gnu: Fix `#:path-exclusions' handling....* guix/build/gnu-build-system.scm (set-paths)[relevant-input-directories]:
New procedure. Use it. This fixes #:path-exclusions handling.
| Ludovic Courtès |
2012-09-06 | utils: Make `set-path-environment-variable' verbose....* guix/build/utils.scm (set-path-environment-variable): Print ENV-VAR
and its value.
| Ludovic Courtès |
2012-09-01 | build-system/gnu: Really apply patches....* guix/build/gnu-build-system.scm (patch): Use `--input FILE', not just
`FILE'.
| Ludovic Courtès |
2012-09-01 | 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.
| Ludovic Courtès |
2012-09-01 | 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.
| Ludovic Courtès |
2012-08-31 | 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'.
| Ludovic Courtès |
2012-08-31 | 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.
| Ludovic Courtès |
2012-08-30 | 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.
| Ludovic Courtès |
2012-08-25 | 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.
| Ludovic Courtès |
2012-08-23 | build-system/gnu: Add `out-of-source?' keyword parameter....* guix/build/gnu-build-system.scm (configure): Add an `out-of-source?'
keyword parameter; build out-of-source-tree when #t.
* guix/build-system/gnu.scm (gnu-build): Add `out-of-source?' keyword
parameter. Pass it in BUILDER.
| Ludovic Courtès |
2012-08-19 | build-system/gnu: Augment $PATH with $out for `patch-shebangs'....* guix/build/gnu-build-system.scm (patch-shebangs): Add BINDIRS to
$PATH, and pass that to `patch-shebang'.
| Ludovic Courtès |
2012-08-19 | utils: Add a `path' argument to `patch-shebang'....* guix/build/utils.scm (patch-shebang): Add an optional `path'
parameter. Change SHEBANG-RX to match the whole interpreter file
name. Don't patch when BIN and CMD are the same. Add docstring.
| Ludovic Courtès |
2012-08-19 | build-system/gnu: Add a `patch-shebangs' phase....* guix/build/gnu-build-system.scm (patch-shebangs): New procedure.
(%standard-phases): Add it.
* guix/build-system/gnu.scm (gnu-build): New `patch-shebangs?' keyword
parameter. Pass it to the builder's `gnu-build'.
| Ludovic Courtès |
2012-08-19 | utils: Add `patch-shebang'....* guix/build/utils.scm (search-path-as-string->list): New procedure.
(dump-port, patch-shebang): New procedures.
| Ludovic Courtès |
2012-07-07 | build-system/gnu: Set $PKG_CONFIG_PATH....* guix/build/gnu-build-system.scm (set-paths): Add `PKG_CONFIG_PATH'.
| Ludovic Courtès |
2012-07-07 | utils: Have `substitute' restore the file's permission bits....* guix/build/utils.scm (substitute): Restore FILE's mode before renaming
TEMPLATE.
| Ludovic Courtès |
2012-07-07 | utils: Change `substitute' and `substitute*' to work with several regexps....* guix/build/utils.scm (substitute): Change to accept a `pattern+procs'
parameter. Iterate over it.
(substitute*): Adjust accordingly.
* distro/base.scm (guile-1.8): Adjust accordingly.
| Ludovic Courtès |
2012-07-07 | build-system/gnu: Support parallel builds and tests....* guix/build/gnu-build-system.scm (build): Add `parallel-build?'
parameter; honor it and $NIX_BUILD_CORES.
(check): Add `parallel-tests?' parameter; likewise.
* guix/build-system/gnu.scm (gnu-build): Add `parallel-build?' and
`parallel-tests?' parameters.
[builder]: Inherit them.
| Ludovic Courtès |
2012-07-07 | utils: Introduce `substitute*', for easier sed-like syntax....* guix/build/utils.scm (let-matches, substitute*): New macros.
* distro/base.scm (guile-1.8): Use `substitute*' instead of
`substitute'. Remove the #:modules argument.
| Ludovic Courtès |
2012-07-06 | utils: Make sure `substitute' writes all its output....* guix/build/utils.scm (substitute): Close OUT before renaming it.
| Ludovic Courtès |
2012-07-06 | gnu-build-system: Dump the values of environment variables....* guix/build/gnu-build-system.scm (set-paths): Dump the value of
environment variables in the `environment-variables' files, similar to
what Nixpkgs does.
| Ludovic Courtès |
2012-07-05 | build-system/gnu: Add a `patch' phase....* guix/build/gnu-build-system.scm (patch): New procedure.
(%standard-phases): Add `patch'.
* guix/build-system/gnu.scm (gnu-build): Add `patches' and `patch-flags'
parameters. Pass them on.
| Ludovic Courtès |
2012-07-05 | Add builder-side utilities for phases, stream editing, & co....* guix/build/utils.scm (with-directory-excursion): New macro.
(alist-cons-before, alist-cons-after, alist-replace): New procedures.
(substitute): New procedure.
* tests/build-utils.scm: New file.
* Makefile.am (TESTS): Add `tests/build-utils.scm'.
| Ludovic Courtès |
2012-07-02 | gnu-build-system: Improve the `configure' and `check' phases....* guix/build/gnu-build-system.scm (configure): Print the final list of
flags.
(check): Add `tests?' keyword parameter.
| Ludovic Courtès |
2012-07-02 | gnu-build-system: Print the `configure' flags....* guix/build/gnu-build-system.scm (configure): Print CONFIGURE-FLAGS.
| Ludovic Courtès |
2012-07-02 | gnu-build-system: Fix "libdir" and "includedir" for multiple-output drvs....* guix/build/gnu-build-system.scm (configure): Change `--libdir' and
`--includedir' to LIBDIR + "/lib" and INCLUDEDIR + "/include",
respectively.
| Ludovic Courtès |
2012-06-16 | gnu-build-system: Structure as a customizable sequence of phases....* guix/build/gnu-build-system.scm (set-paths, build, check, install):
New procedures.
(unpack): Make `source' a keyword arg; add `#:allow-other-keys'.
(configure): Likewise.
(%standard-phases): New variable.
(gnu-build): Make `source', `outputs', and `inputs' keyword arguments;
add `phases' keyword argument; #:allow-other-keys; add rest arguments
`args'. Invoke each of PHASES in order within `every'.
* guix/gnu-build-system.scm (gnu-build): Add `make-flags' and `phases'
keyword arguments. Update builder's `gnu-build' call to match the new
convention.
| Ludovic Courtès |
2012-06-16 | Remove leftover debugging expressions....* guix/build/utils.scm (directory-exists?): Remove leftover debugging
expressions.
| Ludovic Courtès |
2012-06-13 | Add supporting tools for the GNU Build System....* guix/derivations.scm (build-expression->derivation): Add all of INPUTS
as inputs to the final derivation.
* guix/build/gnu-build-system.scm, guix/build/utils.scm,
guix/gnu-build-system.scm: New files.
* tests/builders.scm ("gnu-build"): New test.
| Ludovic Courtès |
2012-06-12 | Augment `build-expression->derivation' with #:modules; add `http-fetch'....* guix/derivations.scm (imported-modules): New procedure.
(build-expression->derivation): New keyword argument `modules'.
Use `imported-modules' when MODULES is non-empty, and pass it with
`-L' to GUILE.
* guix/build/http.scm, guix/http.scm, tests/builders.scm: New files.
| Ludovic Courtès |