Commit Graph

46769 Commits

Author SHA1 Message Date
Ludovic Courtès e591541d36
doc: Build a top-level index of the manuals.
Suggested by Julien Lepiller.

* doc/build.scm (html-manual-indexes)[build]: Add 'with-extensions'.
(translate): Actually honor DOMAIN.  Add call to 'bindtextdomain' for
ISO-CODES.
(%iso639-languages): New variable.
(language-code->name, top-level-index): New procedures.
Add call to 'write-html' for OUTPUT/index.html.
2019-07-15 12:48:49 +02:00
Ludovic Courtès 21bec78357
doc: Generalize build procedures of HTML indexes.
* doc/build.scm (html-manual-indexes)[build](sxml-index): Generalize;
add a 'title' and a 'body' parameter and honor them.
(language-index): New procedure.
(write-index): Remove.
(write-html): New procedure.
Use 'write-html' and 'language-index'.
2019-07-15 12:48:49 +02:00
Guillaume Le Vaillant cb45aad9b0
gnu: monero: Make tests more verbose.
Increase the verbosity of the 'check' phase to prevent 'core_tests' from
hitting 'max-silent-timeout'.

* gnu/packages/finance.scm (monero)[arguments]: Add '--verbose' option to
  'check' phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-15 12:48:49 +02:00
Ricardo Wurmus 886986b744
gnu: Add python-ont-fast5-api.
* gnu/packages/bioinformatics.scm (python-ont-fast5-api): New variable.
2019-07-15 12:18:01 +02:00
Ricardo Wurmus d71d85cd17
gnu: Add python-progressbar33.
* gnu/packages/python-xyz.scm (python-progressbar33): New variable.
2019-07-15 12:18:01 +02:00
Efraim Flashner 64ed7c2258
gnu: rkflashtool: Update to 5.2-1.8966c4e.
* gnu/packages/flashing-tools.scm (rkflashtool): Update to 5.2-1.8966c4e.
[version]: Use 'git-version'.
[source]: Use 'git-file-name'.
2019-07-15 12:10:32 +03:00
Ludovic Courtès 9af75a2630
channels: Avoid use of 'derivation-input-path'.
* guix/channels.scm (old-style-guix?): Use 'derivation-name' rather than
'derivation-input-path'.
2019-07-15 10:01:05 +02:00
Ludovic Courtès b9373e2627
gexp: 'lowered-gexp-guile' now returns a <derivation-input>.
* guix/derivations.scm (derivation-input-output-path): New procedure.
* guix/gexp.scm (lower-gexp): Wrap GUILE in a <derivation-input>.
(gexp->derivation): Adjust accordingly.
* guix/remote.scm (remote-pipe-for-gexp, remote-eval): Adjust
accordingly.
* tests/gexp.scm ("lower-gexp"): Adjust accordingly.
2019-07-15 10:01:05 +02:00
Ludovic Courtès 93c2a00739
derivations: Deprecate the previous calling convention.
We will eventually require #:inputs to be a list of <derivation-input>;
store items will have to be passed as #:sources, already interned.

* guix/derivations.scm (warn-about-derivation-deprecation): New procedure.
(derivation): Add #:%deprecation-warning? parameter.
[warn-deprecation]: New macro.
[input->derivation-input, input->source]: Use it.
(build-expression->derivation): Pass #:%deprecation-warning?.
* po/guix/POTFILES.in: Add guix/derivations.scm.
2019-07-15 10:01:05 +02:00
Ludovic Courtès 9e64302d68
derivations: Update tests to use new calling convention.
* tests/derivations.scm ("build derivation with 1 source"): Adjust to
new 'derivation' calling convention.
("identical files are deduplicated"): Likewise.
("fixed-output-derivation?"): Likewise.
("fixed-output derivation"): Likewise.
("fixed-output derivation, recursive"): Likewise.
("derivation with a fixed-output input"): Likewise.
("multiple-output derivation"): Likewise.
("multiple-output derivation, non-alphabetic order"): Likewise.
("read-derivation vs. derivation"): Likewise.
("user of multiple-output derivation"): Likewise.
("derivation with #:references-graphs"): Likewise.
("derivation #:allowed-references, ok"): Likewise.
("derivation #:allowed-references, not allowed"): Likewise.
("derivation #:allowed-references, self allowed"): Likewise.
("derivation #:allowed-references, self not allowed"): Likewise.
("derivation #:disallowed-references, ok"): Likewise.
("derivation #:disallowed-references, not ok"): Likewise.
("derivation #:leaked-env-vars"): Likewise.
("build derivation with coreutils"): Likewise.
("map-derivation, sources"): Likewise.
("derivation with local file as input"): Remove.
2019-07-15 10:01:05 +02:00
Ludovic Courtès d145832151
derivations: 'map-derivation' uses the new 'derivation' calling convention.
* guix/derivations.scm (map-derivation)[input->output-paths]: Adjust to
deal with an argument that's either 'derivation-input?' or a string.
[rewritten-input]: Return a <derivation-input> or a string.
Pass #:inputs and #:sources to 'derivation'.
2019-07-15 10:01:05 +02:00
Ludovic Courtès 02237f13ee
download: Use the new 'derivation' calling convention.
* guix/download.scm (built-in-download): Pass MIRRORS and
CONTENT-ADDRESSED-MIRRORS as #:sources, not #:inputs.
2019-07-15 10:01:05 +02:00
Ludovic Courtès 266e54e2ac
gnu: guile-bootstrap: Use the new 'derivation' calling convention.
* gnu/packages/bootstrap.scm (raw-build): In 'derivation' call,
distinguish #:inputs from #:sources, passing a list of
<derivation-input> as #:inputs.
2019-07-15 10:01:05 +02:00
Ludovic Courtès 3868577480
gexp: <lowered-gexp> separates sources from derivation inputs.
* guix/gexp.scm (lower-inputs): Return either <derivation-input> records
or store items.
(lower-reference-graphs): Return file/input pairs.
(<lowered-gexp>)[sources]: New field.
(lower-gexp): Adjust accordingly.
(gexp->input-tuple): Remove.
(gexp->derivation)[graphs-file-names]: Handle only the
'derivation-input?' and 'string?' cases.
Pass #:sources to 'raw-derivation'; ensure #:inputs contains only
<derivation-input> records.
* guix/remote.scm (remote-eval): Adjust to the new <lowered-gexp>
interface.
* tests/gexp.scm ("lower-gexp"): Adjust to expect <derivation-input>
records instead of <gexp-input>
2019-07-15 10:01:05 +02:00
Ludovic Courtès 4daf89d619
derivations: 'derivation' primitive accepts <derivation> and #:sources.
This brings us closer to the <derivation> data type.

* guix/derivations.scm (derivation): Add #:sources parameter.
[input->derivation-input]: Add clause for 'derivation-input?'.
Honor SOURCES.
2019-07-15 10:01:04 +02:00
Ludovic Courtès 456c7ade09
syscalls: Use 'define-as-needed' for 'AT_' constants introduced in Guile 2.2.5.
* guix/build/syscalls.scm (AT_FDCWD, AT_SYMLINK_NOFOLLOW, AT_REMOVEDIR)
(AT_SYMLINK_FOLLOW, AT_NO_AUTOMOUNT, AT_EMPTY_PATH): Define using
'define-as-needed'.
2019-07-15 10:00:12 +02:00
Ludovic Courtès 38302bd939
compile: Report the name of the file that cannot be compiled.
Fixes <https://bugs.gnu.org/36640>.
Reported by Robert Vollmert <rob@vllmrt.net>.

* guix/build/compile.scm (call/exit-on-exception): Add 'file' parameter
and honor it.
(exit-on-exception): Likewise.
(compile-files): Pass FILE to 'exit-on-exception'.
2019-07-15 10:00:12 +02:00
Marius Bakke bba7a77ed9
gnu: MariaDB: Disable the TokuDB plugin.
Fixes <https://bugs.gnu.org/35521>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/packages/databases.scm (mariadb)[arguments]: Pass "-DTOKUDB_OK" in
<#:configure-flags>.  Enable the "innodb_fts.crash_recovery" test, which
likely failed because of the high I/O load induced by TokuDB.
[inputs]: Remove SNAPPY.
2019-07-14 23:06:24 +02:00
Kei Kebreau 29b85910f6
gnu: gnome-backgrounds: Update to 3.30.0.
* gnu/packages/gnome.scm (gnome-backgrounds): Update to 3.30.0.
2019-07-14 16:13:17 -04:00
Kei Kebreau 235743a627
gnu: zenity: Update to 3.30.0.
* gnu/packages/gnome.scm (zenity): Update to 3.30.0.
2019-07-14 16:13:16 -04:00
Kei Kebreau 42f95e3476
gnu: gedit: Update to 3.30.2.
* gnu/packages/gnome.scm (gedit): Update to 3.30.2.
2019-07-14 16:13:16 -04:00
Kei Kebreau 976e7801ac
gnu: file-roller: Update to 3.30.1.
* gnu/packages/gnome.scm (file-roller): Update to 3.30.1.
2019-07-14 16:13:16 -04:00
Kei Kebreau f37dfe1ec3
gnu: epiphany: Update to 3.30.4.
* gnu/packages/gnome.scm (epiphany): Update to 3.30.4.
2019-07-14 16:13:16 -04:00
Kei Kebreau bd15da3a37
gnu: font-abattis-cantarell: Update to 0.111.
* gnu/packages/fonts.scm (font-cantarell): Update to 0.111.
[build-system]: Use meson-build-system.
[native-inputs]: Add appstream-glib and gettext-minimal.
2019-07-14 15:38:06 -04:00
Kei Kebreau d4ae2d15ef
gnu: baobab: Update to 3.30.0.
* gnu/packages/gnome.scm (baobab): Update to 3.30.0.
2019-07-14 15:37:57 -04:00
Pierre Langlois 2f3c0fb39d
gnu: linux-libre: Fix build on aarch64.
* gnu/packages/linux.scm (make-linux-libre)[arguments]: Remove
'work-around-gcc-7-include-path-issue phase.
2019-07-14 15:04:41 -04:00
Mark H Weaver be7eebe26d
gnu: linux-libre: Update to 5.2.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.2.
(%linux-libre-hash): Update hash.
* linux-libre-5.1: Rename to ...
* linux-libre-5.2: ... this.  Use %linux-libre-5.2-patches.
* linux-libre: Switch to linux-libre-5.2.
* linux-libre-arm-veyron, linux-libre-arm-generic, linux-libre-arm-omap2plus:
Use %linux-libre-5.2-patches.
* linux-libre-headers-5.1: Rename to ...
* linux-libre-headers-5.2: ... this.
* %linux-libre-5.1-patches: Rename to ...
* %linux-libre-5.2-patches: ... this.
* gnu/packages/aux-files/linux-libre/5.1-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.1-arm.conf,
gnu/packages/aux-files/linux-libre/5.1-arm64.conf,
gnu/packages/aux-files/linux-libre/5.1-i686.conf,
gnu/packages/aux-files/linux-libre/5.1-x86_64.conf: Delete files.
* gnu/packages/aux-files/linux-libre/5.2-arm-veyron.conf,
gnu/packages/aux-files/linux-libre/5.2-arm.conf,
gnu/packages/aux-files/linux-libre/5.2-arm64.conf,
gnu/packages/aux-files/linux-libre/5.2-i686.conf,
gnu/packages/aux-files/linux-libre/5.2-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Update accordingly.
2019-07-14 15:02:45 -04:00
Julien Lepiller a4bb189210
Revert "guix: node-build-system: Use guile-json instead of a custom parser."
The effect of this change was to import the (json parser) from the host
side into the build side. The solution here would be to do the equivalent
of ‘with-extensions’ for gexps. Since we don't use gexps for build
systems just yet, revert this for now.

This reverts commit 8eb0ba532e.
2019-07-14 20:18:07 +02:00
Marius Bakke ab2a1aed20
gnu: criu: Fix typo.
This is a follow-up to commit a46cf184fe.

* gnu/packages/virtualization.scm (criu)[arguments]: Add missing ":".
2019-07-14 18:17:26 +02:00
Marius Bakke a46cf184fe
gnu: criu: Fix build with GCC 7.
* gnu/packages/virtualization.scm (criu)[arguments]: Do not read from
C_INCLUDE_PATH, but add LINUX-LIBRE-HEADERS on it.
2019-07-14 18:13:59 +02:00
Marius Bakke 97149c5767
gnu: Adjust uses of C{,PLUS}_INCLUDE_PATH for GCC 7.
These variables are no longer set in the build environment by default.  GCC
still respects these search paths and treats them as "system headers" so we
can continue to use them, just not expect them to be available.

* gnu/packages/mpi.scm (openmpi)[arguments]: Do not attempt to read from
C_INCLUDE_PATH, nor CPLUS_INCLUDE_PATH.
* gnu/packages/games.scm (kiki)[arguments]: Likewise.
* gnu/packages/networking.scm (hcxtools)[arguments]: Likewise.
* gnu/packages/synergy.scm (synergy)[arguments]: Likewise.
* gnu/packages/bioinformatics.scm (gemma, sailfish)[arguments]: Likewise.
* gnu/packages/maths.scm (dune-alugrid)[arguments]: Likewise.
2019-07-14 18:13:34 +02:00
Marius Bakke ad60a3484c
gnu: gst-kaldi-nnet2-online: Adjust for GCC 7.
* gnu/packages/machine-learning.scm (gst-kaldi-nnet2-online)[arguments]: Don't
read CPLUS_INCLUDE_PATH, or pass -std=c++11.  End phases on #t.
2019-07-14 17:30:42 +02:00
Marius Bakke 344f358fba
gnu: rdma-core: Update to 22.3.
* gnu/packages/linux.scm (rdma-core): Update to 22.3.
2019-07-14 17:26:24 +02:00
Arun Isaac 3c6d7fa842
gnu: Add emacs-elpher.
* gnu/packages/emacs-xyz.scm (emacs-elpher): New variable.
2019-07-14 20:14:35 +05:30
Rutger Helling 39a20acc06
gnu: nzbget: Update to 21.0.
* gnu/packages/networking.scm (nzbget): Update to 21.0.
2019-07-14 15:55:47 +02:00
Julien Lepiller 8eb0ba532e
guix: node-build-system: Use guile-json instead of a custom parser.
* guix/build/json.scm: Remove file.
* Makefile.am: Remove it.
* guix/build/node-build-system.scm: Use (json parser) instead of (guix build json).
* guix/build-system/node.scm: Idem.
2019-07-14 14:57:46 +02:00
Jelle Licht 09a1f92f61
build: Add node-build-system.
* guix/build/node-build-system.scm: New file.
* guix/build-system/node.scm: New file.
* guix/build/json.scm: New file.
* doc/guix.texi: Document it.
* Makefile.am: Added new files.

Co-Authored-By: Julien Lepiller <julien@lepiller.eu>
2019-07-14 12:20:48 +02:00
Christopher Baines a5c2e7961c
gnu: python-gst: Fix build failure.
Building python-gst fails with:

  Unbound variable: python-version

Therefore, add python-build-system to #:modules so that it's imported, and
give it a prefix to avoid clashing with the gnu-build-system.

Also, simplify the code by using the site-packages function from the
python-build-system module.

* gnu/packages/gstreamer.scm (python-gst)[arguments]: Rework to fix build
failure.
2019-07-14 09:03:23 +01:00
Christopher Baines 2be878d8e5
gnu: python-pep8: Patch to fix test failure with Python 3.7.
Patch from the upstream repository, see
https://github.com/PyCQA/pycodestyle/issues/786 for more details.

* gnu/packages/patches/python-pep8-stdlib-tokenize-compat.patch: New file.
* gnu/packages/python-xyz.scm (python-pep8)[source]: Add it.
2019-07-14 09:03:19 +01:00
Efraim Flashner 041e03847b
gnu: Add evisum.
* gnu/packages/enlightenment.scm (evisum): New variable.
2019-07-14 11:02:23 +03:00
Leo Famulari 6005440d98
build-system/go: Fix typo.
* guix/build/go-build-system.scm (install): Fix typo.
2019-07-13 19:51:08 -04:00
Jan Nieuwenhuizen 53f2164272
channels: Add optional directory to channel metadata.
* guix/channels.scm (<channel-metadata>): Add directory slot.  Update users.
(read-channel-metadata-from-source): New function.
(standard-module-derivation): Use it.
* doc/guix.texi (Package Modules in a Subdirectory): New subsection.
2019-07-14 00:58:09 +02:00
Christopher Baines bee9f97e0a
gnu: Add s-tui.
* gnu/packages/admin.scm (s-tui): New variable.
2019-07-13 23:18:54 +01:00
Ricardo Wurmus 29fe71152f
gnu: python-rpy2: Update to 3.0.4-1.19868a8.
* gnu/packages/statistics.scm (python-rpy2): Update to 3.0.4-1.19868a8.
[source]: Fetch from repository.
[propagated-inputs]: Add python-cffi, python-numpy, python-pandas,
python-ipython, and python-tzlocal.
[native-inputs]: Add python-pytest.
[arguments]: Set TZ variable and use pytest to run the tests.
2019-07-13 23:50:01 +02:00
Leo Famulari 4f61513128
gnu: Go: Use the default libgcc.
* gnu/packages/golang.scm (go-1.4)[inputs]: Replace gcc-6 with gcc.
2019-07-13 17:41:21 -04:00
Leo Famulari 06e1ecbf17
doc: Update keyserver URL.
* HACKING (Commit Access): Change keyserver URL to 'keys.openpgp.org'.
2019-07-13 14:25:19 -04:00
Hartmut Goebel 6b61dea336
gnu: Add pngquant.
* gnu/packages/image.scm (pngquant): New variable.
2019-07-13 20:04:44 +02:00
Hartmut Goebel 8db1bd188b
gnu: Add libimagequant.
* gnu/packages/image.scm (libimagequant): New variable.
2019-07-13 20:04:44 +02:00
Christopher Baines 145fed2a2b
gnu: gobject-introspection: Remove hardcoded store from patch.
* gnu/packages/patches/gobject-introspection-absolute-shlib-path.patch: Use
the NIX_STORE environment variable, rather than hardcoding the store
directory.
2019-07-13 18:54:18 +01:00
Marius Bakke 26a7ff6e10
gnu: fontforge: Fix segfault on i686 (and possibly other platforms).
* gnu/packages/fontutils.scm (fontforge)[source](patches): New field.
2019-07-13 19:11:06 +02:00