Commit graph

8414 commits

Author SHA1 Message Date
Ludovic Courtès
1007b6bf0b Merge branch 'master' into core-updates 2015-09-24 22:18:07 +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
Ludovic Courtès
12cd4dd3a9 tests: Unset 'LOCPATH' before running bootstrap program.
Reported by Mark H Weaver <mhw@netris.org>.

* tests/build-utils.scm ("wrap-program, one input, multiple calls"): Add
  'unsetenv' call.
2015-09-24 21:21:02 +02:00
Ludovic Courtès
5c3c1427fa doc: Mention /run/current-system/locale.
* doc/guix.texi (Application Setup): Add anchor and index entry.
  (Locales): Refer to it.  Mention /run/current-system/locale.
2015-09-24 21:21:01 +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
Ludovic Courtès
d6445dff14 tests: Adjust snippet test to '.file_list' hack.
This is a followup to commit 140b4bc.

* tests/packages.scm ("package-source-derivation, snippet")[source]: Add
  'chmod' call for "..".
2015-09-24 10:36:24 +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
Mark H Weaver
a05c06720a emacs-build-system: Fix 'package-name-version->elpa-name-version'.
Fixes a regression introduced in b7c7c03eb5.

* guix/build/emacs-build-system.scm (package-name-version->elpa-name-version):
  Remove unused 'name' binding.  Do not abuse 'strip-store-file-name' to
  remove the "emacs-" prefix, which worked before b7c7c03eb5 but not after.
2015-09-23 17:38:47 -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
Mark H Weaver
bd90127ad4 Merge branch 'master' into core-updates 2015-09-22 16:38:48 -04:00
Andreas Enge
5f20553dee gnu: r-scales: Update to 0.3.0.
* gnu/packages/statistics.scm (r-scales): Update to 0.3.0.
2015-09-22 22:28:21 +02:00
Andreas Enge
efd377221d gnu: csound: Update to 6.05.
* gnu/packages/audio.scm (csound): Update to 6.05.
2015-09-22 22:10:20 +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
Andreas Enge
20c6b9dae3 gnu: Add bitcoin-core.
* gnu/packages/finance.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.
2015-09-22 20:07:49 +02: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
Andreas Enge
61fe5a57a4 gnu: cgal: Update to 4.6.3.
* gnu/packages/graphics.scm (cgal): Update to 4.6.3.
2015-09-22 19:25:33 +02: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
Ludovic Courtès
1def6f6b2c gnu: pixman: Work around pointer arithmetic bug.
* gnu/packages/patches/pixman-pointer-arithmetic.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/xdisorg.scm (pixman)[source]: Use it.
2015-09-21 16:01:45 +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