summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* doc: Update `README'.Ludovic Courtès2012-11-24
| | | | | | * README: Update introductory summary. Point to Savannah instead of Gitorious. Mention <bug-guix@gnu.org>. (Guix & Nix): New section.
* distro: Add GNU Gettext.Nikita Karetnikov2012-11-24
| | | | | | | * distro/packages/gettext.scm, distro/packages/patches/gettext-gets-undeclared.patch: New files. * Makefile.am (MODULES): Add 'gettext.scm'. (dist_patch_DATA): Add 'gettext-gets-undeclared.patch'.
* build: Change bug-report address; add URL.Ludovic Courtès2012-11-24
| | | | * configure.ac: Change bug-report address in `AC_INIT'; add URL.
* distro: Add GNU Shishi.Nikita Karetnikov2012-11-24
| | | | | | | * distro/packages/shishi.scm, distro/packages/patches/shishi-gets-undeclared.patch: New files. * Makefile.am (MODULES): Add 'shishi.scm'. (dist_patch_DATA): Add 'shishi-gets-undeclared.patch'.
* distro: Move (distro packages libtool) to (distro packages autotools).Nikita Karetnikov2012-11-22
| | | | | | | * distro/packages/autotools.scm (libtool): Add it. * distro/packages/libtool.scm: Remove it. * distro/packages/guile.scm (distro packages guile): Adjust accordingly. * Makefile.am (MODULES): Adjust accordingly.
* distro: Add GNU Autoconf and GNU Automake.Nikita Karetnikov2012-11-22
| | | | | * distro/packages/autotools.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add Flex.Ludovic Courtès2012-11-22
| | | | | | | * distro/packages/flex.scm, distro/packages/patches/flex-bison-tests.patch: New files. * Makefile.am (MODULES): Add `flex.scm'. (dist_patch_DATA): Add `flex-bison-tests.patch'.
* distro: Add GNU Bison.Ludovic Courtès2012-11-22
| | | | | * distro/packages/bison.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add GDBM.Ludovic Courtès2012-11-22
| | | | | * distro/packages/gdbm.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add GNU Ed.Nikita Karetnikov2012-11-21
| | | | | * distro/packages/ed.scm: New file. * Makefile.am (MODULES): Add it.
* doc: Document basic package definitions.Ludovic Courtès2012-11-21
| | | | | * doc/guix.texi (Programming Interface): Add introduction. (Defining Packages): Populate.
* build: Fix `hydra.scm' recipe.Ludovic Courtès2012-11-21
| | | | | | | * hydra.scm: Redirect the output port to the error port. (package-job): Return a name/thunk pair. (hydra-jobs)[system]: Use either the `system' key (a symbol) in ARGUMENTS, or (%current-system)'.
* guix-package: Extract version strings when installing a direct store path.Ludovic Courtès2012-11-19
| | | | | | * guix-package.in (guix-package)[process-actions]: Extract the version string from store paths. * tests/guix-package.sh: Adjust accordingly.
* guix-build: Use `location->string'.Ludovic Courtès2012-11-19
| | | | | * guix-build.in (derivations-from-package-expressions): Use `location->string'.
* guix-package: Record the correct version string in manifests.Ludovic Courtès2012-11-19
| | | | | * guix-package.in (guix-package)[find-package]: Return (package-version p), not VERSION.
* guix-package: Add `--list-available'.Ludovic Courtès2012-11-19
| | | | | | | | | | * guix-package.in (show-help, %options): Add `--list-available'. (guix-package)[process-query]: Add support for `--list-available'. * doc/guix.texi (Invoking guix-package): Document it. * tests/guix-package.sh: Add test. * guix/ui.scm (location->string): New procedure. * guix/utils.scm: Export <location>.
* distro: Add `fold-packages'.Ludovic Courtès2012-11-19
| | | | | | | * distro.scm (fold-packages): New procedure. (find-packages-by-name): Use it instead of hand-written traversal; remove `package?' checks from `right-package?'. * tests/packages.scm ("fold-packages"): New test.
* guix-package: Add `--list-installed'.Ludovic Courtès2012-11-19
| | | | | | | | | * guix-package.in (show-help, %options): Add `--list-installed'. (guix-package): Move main body to... [process-actions]: ... here. New internal procedure. [process-query]: New procedure. * tests/guix-package.sh: Add tests for `--list-installed'. * doc/guix.texi (Invoking guix-package): Document it.
* guix-package: Fix typo.Ludovic Courtès2012-11-19
| | | | | * guix-package.in (guix-package)[find-package]: Don't use `_' as the wildcard, to avoid collision with `gettext'.
* distro: Add GNU Zile.Ludovic Courtès2012-11-19
| | | | | * distro/packages/zile.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add GNU help2man.Ludovic Courtès2012-11-19
| | | | | * distro/packages/help2man.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add GNU Pies and GNU Inetutils.Ludovic Courtès2012-11-18
| | | | | * distro/packages/system.scm: New file. * Makefile.am (MODULES): Add it.
* build: Add `hydra.scm'.Ludovic Courtès2012-11-18
| | | | | * hydra.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
* doc: Add `ROADMAP'.Ludovic Courtès2012-11-18
| | | | | * ROADMAP: New file. * Makefile.am (EXTRA_DIST): Add it.
* doc: Add `TODO'.Ludovic Courtès2012-11-18
| | | | | * TODO: New file. * Makefile.am (EXTRA_DIST): Add it.
* doc: Add a "Related software" section to `README'.Ludovic Courtès2012-11-18
| | | | * README (Related software): New section.
* Turn Guix into "GNU Guix".Ludovic Courtès2012-11-18
| | | | | | | | * configure.ac: Change package name to "GNU Guix", and bug-report address to `gnu-system-discuss@gnu.org'. * doc/guix.texi: Replace "Guix" by "GNU Guix" in some places. (Top, Introduction): Mention "for the GNU system". * HACKING, README: Use "GNU Guix" instead of "Guix" in some places.
* distro: Rebuild bootstrap Binutils and GCC.Ludovic Courtès2012-11-16
| | | | | | | | | | | These new binaries are built with the `--with-lib-path' and `--with-local-prefix' flags, respectively, as introduced in commit 01d4540. * distro/packages/bootstrap.scm (%bootstrap-coreutils&co, %bootstrap-glibc): Update URL. (%bootstrap-binutils, %bootstrap-gcc): Update URL and hashes. * build-aux/download.scm (file-name->uri): Update URL.
* distro: Configure ld and GCC to not look under /usr & co.Ludovic Courtès2012-11-16
| | | | | | | | | This fixes impurities with non-chroot builds on LFS-style distros. * distro/packages/base.scm (binutils): Pass `--with-lib-path'. (gcc-4.7): Pass `--with-local-prefix'. * distro/packages/make-bootstrap.scm (%binutils-static): Pass `--with-lib-path'.
* guix-download: Use code from (guix build download).Ludovic Courtès2012-11-13
| | | | | | | | | | | * guix-download.in (http-fetch, ftp-fetch): Remove. (fetch-and-store): Replace `uri' parameter with `name', for the output file name. Redirect the output of `fetch' to the error port. (guix-download): Call `url-fetch' for all URI schemes except `file'. Handle PATH equal to #f. * guix/download.scm: Export `%mirrors'. * tests/guix-download.sh: Change erroneous URL, because URLs at example.com are all valid redirections.
* guix-download: Add support for file:// URIs.Ludovic Courtès2012-11-13
| | | | | | | | * guix-download.in (fetch-and-store): New procedure. (guix-download): Use it to compute PATH. Call `add-to-store' when a `file' URI scheme is used. * Makefile.am (AM_TESTS_ENVIRONMENT): New variable. * tests/guix-download.sh: Add test.
* guix-download: Gracefully handle invalid URIs.Ludovic Courtès2012-11-13
| | | | | | * guix-download.in (guix-download): Error out when `string->uri' returns #f. Use `leave' when the scheme is unknown. * tests/guix-download.sh: Add tests.
* distro: Add GNU Texinfo.Ludovic Courtès2012-11-13
| | | | | * distro/packages/texinfo.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add GNU Libtasn1 and GnuTLS.Ludovic Courtès2012-11-13
| | | | | * distro/packages/gnutls.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add GNU Nettle.Ludovic Courtès2012-11-13
| | | | | * distro/packages/nettle.scm: New file. * Makefile.am (MODULES): Add it.
* distro: Add LZO.Ludovic Courtès2012-11-13
| | | | * distro/packages/compression.scm (lzo): New variable.
* tests: Make sure to use the bootstrap Guile.Ludovic Courtès2012-11-13
| | | | | * tests/builders.scm ("url-fetch", "gnu-build"): Pass `url-fetch' #:guile %BOOTSTRAP-GUILE.
* tests: Remove extraneous test.Ludovic Courtès2012-11-13
| | | | | | | * tests/derivations.scm ("build-expression->derivation for fixed-output derivation"): Remove test. It is redundant with that in builders.scm, and doesn't work out of the box with the statically-linked %BOOTSTRAP-GUILE.
* build: Add $(top_builddir) to the load path.Ludovic Courtès2012-11-13
| | | | | | * Makefile.am (DOWNLOAD_FILE): Add $(top_builddir) to the search path, since that's where guix/config.scm is. (.scm.go): Likewise.
* distro: Patch libc to avoid accessing /etc/ld.so.cache and friends.Ludovic Courtès2012-11-13
| | | | | | | * distro/packages/base.scm (glibc): Apply `glibc-no-ld-so-cache.patch'. (glibc-final): Inherit GLIBC's inputs. * distro/packages/patches/glibc-no-ld-so-cache.patch: New file. * Makefile.am (dist_patch_DATA): Add it.
* distro: Use `mirror://' URLs.Ludovic Courtès2012-11-13
| | | | | | | | | | | | * distro/packages/base.scm, distro/packages/bash.scm, distro/packages/compression.scm, distro/packages/gawk.scm, distro/packages/gperf.scm, distro/packages/guile.scm, distro/packages/libsigsegv.scm, distro/packages/libtool.scm, distro/packages/libunistring.scm, distro/packages/m4.scm, distro/packages/multiprecision.scm, distro/packages/ncurses.scm, distro/packages/pth.scm, distro/packages/readline.scm, distro/packages/recutils.scm: Use `mirror://gnu' URLs. * distro/packages/gnupg.scm: Use `mirror://gnupg' URLs.
* download: Add support for mirror:// URLs.Ludovic Courtès2012-11-13
| | | | | | | | | | | * guix/download.scm (%mirrors): New variable. Mirror lists taken from Nixpkgs. (url-fetch): New `mirrors' keyword parameter. [builder]: Pass it. * guix/build/download.scm (url-fetch): New `mirrors' keyword parameter. [maybe-expand-mirrors]: New procedure. [uri]: Use it.
* download: Follow HTTP redirections.Ludovic Courtès2012-11-13
| | | | | * guix/build/download.scm (http-fetch): Follow the redirection when CODE is 302.
* Remove (guix http) and (guix ftp).Ludovic Courtès2012-11-13
| | | | | | | | | | | | | | | | | | | | | | * 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'.
* Add (guix download) and (guix build download).Ludovic Courtès2012-11-12
| | | | | | | | | | * 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'.
* Move base32 code to (guix base32).Ludovic Courtès2012-11-11
| | | | | | | | | | | | | | | | | | | | | | * guix/utils.scm (bytevector-quintet-ref, bytevector-quintet-ref-right, bytevector-quintet-length, bytevector-quintet-fold, bytevector-quintet-fold-right, make-bytevector->base32-string, %nix-base32-chars, %rfc4648-base32-chars, bytevector->base32-string, bytevector->nix-base32-string, bytevector-quintet-set!, bytevector-quintet-set-right!, base32-string-unfold, base32-string-unfold-right, make-base32-string->bytevector, base32-string->bytevector, nix-base32-string->bytevector): Move to... * guix/base32.scm: ... here. New file. * tests/utils.scm (%nix-hash, "bytevector->base32-string", "base32-string->bytevector", "nix-base32-string->bytevector", "sha256 & bytevector->base32-string"): Move to... * tests/base32.scm: ... here. New file * guix-download.in, guix/derivations.scm, guix/packages.scm, guix/snix.scm, tests/builders.scm, tests/derivations.scm: Adjust accordingly. * guix.scm (%public-modules): Add `base32'.
* tests: Choose a less expensive test for packages.Ludovic Courtès2012-11-09
| | | | | | | * tests/packages.scm (%bootstrap-inputs): Remove. ("GNU Hello"): Rename to... ("GNU Make, bootstrap"): ... this. Build GNU-MAKE-BOOT0 instead of HELLO.
* http: Add informative output.Ludovic Courtès2012-11-09
| | | | | * guix/build/http.scm (http-fetch): Emit message indicating the download.
* http: Check the HTTP response code, and bail if not 200.Ludovic Courtès2012-11-09
| | | | | * guix/build/http.scm (http-fetch): Check RESP's code; error out when it's not 200.
* derivations: build-expression->derivation: Builder only refers to sources.Ludovic Courtès2012-11-09
| | | | | | | | | | * guix/derivations.scm (build-expression->derivation)[source-path]: New procedure. [builder]: Pass only sources as references. This fixes a bug whereby changing a fixed-output drv referred to by a builder would cause the builder's hash to change, thereby leading to a full rebuild. * tests/derivations.scm ("build-expression->derivation with a fixed-output input"): New test.