Commit Graph

8578 Commits

Author SHA1 Message Date
Alex Kost 4f740b677a store: Add 'set-build-options*'.
Suggested by: Ludovic Courtès <ludo@gnu.org>.

* guix/store.scm (set-build-options*): New procedure.
2015-09-18 21:42:07 +03:00
Alex Kost fa394eb99c ui: Add 'show-derivation-outputs'.
* guix/scripts/build.scm (guix-build): Extract code from here and move to...
* guix/ui.scm (show-derivation-outputs): ... here.  New procedure.
2015-09-18 21:42:06 +03:00
Alex Kost 88981dd3e2 Add (guix scripts).
* guix/ui.scm: Add missing copyright lines.
  (args-fold*, environment-build-options, %default-argument-handler,
  parse-command-line): Move to ...
* guix/scripts.scm: ...here.  New file.
* guix/scripts/archive.scm: Use it.
* guix/scripts/build.scm: Likewise.
* guix/scripts/download.scm: Likewise.
* guix/scripts/edit.scm: Likewise.
* guix/scripts/environment.scm: Likewise.
* guix/scripts/gc.scm: Likewise.
* guix/scripts/graph.scm: Likewise.
* guix/scripts/hash.scm: Likewise.
* guix/scripts/import/cpan.scm: Likewise.
* guix/scripts/import/cran.scm: Likewise.
* guix/scripts/import/elpa.scm: Likewise.
* guix/scripts/import/gem.scm: Likewise.
* guix/scripts/import/gnu.scm: Likewise.
* guix/scripts/import/hackage.scm: Likewise.
* guix/scripts/import/nix.scm: Likewise.
* guix/scripts/import/pypi.scm: Likewise.
* guix/scripts/lint.scm: Likewise.
* guix/scripts/package.scm: Likewise.
* guix/scripts/publish.scm: Likewise.
* guix/scripts/pull.scm: Likewise.
* guix/scripts/refresh.scm: Likewise.
* guix/scripts/size.scm: Likewise.
* guix/scripts/system.scm: Likewise.
* tests/ui.scm (with-environment-variable, "parse-command-line",
  "parse-command-line and --no options"): Move to ...
* tests/scripts.scm: ...here.  New file.
* Makefile.am (MODULES): Add guix/scripts.scm.
  (SCM_TESTS): Add tests/scripts.scm.
* po/guix/POTFILES.in: Add guix/scripts.scm.
2015-09-18 21:42:06 +03:00
Alex Kost b2cb869cf9 emacs: Replace 'guix-any' with 'cl-some'.
* emacs/guix-utils.el (guix-any): Remove.
* emacs/guix-command.el (guix-command-improve-argument): Use 'cl-some'
  instead of 'guix-any'.
2015-09-18 21:41:46 +03:00
Alex Kost eda1cc8b5d emacs: Add commands to show/hide build log phases.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): New
  variable.
  (guix-build-log-phase-start, guix-build-log-phase-end,
  guix-build-log-phase-hide, guix-build-log-phase-show,
  guix-build-log-phase-hidden-p, guix-build-log-phase-toggle-function,
  guix-build-log-phase-toggle, guix-build-log-phase-toggle-all): New functions.
  (guix-build-log-mode-map): Add 'TAB'/'S-TAB' key bindings.
* doc/emacs.texi (Emacs Build Log): Document them.
2015-09-18 21:41:23 +03:00
Federico Beffa c093f9f63a gnu: Add scmutils.
* gnu/packages/scheme.scm (scmutils): New variable.
2015-09-18 14:55:53 +02:00
Pjotr Prins 212d563d26 gnu: Add ruby-bio-logger.
* gnu/packages/ruby.scm (ruby-bio-logger): New variable.
2015-09-17 17:41:22 -04:00
Steve Sprang 47770296d2 download: Only show hours in the elapsed time if necessary.
* guix/build/download.scm
  (seconds->string): Conditionally include hours in timestamp.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-17 14:40:46 +02:00
Christopher Allan Webber be3feafedf gnu: guile: Add guile-next
* gnu/packages/guile.scm (guile-next): New variable.
* gnu/packages/guile.scm (guile-for-guile-emacs):
  Adjust to inherit from guile-next rather than guile-2.0

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-17 14:38:19 +02:00
宋文武 0a129f391b gnu: harfbuzz: Comment on the "bin" output.
* gnu/packages/gtk.scm (harfbuzz): Comment on why "bin" output.
2015-09-17 19:57:36 +08:00
Ludovic Courtès 2d1db448bd gnu: Add emacs-typo.
* gnu/packages/emacs.scm (typo): New variable.
2015-09-17 11:21:42 +02:00
Ludovic Courtès d001bb5ab5 gnu: Add emacs-butler.
* gnu/packages/emacs.scm (butler): New variable.
2015-09-17 11:21:42 +02:00
Ludovic Courtès 3ffe36f534 gnu: Add emacs-deferred.
* gnu/packages/emacs.scm (emacs-deferred): New variable.
2015-09-17 11:21:42 +02:00
Pjotr Prins cd89fecbe7 gnu: Add ruby-cucumber-core.
* gnu/packages/ruby.scm (ruby-cucumber-core): New variable.
2015-09-16 20:56:16 -04:00
Steve Sprang a8be7b9a7a substitute: Improve readability of download progress report.
* guix/build/download.scm
  (string-pad-middle, store-url-abbreviation, store-path-abbreviation):
  New procedures.
  (progress-proc): Add #:abbreviation parameter and use it.  Generate a
  better indeterminate progress string.
* guix/scripts/substitute.scm (assert-valid-narinfo): Add newlines to output.
  (process-substitution): Use byte-count->string and store-path-abbreviation.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-16 23:50:12 +02:00
Ben Woodcroft 41ddebdd2a gnu: Add mafft.
* gnu/packages/bioinformatics.scm (mafft): New variable.
2015-09-16 23:06:14 +02:00
Efraim Flashner e864722731 gnu: Add keepassx.
* gnu/packages/password-utils.scm (keepassx): New variable.
2015-09-16 23:00:01 +02:00
Cyril Roelandt 2c9d96767a gnu: Add python-requests-mock.
* gnu/packages/openstack.scm (python-requests-mock,
  python2-requests-mock): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt de34aface7 gnu: Add python-webob.
* gnu/packages/python.scm (python-webob, python2-webob): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt c7c7a93621 gnu: Add python-oslo.context.
* gnu/packages/openstack.scm (python-oslo.context,
  python2-oslo.context): New variables.
2015-09-16 22:53:36 +02:00
Cyril Roelandt 5702efe3e9 gnu: Add python-oslo.serialization.
* gnu/packages/openstack.scm (python-oslo.serialization,
  python2-oslo.serialization): New variables.
2015-09-16 22:53:36 +02:00
Ricardo Wurmus 979f9e8aed gnu: sfarklib: Update to 2.24.
* gnu/packages/compression.scm (sfarklib): Update to 2.24.
2015-09-16 22:42:45 +02:00
Ludovic Courtès 2ed74cea5c gnu: imagemagick: Update to 6.9.2-1.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.2-1.
  [source]: Add imagemagick-test-segv.patch.
  [inputs]: Replace LIBJPEG-8 with LIBJPEG.
2015-09-16 17:59:16 +02:00
Pjotr Prins f9ae2c068d gnu: Add ruby-log4r.
* gnu/packages/ruby.scm (ruby-log4r): New variable.
2015-09-16 08:41:46 -04:00
Vicente Vera Parra 8ea6b30fea gnu: Add r-dbi.
* gnu/packages/statistics.scm (r-dbi): New variable.
2015-09-16 12:01:12 +02:00
Mark H Weaver 1d6c8db57c gnu: valgrind: Adapt to glibc-2.22 and linux-libre-4.x.
* gnu/packages/patches/valgrind-glibc-2.21.patch: Rename to ...
  gnu/packages/patches/valgrind-glibc-2.22.patch: ... this, and add a case for
  glibc-2.22.
* gnu/packages/patches/valgrind-linux-libre-4.x.patch: New file.
* gnu-system.am (dist_patch_DATA): Add the new file, and rename the other one.
* gnu/packages/valgrind.scm (valgrind)[source]: Add new patch.
2015-09-15 18:21:16 -04:00
Andreas Enge b76b1dcb96 gnu: cups-filters: Add glib:bin as a native input.
* gnu/packages/cups.scm (cups-filters)[native-inputs]: Add the bin output
  of the glib package.
2015-09-15 23:55:09 +02:00
Ludovic Courtès f4e92db3cb nls: Add "TRANSLATORS:" comment about Texinfo.
* gnu/packages/abiword.scm: Add comment above 'description'.
2015-09-15 22:48:53 +02:00
Ludovic Courtès cbd02397b5 doc: Add guidelines for synopses and descriptions.
* doc/guix.texi (Synopses and Descriptions): New node.
* doc/contributing.texi (Submitting Patches): Add item that
  cross-references it.
2015-09-15 22:48:52 +02:00
Ludovic Courtès 2cbed07eef doc: Change authorship to "The GNU Guix Developers".
* doc/guix.texi: Replace outdated @author list with just "The GNU Guix
  Developers".
2015-09-15 22:48:52 +02:00
Vicente Vera Parra 6af4813430 gnu: Add r-lazyeval.
* gnu/packages/statistics.scm (r-lazyeval): New variable.
2015-09-15 22:33:57 +02:00
Mark H Weaver d02f38f3f8 gnu: gcc-toolchain: Don't try to delete OUT/bin/sh, which no longer exists.
* gnu/packages/commencement.scm (gcc-toolchain)[arguments]: Remove code that
  deletes OUT/bin/sh and OUT/bin/bash, since those files no longer exist in
  our libc package.
2015-09-15 16:12:35 -04:00
Vicente Vera Parra ed6094fc77 gnu: Add r-assertthat.
* gnu/packages/statistics.scm (r-assertthat): New variable.
2015-09-15 21:09:02 +02:00
pjotr.public12@thebird.nl 62e4cc5aa1 gnu: Add ruby-gherkin3.
* gnu/packages/ruby.scm (ruby-gherkin3): New variable.
2015-09-15 14:37:09 -04:00
Mathieu Lirzin 3500e659f1 lint: Add 'check-texinfo-markup' checker.
* guix/script/lint.scm (check-description-style): Check for invalid
  Texinfo markup.
* tests/lint.scm: Test it.
2015-09-15 19:01:23 +02:00
宋文武 c136546aaa gnu: librsvg: Update to 2.40.10.
* gnu/packages/gnome.scm (librsvg): Update to 2.40.10.
2015-09-15 20:32:23 +08:00
宋文武 4ea50f2bc8 gnu: libgsf: Update to 1.14.34.
* gnu/packages/gnome.scm (libgsf): Update to 1.14.34.
2015-09-15 20:31:47 +08:00
宋文武 eb6afbcde7 gnu: harfbuzz: Add "bin" output.
* gnu/packages/gtk.scm (harfbuzz)[outputs]: New field.
  [arguments]<#:configure-flags>: Pass '--bindir'.
2015-09-15 20:19:39 +08:00
Alex Kost 83d95c7b36 emacs: Add "View build log" action to build popup.
* emacs/guix-command.el (guix-run-view-build-log): New function.
  (guix-command-additional-execute-arguments,
  guix-command-special-executors): Add entries for "View build log"
  action.
* emacs/guix-utils.el (guix-find-file-or-url): New function.
2015-09-15 15:19:31 +03:00
Alex Kost 34850cd59d emacs: Add modes for viewing build logs.
* emacs/guix-build-log.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Build Log): Document it.  New node.
  (Emacs Interface): Add it.
* doc/guix.texi (Top): Likewise.
2015-09-15 15:19:31 +03:00
Alex Kost ea369ee1b0 emacs: Display guix command errors in the minibuffer.
* emacs/guix-main.scm (output+error): New procedure.
  (guix-command-output): Use it.
* emacs/guix-base.el (guix-command-output): Display error output in the
  minibuffer.
2015-09-15 15:19:31 +03:00
Alex Kost 46e17df661 emacs: Add customization groups for faces.
* emacs/guix.el (guix-faces): New custom group.
* emacs/guix-base.el (guix-operation-option-key): Use it.
  (guix-define-buffer-type): Generate faces group.
* emacs/guix-info.el: Adjust faces to use new groups.
  (guix-info-faces): New custom group.
* emacs/guix-list.el: Likewise
  (guix-list-faces): New custom group.
2015-09-15 15:19:30 +03:00
宋文武 fd9b3b43ab gnu: harfbuzz: Propagate graphite2 and icu4c.
* gnu/packages/gtk.scm (harfbuzz): Move graphite2 and icu4c to 'propagated-inputs'.
  [source]: Improve formatting.
2015-09-15 20:11:52 +08:00
Mark H Weaver 40f4817846 gnu: util-linux: Adapt util-linux-tests.patch to version 2.27.
This is a followup to commit 57a66c2729.

* gnu/packages/patches/util-linux-tests.patch: Adapt to util-linux 2.27.
2015-09-15 01:41:57 -04:00
Mark H Weaver 57a66c2729 gnu: util-linux: Update to 2.27.
* gnu/packages/linux.scm (util-linux): Update to 2.27.
2015-09-15 00:17:50 -04:00
Mark H Weaver 8338c24163 gnu: util-linux: Minor fixes.
* gnu/packages/linux.scm (util-linux)[source]: Return #t from the snippet.
  [arguments]: Remove "--enable-ddate" from configure flags, as it is no
  longer recognized (ddate is no longer included in util-linux).
2015-09-15 00:17:49 -04:00
Eric Bavier 50f5c46d06 guix: lint: Check for meaningful origin file names.
* guix/scripts/lint.scm (check-source-file-name): New procedure.
  (%checkers): Add 'source-file-name' checker.
* tests/lint.scm ("source-file-name", "source-file-name: v prefix")
  ("source-file-name: valid", "source-file-name: bad checkout")
  ("source-file-name: good checkout"): New tests.
* doc/guix.texi (Invoking guix lint): Mention file name check.
2015-09-14 18:03:33 -05:00
Eric Bavier 3b4d01035f guix: packages: Add origin-actual-file-name.
* guix/scripts/graph.scm (uri->file-name, node-full-name): Move origin file
  name logic to...
* guix/packages.scm (origin-actual-file-name): ...here.
* tests/packages.scm ("origin-actual-file-name")
  ("origin-actual-file-name, file-name"): New tests.
2015-09-14 18:02:37 -05:00
Steve Sprang eb95ace9f1 download: Avoid type errors when formatting download progress output.
* guix/build/download.scm (nearest-exact-integer): New procedure.
  (seconds->string, byte-count->string): Use it.
2015-09-14 23:36:26 -04:00
Ludovic Courtès d89e0990f5 guix system: Gracefully handle incomplete commands.
Fixes <http://bugs.gnu.org/21451>.
Reported by Steve Sprang <steve.sprang@gmail.com>.

* guix/scripts/system.scm (guix-system)[option-arguments]: Error out
  when ACTION is #f.
2015-09-15 00:04:27 +02:00