Commit Graph

39680 Commits (81c3dc32244a17241d74eea9fa265edfcb326f6d)

Author SHA1 Message Date
Ludovic Courtès 81c3dc3224
maint: Switch to Guile-JSON 3.x.
Guile-JSON 3.x is incompatible with Guile-JSON 1.x, which we relied on
until now: it maps JSON dictionaries to alists (instead of hash tables),
and JSON arrays to vectors (instead of lists).  This commit is about
adjusting all the existing code to this new mapping.

* m4/guix.m4 (GUIX_CHECK_GUILE_JSON): New macro.
* configure.ac: Use it.
* doc/guix.texi (Requirements): Mention the Guile-JSON version.
* guix/git-download.scm (git-fetch)[guile-json]: Use GUILE-JSON-3.
* guix/import/cpan.scm (string->license): Expect vectors instead of
lists.
(module->dist-name): Use 'json-fetch' instead of 'json-fetch-alist'.
(cpan-fetch): Likewise.
* guix/import/crate.scm (crate-fetch): Likewise, and call 'vector->list'
for DEPS.
* guix/import/gem.scm (rubygems-fetch): Likewise.
* guix/import/json.scm (json-fetch-alist): Remove.
* guix/import/pypi.scm (pypi-fetch): Use 'json-fetch' instead of
'json-fetch-alist'.
(latest-source-release, latest-wheel-release): Call 'vector->list' on
RELEASES.
* guix/import/stackage.scm (stackage-lts-info-fetch): Use 'json-fetch'
instead of 'json-fetch-alist'.
(lts-package-version): Use 'vector->list'.
* guix/import/utils.scm (hash-table->alist): Remove.
(alist->package): Pass 'vector->list' on the inputs fields, and default
to the empty vector.
* guix/scripts/import/json.scm (guix-import-json): Remove call to
'hash-table->alist'.
* guix/swh.scm (define-json-reader): Expect pair? or null? instead of
hash-table?.
[extract-field]: Use 'assoc-ref' instead of 'hash-ref'.
(json->branches): Use 'map' instead of 'hash-map->list'.
(json->checksums): Likewise.
(json->directory-entries, origin-visits): Call 'vector->list' on the
result of 'json->scm'.
* tests/import-utils.scm ("alist->package with dependencies"): New test.
* gnu/installer.scm (build-compiled-file)[builder]: Use GUILE-JSON-3.
* gnu/installer.scm (installer-program)[installer-builder]: Likewise.
* gnu/installer/locale.scm (iso639->iso639-languages): Use 'assoc-ref'
instead of 'hash-ref', and pass vectors through 'vector->list'.
(iso3166->iso3166-territories): Likewise.
* gnu/system/vm.scm (system-docker-image)[build]: Use GUILE-JSON-3.
* guix/docker.scm (manifest, config): Adjust for Guile-JSON 3.
* guix/scripts/pack.scm (docker-image)[build]: Use GUILE-JSON-3.
* guix/import/github.scm (fetch-releases-or-tags): Update docstring.
(latest-released-version): Use 'assoc-ref' instead of 'hash-ref'.  Pass
the result of 'fetch-releases-or-tags' to 'vector->list'.
* guix/import/launchpad.scm (latest-released-version): Likewise.
2019-07-25 00:16:41 +02:00
zimoun a0efa069a1
gnu: Add r-depecher.
* gnu/packages/bioconductor.scm (r-depecher): New variable.

Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun 1adb9cbc5e
gnu: Add r-mixomics.
* gnu/packages/bioconductor.scm (r-mixomics): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun 1502751b32
gnu: Add r-flowsom.
* gnu/packages/bioconductor.scm (r-flowsom): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun e0cb053edb
gnu: Add r-flowmeans.
* gnu/packages/bioconductor.scm (r-flowmeans): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun ed6f49fc41
gnu: Add r-consensusclusterplus.
* gnu/packages/bioconductor.scm (r-consensusclusterplus): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun a0422d18f1
gnu: Add r-flowutils.
* gnu/packages/bioconductor.scm (r-flowutils): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun a6fedf1f37
gnu: Add r-flowcore.
* gnu/packages/bioconductor.scm (r-flowcore): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun ad8f46c69e
gnu: Add r-all.
* gnu/packages/bioconductor.scm (r-all): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:39 +02:00
zimoun 6deb08a359
gnu: Add r-kableextra.
* gnu/packages/cran.scm (r-kableextra): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:38 +02:00
zimoun 1c0b2e7483
gnu: Add r-umap.
* gnu/packages/cran.scm (r-umap): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-24 23:05:38 +02:00
Jelle Licht 97bc8c47bb
gnu: emacs-gitpatch: Update to 0.5.1.
* gnu/packages/emacs-xyz.scm (emacs-gitpatch): Update to 0.5.1.
2019-07-24 22:23:19 +02:00
Tobias Geerinckx-Rice 8126142baf
gnu: terminator: Propagate gsettings-desktop-schemas.
* gnu/packages/gnome.scm (terminator)[propagated-inputs]: Add gsettings-desktop-schemas.
2019-07-24 21:29:10 +02:00
Tobias Geerinckx-Rice 4f20e0a2f6
gnu: spice-gtk: Update to 0.37.
* gnu/packages/spice.scm (spice-gtk): Update to 0.37.
[propagated-inputs]: Use latest spice-protocol.
(spice-protocol-0.12): Remove unused variable.
2019-07-24 21:29:10 +02:00
Tobias Geerinckx-Rice 7e2c050a88
gnu: libvirt-glib: Propagate pkg-config requirements.
* gnu/packages/virtualization.scm (libvirt-glib)[inputs]: Move glib,
libvirt, libxml2, and gobject-introspection…
[native-inputs]: …here.
2019-07-24 21:29:10 +02:00
Tobias Geerinckx-Rice 7dfda55ba2
gnu: libvirt-glib: Update to 2.0.0.
* gnu/packages/virtualization.scm (libvirt-glib): Update to 2.0.0.
[arguments]: Remove ‘fix-tests’ phase.
2019-07-24 21:29:09 +02:00
Nicolò Balzarotti 7304d5623a
gnu: julia: Update to 1.1.1.
* gnu/packages/julia.scm (libuv-julia): Update to commit 26dbe56.
(libunwind-for-julia): Remove.
(llvm-patch-url, llvm-patch): New procedures.
(llvm-julia): New variable.
(julia): Update to 1.1.1.
[arguments]: Adjust 'prepare-deps' to new set of dependencies.
Adjust 'hardcode-soname-map': remove openlibm and libfftw handling.
Update file names in 'fix-include-and-link-paths' and 'hardcode-paths'.
Adjust 'disable-broken-tests'.
Pass PREFIX, LIBFLAS, and LIBBLASNAME in #:make-flags; update other
flags.
[inputs]: Replace LLVM-3.9.1 with LLVM-JULIA.  Replace
LIBUNWIND-FOR-JULIA with LIBUNWIND.  Add "rmath" and "libwhich".
[native-inputs]: Remove "unicode-data".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2019-07-24 00:31:23 +02:00
Ludovic Courtès 96a9a8d398
gnu: llvm: Add 'system->llvm-target' procedure.
* gnu/packages/llvm.scm (system->llvm-target): New procedure.
2019-07-24 00:31:22 +02:00
Efraim Flashner 4d3a2b5ac7
gnu: terminology: Update to 1.5.0.
* gnu/packages/enlightenment.scm (terminology): Update to 1.5.0.
2019-07-23 16:35:51 +03:00
Mathieu Lirzin 6583ef601a
gnu: emacs-request: Update to 0.3.1.
* gnu/packages/emacs-xyz.scm (emacs-request): Update to 0.3.1.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-07-23 10:23:28 +03:00
Mathieu Lirzin d7ab6c9067
gnu: emacs-google-translate: Update to 0.11.18.
* gnu/packages/emacs-xyz.scm (emacs-google-translate): Update to 0.11.18.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-07-23 10:20:47 +03:00
Jack Hill 12cc3da5c1
gnu: mallard-ducktype: Update to 1.0.2.
* gnu/packages/python-xyz.scm (mallard-ducktype) Update to 1.0.2.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-07-23 09:10:16 +03:00
Julien Lepiller 3755d5cb5e
gnu: harmonist: Update to 0.2.
* gnu/packages/games.scm (harmonist): Update to 0.2.
2019-07-22 23:10:48 +02:00
Marius Bakke 2698654446
gnu: vlc: Build against libvpx@1.8.
* gnu/packages/video.scm (vlc)[inputs]: Change LIBVPX-1.7 to LIBVPX.
2019-07-22 16:22:22 +02:00
Marius Bakke a242776178
gnu: libvpx: Update to 1.8.1.
* gnu/packages/video.scm (libvpx): Update to 1.8.1.
2019-07-22 16:22:22 +02:00
Marius Bakke fb4ea42340
gnu: zstd: Update to 1.4.1.
* gnu/packages/compression.scm (zstd): Update to 1.4.1.
2019-07-22 16:22:22 +02:00
Marius Bakke ec0de9d8bc
gnu: zstd: Move libraries to separate outputs.
* gnu/packages/compression.scm (zstd)[outputs]: New field.
[arguments]: Add phase 'adjust-libary-locations'.  Pass LIBDIR and INCLUDEDIR
in <#:make-flags>.
* gnu/packages/backup.scm (borg)[inputs]: Change ZSTD to ZSTD:LIB.
* gnu/packages/sync.scm (casync)[inputs]: Likewise.
* gnu/packages/tor.scm (tor)[inputs]: Likewise.
* gnu/packages/linux.scm (btrfs-progs)[inputs]: Likewise.  Add ZSTD:STATIC.
2019-07-22 16:22:22 +02:00
Marius Bakke 8dea61731b
gnu: whois: Update to 5.5.0.
* gnu/packages/networking.scm (whois): Update to 5.5.0.
2019-07-22 16:22:22 +02:00
Marius Bakke 293e4f9f2d
gnu: jsoncpp: Update to 1.9.1.
* gnu/packages/serialization.scm (jsoncpp): Update to 1.9.1.
2019-07-22 16:22:22 +02:00
Marius Bakke 8d3167fe23
gnu: ffmpeg: Update to 4.1.4.
* gnu/packages/video.scm (ffmpeg): Update to 4.1.4.
2019-07-22 16:22:22 +02:00
Marius Bakke 3c08479ef9
gnu: x265: Update to 3.1.1.
* gnu/packages/video.scm (x265): Update to 3.1.1.
2019-07-22 16:22:22 +02:00
Marius Bakke 6a489839a8
gnu: ungoogled-chromium: Enable parallel build.
...but limit the memory usage.  Tested with --cores=8 on a 16 GiB RAM machine.

* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Remove <#:parallel-build?>.
Add "jumbo_file_merge_limit=8" in <#:configure-flags>.
2019-07-22 16:22:21 +02:00
Ricardo Wurmus 6fd4c6b267
gnu: htslib: Propagate zlib.
Reported by Vedran Franke <Vedran.Franke@mdc-berlin.de>.

* gnu/packages/bioinformatics.scm (htslib)[inputs]: Move zlib from here...
[propagated-inputs]: ...to here.
2019-07-22 14:24:51 +02:00
Efraim Flashner 1bb4122ce6
gnu: perl-net-http: Update to 6.19.
* gnu/packages/web.scm (perl-net-httpd): Update to 6.19.
2019-07-22 10:14:41 +03:00
Efraim Flashner bbbed2e60d
gnu: perl-test-simple: Update to 1.302164.
* gnu/packages/perl-check.scm (perl-test-simple): Update to 1.302164.
2019-07-22 10:07:57 +03:00
Efraim Flashner 94b9b67618
gnu: perl-cpan-meta: Update to 2.150010.
* gnu/packages/perl.scm (perl-cpan-meta): Update to 2.150010.
2019-07-22 10:07:56 +03:00
Efraim Flashner 6f4d20e387
gnu: perl-clone: Update to 0.42.
* gnu/packages/perl.scm (perl-clone): Update to 0.42.
2019-07-22 10:07:56 +03:00
Efraim Flashner 2756ab8058
gnu: perl-hash-merge: Update to 0.300.
* gnu/packages/perl.scm (perl-hash-merge): Update to 0.300.
[inputs]: Add perl-clone-choose.
2019-07-22 10:07:51 +03:00
Efraim Flashner 5246655fa1
gnu: mallard-ducktype: Run tests.
* gnu/packages/python-xyz.scm (mallard-ducktype)[arguments]: Replace
'check phase to run test suite.
2019-07-22 09:49:19 +03:00
Robert Vollmert 7284b11f6c
gnu: oil-shell: Update to 0.6.0
* gnu/packages/shells.scm (oil-shell): Update to 0.6.0.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2019-07-22 09:26:55 +03:00
Chris Marusich afb986e77c
gnu: libreoffice: Fix xdg-open absolute paths.
Fixes: <https://bugs.gnu.org/36728>.

* gnu/packages/libreoffice.scm (libreoffice) [inputs]: Add xdg-utils.
[arguments][#:phases][prepare-src]: Replace hard-coded absolute paths to
xdg-open in the source with the path to xdg-open in the xdg-utils input.
2019-07-21 16:47:55 -07:00
Tobias Geerinckx-Rice d1e766e5c6
gnu: libosinfo: Update to 1.5.0.
* gnu/packages/virtualization.scm (libosinfo): Update to 1.5.0.
[arguments]: Remove ‘disable-broken-test’ phase.
[native-inputs]: Remove check.
2019-07-21 20:27:42 +02:00
Mark H Weaver 59f79254bb
gnu: linux-libre: Update to 5.2.2.
* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.2.
(linux-libre-5.2-pristine-source): Update hash.
2019-07-21 11:17:43 -04:00
Mark H Weaver c39304ce18
gnu: linux-libre@4.19: Update to 4.19.60.
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.60.
(linux-libre-4.19-pristine-source): Update hash.
2019-07-21 11:17:41 -04:00
Mark H Weaver 267ce6679e
gnu: linux-libre@4.14: Update to 4.14.134.
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.134.
(linux-libre-4.14-pristine-source): Update hash.
2019-07-21 11:17:39 -04:00
Mark H Weaver 5d8187c2ac
gnu: linux-libre@4.9: Update to 4.9.186.
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.186.
(linux-libre-4.9-pristine-source): Update hash.
2019-07-21 11:17:36 -04:00
Mark H Weaver aa84be4375
gnu: linux-libre@4.4: Update to 4.4.186.
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.186.
(linux-libre-4.4-pristine-source): Update hash.
2019-07-21 11:17:34 -04:00
Mark H Weaver 1ad9c105c2
gnu: linux-libre: Deblob the linux-libre source tarball ourselves.
* gnu/packages/linux.scm (linux-libre-deblob-scripts, deblob-scripts-5.2)
(deblob-scripts-4.19, deblob-scripts-4.14, deblob-scripts-4.9)
(deblob-scripts-4.4, computed-origin-method, %upstream-linux-source)
(source-with-patches, make-linux-libre-source, linux-libre-5.2-version)
(linux-libre-5.2-pristine-source, linux-libre-5.2-source)
(linux-libre-4.19-pristine-source, linux-libre-4.19-source)
(linux-libre-4.14-pristine-source, linux-libre-4.14-source)
(linux-libre-4.9-pristine-source, linux-libre-4.9-source)
(linux-libre-4.4-pristine-source, linux-libre-4.4-source)
(linux-libre-pristine-source, linux-libre-source)
(linux-libre-headers-4.9, linux-libre-headers-4.4)
(make-linux-libre-headers*, make-linux-libre*): New variables.
(%linux-libre-version): Rename to ...
(linux-libre-version): ... this, and make it equal to linux-libre-5.2-version.
(%linux-libre-4.19-version, %linux-libre-4.14-version)
(%linux-libre-4.9-version, %linux-libre-4.4-version): Rename to ...
(linux-libre-4.19-version, linux-libre-4.14-version)
(linux-libre-4.9-version, linux-libre-4.4-version): ... these.
(%linux-libre-4.19-hash, %linux-libre-4.19-patches)
(%linux-libre-4.14-hash, %linux-libre-4.14-patches)
(%linux-libre-hash, %linux-libre-5.2-patches): Remove variables.
(make-linux-libre-headers, make-linux-libre): Reformulate in terms of
make-linux-libre-headers* and make-linux-libre*, respectively.
(linux-libre-5.2, linux-libre-4.19, linux-libre-4.14, linux-libre-4.9)
(linux-libre-4.4, linux-libre-arm-veyron, linux-libre-arm-generic)
(linux-libre-arm-generic-4.19, linux-libre-arm-generic-4.14)
(linux-libre-arm-omap2plus, linux-libre-arm-omap2plus-4.19)
(linux-libre-arm-omap2plus-4.14): Adapt and use make-linux-libre*.
(linux-libre-headers-5.2, linux-libre-headers-4.19)
(linux-libre-headers-4.14): Adapt and use make-linux-libre-headers*.
2019-07-21 11:15:56 -04:00
Mark H Weaver 2f4698d7d1
gnu: Add darkice.
* gnu/packages/audio.scm (darkice): New variable.
* gnu/packages/patches/darkice-workaround-fpermissive-error.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-07-21 11:12:36 -04:00
Brian Leung 3aec5263a3
gnu: emacs-ivy: Update to 0.12.0.
* gnu/packages/emacs-xyz.scm (emacs-ivy): Update to 0.12.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2019-07-21 21:17:47 +08:00