Commit Graph

46045 Commits

Author SHA1 Message Date
Jakob L. Kreuze 5c793753b3
guix system: Add 'reconfigure' module.
* guix/scripts/system/reconfigure.scm: New file.
* Makefile.am (MODULES): Add it.
* guix/scripts/system.scm (bootloader-installer-script): Export variable.
* gnu/machine/ssh.scm (switch-to-system, upgrade-shepherd-services)
(install-bootloader): Delete variable.
* gnu/machine/ssh.scm (deploy-managed-host): Rewrite procedure.
* gnu/services/herd.scm (live-service): Export variable.
* gnu/services/herd.scm (live-service-canonical-name): New variable.
* tests/services.scm (live-service): Delete variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-26 19:19:49 +02:00
Rutger Helling 20269b6e08
gnu: sdl2: Update to 2.0.10.
* gnu/packages/sdl.scm (sdl2): Update to 2.0.10.
2019-07-26 19:08:46 +02:00
Ludovic Courtès 4d04bc50d2
guix build: '--with-commit' recognizes "v[0-9]" tags.
* guix/scripts/build.scm (transform-package-source-commit)[replace]:
Special case COMMIT that starts with "v[0-9]".
2019-07-26 11:21:36 +02:00
Ludovic Courtès 10a8c2bbc6
git: 'switch-to-ref' resolves tag targets.
* guix/git.scm (switch-to-ref): In the 'tag' case, resolve the target of
the tag.
* tests/guix-build-branch.sh: Adjust test accordingly.
2019-07-26 11:21:36 +02:00
Ludovic Courtès 177fecb57c
git: <git-checkout> allows tags in its 'commit' field.
Fixes <https://bugs.gnu.org/36371>.
Reported by Tobias Geerinckx-Rice <me@tobias.gr>.

* guix/git.scm (git-checkout-compiler): Pass 'tag-or-commit' to
'latest-repository-commit*'.
* doc/guix.texi (Package Transformation Options): Update '--with-commit'
documentation accordingly.
* tests/guix-build-branch.sh: Add test.
2019-07-26 11:21:36 +02:00
Ludovic Courtès c4c2449fea
git: 'update-cached-checkout' supports a 'tag-or-commit' type of ref.
* guix/git.scm (switch-to-ref)[obj]: Wrap in 'resolve' lambda.  Add
'tag-or-commit' case.
(update-cached-checkout): Document it.
2019-07-26 11:21:36 +02:00
Ludovic Courtès 422e187fb4
gnu: jami-client-gnome: Rename to 'jami'.
* gnu/packages/telephony.scm (jami-client-gnome): Rename to...
(jami): ... this.  Update 'name' field accordingly.
(jami-client-gnome): New variable.
2019-07-26 11:21:36 +02:00
Tobias Geerinckx-Rice cf40f8e4d7
gnu: vlc: Update to 3.0.7.1.
* gnu/packages/video.scm (vlc): Update to 3.0.7.1.
2019-07-26 09:48:37 +02:00
Tobias Geerinckx-Rice 332a276503
gnu: clusterssh: Run.
* gnu/packages/admin.scm (clusterssh)[arguments]:
Add ’augment-library-path’ phase so libraries are found.
[propagated-inputs]: Make all of these…
[inputs]: …regular.
2019-07-26 09:48:37 +02:00
Tobias Geerinckx-Rice 3d909a0acf
gnu: youtube-dl: Update to 2019.07.16.
* gnu/packages/video.scm (youtube-dl): Update to 2019.07.16.
2019-07-26 01:16:40 +02:00
Tobias Geerinckx-Rice 28e4c3bbb0
gnu: dkimproxy: Fix dkim_responder.pl.
* gnu/packages/mail.scm (dkimproxy)[arguments]: Wrap dkim_responder.pl.
[inputs]: Add perl-mime-tools and perl-timedate.
2019-07-26 01:16:40 +02:00
Tobias Geerinckx-Rice 8c07824c52
gnu: dkimproxy: Factorise wrapping.
This is a follow-up to 66e39000c6, in a
way, since it adds the forgotten *6 inputs.

* gnu/packages/mail.scm (dkimproxy)[arguments]: Refactor ’make-wrapper’ phase.
Add perl-io-socket-inet6 and perl-socket6 to the list.
2019-07-26 01:16:39 +02:00
Tobias Geerinckx-Rice d045dce16d
gnu: dkimproxy: Keyword-stuff descriptions.
* gnu/packages/mail.scm (dkimproxy)[synopsis]: Do so.
[description]: Also.
2019-07-26 01:16:39 +02:00
Tobias Geerinckx-Rice 858be79474
gnu: perl-net-dns-resolver-mock: Edit synopsis & description.
* gnu/packages/networking.scm (perl-net-dns-resolver-mock)[synopsis]:
Remove unfortunate ‘a’.
[description]: Fix typo.  Edit for clarity.
2019-07-25 22:42:40 +02:00
Tobias Geerinckx-Rice ce3a71c619
gnu: perl-net-dns-resolver-mock: Unpropagate perl-net-dns.
* gnu/packages/networking.scm (perl-net-dns-resolver-mock)[inputs]:
Move perl-net-dns to here…
[propagated-inputs]: …from here.
2019-07-25 22:42:40 +02:00
Tobias Geerinckx-Rice 2b456dd836
gnu: dkimproxy: Correct licence.
* gnu/packages/mail.scm (dkimproxy)[license]: Change to gpl2+.
2019-07-25 22:42:39 +02:00
Tobias Geerinckx-Rice 66e39000c6
gnu: dkimproxy: Add IPv6 support.
* gnu/packages/mail.scm (dkimproxy)[source]: Add patch.
* gnu/packages/patches/dkimproxy-add-ipv6-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-07-25 22:42:39 +02:00
Tobias Geerinckx-Rice 41097b2dee
gnu: libvirt: Don't use bogus cgroup.
Should fix <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36634>.

* gnu/packages/virtualization.scm (libvirt)[source]: Add patch.
* gnu/packages/patches/libvirt-remove-ATTRIBUTE_UNUSED.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2019-07-25 21:59:07 +02:00
Tobias Geerinckx-Rice 12ea257122
gnu: clusterssh: Don't propagate xterm.
* gnu/packages/admin.scm (clusterssh)[arguments]: Add ‘refer-to-inputs’ and ‘delete-failing-tests’ phases.
[inputs]: Move xterm to here…
[propagated-inputs]: …from here.
2019-07-25 21:59:07 +02:00
Tobias Geerinckx-Rice b07aea69dd
gnu: clustershh: Add missing perl-sort-naturally input.
* gnu/packages/admin.scm (clusterssh)[propagated-inputs]:
Add perl-sort-naturally.
2019-07-25 21:59:06 +02:00
Julien Lepiller 8582202c5b
gnu: Add dkimproxy.
* gnu/packages/mail.scm (dkimproxy): New variable.
2019-07-25 21:27:27 +02:00
Julien Lepiller 930c52ae66
gnu: Add perl-mail-dkim.
* gnu/packages/mail.scm (perl-mail-dkim): New variable.
2019-07-25 21:27:25 +02:00
Julien Lepiller ac629e625c
gnu: Add perl-net-dns-resolver-mock.
* gnu/packages/networking.scm (perl-net-dns-resolver-mock): New
variable.
2019-07-25 21:27:22 +02:00
Julien Lepiller f115d81748
gnu: Add perl-mail-authenticationresults.
* gnu/packages/mail.scm (perl-mail-authenticationresults): New variable.
2019-07-25 21:26:58 +02:00
Leo Famulari 1074b37073
gnu: Go 1.12: Update to 1.12.7.
*  gnu/packages/golang.scm (go-1.12): Update to 1.12.7.
2019-07-25 13:07:49 -04:00
Leo Famulari ec8c1681e8
gnu: Go 1.11: Update to 1.11.12.
* gnu/packages/golang.scm (go-1.11): Update to 1.11.12.
2019-07-25 13:07:42 -04:00
Tobias Geerinckx-Rice 108edc964b
gnu: exim: Update to 4.92.1 [fixes CVE-2019-13917].
* gnu/packages/mail.scm (exim): Update to 4.92.1.
2019-07-25 17:35:29 +02:00
Rutger Helling 15027b89a8
gnu: xpra: Update to 2.5.3.
* gnu/packages/xorg.scm (xpra): Update to 2.5.3.
2019-07-25 14:24:07 +02:00
Jovany Leandro G.C 7c0411879b
gnu: Add xchm.
* gnu/packages/ebook.scm (xchm): New variable.

Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Co-authored-by: Ricardo Wurmus <rekado@elephly.net>
2019-07-25 09:23:17 +02:00
Kei Kebreau 8172ab2dde
gnu: starfighter: Update to 2.0.0.3.
* gnu/packages/games.scm (starfighter): Update to 2.0.0.3.
[source]: Use url-fetch and remove 'file-name' field.
[native-inputs]: Remove autoconf and automake.
2019-07-24 21:48:07 -04:00
Ludovic Courtès 91f55717ab
gnu: Explicitly refer to 'guile-json-1' when needed.
* gnu/packages/bioinformatics.scm (rcas-web)[inputs]: Change
'guile-json' to 'guile-json-1'.
* gnu/packages/ci.scm (cuirass)[inputs]: Likewise.
* gnu/packages/guile-xyz.scm (artanis)[inputs]: Likewise.
* gnu/packages/guile-xyz.scm (jupyter-guile-kernel)[inputs]: Likewise.
* gnu/packages/guile-xyz.scm (guile-mastodon)[inputs]: Likewise.
* gnu/packages/mail.scm (mumi)[inputs]: Likewise.
* gnu/packages/package-management.scm (guix)[inputs]: Likewise.
* gnu/packages/package-management.scm (guix-daemon)[inputs]: Likewise.
* gnu/packages/web.scm (hpcguix-web)[inputs]: Likewise.
2019-07-25 00:18:45 +02:00
Ludovic Courtès 584a3ca3a4
gnu: guile-json: Define 'guile-json-1'.
* gnu/packages/guile.scm (guile-json-1): New variable.
2019-07-25 00:18:45 +02:00
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
Leo Famulari b9a178b6dc
doc: Warn about GPG warning.
* doc/guix.texi (Binary Installation, USB Stick and DVD Installation): Warn
users about the web-of-trust untrusted key warning from GPG.
2019-07-24 10:59:27 -04:00
宋文武 3c618b9894
deploy: Handle the '--system' command line option.
* guix/scripts/deploy.scm (show-help): Add help for '--system'.
(%options): Add '-s' and '--system'.
(guix-deploy): Parameterize %current-system.
2019-07-24 20:34:01 +08:00