Commit Graph

12667 Commits

Author SHA1 Message Date
Mark H Weaver 92a7e46d58
gnu: python-libxml2: Drop replacement from inherited libxml2.
This is a followup to commit 493e9a5a8f.

* gnu/packages/xml.scm (python-libxml2)[replacement]: Set to #f, overriding
inherited value.
2016-05-25 04:54:06 -04:00
Efraim Flashner 19d6248634
gnu: freeipmi: Update to 1.5.2.
* gnu/packages/freeipmi.scm (freeipmi): Update to 1.5.2.
2016-05-25 09:13:13 +03:00
Mark H Weaver 796787a577
gnu: linux-libre-4.1: Update to 4.1.25.
* gnu/packages/linux.scm (linux-libre-4.1): Update to 4.1.25.
2016-05-25 00:26:40 -04:00
Mark H Weaver 6f82a7d40d
gnu: webkitgtk: Update to 2.12.3 [fixes CVE-2016-{1856,1857}].
* gnu/packages/webkit.scm (webkitgtk): Update to 2.12.3.
2016-05-25 00:14:32 -04:00
Ludovic Courtès 007c20b61c
graft: Fail when one of the threads raises an exception.
Fixes <http://bugs.gnu.org/23581>.

* guix/build/graft.scm (exit-on-exception): New procedure.
(rewrite-directory): Use it to wrap REWRITE-LEAF.
2016-05-24 23:52:14 +02:00
Ludovic Courtès 92ed837a1e
size: Pass 'requisites' a list of items.
* guix/scripts/size.scm (substitutable-requisites): Change 'item' to
'items' and adjust.
(requisites*): Likewise.
(mappend-map): Remove.
(store-profile): Adjust accordingly.
2016-05-24 23:41:30 +02:00
Ludovic Courtès f6fee16e93
store: 'requisites' now takes a list of store items.
* guix/store.scm (fold-path): Change 'path' to 'paths' and adjust body
accordingly.
(requisites): Likewise.
* guix/scripts/environment.scm (inputs->requisites): Adjust
user accordingly.
* guix/scripts/size.scm (requisites*): Likewise.
* guix/scripts/gc.scm (guix-gc): Likewise.
* tests/store.scm ("requisites"): Likewise.
2016-05-24 23:35:28 +02:00
Ludovic Courtès db761534df
size: Accept several arguments.
* guix/scripts/size.scm (display-profile): Display WHOLE at then end.
(guix-size): Accept several FILES.
* doc/guix.texi (Invoking guix size): Add example with several items.
2016-05-24 23:05:31 +02:00
Ludovic Courtès a371aa225c
size: 'store-profile' takes a list of store items.
* guix/scripts/size.scm (mappend-map): New procedure.
(store-profile): Change 'item' to 'items' and adjust code accordingly.
(guix-size): Update caller.
* tests/size.scm ("store-profile"): Likewise.
2016-05-24 23:05:28 +02:00
Ludovic Courtès a61cd1d0fd
tests: Do not run 'cve' checker in 'tests/guix-lint.sh'.
Reported by Malcolm, Cook <MEC@stowers.org>.

* tests/guix-lint.sh: Pass '-c synopsis,description' in first invocation
so we don't run the 'cve' checker.
2016-05-24 14:45:18 +02:00
Ludovic Courtès 493e9a5a8f
gnu: libxml2: Fix CVE-2016-3627 and CVE-2016-3705.
* gnu/packages/patches/libxml2-CVE-2016-3627.patch,
gnu/packages/patches/libxml2-CVE-2016-3705.patch: New files.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/xml.scm (libxml2)[replacement]: New field.
(libxml2/fixed): New variable.
2016-05-24 14:15:18 +02:00
Mathieu Lirzin c0d2e7b197
build: Use "%D%" in Makefile fragments.
* doc/local.mk: Use "%D%" for the directory of the fragment relative to
the base 'Makefile.am'.
* emacs/local.mk: Likewise.
* gnu/local.mk: Likewise.
* nix/local.mk: Likewise.
2016-05-24 13:07:19 +02:00
Mathieu Lirzin cf5f2ad30c
ui: Let users report translation bugs.
* guix/ui.scm (show-bug-report-information): Add a comment for
translators.
2016-05-24 12:58:40 +02:00
humanitiesNerd 8eeb301de2
gnu: Add emacs-clojure-mode.
* gnu/packages/emacs.scm (emacs-clojure-mode): New variable.

Signed-off-by: Alex Kost <alezost@gmail.com>
2016-05-24 11:32:42 +03:00
Alex Kost b8fc362239
gnu: Use 'emacs-minimal' instead of 'emacs-no-x'.
* gnu/packages/code.scm (cflow)[native-inputs]: Use 'emacs-minimal'
  instead of 'emacs-no-x'.
* gnu/packages/databases.scm (recutils): Likewise.
* gnu/packages/finance.scm (ledger): Likewise
* gnu/packages/idutils.scm (idutils): Likewise.
* gnu/packages/mail.scm (mu): Likewise.
* gnu/packages/ocaml.scm (proof-general): Likewise.
* gnu/packages/package-management.scm (guix-0.10.0): Likewise.
* gnu/packages/plotutils.scm (asymptote): Likewise.
* gnu/packages/scheme.scm (scmutils): Likewise.
* gnu/packages/version-control.scm (vc-dwim): Likewise.
* gnu/packages/emacs.scm (geiser): Likewise.
(paredit): Likewise.
(git-modes): Likewise.
(magit): Likewise.
(magit-svn): Likewise.
(haskell-mode): Likewise.
(let-alist): Likewise.
(emacs-w3m): Likewise.
(emacs-wget): Likewise.
(emms): Likewise.
(bbdb): Likewise.
(emacs-mmm-mode): Likewise.
(emacs-pdf-tools): Likewise.
(emacs-popup)[native-inputs]: Remove as it is not needed for
emacs-build-system.
(emacs-rfcview): Likewise.
(emacs-ffap-rfc-space): Likewise.
2016-05-24 11:32:27 +03:00
Alex Kost 6aaf38992c
gnu: Move emacs for building from inputs to native-inputs.
* gnu/packages/emacs.scm (geiser): Move "emacs" from inputs to native-inputs.
(paredit): Likewise.
(haskell-mode): Likewise.
(emacs-w3m): Likewise.
(emacs-wget): Likewise.
* gnu/packages/mail.scm (mu): Likewise.
* gnu/packages/version-control.scm (vc-dwim): Likewise.
2016-05-24 11:32:27 +03:00
Alex Kost a6eafbed66
build-system/emacs: Use 'emacs-minimal' by default.
* guix/build-system/emacs.scm (default-emacs): Use 'emacs-minimal'.
* gnu/packages/emacs.scm (emacs-auctex): Use 'emacs'.
2016-05-24 11:32:27 +03:00
Alex Kost b2eaf7bacd
gnu: Add emacs-minimal.
* gnu/packages/emacs.scm (emacs-minimal): New variable.
2016-05-24 11:32:27 +03:00
Alex Kost 486f36eb9e
gnu: emacs: Remove *.elc and autoloads from the tarball.
* gnu/packages/emacs.scm (emacs)[source]: Add 'snippet' to remove
  compiled and generated elisp files.
2016-05-24 11:11:26 +03:00
Efraim Flashner d16479c51e
gnu: enblend-enfuse: Update to 4.2.
* gnu/packages/photo.scm (enblend-enfuse): Update to 4.2.
[native-inputs]: Add help2man, texlive-minimal.
2016-05-24 08:49:23 +03:00
Leo Famulari 7febe3a282
gnu: grub: Re-enable test.
* gnu/packages/grub.scm (grub)[arguments]: Re-enable test.
2016-05-23 18:47:45 -04:00
Ludovic Courtès e144e3427d
graph: Add 'node-reachable-count'.
* guix/graph.scm (node-reachable-count): New procedure.
* tests/graph.scm ("node-reachable-count"): New test.
2016-05-24 00:06:01 +02:00
Ludovic Courtès 623e4df42a
graph: Expose 'traverse/depth-first'.
* guix/graph.scm (traverse/depth-first): New procedure, based on code
formerly in 'node-transitive-edges'.
(node-transitive-edges): Rewrite in terms of it.
2016-05-24 00:06:01 +02:00
Ludovic Courtès 9a6beb3b7f
refresh: Make 'list-dependents' a monadic procedure.
* guix/scripts/refresh.scm (list-dependents): Remove use of 'with-store'
and 'run-with-store'.
(guix-refresh): Wrap body in with-store/run-with-store.
2016-05-24 00:06:01 +02:00
Leo Famulari 88ac650c7b
gnu: vdirsyncer: Update to 0.11.0.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.11.0.
2016-05-23 13:26:17 -04:00
Leo Famulari e1343994b0
gnu: git: Update to 2.8.3.
* gnu/packages/version-control.scm (git): Update to 2.8.3.
(git-manpages)[source]: Update hash.
2016-05-23 13:14:50 -04:00
Roel Janssen 031cf6b65e
gnu: Add r-zoo.
* gnu/packages/statistics.scm (r-zoo): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-05-23 12:36:38 -04:00
Leo Famulari 148e8e8e75
gnu: borg: Update to 1.0.3.
* gnu/packages/backup.scm (borg): Update to 1.0.3.
[source]: Remove pypi-uri.
2016-05-23 12:27:12 -04:00
Ludovic Courtès af98798c7a
union: Compare inode numbers in 'file=?'.
* guix/build/union.scm (file=?): Compare the inode of ST1 and ST2.
2016-05-23 18:05:46 +02:00
Ludovic Courtès 86cf13033e
cve: Remove now unnecessary HTTP caching.
* guix/cve.scm (call-with-cve-port): Use 'http-fetch' instead of
'http-fetch/cached'.
2016-05-23 18:05:46 +02:00
Ludovic Courtès 5cdd21c7fe
cve: Keep a summarized sexp in cache instead of the full XML.
This avoids ~20s of XML parsing when running 'guix lint -c cve'.

* guix/cve.scm (vulnerability->sexp, sexp->vulnerability)
(fetch-vulnerabilities): New procedures.
(current-vulnerabilities): Use 'fetch-vulnerabilities'.
2016-05-23 18:05:46 +02:00
Roel Janssen f22debacb4
gnu: Add poppler-qt5.
* gnu/packages/pdf.scm (poppler-qt5): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2016-05-23 14:35:23 +03:00
Ricardo Wurmus 524eee0298 gnu: Add slurm-drmaa.
* gnu/packages/parallel.scm (slurm-drmaa): New variable.
2016-05-23 12:55:40 +02:00
Ricardo Wurmus 0783787436 gnu: Add ParDRe.
* gnu/packages/bioinformatics.scm (pardre): New variable.
2016-05-23 12:55:09 +02:00
Efraim Flashner 624d4e2e6b
gnu: gnu-pw-mgr: Update to 2.0.
* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 2.0.
2016-05-22 16:58:21 +03:00
Leo Famulari 13913c52d5
gnu: imagemagick: Update to 6.9.4-4.
* gnu/packages/imagemagick.scm (imagemagick): Update to 6.9.4-4.
2016-05-22 03:51:57 -04:00
Lukas Gradl 88bb4197c4 gnu: Add python2-rope.
* gnu/packages/python.scm (python2-rope): New variable.
2016-05-22 14:19:52 +10:00
Kei Yamashita 3c47489766
gnu: Add gnome-calendar.
* gnu/packages/gnome.scm (gnome-calendar): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Matthew Jordan 548994142f
gnu: Add envstore.
* gnu/package/shellutils.scm: New file.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Jan Nieuwenhuizen b9b447be64
gnu: Add sicp.
* gnu/packages/scheme.scm (sicp): New variable.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Roel Janssen a56be436d0
gnu: Add dia.
* gnu/packages/gnome.scm (dia): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-05-21 23:30:37 +02:00
Mathieu Lirzin 28dee3d282 build: Fix 'AM_V_at' typo.
* Makefile.am (hydra-jobs.scm): Fix 'AM_V_at' typo.
2016-05-21 23:09:46 +02:00
Ludovic Courtès ece6864bd0
grafts: Rename files whose name matches a graft.
Fixes <http://bugs.gnu.org/23132>.
Reported by Mark H Weaver <mhw@netris.org>.

* guix/build/graft.scm (rename-matching-files): New procedure.
(rewrite-directory): Use it.
* tests/grafts.scm ("graft-derivation, renaming"): New test.
2016-05-21 01:35:14 +02:00
Ludovic Courtès cf8b312d18
grafts: Preserve empty directories when grafting.
* guix/build/graft.scm (rewrite-directory)[rewrite-leaf]: Add case for
'directory.
Pass #:directories? #t to 'find-files'.
2016-05-21 01:35:14 +02:00
Ludovic Courtès 30d4bc0434
substitute: Gracefully handle invalid store file names.
Before, something like:

  echo have /gnu/foo | ./test-env guix substitute --query

would lead to an ugly backtrace.

* guix/scripts/substitute.scm (narinfo-cache-file): Call 'leave' when
'store-hash-part' returns #f.
2016-05-21 01:35:14 +02:00
Ludovic Courtès a773c3142d
graph: Allow store file names for 'derivation' and 'references' graphs.
* guix/scripts/graph.scm (%derivation-node-type)[convert]: Add
'derivation-path?' and catch-all clauses.
(%reference-node-type)[convert]: Add 'store-path?' and catch-all
clauses.
(assert-package, nodes-from-package): New procedures.
(%package-node-type, %bag-node-type,%bag-with-origins-node-type)
(%bag-emerged-node-type): Add 'convert' field
(guix-graph): Rename 'packages' to 'items' and
allow 'store-path?' arguments.
* guix/graph.scm (<node-type>)[convert]: Adjust comment.
* doc/guix.texi (Invoking guix graph): Document it.
2016-05-21 01:35:14 +02:00
Ludovic Courtès 97507ebedc
derivations: 'derivation' sorts items in the resulting object.
* guix/derivations.scm (derivation-input<?): New procedure.
(write-derivation)[coalesce-duplicate-inputs]: Remove.
Remove calls to 'sort'.
(coalesce-duplicate-inputs): New procedure.
(derivation-hash): Sort INPUTS and use 'coalesce-duplicate-inputs'.
(derivation)[input->derivation-input]
[coalesce-duplicate-inputs]: New procedures.
Sort OUTPUTS, INPUTS, and ENV-VARS.
* tests/derivations.scm ("read-derivation vs. derivation"): New test.
2016-05-21 01:35:14 +02:00
Ludovic Courtès 3cabdead6f
graph: Use absolute file name canonicalization.
* guix/scripts/graph.scm (guix-graph): Wrap in 'with-fluids'.
2016-05-21 01:35:14 +02:00
Mark H Weaver 3c9a7185e4
gnu: linux-libre: Update to 4.5.5.
* gnu/packages/linux.scm (linux-libre): Update to 4.5.5.
2016-05-20 18:58:15 -04:00
Mark H Weaver 4483a1185d
gnu: linux-libre-4.4: Update to 4.4.11.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.11.
2016-05-20 18:58:06 -04:00