summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-09Break module cycle involving (guix store) and (guix ui).Ludovic Courtès
Before, there was a cycle along the lines of: (guix store) -> (guix nar) -> (guix ui) -> (guix store) This caused problems, as discussed at: http://lists.gnu.org/archive/html/guix-devel/2014-10/msg00109.html This patch removes cycles in the (guix ...) modules. * guix/nar.scm (&nar-error, &nar-read-error, dump, write-contents, read-contents, %archive-version-1, write-file, restore-file): Move to... * guix/serialization.scm: ... here. * guix/store.scm: Remove dependency on (guix nar). * guix/scripts/hash.scm, guix/scripts/offload.scm, guix/scripts/substitute-binary.scm, tests/nar.scm, tests/store.scm, tests/substitute-binary.scm: Adjust accordingly.
2014-10-09substitute-binary: Ignore $GUIX_BINARY_SUBSTITUTE_URL.Ludovic Courtès
* guix/scripts/substitute-binary.scm (%cache-url): Ignore the 'GUIX_BINARY_SUBSTITUTE_URL' environment variable. * test-env.in: Invoke 'guix-daemon' with '--substitute-urls'. * tests/substitute-binary.scm: Set '%cache-url' to the value of 'GUIX_BINARY_SUBSTITUTE_URL'.
2014-10-09daemon: Add '--substitute-urls' option.Ludovic Courtès
* nix/nix-daemon/guix-daemon.cc (GUIX_OPT_SUBSTITUTE_URLS): New macro. (GUIX_OPT_NO_BUILD_HOOK, GUIX_OPT_GC_KEEP_OUTPUTS, GUIX_OPT_GC_KEEP_DERIVATIONS): Renumber. (options): Add '--substitute-urls'. (parse_opt): Honor it. (main): Add 'settings.set' call for the default "substitute-urls" value. * guix/scripts/substitute-binary.scm (daemon-options, find-daemon-option): New procedures. (%cache-url): Define based on the "substitute-urls" daemon option. * doc/guix.texi (Invoking guix-daemon): Document '--substitute-urls'. (Substitutes): Mention it.
2014-10-09gnu: icecat: Update to 31.1.1.Mark H Weaver
* gnu/packages/gnuzilla.scm (icecat): Update to 31.1.1. Add 'pango', 'freetype', 'libxft' and 'pulseaudio' as inputs. Set 'out-of-source?' to #t. Remove 'sanitise' phase. Adapt customized 'configure' phase to handle 'out-of-source?' build. Add '--with-l10n-base' argument to configure.
2014-10-08monads: Add 'mbegin'.Ludovic Courtès
* guix/monads.scm (mbegin): New macro. * tests/monads.scm ("mbegin"): New test. * doc/guix.texi (The Store Monad): Document it.
2014-10-08packages: Gracefully print packages whose 'location' is #f.Ludovic Courtès
* guix/packages.scm (<package> printer): Check whether LOC is #f. * tests/packages.scm ("printer with location", "printer without location"): New tests.
2014-10-08Add Federico to 'AUTHORS'.Ludovic Courtès
2014-10-08doc: Document 'glib-or-gtk-build-system'.Federico Beffa
* doc/guix.texi (Build System): Document 'glib-or-gtk-build-system'. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2014-10-08gnu: cmake: Use our curl, zlib, expat, bzip2, and libarchive.Eric Bavier
* gnu/packages/cmake.scm (cmake)[arguments]: Move sh-patching to new 'patch-bin-sh phase. New 'set-paths phase. [inputs]: Add curl, zlib, expat, bzip2, and libarchive. [description]: Fix space after end-of-sentence.
2014-10-08gnu: slim: Fix typo in synopsis and wrap description.Eric Bavier
* gnu/packages/slim.scm (slim)[synopsis]: Fix typo. [description]: Fix two-space-after-end-of-sentence. Wrap to 80 characters.
2014-10-08gnu: conkeror: install conkeror-spawn-helper.Eric Bavier
* gnu/packages/conkeror.scm (conkeror)[build-system]: Change to gnu-build-system. Adjust arguments accordingly. [inputs]: Remove now-implicit bash. [native-inputs]: Remove now-implicit tar and gzip. [description]: Fix two-space-after-end-of-sentence. Remove comment about separate conkeror-spawn-process-helper package.
2014-10-08gnu: Add the 'glib-or-gtk' build system.Federico Beffa
* guix/build-system/glib-or-gtk.scm, guix/build/glib-or-gtk-build-system.scm: New files. * Makefile.am (MODULES): Add them. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-08derivations: Add 'graft-derivation'.Ludovic Courtès
* guix/derivations.scm (graft-derivation): New procedure. * guix/build/graft.scm: New file. * Makefile.am (MODULES): Add it. * tests/derivations.scm ("graft-derivation"): New test.
2014-10-08guix lint: make sure synopses do not start with the package name.Cyril Roelandt
* guix/scripts/lint.scm (check-start-with-package-name): New method. * tests/lint.scm ("synopsis: start with package name"): New test.
2014-10-08guix lint: Make sure a synopsis cannot start with a lower-case article.Cyril Roelandt
* guix/scripts/lint.scm (check-start-article): use "string-ci=?" instead of "string=?". * tests/lint.scm ("synopsis: starts with 'a'", "synopsis: starts with 'an'"): New tests.
2014-10-08guix lint: check whether descriptions and synopses start with an upper-case ↵Cyril Roelandt
letter. * guix/scripts/lint.scm (check-description-style, check-synopsis-start-upper-case): New methods. * tests/lint.scm ("description: does not start with an upper-case letter", "synopsis: does not start with an upper-case letter"): New tests.
2014-10-08guix lint: Make sure synopses are not too long.Cyril Roelandt
* guix/scripts/lint.scm (check-synopsis-length): New procedure. * tests/lint.scm ("synopsis: too long"): New test.
2014-10-08guix lint: make sure check-patches retrieves patch names.Cyril Roelandt
* guix/lint (check-patches): Test the output of origin-patches.
2014-10-07gnu: Add fontforge.Eric Bavier
* gnu/packages/fontutils.scm (fontforge): New variable.
2014-10-07gnu: Add libuninameslist.Eric Bavier
* gnu/packages/fontutils.scm (libuninameslist): New variable.
2014-10-07gnu: Add libspiro.Eric Bavier
* gnu/packages/fontutils.scm (libspiro): New variable.
2014-10-07gnu: Add potrace.Eric Bavier
* gnu/packages/fontutils.scm (potrace): New variable.
2014-10-07services: Add '%facebook-host-aliases'.Ludovic Courtès
* gnu/services/networking.scm (%facebook-host-aliases): New variable. * doc/guix.texi (Networking Services): Document it.
2014-10-07system: Export 'local-host-aliases'.Ludovic Courtès
* gnu/system.scm (local-host-aliases): New procedure. (default-/etc/hosts): Use it.
2014-10-07gnu: boost: Add zlib to the inputs.John Darrington
* gnu/packages/boost.scm (boost): Add zlib to inputs.
2014-10-07gnu: eudev: Really update to 1.10.Ludovic Courtès
* gnu/packages/linux.scm (eudev)[version]: Fix typo. [source]: Add 'snippet'.
2014-10-06gnu: mupdf: Update to 1.6.Mark H Weaver
* gnu/packages/pdf.scm (mupdf): Update to 1.6.
2014-10-06gnu: mupdf: Use a source URL where older versions remain available.Mark H Weaver
* gnu/packages/pdf.scm (mupdf)[source]: Download from the archive subdirectory, where both old and new versions are kept.
2014-10-06gnu: eudev: Update to 1.10.Jason Self
* gnu/packages/linux.scm (eudev): Update to version 1.10.
2014-10-06gnu: clucene: Enable the contrib-libs.John Darrington
* gnu/packages/rdf.scm (clucene): Enable the contribs-lib directory.
2014-10-06gnu: libxdamage: Move inputs to propagated-inputsJohn Darrington
* gnu/packages/xorg.scm (libxdamage): Move all existing inputs to propagated-inputs.
2014-10-06gnu: net-tools: Allow compilation with current libc and GCC.Ludovic Courtès
* gnu/packages/patches/net-tools-bitrot.patch: New file. * gnu/packages/linux.scm (net-tools): Use it. * gnu-system.am (dist_patch_DATA): Add it.
2014-10-06emacs: Use 'with-store' in 'process-package-actions'.Alex Kost
* emacs/guix-main.scm (process-package-actions): Use 'with-store'.
2014-10-06gnu: mit-scheme: Restrict to non-MIPS systems.Ludovic Courtès
* gnu/packages/scheme.scm (mit-scheme)[supported-systems]: New field.
2014-10-06hydra: Honor 'package-supported-systems'.Ludovic Courtès
* guix/packages.scm (%supported-systems): New variable. (<package>)[platforms]: Rename to... [supported-systems]: ... this. Change default to %SUPPORTED-SYSTEMS. * build-aux/hydra/gnu-system.scm (job-name, package->job): New procedures, formerly in 'hydra-jobs'. Honor 'package-supported-systems'. (hydra-jobs): Use them.
2014-10-06doc: Mention optional dependency on Guile-JSON.Ludovic Courtès
* README (Requirements): Add Guile-JSON. * doc/guix.texi (Requirements): Likewise.
2014-10-06gnu: linux-libre: Update to 3.17.Jason Self
* gnu/packages/linux.scm (linux-libre): Update to version 3.17.
2014-10-06gnu: Add feh.Ian Denhardt
* gnu/packages/feh.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-06gnu: libdaemon: Add alternate source URLs.Ludovic Courtès
Fixes <http://bugs.gnu.org/18639>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/packages/libdaemon.scm (libdaemon)[source]: Add Debian and Fedora mirrors.
2014-10-05gnu: linux-libre: Update to 3.16.4.Jason Self
* gnu/packages/linux.scm (libogg): Update to version 3.16.4.
2014-10-05gnu: xpdf: Update to 3.04.Mark H Weaver
* gnu/packages/patches/xpdf-constchar.patch: Remove. * gnu-system.am (dist_patch_DATA): Remove it. * gnu/packages/pdf.scm (xpdf): Update to 3.04. Remove patch. Add libpng as an input.
2014-10-05build-system/trivial: Preserve the cross-compilation target in bags.Ludovic Courtès
* guix/build-system/trivial.scm (lower): Initialize the 'target' field.
2014-10-05gnu: dbus: Move 'pkg-config' to 'native-inputs'.Ludovic Courtès
* gnu/packages/glib.scm (dbus): Move PKG-CONFIG to 'native-inputs'.
2014-10-05gnu: dbus: Create $out/etc/dbus-1/{system,session}.d to placate 'dbus-launch'.Ludovic Courtès
* gnu/packages/glib.scm (dbus)[arguments]: Add 'post-install' phase.
2014-10-05gnu: dbus: Update to 1.8.8.Ludovic Courtès
* gnu/packages/glib.scm (dbus): Update to 1.8.8.
2014-10-06emacs: Add support for deleting generations.Alex Kost
* doc/emacs.texi (emacs List buffer): Mention new key bindings. * emacs/guix-base.el (guix-delete-generations): New procedure. * emacs/guix-info.el (guix-generation-info-insert-number): Use it. * emacs/guix-list.el (guix-generation-list-mark-delete, guix-generation-list-execute): New procedures. * emacs/guix-main.scm (delete-generations*): New procedure.
2014-10-05build-system: Bags record their system and target.Ludovic Courtès
* guix/build-system.scm (<bag>)[system, target]: New fields. (make-bag): Add #:system parameter and pass it to LOWER. * gnu/packages/bootstrap.scm (make-raw-bag): Initialize 'system' field. * guix/build-system/cmake.scm (lower): Likewise. * guix/build-system/perl.scm (lower): Likewise. * guix/build-system/python.scm (lower): Likewise. * guix/build-system/ruby.scm (lower): Likewise. * guix/build-system/trivial.scm (lower): Likewise. * guix/build-system/gnu.scm (lower): Initialize 'system' and 'target' fields. * guix/packages.scm (bag->derivation, bag->cross-derivation): New procedures. (package-derivation, package-cross-derivation): Use 'bag->derivation'. * tests/packages.scm ("search paths"): Initialize 'system' and 'target' fields. ("package->bag", "package->bag, cross-compilation", "bag->derivation", "bag->derivation, cross-compilation"): New tests.
2014-10-05gnu: cross-base: Use the right dynamic linker name.Ludovic Courtès
* gnu/packages/cross-base.scm (cross-gcc-arguments): Parametrize %CURRENT-TARGET-SYSTEM. * tests/monads.scm ("package-file + package->cross-derivation"): Replace "foo64-gnu" with "mips64el-linux-gnu".
2014-10-05gnu: cross-base: Externalize cross-gcc arguments.Ludovic Courtès
* gnu/packages/cross-base.scm (cross-gcc-arguments): New procedure. (cross-gcc): Use it. [No functional change.]
2014-10-05build-system: Introduce "bags" as an intermediate representation.Ludovic Courtès
* guix/build-system.scm (<build-system>)[build, cross-build]: Remove. [lower]: New field. (<bag>): New record type. (make-bag): New procedure. * guix/packages.scm (bag-transitive-inputs, bag-transitive-build-inputs, bag-transitive-host-inputs, bag-transitive-target-inputs, package->bag): New procedures. (package-derivation): Use it; use the bag, apply its build procedure, etc. (package-cross-derivation): Likewise. * gnu/packages/bootstrap.scm (raw-build, make-raw-bag): New procedure. (%bootstrap-guile): Use them. * guix/build-system/trivial.scm (lower): New procedure. (trivial-build, trivial-cross-build): Remove 'source' parameter. Pass INPUTS as is. (trivial-build-system): Adjust accordingly. * guix/build-system/gnu.scm (%store, inputs-search-paths, standard-search-paths, expand-inputs, standard-inputs): Remove. (gnu-lower): New procedure. (gnu-build): Remove 'source' and #:implicit-inputs? parameters. Remove 'implicit-inputs' and 'implicit-search-paths' variables. Get the source from INPUT-DRVS. (gnu-cross-build): Likewise. (standard-cross-packages): Remove call to 'standard-packages'. (standard-cross-inputs, standard-cross-search-paths): Remove. (gnu-build-system): Remove 'build' and 'cross-build'; add 'lower'. * guix/build-system/cmake.scm (lower): New procedure. (cmake-build): Remove 'source' and #:cmake parameters. Use INPUTS and SEARCH-PATHS as is. Get the source from INPUTS. * guix/build-system/perl.scm: Likewise. * guix/build-system/python.scm: Likewise. * guix/build-system/ruby.scm: Likewise. * gnu/packages/cross-base.scm (cross-gcc): Change "cross-linux-headers" to "linux-headers". (cross-libc)[xlinux-headers]: Pass #:implicit-cross-inputs? #f. Likewise. In 'propagated-inputs', change "cross-linux-headers" to "linux-headers". * guix/git-download.scm (git-fetch): Use 'standard-packages' instead of 'standard-inputs'. * tests/builders.scm ("gnu-build-system"): Remove use of 'build-system-builder'. ("gnu-build"): Remove 'source' and #:implicit-inputs? arguments to 'gnu-build'. * tests/packages.scm ("search paths"): Adjust to new build system API. ("package-cross-derivation, no cross builder"): Likewise. * doc/guix.texi (Build Systems): Add paragraph on bags.