summaryrefslogtreecommitdiff
Commit message (Expand)AuthorAgeFilesLines
* doc: Update `README'.•••* README: Update introductory summary. Point to Savannah instead of Gitorious. Mention <bug-guix@gnu.org>. (Guix & Nix): New section. Ludovic Courtès2012-11-241-12/+52
* distro: Add GNU Gettext.•••* 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'. Nikita Karetnikov2012-11-243-0/+143
* build: Change bug-report address; add URL.•••* configure.ac: Change bug-report address in `AC_INIT'; add URL. Ludovic Courtès2012-11-241-1/+2
* distro: Add GNU Shishi.•••* 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'. Nikita Karetnikov2012-11-243-0/+142
* distro: Move (distro packages libtool) to (distro packages autotools).•••* 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. Nikita Karetnikov2012-11-224-58/+33
* distro: Add GNU Autoconf and GNU Automake.•••* distro/packages/autotools.scm: New file. * Makefile.am (MODULES): Add it. Nikita Karetnikov2012-11-222-0/+84
* distro: Add Flex.•••* 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'. Ludovic Courtès2012-11-223-0/+84
* distro: Add GNU Bison.•••* distro/packages/bison.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-222-0/+57
* distro: Add GDBM.•••* distro/packages/gdbm.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-222-0/+56
* distro: Add GNU Ed.•••* distro/packages/ed.scm: New file. * Makefile.am (MODULES): Add it. Nikita Karetnikov2012-11-212-0/+53
* doc: Document basic package definitions.•••* doc/guix.texi (Programming Interface): Add introduction. (Defining Packages): Populate. Ludovic Courtès2012-11-212-3/+151
* build: Fix `hydra.scm' recipe.•••* 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)'. Ludovic Courtès2012-11-211-2/+10
* guix-package: Extract version strings when installing a direct store path.•••* guix-package.in (guix-package)[process-actions]: Extract the version string from store paths. * tests/guix-package.sh: Adjust accordingly. Ludovic Courtès2012-11-192-6/+12
* guix-build: Use `location->string'.•••* guix-build.in (derivations-from-package-expressions): Use `location->string'. Ludovic Courtès2012-11-191-3/+2
* guix-package: Record the correct version string in manifests.•••* guix-package.in (guix-package)[find-package]: Return (package-version p), not VERSION. Ludovic Courtès2012-11-191-4/+5
* guix-package: Add `--list-available'.•••* 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>. Ludovic Courtès2012-11-195-3/+54
* distro: Add `fold-packages'.•••* 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. Ludovic Courtès2012-11-192-11/+32
* guix-package: Add `--list-installed'.•••* 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. Ludovic Courtès2012-11-193-64/+127
* guix-package: Fix typo.•••* guix-package.in (guix-package)[find-package]: Don't use `_' as the wildcard, to avoid collision with `gettext'. Ludovic Courtès2012-11-191-1/+1
* distro: Add GNU Zile.•••* distro/packages/zile.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-192-1/+67
* distro: Add GNU help2man.•••* distro/packages/help2man.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-192-0/+52
* distro: Add GNU Pies and GNU Inetutils.•••* distro/packages/system.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-182-0/+91
* build: Add `hydra.scm'.•••* hydra.scm: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès2012-11-182-0/+58
* doc: Add `ROADMAP'.•••* ROADMAP: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès2012-11-182-0/+60
* doc: Add `TODO'.•••* TODO: New file. * Makefile.am (EXTRA_DIST): Add it. Ludovic Courtès2012-11-182-0/+114
* doc: Add a "Related software" section to `README'.•••* README (Related software): New section. Ludovic Courtès2012-11-181-0/+13
* Turn Guix into "GNU Guix".•••* 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. Ludovic Courtès2012-11-184-16/+17
* distro: Rebuild bootstrap Binutils and GCC.•••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. Ludovic Courtès2012-11-162-11/+12
* distro: Configure ld and GCC to not look under /usr & co.•••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'. Ludovic Courtès2012-11-162-4/+9
* guix-download: Use code from (guix build download).•••* 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. Ludovic Courtès2012-11-133-50/+29
* guix-download: Add support for file:// URIs.•••* 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. Ludovic Courtès2012-11-133-9/+20
* guix-download: Gracefully handle invalid URIs.•••* 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. Ludovic Courtès2012-11-132-6/+11
* distro: Add GNU Texinfo.•••* distro/packages/texinfo.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-132-1/+62
* distro: Add GNU Libtasn1 and GnuTLS.•••* distro/packages/gnutls.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-132-0/+89
* distro: Add GNU Nettle.•••* distro/packages/nettle.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès2012-11-132-0/+64
* distro: Add LZO.•••* distro/packages/compression.scm (lzo): New variable. Ludovic Courtès2012-11-131-0/+25
* tests: Make sure to use the bootstrap Guile.•••* tests/builders.scm ("url-fetch", "gnu-build"): Pass `url-fetch' #:guile %BOOTSTRAP-GUILE. Ludovic Courtès2012-11-131-2/+4
* tests: Remove extraneous test.•••* 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. Ludovic Courtès2012-11-131-24/+0
* build: Add $(top_builddir) to the load path.•••* Makefile.am (DOWNLOAD_FILE): Add $(top_builddir) to the search path, since that's where guix/config.scm is. (.scm.go): Likewise. Ludovic Courtès2012-11-131-7/+7
* distro: Patch libc to avoid accessing /etc/ld.so.cache and friends.•••* 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. Ludovic Courtès2012-11-133-1/+59
* distro: Use `mirror://' URLs.•••* 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. Ludovic Courtès2012-11-1316-35/+34
* download: Add support for mirror:// URLs.•••* 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. Ludovic Courtès2012-11-132-7/+86
* download: Follow HTTP redirections.•••* guix/build/download.scm (http-fetch): Follow the redirection when CODE is 302. Ludovic Courtès2012-11-131-8/+16
* 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ès2012-11-1329-371/+72
* 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ès2012-11-126-1/+248
* Move base32 code to (guix base32).•••* 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'. Ludovic Courtès2012-11-1112-322/+392
* tests: Choose a less expensive test for packages.•••* tests/packages.scm (%bootstrap-inputs): Remove. ("GNU Hello"): Rename to... ("GNU Make, bootstrap"): ... this. Build GNU-MAKE-BOOT0 instead of HELLO. Ludovic Courtès2012-11-091-13/+9
* http: Add informative output.•••* guix/build/http.scm (http-fetch): Emit message indicating the download. Ludovic Courtès2012-11-091-0/+3
* 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ès2012-11-091-6/+13
* derivations: build-expression->derivation: Builder only refers to sources.•••* 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. Ludovic Courtès2012-11-092-1/+54