aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* emacs: Add support for displaying outputs.Alex Kost2014-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Taylan Ulrich Bayirli/Kammer and Ludovic Courtès. * emacs/guix-base.el (guix-param-titles): Add output titles. (guix-messages): Add output messages. (guix-get-package-id-and-output-by-output-id): New procedure. (guix-define-buffer-type): Add ':buffer-name' key. * emacs/guix-info.el: Add "output-info" buffer type. (guix-info-insert-methods): Add output methods. (guix-info-displayed-params): Add output params. (guix-output-info-insert-version, guix-output-info-insert-output): New procedures. * emacs/guix-list.el: Add "output-list" buffer type. (guix-list-column-format): Add output formats. (guix-list-column-value-methods): Add output methods. (guix-package-list-type): New variable. (guix-generation-list-show-packages): Use it. (guix-package-list-marking-check): Use 'guix-output-list-mode'. (guix-list-mark-package-upgrades): New procedure. (guix-package-list-mark-upgrades): Use it. (guix-list-execute-package-actions): New procedure. (guix-package-list-execute): Use it. (guix-list-describe-maybe): New procedure. (guix-list-describe): Use it. (guix-output-list-mark-install, guix-output-list-mark-delete, guix-output-list-mark-upgrade, guix-output-list-mark-upgrades, guix-output-list-execute, guix-output-list-make-action, guix-output-list-describe): New procedures. (guix-output-list-describe-type): New variable. * emacs/guix.el (guix-get-show-packages): Use 'guix-package-list-type'. * doc/emacs.texi (emacs Commands): Mention 'guix-package-list-type'. (emacs List buffer): Adjust accordingly. (emacs Info buffer): Likewise. (emacs Buffer Names): New node. (emacs Keymaps): Add keymaps for output buffers.
* emacs: Rewrite scheme side in a functional manner.Alex Kost2014-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs/guix-main.scm: Rewrite in a functional way. Add support for output entries. (%current-manifest, %current-manifest-entries-table, set-current-manifest-maybe!): Replace with... (manifest-entries->hash-table, manifest->hash-table): ... this. (manifest-entries-by-name+version): Replace with... (manifest-entries-by-name): ... this. (fold-manifest-entries): Rename to... (fold-manifest-by-name): ... this. (package-installed-param-alist): Rename to... (%manifest-entry-param-alist): ... this. (package-param-alist): Rename to... (%package-param-alist): this. (manifest-entry->installed-entry): Rename to... (manifest-entry->sexp): ... this. (manifest-entries->installed-entries): Rename to... (manifest-entries->sexps): ... this. (matching-generation-entries): Replace with... (matching-generations): ... this. (last-generation-entries): Replace with... (last-generations): ... this. (get-entries): Rename to... (entries): ... this. (installed-entries-by-name+version, installed-entries-by-package, matching-package-entries, fold-object, package-entries-by-name+version, package-entries-by-spec, package-entries-by-regexp, package-entries-by-ids, newest-available-package-entries, all-available-package-entries, manifest-package-entries, installed-package-entries, generation-package-entries, obsolete-package-entries, all-generation-entries, generation-entries-by-ids, profile-generations, %package-entries-functions, %generation-entries-functions): Remove. (manifest=?, manifest-entry->name+version+output, manifest-entry-by-output, list-maybe, matching-packages, filter-packages-by-output, packages-by-name, manifest-entry->packages, all-available-packages, newest-available-packages, specification->package-pattern, specification->output-pattern, id->package-pattern, id->output-pattern, specifications->package-patterns, specifications->output-patterns, ids->package-patterns, ids->output-patterns, manifest-patterns-result, obsolete-package-patterns, obsolete-output-patterns, manifest-package-patterns, manifest-output-patterns, obsolete-package-sexp, package-pattern-transformer, output-pattern-transformer, entry-type-error, search-type-error, pattern-transformer, patterns-maker, package/output-sexps, find-generations, generation-sexps): New procedures. (%pattern-transformers, %patterns-makers): New variables. * emacs/guix-base.el (guix-continue-package-operation-p): Adjust accordingly. * emacs/guix-info.el (guix-package-info-insert-action-button): Likewise.
* emacs: Use general functions instead of generated ones.Alex Kost2014-09-24
| | | | | | | | | | | | | | | | | | | | | * emacs/guix-base.el: Add and use general functions instead of specialized functions generated by 'guix-define-buffer-type' macro. (guix-buffer-type, guix-entry-type): New variables. (guix-set-vars): Add new variables. (guix-get-show-entries, guix-show-entries, guix-set-buffer) (guix-history-call, guix-make-history-item) (guix-get-params-for-receiving, guix-revert-buffer) (guix-redisplay-buffer): New functions. (guix-define-buffer-type): Do not generate specialized functions. * emacs/guix-info.el (guix-package-info-insert-full-names): Use 'guix-get-show-entries'. (guix-generation-info-insert-number): Likewise. * emacs/guix-list.el (guix-list-describe): New function. (guix-list-define-entry-type): Do not generate specialized one. (guix-generation-list-show-packages): Use 'guix-get-show-entries'. * emacs/guix.el (guix-show-generations-function): Remove. (guix-get-show-packages): Use new functions. (guix-get-show-generations): Likewise.
* Introduce the 'GUIX_PACKAGE_PATH' environment variable.Ludovic Courtès2014-09-24
| | | | | | | * gnu/packages.scm (%package-module-path): Honor $GUIX_PACKAGE_PATH. * test-env.in: Unset 'GUIX_PACKAGE_PATH'. * tests/guix-package.sh: Test it. * doc/guix.texi (Package Modules): Document it.
* guix build: Add -L/--load-path as a common option.Ludovic Courtès2014-09-24
| | | | | | * guix/scripts/build.scm (show-build-options-help): Document -L. (%standard-build-options): Add -L/--load-path. * tests/guix-package.sh: Test it.
* packages: Add '%package-module-search-path'.Ludovic Courtès2014-09-24
| | | | | | * gnu/packages.scm (%package-module-path): New variable. (all-package-modules): New procedure. (fold-packages): Use it instead of 'package-modules'.
* packages: Generalize package module search.Ludovic Courtès2014-09-24
| | | | | | | | | | | * gnu/packages.scm (%distro-root-directory): New variable. (%distro-module-directory): Remove. (package-files): Rename to... (scheme-files): ... this. Return absolute file names, not stripped. (file-name->module-name): New procedure. (package-modules): Add 'directory' and 'sub-directory' parameters. Rewrite accordingly. (fold-packages): Adjust 'package-modules' call accordingly.
* gnu: maxima: Update to 5.34.1 and add dependencies.Federico Beffa2014-09-24
| | | | | | | | * gnu/packages/maths.scm (maxima): Update to 5.34.1 which fixes a bug in the plotting capabilities present in the previous version. Add Gnuplot and Tcl/Tk to 'inputs'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* Use #:prefix instead of #:renamer with 'symbol-prefix-proc'.Mark H Weaver2014-09-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/abiword.scm, gnu/packages/admin.scm, gnu/packages/aidc.scm, gnu/packages/backup.scm, gnu/packages/bittorrent.scm, gnu/packages/boost.scm, gnu/packages/compression.scm, gnu/packages/cryptsetup.scm, gnu/packages/curl.scm, gnu/packages/cyrus-sasl.scm, gnu/packages/dc.scm, gnu/packages/emacs.scm, gnu/packages/fonts.scm, gnu/packages/fontutils.scm, gnu/packages/geeqie.scm, gnu/packages/ghostscript.scm, gnu/packages/gimp.scm, gnu/packages/gkrellm.scm, gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm, gnu/packages/gnunet.scm, gnu/packages/gnupg.scm, gnu/packages/gnutls.scm, gnu/packages/gnuzilla.scm, gnu/packages/gsasl.scm, gnu/packages/gtk.scm, gnu/packages/gv.scm, gnu/packages/image.scm, gnu/packages/indent.scm, gnu/packages/inkscape.scm, gnu/packages/lesstif.scm, gnu/packages/links.scm, gnu/packages/lisp.scm, gnu/packages/lsh.scm, gnu/packages/lsof.scm, gnu/packages/maths.scm, gnu/packages/mp3.scm, gnu/packages/openssl.scm, gnu/packages/ots.scm, gnu/packages/pciutils.scm, gnu/packages/pcre.scm, gnu/packages/pdf.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/slim.scm, gnu/packages/ssh.scm, gnu/packages/texlive.scm, gnu/packages/vim.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wv.scm, gnu/packages/xiph.scm, gnu/packages/xml.scm, gnu/packages/xorg.scm, gnu/packages/yasm.scm, gnu/packages/zip.scm, guix/build/cmake-build-system.scm, guix/build/perl-build-system.scm, guix/build/python-build-system.scm, guix/download.scm: Replaces uses of #:renamer and 'symbol-prefix-proc' with #:prefix.
* gnu: gtk+: Disable tests on mips64el-linux.Mark H Weaver2014-09-23
| | | | * gnu/packages/gtk.scm (gtk+): Disable tests on mips64el-linux.
* gnu: gtk+: Remove dependency on Xorg server on mips64el-linux.Ludovic Courtès2014-09-23
| | | | | | | Reported by Mark H. Weaver. * gnu/packages/gtk.scm (gtk+)[native-inputs]: Remove XORG-SERVER on mips64el-linux.
* services: Add 'bitlbee-service'.Ludovic Courtès2014-09-23
| | | | | * gnu/services/networking.scm (bitlbee-service): New procedure. * doc/guix.texi (Networking Services): Document it.
* gnu: xf86-input-synaptics: Allow building with libc 2.20.Ludovic Courtès2014-09-23
| | | | | | | * gnu/packages/patches/xf86-input-synaptics-glibc-2.20.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/xorg.scm (xf86-input-synaptics): Use it. Improve synopsis and description.
* gnu: node: Add 'which' as an input.Ludovic Courtès2014-09-23
| | | | * gnu/packages/node.scm (node)[native-inputs]: Add WHICH.
* gnu: xorg: Remove xf86-input-vmmouse.Ludovic Courtès2014-09-23
| | | | | | * gnu/packages/xorg.scm (xf86-input-vmmouse): Remove. This driver implement the mouse protocol of a proprietary emulator. * gnu/services/xorg.scm (xorg-start-command): Remove reference.
* gnu: linux-libre: Work around GCC 4.8.3 ICE.Ludovic Courtès2014-09-23
| | | | * gnu/packages/linux.scm (linux-libre)[inputs]: New field.
* system: Add Patch to '%base-packages'.Ludovic Courtès2014-09-22
| | | | * gnu/system.scm (%base-packages): Add PATCH.
* Merge branch 'core-updates'Ludovic Courtès2014-09-22
|\
| * gnu: cyrus-sasl: Build sequentially.Ludovic Courtès2014-09-20
| | | | | | | | | | * gnu/packages/cyrus-sasl.scm (cyrus-sasl)[arguments]: Pass #:parallel-build?.
| * gnu: gcc-4.8.3: Add patch for PR61801.Ludovic Courtès2014-09-17
| | | | | | | | | | | | * gnu/packages/patches/gcc-fix-pr61801.patch: New file. * gnu/packages/gcc.scm (gcc-4.8): Use it. * gnu-system.am (dist_patch_DATA): Add it.
| * utils: Import (ice-9 format).Mark H Weaver2014-09-14
| | | | | | | | * guix/build/utils.scm: Import (ice-9 format).
| * utils: Allow wrap-program to be called multiple times.Eric Bavier2014-09-13
| | | | | | | | | | | | | | | | * guix/build/utils.scm (wrap-program): Multiple invocations of wrap-program for the same file create successive wrappers. Adjust docstring. * tests/build-utils.scm: Test new wrap-program behavior. (%store): New variable.
| * Merge branch 'master' into core-updatesMark H Weaver2014-09-13
| |\ | | | | | | | | | | | | Conflicts: gnu-system.am
| * | gnu: util-linux: Don't install 'logger'.Ludovic Courtès2014-09-12
| | | | | | | | | | | | * gnu/packages/linux.scm (util-linux)[source]: Add 'snippet'.
| * | Merge branch 'master' into core-updatesMark H Weaver2014-09-11
| |\ \ | | | | | | | | | | | | | | | | Conflicts: gnu/packages/image.scm
| * | | gnu: libunistring: Update to 0.9.4.Mark H Weaver2014-09-08
| | | | | | | | | | | | | | | | * gnu/packages/libunistring.scm (libunistring): Update to 0.9.4.
| * | | gnu: glibc: Update to 2.20.Mark H Weaver2014-09-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/glibc-CVE-2014-5119.patch: Remove. * gnu-system.am (dist_patch_DATA): Remove it. * gnu/packages/base.scm (glibc): Update to 2.20. Remove patch. Raise minimum linux version to 2.6.32.
| * | | Merge branch 'master' into core-updatesMark H Weaver2014-09-08
| |\ \ \
| * | | | utils: Clean trailing whitespace at end of SHELLEric Bavier2014-09-05
| | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (patch-makefile-SHELL): Remove trailing whitespace.
| * | | | gnu: gawk: Patch /usr/bin/file in extension/configure on MIPS.Mark H Weaver2014-08-29
| | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gawk.scm (gawk): When building for MIPS, patch /usr/bin/file in extension/configure.
| * | | | gnu: Add missing import to (gnu packages base).Mark H Weaver2014-08-28
| | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm: Import (gnu packages base).
| * | | | Merge branch 'master' into core-updatesMark H Weaver2014-08-28
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/packages/base.scm
| * | | | | utils: Preserve makefile shell arguments during patch.Eric Bavier2014-08-28
| | | | | | | | | | | | | | | | | | | | | | | | * guix/build/utils.scm (patch-makefile-SHELL): Preserve shell arguments.
| * | | | | gnu: glibc: Fix CVE-2014-5119.Mark H Weaver2014-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/glibc-CVE-2014-5119.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc): Add the patch.
| * | | | | gnu: file: Update to 5.19; add fix for CVE-2014-3587.Mark H Weaver2014-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/file-CVE-2014-3587.patch: New file. * gnu-system.am (dist_patch_DATA): Add it. * gnu/packages/file.scm (file): Update to 5.19. Add patch.
| * | | | | Merge branch 'master' into core-updatesMark H Weaver2014-08-26
| |\ \ \ \ \
| * | | | | | gnu: libgcrypt: Update to 1.6.2.Mark H Weaver2014-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gnupg.scm (libgcrypt): Update to 1.6.2.
| * | | | | | gnu: Rely on 'file' implicit input and 'patch-usr-bin-file'.Mark H Weaver2014-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/admin.scm (sudo): * gnu/packages/gawk.scm (gawk): Remove workaround on MIPS. * gnu/packages/mcrypt.scm (mcrypt, libmhash): * gnu/packages/file.scm (file): Remove 'file' from native-inputs. * gnu/packages/mc.scm (mc): * gnu/packages/pretty-print.scm (a2ps, trueprint, source-highlight): * gnu/packages/image.scm (libtiff): Remove 'file' from native-inputs. Remove 'patch-configure' phase.
| * | | | | | gnu-build-system: Add 'patch-usr-bin-file' to %standard-phases.Mark H Weaver2014-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * guix/build/gnu-build-system.scm (patch-usr-bin-file): New procedure. (%standard-phases): Add it.
| * | | | | | gnu: bootstrap: Add 'file' to %boot0-inputs and %final-inputs.Mark H Weaver2014-08-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (file-boot0): New variable. (%boot0-inputs): Add 'file-boot0'. (%final-inputs): Add 'file' to list of packages to 'finalize'.
| * | | | | | Merge branch 'master' into core-updatesMark H Weaver2014-08-23
| |\ \ \ \ \ \
| * | | | | | | Revert "gnu: Add 'file' as a native-input on MIPS for some packages."Mark H Weaver2014-08-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c3114b756760ddb73054a4bc3d5eff0bfe47c4de.
| * | | | | | | gnu: Add 'file' as a native-input on MIPS for some packages.Mark H Weaver2014-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/admin.scm (sudo): gnu/packages/gawk.scm (gawk): Add 'file' as a native input on MIPS. Remove earlier workaround on MIPS. * gnu/packages/libffi.scm (libffi): gnu/packages/bdw-gc.scm (libatomic-ops, libgc): Add 'file' as a native input on MIPS.
| * | | | | | | gnu: gnutls: Update to 3.2.16.Mark H Weaver2014-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/gnutls.scm (gnutls): Update to 3.2.16. Remove -DENABLE_RSA_EXPORT workaround.
| * | | | | | | Merge branch 'master' into core-updatesMark H Weaver2014-08-20
| |\ \ \ \ \ \ \
| * | | | | | | | gnu: guile-2.0: Make 'bash' an input unconditionally.Mark H Weaver2014-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/guile.scm (guile-2.0): Make 'bash' an input unconditionally.
| * | | | | | | | gnu: libffi: Update to 3.1.Mark H Weaver2014-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/patches/libffi-mips-n32-fix.patch: Remove. * gnu-system.am (dist_patch_DATA): Remove it. * gnu/packages/libffi.scm (libffi): Update to 3.1. Remove patch.
| * | | | | | | | gnu: libgc: Update to 7.4.2.Mark H Weaver2014-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/bdw-gc.scm (libgc): Update to 7.4.2.
| * | | | | | | | gnu: libatomic-ops: Update to 7.4.2.Mark H Weaver2014-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/bdw-gc.scm (libatomic-ops): Update to 7.4.2.
| * | | | | | | | gnu: tar: Update to 1.28.Mark H Weaver2014-08-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/base.scm (tar): Update to 1.28.