summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2013-04-20substitute-binary: Remove expired cache entries once in a while.•••* guix/scripts/substitute-binary.scm (%narinfo-expired-cache-entry-removal-delay): New variable. (obsolete?): New procedure, formerly in `lookup-narinfo'. (lookup-narinfo): Adjust accordingly. (remove-expired-cached-narinfos, maybe-remove-expired-cached-narinfo): New procedures. (guix-substitute-binary): Call `maybe-remove-expired-cached-narinfo'. Ludovic Courtès
2013-04-20snix: Prefer synopses from the Womb rather than from Nixpkgs.•••* guix/snix.scm (snix-derivation->guix-package): When NAME is in (official-gnu-packages), use this synopsis instead of the one from Nixpkgs. Ludovic Courtès
2013-04-20gnu: gdbm, nano: Synchronize synopses.•••* gnu/packages/gdbm.scm, gnu/packages/nano.scm: Synchronize synopses with the Womb. Ludovic Courtès
2013-04-20daemon: Gracefully handle cases where the daemon does not return a status code.•••* guix/store.scm (process-stderr): Check for EOF before doing (read-int p). Ludovic Courtès
2013-04-19gnu: Unify the two intltool packages.•••* gnu/packages/xml.scm (intltool): Delete variable. * gnu/packages/glib.scm (intltool): Update to version 0.50.2. Andreas Enge
2013-04-18daemon: Add `--no-substitutes'.•••Suggested by Mark H. Weaver. * nix/nix-daemon/guix-daemon.cc (GUIX_OPT_NO_SUBSTITUTES): New macro. (options): Add `--no-substitutes'. (parse_opt): Add `GUIX_OPT_NO_SUBSTITUTES' case. (main): Leave `settings.substituters' empty when `settings.useSubstitutes' is false. Ludovic Courtès
2013-04-18daemon: Really enable the substituter by default.•••* nix/nix-daemon/guix-daemon.cc (main): Really enable the substituter by default. Reported by Mark H. Weaver. Ludovic Courtès
2013-04-18doc: Mention the home page.•••* doc/guix.texi (Installation): Add a sentence pointing to the home page. Suggested by Arne Babenhauserheide. Ludovic Courtès
2013-04-18tests: Use a new synopsis of GNU Hello.•••* tests/guix-package.sh: Use a new synopsis of GNU Hello, which was added in f50d2669e3e624365221cc81918ba55fdce94107. Nikita Karetnikov
2013-04-17doc: Transparent binary deployment is implemented.•••* doc/guix.texi (Features): Remove footnote saying that transparent binary deployment is not implemented. Ludovic Courtès
2013-04-17guix package: Allow the search of the latest release to be interrupted.•••* guix/scripts/package.scm (%sigint-prompt): New variable. (call-with-sigint-handler): New procedure. (waiting): Use it. Ludovic Courtès
2013-04-17build: Add `sync-synopses.scm'.•••* build-aux/sync-synopses.scm: New file. * Makefile.am (EXTRA_DIST): Add it. (dist-hook): New target. Ludovic Courtès
2013-04-17gnu: Use synopses from the Womb.•••* gnu/packages/algebra.scm, gnu/packages/aspell.scm, gnu/packages/autotools.scm, gnu/packages/base.scm, gnu/packages/bash.scm, gnu/packages/bison.scm, gnu/packages/cdrom.scm, gnu/packages/cflow.scm, gnu/packages/compression.scm, gnu/packages/cpio.scm, gnu/packages/cppi.scm, gnu/packages/ddrescue.scm, gnu/packages/dejagnu.scm, gnu/packages/ed.scm, gnu/packages/emacs.scm, gnu/packages/fdisk.scm, gnu/packages/gawk.scm, gnu/packages/gcc.scm, packages/gcc.scm, b/gnu/packages/gcc.scm, 4b982 100644 s/gcc.scm, s/gcc.scm, @@ %standard-phases))))) `((gcc-libc . ,(assoc-ref inputs "libc")))) The GNU Compiler Collection") GNU Compiler Collection") n ompiler Collection includes compiler front ends for C, C++, tran, OpenMP for C/C++/Fortran, Java, and Ada, as well as gnu/packages/gdb.scm, gnu/packages/gettext.scm, gnu/packages/ghostscript.scm, gnu/packages/glib.scm, gnu/packages/global.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gperf.scm, gnu/packages/gprolog.scm, gnu/packages/groff.scm, gnu/packages/grub.scm, gnu/packages/gsasl.scm, gnu/packages/guile.scm, gnu/packages/help2man.scm, gnu/packages/idutils.scm, gnu/packages/indent.scm, gnu/packages/less.scm, gnu/packages/libidn.scm, gnu/packages/libsigsegv.scm, gnu/packages/libunistring.scm, gnu/packages/linux.scm, gnu/packages/lsh.scm, gnu/packages/m4.scm, gnu/packages/mailutils.scm, gnu/packages/multiprecision.scm, gnu/packages/nano.scm, gnu/packages/ncurses.scm, gnu/packages/nettle.scm, gnu/packages/oggvorbis.scm, gnu/packages/parted.scm, gnu/packages/pth.scm, gnu/packages/readline.scm, gnu/packages/recutils.scm, gnu/packages/scheme.scm, gnu/packages/screen.scm, gnu/packages/shishi.scm, gnu/packages/smalltalk.scm, gnu/packages/system.scm, gnu/packages/texinfo.scm, gnu/packages/time.scm, gnu/packages/wdiff.scm, gnu/packages/wget.scm, gnu/packages/which.scm: Use synopses from the Womb. Ludovic Courtès
2013-04-17ui: Fix format string in `warning'.•••* guix/ui.scm (warning)[augmented-format-string]: Add missing ~*. Ludovic Courtès
2013-04-17gnu: Add missing import in (gnu packages cross-base).•••* gnu/packages/cross-base.scm: Use (gnu packages gcc). Reported by Nikita Karetnikov <nikita@karetnikov.org>. Ludovic Courtès
2013-04-17scripts: Report what will be substituted.•••* guix/derivations.scm (derivation-input-output-paths): New procedure. (derivation-prerequisites-to-build): New `use-substitutes?' keyword argument. Change two return the list of substitutable paths as a second argument. * guix/ui.scm (show-what-to-build): Turn `dry-run?' into a keyword argument. New `use-substitutes?' keyword argument. Use `fold2' and adjust to use both return values of `derivation-prerequisites-to-build'. Display what will/would be downloaded. * guix/scripts/build.scm (guix-build): Adjust accordingly. * guix/scripts/package.scm (guix-package): Likewise. * tests/derivations.scm ("derivation-prerequisites-to-build and substitutes"): New test. Ludovic Courtès
2013-04-16package: allow users to upgrade the whole system by not providing a regexp.•••* guix/scripts/packages.scm (guix-package) [process-actions]: When upgrading, use "" when REGEXP is #f. * doc/guix.texi: update the documentation accordingly. Cyril Roelandt
2013-04-16gnu: Python: bump to version 2.7.4.•••* gnu/packages/python.scm: bump to version 2.7.4, remove references to python-fix-dbm.patch. * Makefile.am: remove references to python-fix-dbm.patch * gnu/packages/patches/python-fix-dbm.patch: remove it. Cyril Roelandt
2013-04-16build-system/{perl,cmake}: Keep the standard search paths of gnu-build-system.•••Reported by Andreas Enge <andreas@enge.fr>. * guix/build-system/gnu.scm (standard-search-paths): New procedure. (gnu-build): Use it. * guix/build-system/perl.scm (perl-build): Append (standard-search-paths) to the search paths of PERL. * guix/build-system/cmake.scm (cmake-build): Append (standard-search-paths) to SEARCH-PATHS. Ludovic Courtès
2013-04-15substitute-binary: Skip servers that use a different store prefix.•••* guix/scripts/substitute-binary.scm (fetch-narinfo): Return #f when CACHE uses a store directory different from (%store-prefix). Ludovic Courtès
2013-04-15substitute-binary: Call `open-cache' only when needed.•••* guix/scripts/substitute-binary.scm (lookup-narinfo): Force CACHE when passing it to `fetch-narinfo'. (guix-substitute-binary): Delay calls to `open-cache'. Ludovic Courtès
2013-04-15substitute-binary: Add a local cache.•••* guix/scripts/substitute-binary.scm (%narinfo-cache-directory, %narinfo-ttl, %narinfo-negative-ttl): New variables. (with-atomic-file-output, object->fields, read-narinfo, write-narinfo, narinfo->string, string->narinfo, lookup-narinfo): New procedures. (fetch-narinfo): Adjust to use `read-narinfo'. (guix-substitute-binary): Ensure the existence of %NARINFO-CACHE-DIRECTORY. Use `lookup-narinfo' instead of `fetch-narinfo'. Ludovic Courtès
2013-04-14gnu: automake: Restore shebangs on files that end up in user tarballs.•••* gnu/packages/autotools.scm (automake): Add `unpatch-shebangs' phase. Ludovic Courtès
2013-04-14utils: Add `fold2'.•••* gnu/packages.scm (fold2): Remove. * guix/utils.scm (fold2): New procedure. Generalization of the above to one and two lists. * tests/utils.scm ("fold2, 1 list", "fold2, 2 lists"): New tests. Ludovic Courtès
2013-04-13gnu: emacs: Build the GUI with libXaw.•••* gnu/packages/emacs.scm (emacs): Add inputs: libX11, libXaw, libXt, libtiff, libjpeg, libpng, zlib, libXpm, libxml2, and D-Bus. Ludovic Courtès
2013-04-13gnu: libXaw: Propagate libXt.•••* gnu/packages/xorg.scm (libxaw): Propagate libXt. Ludovic Courtès
2013-04-12gnu: Add Ratpoison.•••* gnu/packages/ratpoison.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès
2013-04-12store: Remove unneeded and conflicting import.•••* guix/store.scm: Remove unneeded (ice-9 rdelim) import. In Guile 2.0.9 that module exports `read-string', which conflicts with that of (guix serialization). Ludovic Courtès
2013-04-12package: Being at the empty profile is not an error.•••* guix/scripts/package.scm (roll-back): Use `format', not `leave' when indicating "already at the empty profile". Fixes a regression introduced in a2011be5dfaf2b94a1d0e3dfbcf4b512389b4711. Reported by Nikita Karetnikov <nikita@karetnikov.org>. Ludovic Courtès
2013-04-12Update `TODO'.Ludovic Courtès
2013-04-12guix package: Add `--no-substitutes'.•••* guix/scripts/package.scm (%default-options): Add `substitutes?'. (show-help, %options): Add and document `--no-substitutes'. (guix-package): Call `set-build-options' to honor `substitutes?'. Ludovic Courtès
2013-04-12substitute-binary: Implement `--substitute'.•••This allows build outputs to be transparently downloaded from http://hydra.gnu.org, for example. * config-daemon.ac: Check for `gzip', `bzip2', and `xz'. * guix/config.scm.in (%gzip, %bzip2, %xz): New variable. * guix/scripts/substitute-binary.scm (fetch): Return SIZE as a second value. (<narinfo>): Change `url' to `uri'. (make-narinfo): Rename to... (narinfo-maker): ... this. Handle relative URLs. (fetch-narinfo): Adjust accordingly. (filtered-port, decompressed-port): New procedures. (guix-substitute-binary): Implement the `--substitute' case. * tests/store.scm ("substitute query"): Use (%store-prefix) instead of (getenv "NIX_STORE_DIR"). ("substitute"): New test. Ludovic Courtès
2013-04-12substitute-binary: Correctly handle missing narinfos in `--query' mode.•••* guix/scripts/substitute-binary.scm (guix-substitute-binary)["--query"]("have", "info"): Filter SUBSTITUTABLE through `narinfo?'. Ludovic Courtès
2013-04-12nar: Add support for symlinks.•••* guix/nar.scm (write-file): Add case for type `symlink'. (restore-file): Likewise. * tests/nar.scm (random-file-size, make-file-tree, delete-file-tree, with-file-tree, file-tree-equal?, make-random-bytevector, populate-file): New procedures. (%test-dir): New variable. ("write-file + restore-file"): Use `%test-dir' and `file-tree-equal?'. ("write-file + restore-file with symlinks"): New test. Ludovic Courtès
2013-04-12ui: Add a `warning' macro.•••* guix/ui.scm (program-name, guix-warning-port): New variables. (warning): New macro. (guix-main): Parametrize PROGRAM-NAME. * guix/scripts/build.scm, guix/scripts/download.scm, guix/scripts/gc.scm, guix/scripts/package.scm: Adjust to use `leave' and `warning' consistently. Ludovic Courtès
2013-04-12nar: Implement restoration from Nar.•••* guix/nar.scm (&nar-error, &nar-read-error): New condition types. (dump): New procedure. (write-contents)[dump]: Remove. Use the one above instead. (read-contents, write-file, restore-file): New procedures. (%archive-version-1): New variable. Ludovic Courtès
2013-04-12gnu: shishi: Update to 1.0.2.•••* gnu/packages/shishi.scm (shishi): Update to 1.0.2. * gnu/packages/patches/shishi-gets-undeclared.patch: Remove it. * Makefile.am (dist_patch_DATA): Adjust accordingly. Nikita Karetnikov
2013-04-12gnu: Python: fix the compilation of some modules from the standard library.•••This commit enables the bz2, dbm, readline, ssl and zlib modules. * gnu/packages/gdbm.scm: Enable the compatibility mode. * gnu/packages/python.scm: Enable a few modules from the standard library. * gnu/packages/patches/python-fix-dbm.patch: New file. * Makefile.am: Add it. Cyril Roelandt
2013-04-12Add (guix nar) and (guix serialization).•••* guix/store.scm (write-int, read-int, write-long-long, read-long-long, write-padding, write-string, read-string, read-latin1-string, write-string-list, read-string-list, write-store-path, read-store-path, write-store-path-list, read-store-path-list): Move to serialization.scm. (write-contents, write-file): Move to nar.scm. * guix/nar.scm, guix/serialization.scm: New files. * Makefile.am (MODULES): Add them. Ludovic Courtès
2013-04-12substitute-binary: Fix communication of several store paths to the daemon.•••* guix/scripts/substitute-binary.scm (guix-substitute-binary)["--query"]: Emit blank lines only after the complete list of store paths has been returned. Ludovic Courtès
2013-04-12Add preliminary binary substituter.•••* guix/scripts/substitute-binary.scm: New file. * Makefile.am (MODULES): Add it. * nix/scripts/substitute-binary.in: New file. * config-daemon.ac: Produce nix/scripts/substitute-binary. * daemon.am (nodist_pkglibexec_SCRIPTS): Add nix/scripts/substitute-binary. * guix/store.scm (substitutable-path-info): Use the `query-substitutable-path-infos' RPC. * nix/nix-daemon/guix-daemon.cc (main): Honor `NIX_SUBSTITUTERS'. * pre-inst-env.in: Set `NIX_SUBSTITUTERS'. * test-env.in: Leave `NIX_SUBSTITUTERS' unchanged. Set `GUIX_BINARY_SUBSTITUTE_URL, and create $NIX_STATE_DIR/substituter-data. Run `guix-daemon' within `./pre-inst-env'. * tests/store.scm ("substitute query"): New test. Ludovic Courtès
2013-04-12gnu: bigloo: Add dependencies on Avahi and libphidget.•••* gnu/packages/scheme.scm (bigloo): Add Avahi and libphidget as inputs, and pkg-config as a native input. Ludovic Courtès
2013-04-12gnu: Add libphidget.•••* gnu/packages/libphidget.scm: New file. * Makefile.am (MODULES): Add it. Ludovic Courtès
2013-04-12store: Add `store-path-hash-part'.•••* guix/store.scm (store-path-hash-part): New procedure. * tests/store.scm ("store-path-hash-part", "store-path-hash-part #f"): New tests. Ludovic Courtès
2013-04-12gnu-maintenance: Adjust `http-fetch' to the various Guile versions.•••* guix/gnu-maintenance.scm (http-fetch): Try #:streaming? #t, or 'http-get*', or 'http-get' as a last resort. Check whether DATA is #f, a string, or an input port. Ludovic Courtès
2013-04-12pull: Switch to the cgit URL.•••* guix/scripts/pull.scm (%snapshot-url): Switch to the cgit URL, given that the Hydra one is not currently available. Ludovic Courtès
2013-04-12tests: Remove temporary directory created by nar.scm.•••* tests/nar.scm ("write-file + restore-file with symlinks"): Add (rm-rf output). Ludovic Courtès
2013-04-12store: Remove unneeded and conflicting import.•••* guix/store.scm: Remove unneeded (ice-9 rdelim) import. In Guile 2.0.9 that module exports `read-string', which conflicts with that of (guix serialization). Ludovic Courtès
2013-04-12package: Being at the empty profile is not an error.•••* guix/scripts/package.scm (roll-back): Use `format', not `leave' when indicating "already at the empty profile". Fixes a regression introduced in a2011be5dfaf2b94a1d0e3dfbcf4b512389b4711. Reported by Nikita Karetnikov <nikita@karetnikov.org>. Ludovic Courtès
2013-04-12Update `TODO'.Ludovic Courtès