summary refs log tree commit diff
AgeCommit message (Collapse)Author
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.
2014-10-05build-system: Remove irrelevant special case.Ludovic Courtès
* guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Remove comment about case where GUILE is a derivation path. * guix/build-system/cmake.scm (cmake-build): Remove case where GUILE is a derivation path. * guix/build-system/perl.scm (perl-build): Likewise. * guix/build-system/python.scm (python-build): Likewise. * guix/build-system/ruby.scm (ruby-build): Likewise. * guix/build-system/trivial.scm (guile-for-build): Likewise.
2014-10-05utils: Add 'strip-keyword-arguments'.Ludovic Courtès
* guix/utils.scm (strip-keyword-arguments): New procedure. * tests/utils.scm ("strip-keyword-arguments"): New test.
2014-10-05guix package: Export generation procedures.Alex Kost
* guix/scripts/package.scm: Export 'roll-back', 'delete-generation', 'delete-generations'. (link-to-empty-profile, roll-back): Add 'store' argument. (delete-generations): New procedure. (guix-package): Adjust accordingly. [delete-generation]: Move to the top level. Add 'store' and 'profile' arguments. [display-and-delete]: Move to 'delete-generation'.
2014-10-04gnu: bazaar: Update to 2.6.0.Jason Self
* gnu/packages/version-control.scm (bazaar): Update to version 2.6.0.
2014-10-05gnu: git: Fix download location.Andreas Enge
* gnu/packages/version-control.scm (git): Fix source uri by switching to kernel.org.
2014-10-04gnu: git: Update to 2.1.2.Ludovic Courtès
* gnu/packages/version-control.scm (git): Update to 2.1.2.
2014-10-04build-system/cmake: Add #:build-type parameter, default to "RelWithDebInfo".Ludovic Courtès
* guix/build-system/cmake.scm (cmake-build): Add #:build-type. Pass it in BUILDER. * guix/build/cmake-build-system.scm (configure): Add #:build-type parameter and honor it. * doc/guix.texi (Build Systems): Document #:configure-flags and #:build-type for CMake.
2014-10-03gnu: pspp: Upgrade to 0.8.4.John Darrington
* gnu/packages/maths.scm (pspp): Upgrade to 0.8.4.
2014-10-03gnu: windowmaker: Update to 0.95.6.Ludovic Courtès
* gnu/packages/gnustep.scm (windowmaker): Update to 0.95.6.
2014-10-03ui: Recognize the same size units as Coreutils.Ludovic Courtès
* guix/ui.scm (size->number): Add a bunch of large units. Recognize one-letter unit names. Change "KB" to "kB". * tests/ui.scm ("size->number, 1T"): New test. * doc/guix.texi (Invoking guix gc): Add cross-reference to "Block size" in the Coreutils manual. (Invoking guix system): Likewise.
2014-10-03download: Allow raw file names or file:// URLs.Ludovic Courtès
* guix/download.scm (url-fetch): When URL is a string, if it's not a URI or if it's a URI with 'file' or #f scheme, use 'add-to-store'. * tests/builders.scm ("url-fetch, file", "url-fetch, file URI"): New tests.
2014-10-02emacs: Add support for modifying options during operation confirmation.Alex Kost
* emacs/guix-base.el (guix-operation-option-key): New face. (guix-operation-option-true-string, guix-operation-option-false-string, guix-operation-option-separator, guix-operation-options): New variables. (guix-operation-option-by-key, guix-operation-option-key, guix-operation-option-name, guix-operation-option-variable, guix-operation-option-value, guix-operation-option-string-value, guix-operation-prompt, guix-operation-set-mode-line): New procedures. (guix-continue-package-operation-p): Use 'guix-operation-prompt'.
2014-10-02gnu: Add dfu-programmerManolis Ragkousis
* gnu/packages/flashing-tools.scm (dfu-programmer): New variable. * gnu/packages/patches/dfu-programmer-fix-libusb.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-10-02gnu: tor: Update to 0.2.4.24.Mark H Weaver
* gnu/packages/tor.scm (tor): Update to 0.2.4.24.
2014-09-30gnu: autogen: Upgrade to 5.18.4.Eric Bavier
* gnu/packages/autogen.scm (autogen): Upgrade to 5.18.4. [native-inputs]: New field.
2014-09-30gnu: Add perf.Ludovic Courtès
* gnu/packages/linux.scm (perf): New variable.
2014-09-30gnu: Move flashrom and avrdude to (gnu packages flashing-tools).Manolis Ragkousis
* gnu/packages/admin.scm (flashrom): Move this and... * gnu/packages/avrdude.scm (avrdude): ... this to... * gnu/packages/flashing-tools.scm: ... this. New file. * gnu-system.am (GNU_SYSTEM_MODULES): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-09-30pull: Add dependency on Guile-JSON.Ludovic Courtès
Reported by Alex Sassmannshausen <alex.sassmannshausen@gmail.com>. * guix/scripts/pull.scm (unpack): Add Guile-JSON to %load-path and %load-compiled-path.
2014-09-30build: Build pypi modules only if 'guile-json' is available.Alex Kost
* Makefile.am (MODULES): Wrap 'guix/import/pypi.scm' and 'guix/scripts/import/pypi.scm' in 'if HAVE_GUILE_JSON'.
2014-09-30gnu: Move giflib to (gnu packages image).Alex Kost
* gnu/packages/giflib.scm: Remove. Move the contents to (gnu packages image). * gnu-system.am (GNU_SYSTEM_MODULES): Remove giflib file name. * gnu/packages/emacs.scm: Remove giflib module name. * gnu/packages/image.scm (giflib): New variable.
2014-09-29import: Add PyPI importer.David Thompson
* guix/snix.scm: Delete. * guix/import/snix.scm: New file. * guix/import/pypi.scm: New file. * guix/import/utils.scm: New file. * guix/scripts/import/nix.scm: New file. * guix/scripts/import/pypi.scm: New file. * tests/pypi.scm: New file. * tests/snix.scm: Import (guix import snix) module. * guix/scripts/import.scm (%default-options, %options): Delete. (%standard-import-options, importers): New variables. (show-help): List importers. (guix-import): Factor out Nix-specific logic. Delegate to correct importer based upon first argument. * configure.ac (HAVE_GUILE_JSON): New conditional. * Makefile.am (MODULES): Add new files and remove 'guix/snix.scm'. (SCM_TESTS): Add 'tests/pypi.scm' if guile-json is installed.
2014-09-29gnu: Add dblatex.Eric Bavier
* gnu/packages/docbook.scm (dblatex): New variable.
2014-09-29gnu: guile-ncurses: Update to 1.5.Ludovic Courtès
* gnu/packages/guile.scm (guile-ncurses): Update to 1.5. Remove patch. * gnu/packages/patches/guile-ncurses-tests.patch: Remove. * gnu-system.am (dist_patch_DATA): Remove it.
2014-09-29packages: Optimize 'find-packages-by-name' to avoid disk accesses.Ludovic Courtès
On a profile with 182 entries, "guix package --search-paths" goes from 4.5 seconds down to 0.4 second. * gnu/packages.scm (find-packages-by-name): Make a name -> package vhash in a promise; access it with 'vhash-fold*'.
2014-09-29nls: Recognize 'N_' as equivalent to 'ngettext'.Ludovic Courtès
This fixes i18n of plural messages. * po/guix/Makevars (XGETTEXT_OPTIONS): Change 'N_' to 'N_:1,2'.
2014-09-29gnu: bash: Update to 4.3.27 and fix out-of-bounds memory accesses.Mark H Weaver
Based on a patch by Ludovic Courtès <ludo@gnu.org>. * gnu/packages/bash.scm (%patch-series-4.3): Add two patches. (bash)[source]: Add parser-oob patch. Add 'snippet'. [native-inputs]: New field. * gnu/packages/commencement.scm (bison-boot1): New variable. (static-bash-for-glibc): Add 'native-inputs'. Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
2014-09-29gnu: Add synergy.Eric Bavier
* gnu/packages/synergy.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-09-28gnu: duplicity: Fix and disable some tests.Eric Bavier
* gnu/packages/patches/duplicity-piped-password.patch: New patch. * gnu/packages/patches/duplicity-test_selection-tmp.patch: New patch. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/backup.scm (duplicity)[source]: Add patches field. [inputs]: Add util-linux and tzdata. [arguments]: rename patch-tests phase to check-setup. Set HOME and TZDIR for tests.
2014-09-29gnu: Add dionysus.Mathieu Lirzin
* gnu/packages/maths.scm (dionysus): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2014-09-28gnu: Add ruby-i18n.David Thompson
* gnu/packages/ruby.scm (ruby-i18n): New variable.
2014-09-28build: Add ruby build system.David Thompson
* guix/build-system/ruby.scm: New file. * guix/build/ruby-build-system: New file. * Makefile.am (MODULES): Add new files. * doc/guix.texi (Build Systems): Document ruby-build-system.
2014-09-28gnu: Add ruby.Pjotr Prins
Co-authored-by: David Thompson <davet@gnu.org> * gnu/packages/ruby.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. * guix/licenses.scm (ruby): New variable.
2014-09-28emacs: Use package/output type variables where needed.Alex Kost
* emacs/guix-list.el (guix-package-list-type, guix-output-list-describe-type): Move to... * emacs/guix-base.el: ... here. Rename 'guix-output-list-describe-type' to 'guix-package-info-type'. * emacs/guix-info.el (guix-generation-info-insert-number): Use 'guix-package-list-type'. * emacs/guix.el (guix-get-show-packages): Use 'guix-package-info-type'.
2014-09-28emacs: Support font-locking.Alex Kost
Avoid breaking highlighting after adding new font-lock keywords. * emacs/guix-base.el (guix-insert-package-strings): Use 'propertize' instead of 'guix-get-string'. * emacs/guix-info.el (guix, guix-action, guix-file, guix-url, guix-package-location, guix-package-name): New button types. (guix-info-insert-action-button, guix-info-insert-file-path, guix-info-insert-url, guix-package-info-insert-location, guix-package-info-insert-full-names, guix-package-info-insert-non-unique-text): Adjust for 'guix-insert-button' and button types. (guix-package-info-name-button): New face. (guix-package-info-define-insert-inputs): Use it. Add new button types. (guix-package-info-insert-full-name): Remove. * emacs/guix-utils.el (guix-get-string): Replace 'face' with 'font-lock-face'. (guix-insert-button): Adjust for using button types.