Commit graph

17632 commits

Author SHA1 Message Date
Ludovic Courtès
76c31074c8
derivations: Share a cache between 'derivation' and 'read-derivation'.
This leads a 13% speedup on 'guix build libreoffice -d' and 18% on
'guix build gnome -d'.

* guix/derivations.scm (%derivation-cache): New variable.
(read-derivation): Use it instead of the private 'cache' variable.
(derivation): Populate %DERIVATION-CACHE before returning.
2017-01-05 23:45:39 +01:00
Ludovic Courtès
fbec5abeef
gnu: gv: Do not propagate Ghostscript.
* gnu/packages/gv.scm (gv)[propagated-inputs]: Remove.
[arguments]: New field.
[inputs]: Add GHOSTCRIPT/X.
2017-01-05 23:45:38 +01:00
Ludovic Courtès
6d943e553d
derivations: Micro-optimize 'write-derivation'.
* guix/derivations.scm (write-derivation)[write-input]: Use 'display'
instead of 'write' for PATH.
Use 'simple-format' instead of 'format', and '~a' instead of '~s' for
SYSTEM and BUILDER.
2017-01-05 23:45:38 +01:00
Alex Kost
ec14d2157d
gnu: emacs-smartparens: Update to 1.9.0.
* gnu/packages/emacs.scm (emacs-smartparens): Update to 1.9.0.
2017-01-06 00:31:03 +03:00
Alex Kost
922ab34446
gnu: magit: Update to 2.10.0.
* gnu/packages/emacs.scm (magit, emacs-magit-popup): Update to 2.10.0.
2017-01-06 00:29:23 +03:00
Alex Kost
cfb9026aa5
gnu: emacs-with-editor: Update to 2.5.9.
* gnu/packages/emacs.scm (emacs-with-editor): Update to 2.5.9.
2017-01-06 00:29:23 +03:00
Danny Milosavljevic
6c8a387af2
gnu: Add ghc-markdown-unlit.
* gnu/packages/haskell.scm (ghc-markdown-unlit): New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-01-05 18:47:40 +01:00
Tobias Geerinckx-Rice
12c15242f4
gnu: beep: Ignore substitute* return value.
* gnu/packages/terminals.scm (beep)[arguments]: End 'patch-makefile phase
with truth.
2017-01-05 17:40:54 +01:00
David Thompson
543bd0eede
gnu: sdl2: Add fcitx input.
* gnu/packages/sdl.scm (sdl2)[inputs]: Add fcitx.
2017-01-05 11:27:10 -05:00
David Thompson
e0101b54b7
gnu: sdl2: Fix double input events bug.
* gnu/packages/sdl.scm (sdl2)[inputs]: Add dbus, gblib, and ibus.
2017-01-05 11:22:32 -05:00
Leo Famulari
f537ad0bf3
Revert "gnu: gawk: Don't replace 'sh' reference with 'bash'."
This commit causes too many rebuilds. It will be re-committed to core-updates.

This reverts commit 5b2834ae79.
2017-01-05 11:22:07 -05:00
Leo Famulari
5b2834ae79
gnu: gawk: Don't replace 'sh' reference with 'bash'.
* gnu/packages/gawk.scm (gawk)[arguments]: Use /bin/sh instead of /bin/bash in
'set-shell-file-name' phase.
2017-01-05 11:06:06 -05:00
Marius Bakke
d9d23101ce
gnu: irssi: Update to 1.0.0.
* gnu/packages/irc.scm (irssi): Update to 1.0.0.
[arguments]: Remove --with-ncurses configure flag.
[native-inputs]: Move 'perl' to ...
[inputs]: ... here.
[home-page]: Use HTTPS.
2017-01-05 16:44:34 +01:00
Marius Bakke
1bd858cc14
gnu: Fix indentation of some python packages.
This is a followup to abe2ec73..807a5b32.

* gnu/packages/python.scm (python-snowballstemmer,
  python-sphinx-cloud-sptheme, python-sphinx-alabaster-theme): Fix indentation.
2017-01-05 16:28:01 +01:00
Danny Milosavljevic
807a5b32bf
gnu: Add python-sphinx-alabaster-theme.
* gnu/packages/python.scm (python-sphinx-alabaster-theme,
  python2-sphinx-alabaster-theme): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-01-05 16:17:27 +01:00
Danny Milosavljevic
754bfd7019
gnu: Add python-sphinx-cloud-sptheme.
* gnu/packages/python.scm (python-sphinx-cloud-sptheme,
  python2-sphinx-cloud-sptheme): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-01-05 16:17:27 +01:00
Danny Milosavljevic
89cd988b6c
gnu: Add python-snowballstemmer.
* gnu/packages/python.scm (python-snowballstemmer,
  python2-snowballstemmer): New variables.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
2017-01-05 16:17:26 +01:00
José Miguel Sánchez García
abe2ec735f
gnu: Add beep.
* gnu/packages/terminals.scm (beep): New variable.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>
2017-01-05 13:09:19 +01:00
Tobias Geerinckx-Rice
88a46c9812
gnu: Remove unused module import from (gnu packages mtools).
This is a follow-up to commit 3b0f2ba46b.

* gnu/packages/mtools.scm: Remove import of (gnu packages python).
2017-01-05 13:09:19 +01:00
Ben Woodcroft
19e5fb6030
gnu: ruby-nokogiri: Update to 1.7.0.1.
* gnu/packages/ruby.scm (ruby-nokogiri): Update to 1.7.0.1.
2017-01-05 21:00:51 +10:00
Ben Woodcroft
8e941f2068
gnu: ruby-hoe: Update to 3.16.0.
* gnu/packages/ruby.scm (ruby-hoe): Update to 3.16.0.
2017-01-05 20:52:22 +10:00
Leo Famulari
69355e1283
doc: Add a Git hook that verifies signatures before pushing.
* HACKING (Commit Access): Describe the pre-push Git hook.
* etc/git/pre-push: New file.
2017-01-04 16:27:20 -05:00
Leo Famulari
5f0fabec54
gnu: unrtf: Fix CVE-2016-10091.
* gnu/packages/patches/unrtf-CVE-2016-10091.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/unrtf.scm (unrtf)[source]: Use it.
2017-01-04 14:42:58 -05:00
Alex Griffin
7a203059d3
gnu: libreoffice: Update to 5.1.6.2.
* gnu/packages/libreoffice.scm (libreoffice): Update to 5.1.6.2.

Signed-off-by: Leo Famulari <leo@famulari.name>
2017-01-04 14:37:58 -05:00
David Craven
3dcaa1226d
gnu: ocamlmod: Enable tests.
Followup to 93eeadf022.

* gnu/packages/ocaml.scm (ocamlmod)[arguments]: Enable tests.

Problem reported by Julien Lepiller <julien@lepiller.eu>.
2017-01-04 19:10:01 +01:00
David Craven
337273e41f
gnu: ocaml-ounit: Enable tests.
Followup to 7a76b4afd0.

* gnu/packages/ocaml.scm (ocaml-ounit)[arguments]: Enable tests.

Problem reported by Julien Lepiller <julien@lepiller.eu>.
2017-01-04 19:10:00 +01:00
Efraim Flashner
9c64f76e8a
gnu: aria2: Update to 1.30.0.
* gnu/packages/bittorrent.scm (aria2): Update to 1.30.0.
2017-01-04 19:15:00 +02:00
Ricardo Wurmus
68f9067324
gnu: inkscape: Update to 0.92.0.
* gnu/packages/patches/inkscape-drop-wait-for-targets.patch: Remove it.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/inkscape.scm (inkscape): Update to 0.92.0.
[build-system]: Use "cmake-build-system".
[native-inputs]: Add glib:bin.
[arguments]: Remove obsolete arguments; disable tests.
2017-01-04 18:06:44 +01:00
Julien Lepiller
6548e53fcb
gnu: Add ocaml-cmdliner.
* gnu/packages/ocaml.scm (ocaml-cmdliner): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:11 +01:00
Julien Lepiller
eb1ba73185
gnu: Add ocaml-mtime.
* gnu/packages/ocaml.scm (ocaml-mtime): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:11 +01:00
Julien Lepiller
63147e5e1e
gnu: Add ocaml-rresult.
* gnu/packages/ocaml.scm (ocaml-rresult): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:11 +01:00
Julien Lepiller
a359c7277c
gnu: Add ocaml-topkg.
* gnu/packages/ocaml.scm (ocaml-topkg): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:11 +01:00
Julien Lepiller
704b990c36
gnu: Add ocaml-result.
* gnu/packages/ocaml.scm (ocaml-result): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:11 +01:00
Julien Lepiller
44c23cb8d8
gnu: Add ocaml-bitstring.
* gnu/packages/ocaml.scm (ocaml-bitstring): New variable.
* gnu/packages/patches/ocaml-bitstring-fix-configure.patch: New file.
* gnu/local.mk (dist_patch_DATA): New patch.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:11 +01:00
Julien Lepiller
a5b5bd1d18
gnu: Add ocaml-bisect.
* gnu/packages/ocaml.scm (ocaml-bisect): New variable.
* gnu/packages/patches/ocaml-bisect-fix-camlp4-in-another-directory.patch:
  New file.
* gnu/local.mk (dist_patch_DATA): Add patch.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:10 +01:00
Julien Lepiller
3d598ebd35
gnu: Add ocaml-stringext.
* gnu/packages/ocaml.scm (ocaml-stringext): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:10 +01:00
Julien Lepiller
0472836fce
gnu: Add ocaml-qtest.
* gnu/packages/ocaml.scm (ocaml-qtest): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:10 +01:00
Julien Lepiller
ff891f10ed
gnu: Add ocaml-frontc.
* gnu/packages/ocaml.scm (ocaml-frontc): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 17:41:10 +01:00
Ludovic Courtès
b96a0640a3
graph: Add '%reverse-package-node-type'.
* guix/scripts/graph.scm (%reverse-package-node-type): New variable.
(%node-types): Add it.
* tests/graph.scm ("reverse package DAG"): New test.
* doc/guix.texi (Invoking guix refresh): Add cross-reference to
"Invoking guix graph".
(Invoking guix graph): Document 'reverse-package'.
2017-01-04 16:18:53 +01:00
Ludovic Courtès
a614ce389f
gnu: Add Guile-Bash.
* gnu/packages/guile.scm (guile-bash): New variable.
2017-01-04 16:18:52 +01:00
Ludovic Courtès
d38bc9a9f6
grafts: Move caching to a new 'with-cache' macro.
* guix/grafts.scm (with-cache): New macro.
(cumulative-grafts)[return/cache]: Remove.
Use 'with-cache' instead.
2017-01-04 16:18:52 +01:00
Julien Lepiller
ddf2b503b1
gnu: Add ocaml-zarith.
* gnu/packages/ocaml.scm (ocaml-zarith): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:05:28 +01:00
Julien Lepiller
93eeadf022
gnu: Add ocamlmod.
* gnu/packages/ocaml.scm (ocamlmod): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:05:25 +01:00
Julien Lepiller
bc2c3bc627
gnu: Add camlzip.
* gnu/packages/ocaml.scm (camlzip): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:05:06 +01:00
Julien Lepiller
7a76b4afd0
gnu: Add ocaml-ounit.
* gnu/packages/ocaml.scm (ocaml-ounit): New variable.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:04:51 +01:00
Julien Lepiller
ad3d730e3a
gnu: camlp4: Install camlp4 META file.
* gnu/packages/ocaml.scm (camlp4)[arguments]: Install in OCAMLPATH and
  META file.
  (ocaml-findlib)[arguments]: Delete camlp4 META file.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:04:32 +01:00
Julien Lepiller
56f73eadc0
gnu: ocaml: Use a helper function to download from ocaml-forge.
* gnu/packages/ocaml.scm (ocaml-forge-origin): New procedure.
  (lablgtk)[origin]: Use it.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:03:56 +01:00
Julien Lepiller
e6876cb9dc
gnu: Add ocaml-build-system.
* guix/build/ocaml-build-system.scm: New file.
* guix/build-system/ocaml.scm: New file.
* Makefile.am (MODULES): Add them.
* gnu/packages/ocaml.scm (ocaml)[native-search-paths]: Adjuste OCAMLPATH.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:03:39 +01:00
Julien Lepiller
e0ddaa8be3
gnu: camlp4: Compile native version.
* gnu/packages/ocaml.scm (camlp4)[arguments]: Disable parallel-build.
  Change default target to "all" to compile native and byte version.

Signed-off-by: David Craven <david@craven.ch>
2017-01-04 16:03:16 +01:00
David Craven
2b1f7b83f7
gnu: ocaml: Fix indentation.
* gnu/packages/ocaml.scm (ocaml): Fix indentation.
2017-01-04 16:03:07 +01:00