Age | Commit message (Collapse) | Author |
|
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.
|
|
* gnu/packages/bioconductor.scm (r-depecher): New variable.
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/bioconductor.scm (r-mixomics): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/bioconductor.scm (r-flowsom): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/bioconductor.scm (r-flowmeans): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/bioconductor.scm (r-consensusclusterplus): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/bioconductor.scm (r-flowutils): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/bioconductor.scm (r-flowcore): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/bioconductor.scm (r-all): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/cran.scm (r-kableextra): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/cran.scm (r-umap): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
|
|
* gnu/packages/emacs-xyz.scm (emacs-gitpatch): Update to 0.5.1.
|
|
* gnu/packages/gnome.scm (terminator)[propagated-inputs]: Add gsettings-desktop-schemas.
|
|
* gnu/packages/spice.scm (spice-gtk): Update to 0.37.
[propagated-inputs]: Use latest spice-protocol.
(spice-protocol-0.12): Remove unused variable.
|
|
* gnu/packages/virtualization.scm (libvirt-glib)[inputs]: Move glib,
libvirt, libxml2, and gobject-introspection…
[native-inputs]: …here.
|
|
* gnu/packages/virtualization.scm (libvirt-glib): Update to 2.0.0.
[arguments]: Remove ‘fix-tests’ phase.
|
|
* 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>
|
|
* gnu/packages/llvm.scm (system->llvm-target): New procedure.
|
|
* gnu/packages/enlightenment.scm (terminology): Update to 1.5.0.
|
|
* gnu/packages/emacs-xyz.scm (emacs-request): Update to 0.3.1.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
|
|
* gnu/packages/emacs-xyz.scm (emacs-google-translate): Update to 0.11.18.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
|
|
* gnu/packages/python-xyz.scm (mallard-ducktype) Update to 1.0.2.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
|
|
* gnu/packages/games.scm (harmonist): Update to 0.2.
|
|
* gnu/packages/video.scm (vlc)[inputs]: Change LIBVPX-1.7 to LIBVPX.
|
|
* gnu/packages/video.scm (libvpx): Update to 1.8.1.
|
|
* gnu/packages/compression.scm (zstd): Update to 1.4.1.
|
|
* 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.
|
|
* gnu/packages/networking.scm (whois): Update to 5.5.0.
|
|
* gnu/packages/serialization.scm (jsoncpp): Update to 1.9.1.
|
|
* gnu/packages/video.scm (ffmpeg): Update to 4.1.4.
|
|
* gnu/packages/video.scm (x265): Update to 3.1.1.
|
|
...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>.
|
|
Reported by Vedran Franke <Vedran.Franke@mdc-berlin.de>.
* gnu/packages/bioinformatics.scm (htslib)[inputs]: Move zlib from here...
[propagated-inputs]: ...to here.
|
|
* gnu/packages/web.scm (perl-net-httpd): Update to 6.19.
|
|
* gnu/packages/perl-check.scm (perl-test-simple): Update to 1.302164.
|
|
* gnu/packages/perl.scm (perl-cpan-meta): Update to 2.150010.
|
|
* gnu/packages/perl.scm (perl-clone): Update to 0.42.
|
|
* gnu/packages/perl.scm (perl-hash-merge): Update to 0.300.
[inputs]: Add perl-clone-choose.
|
|
* gnu/packages/python-xyz.scm (mallard-ducktype)[arguments]: Replace
'check phase to run test suite.
|
|
* gnu/packages/shells.scm (oil-shell): Update to 0.6.0.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
|
|
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.
|
|
* gnu/packages/virtualization.scm (libosinfo): Update to 1.5.0.
[arguments]: Remove ‘disable-broken-test’ phase.
[native-inputs]: Remove check.
|
|
* gnu/packages/linux.scm (linux-libre-5.2-version): Update to 5.2.2.
(linux-libre-5.2-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.60.
(linux-libre-4.19-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.134.
(linux-libre-4.14-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.186.
(linux-libre-4.9-pristine-source): Update hash.
|
|
* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.186.
(linux-libre-4.4-pristine-source): Update hash.
|
|
* 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*.
|
|
* 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.
|
|
* gnu/packages/emacs-xyz.scm (emacs-ivy): Update to 0.12.0.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
|