Commit Graph

8314 Commits

Author SHA1 Message Date
Alex Kost 665ce1ebe5 emacs: build-log: Improve regexp for the phase end.
* emacs/guix-build-log.el (guix-build-log-phase-end-regexp): Handle
  fractional number of seconds (like "0.8").
2015-09-25 10:45:38 +03:00
Mathieu Lirzin 23464bfd99 lint: Accept '`' character.
* guix/scripts/lint.scm (properly-starts-sentence?): Match Texinfo
  highlighting commands as a sentence start.
2015-09-24 22:55:59 +02:00
Mathieu Lirzin 2748ee3bcf lint: Check non-translated package descriptions.
* guix/ui.scm (texi->plain-text): Export.
* guix/scripts/lint.scm (check-description-style): Use it instead of
  'package-description-string'.
2015-09-24 22:46:20 +02:00
Ludovic Courtès a7a4fd9a7c profiles: Make profile-specific derivations non-substitutable.
This avoids gratuitous queries of the substituter.

* guix/profiles.scm (ghc-package-cache-file): Pass #:substitutable? #f
  to 'gexp->derivation'.
  (ca-certificate-bundle): Likewise.
  (gtk-icon-themes): Likewise.
  (profile-derivation): Likewise.
  (info-dir-file): Likewise, plus #:local-build? #t.
2015-09-24 22:16:10 +02:00
Ludovic Courtès 08d7e3592f ui: Gracefully handle Unicode description strings.
Fixes <http://bugs.gnu.org/21536>.
Reported by Alex Kost <alezost@gmail.com>.

* guix/ui.scm (texi->plain-text): Wrap body in 'with-fluids'.
* tests/ui.scm ("package-description-string vs. Unicode"): New test.
2015-09-24 22:04:51 +02:00
Ludovic Courtès 75726135ce download: Don't abbreviate things that are not store items.
Fixes a regression introduced in a8be7b9a.

* guix/build/download.scm (store-path-abbreviation): Return STORE-PATH
  if it's not an actual store path.  Fixes an out-of-range exception
  when running tests/substitute.scm and tests/store.scm.
2015-09-24 21:54:37 +02:00
Ricardo Wurmus 7a8ac75a94 gnu: Add python-pyasn1.
* gnu/packages/python.scm (python-pyasn1, python2-pyasn1): New
  variables.
2015-09-24 20:08:25 +02:00
Ricardo Wurmus 4179f952bf gnu: python-cffi: Update to 1.2.1.
* gnu/packages/python.scm (python-cffi): Update to 1.2.1.
  [native-inputs]: Add python-pytest.
  [arguments]: Enable tests.
2015-09-24 20:07:41 +02:00
Ricardo Wurmus a77adfe022 tests: cran: Use cran-uri in expected output.
* tests/cran.scm: Expect output to use "cran-uri" procedure.
2015-09-24 12:05:53 +02:00
Steve Sprang 9462882889 download: Fix some minor progress-logging regressions.
* guix/build/download.scm
  (string-pad-middle): Allow resulting padded string to overflow.
  (store-url-abbreviation): Remove unnecessary procedure.
  (progress-proc): Use BASENAME as default for parameter 'abbreviation'.
  (url-fetch): Display extra newlines for readability.
2015-09-23 22:04:46 -04:00
Alex Kost 1a6c4c2f37 emacs: Add 'guix-devel-build-package-definition'.
Suggested by Ludovic Courtès <ludo@gnu.org>.

* emacs/guix-guile.el (guix-guile-definition-regexp): New variable.
  (guix-guile-current-definition, guix-guile-boolean): New functions.
* emacs/guix-devel.el: Require 'guix-base'.
  (guix-devel-repl-processes): New variable.
  (guix-devel-setup-repl, guix-devel-setup-repl-maybe): New functions.
  (guix-devel-build-package-definition): New command.
* doc/emacs.texi (Emacs Development): Document it.
2015-09-23 13:36:37 +03:00
Alex Kost 187f80c6c5 emacs: Add development utils.
* emacs/guix-guile.el (guix-guile-current-module): New function.
* emacs/guix-devel.el: New file.
* emacs.am (ELFILES): Add it.
* doc/emacs.texi (Emacs Development): New node.
  (Emacs Interface): Add it.
* doc/contributing.texi (The Perfect Setup): Mention it.
* doc/guix.texi (Top): Add it.
* emacs/guix-init.el: Add 'guix-devel-activate-mode-maybe' to
  'scheme-mode-hook'.
2015-09-23 13:36:37 +03:00
Alex Kost 6f05a24df3 emacs: Add "View map" action to 'size' popup.
* emacs/guix-command.el (guix-run-view-size-map): New function.
  (guix-command-additional-execute-arguments,
  guix-command-special-executors): Add entries for "View map" action.
2015-09-23 13:36:22 +03:00
Ludovic Courtès 99d7460d78 gnu: Import modules needed by openimageio.
* gnu/packages/graphics.scm: Add missing imports.  This is a followup to
  commit 71299c1.
2015-09-23 09:05:15 +02:00
Ricardo Wurmus 71299c1297 gnu: Add openimageio.
* gnu/packages/graphics.scm (openimageio): New variable.
2015-09-23 08:35:05 +02:00
Ricardo Wurmus caf9055c13 gnu: Add XJackFreak.
* gnu/packages/audio.scm (xjackfreak): New variable.
2015-09-23 08:14:33 +02:00
Alex Kost 430505eba3 scripts: Add 'build-package'.
* guix/scripts/system.scm (maybe-build): Move to ...
* guix/scripts.scm: ...here.
  (build-package): New procedure.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2015-09-22 22:05:10 +03:00
Alex Kost f80a7a6c58 emacs: Add code to call guile procedures.
* emacs/guix-guile.el (guix-guile-make-call-expression): New function.
* emacs/guix-geiser.el: Require 'guix-guile'.
  (guix-geiser-call, guix-geiser-call-in-repl): New functions.
2015-09-22 22:05:10 +03:00
Alex Kost f029f8a759 emacs: Move code for evaluating to "guix-geiser.el".
* emacs/guix-backend.el: Adjust commentary. Move "eval" code to ...
  (guix-eval, guix-eval-read, guix-eval-in-repl): Adjust to use new
  functions.
* emacs/guix-geiser.el: ...here.  New file.
  (guix-geiser-eval, guix-geiser-eval-read, guix-geiser-eval-in-repl,
  guix-repl-send): New functions.
* emacs.am (ELFILES): Add "guix-geiser.el".
2015-09-22 22:05:09 +03:00
Alex Kost c74cd6cc12 emacs: Move guile related code to "guix-guile.el".
* emacs/guix-backend.el (guix-make-guile-expression): Move to...
* emacs/guix-guile.el: ... here.  New file.
* emacs/guix-base.el: Use it.
* emacs/guix-command.el: Use it.
* emacs.am (ELFILES): Add it.
2015-09-22 22:05:09 +03:00
Mark H Weaver ee1c4cbaf9 gnu: linux-libre: Update to 4.2.1.
* gnu/packages/linux.scm (linux-libre): Update to 4.2.1.
2015-09-22 13:55:15 -04:00
Leo Famulari 7ae7ca0e2a gnu: recutils: Add libuuid to native-inputs.
* gnu/packages/databases.scm (recutils)[native-inputs]: Add "libuuid".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2015-09-22 17:41:11 +02:00
Ricardo Wurmus 4a4dac2083 licenses: Add Zope Public License.
* guix/licenses.scm (zpl2.1): New variable.
2015-09-22 14:57:00 +02:00
Alex Kost 67ee7c9576 emacs: Improve 'guix-prettify-regexp'.
* emacs/guix-prettify.el (guix-prettify-regexp): Modify to handle "nar"
  and "log".
2015-09-22 13:04:44 +03:00
Ricardo Wurmus 667d90dfee gnu: python2-ipython: Override terminado in propagated inputs.
* gnu/packages/python.scm (python2-ipython)[inputs, propagated-inputs]:
  Override inherited "python-terminado" in propagated inputs instead of
  regular inputs.
2015-09-21 16:27:23 +02:00
Ricardo Wurmus 91781b7498 gnu: r-scales: Update to 0.3.0.
* gnu/packages/statistics.scm (r-scales): Update to 0.3.0.
2015-09-21 11:04:17 +02:00
Ricardo Wurmus c009bb5a40 Update CRAN mirrors.
* guix/download.scm (%mirrors): Update mirror list for CRAN.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 2a3a8ae753 gnu: Add r-dplyr.
* gnu/packages/statistics.scm (r-dplyr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra ffd4b47851 gnu: Add r-r6.
* gnu/packages/statistics.scm (r-r6): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 5b9789a6ff gnu: Add r-testthat.
* gnu/packages/statistics.scm (r-testthat): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 834f7ff3c0 gnu: Add r-crayon.
* gnu/packages/statistics.scm (r-crayon): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra b668a95cf3 gnu: Add r-memoise.
* gnu/packages/statistics.scm (r-memoise): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 0661b4db2e gnu: Add r-pryr.
* gnu/packages/statistics.scm (r-pryr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 1cf1cbb0ac gnu: Add r-codetools.
* gnu/packages/statistics.scm (r-codetools): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 4f0e84845d gnu: Add r-microbenchmark.
* gnu/packages/statistics.scm (r-microbenchmark): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 213656b95b gnu: Add r-knitr.
* gnu/packages/statistics.scm (r-knitr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra ea3a80957a gnu: Add r-yaml.
* gnu/packages/statistics.scm (r-yaml): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 3f8ac35330 gnu: Add r-markdown.
* gnu/packages/statistics.scm (r-markdown): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra acbb40fa20 gnu: Add r-mime.
* gnu/packages/statistics.scm (r-mime): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra ad3f005bdd gnu: Add r-highr.
* gnu/packages/statistics.scm (r-highr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra c5bf3abe34 gnu: Add r-formatr.
* gnu/packages/statistics.scm (r-formatr): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 256ccc926c gnu: Add r-evaluate.
* gnu/packages/statistics.scm (r-evaluate): New variable.
2015-09-21 10:48:26 +02:00
Vicente Vera Parra 675c9f447b gnu: Add r-bh.
* gnu/packages/statistics.scm (r-bh): New variable.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus 9cda36227b gnu: Use cran-uri in source expressions.
* gnu/packages/statistics.scm (r-colorspace, r-dichromat, r-digest,
  r-gtable, r-labeling, r-magrittr, r-munsell, r-rcpp, r-plyr, r-proto,
  r-rcolorbrewer, r-stringi, r-stringr, r-reshape2, r-scales, r-ggplot2,
  r-assertthat, r-lazyeval, r-dbi): Use cran-uri in source expressions.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus a52b625152 import: cran-sxml->sexp: Use cran-uri in package expression.
* guix/import/cran.scm (cran-sxml->sexp): Use the cran-uri procedure in
  the generated package expression.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus 5546114e73 build: Add cran-uri procedure.
* guix/build-system/r.scm (cran-uri): New procedure.
2015-09-21 10:48:26 +02:00
Ricardo Wurmus fed5a6898b gnu: Add shotwell.
* gnu/packages/gnome.scm (shotwell): New variable.
2015-09-21 07:45:20 +02:00
Ricardo Wurmus b0f9c4b86c gnu: Add gexiv2.
* gnu/packages/gnome.scm (gexiv2): New variable.
2015-09-21 07:31:50 +02:00
Ricardo Wurmus af8f9f231e gnu: Add libgee.
* gnu/packages/gnome.scm (libgee): New variable.
2015-09-21 07:31:42 +02:00
Eric Bavier da494dad8e gnu: autogen: Update to 5.18.6.
* gnu/packages/autogen.scm (autogen): Update to 5.18.6.
2015-09-20 15:09:52 -05:00