Commit graph

46211 commits

Author SHA1 Message Date
Jens Mølgaard
1a2d0d294b
gnu: Add emacs-mastodon.
* gnu/packages/emacs-xyz.scm (emacs-mastodon): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-27 01:00:03 +02:00
Jens Mølgaard
d3f2f86a7f
gnu: Add emacs-wc-mode.
* gnu/packages/emacs-xyz.scm (emacs-wc-mode): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-27 01:00:03 +02:00
Jens Mølgaard
40c4c0058f
gnu: Add emacs-ox-pandoc.
* gnu/packages/emacs-xyz.scm (emacs-ox-pandoc): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-27 01:00:03 +02:00
Jens Mølgaard
9f0ae848e2
gnu: Add emacs-ox-epub.
* gnu/packages/emacs-xyz.scm (emacs-ox-epub): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-27 01:00:03 +02:00
Jens Mølgaard
74a2489009
Add emacs-gnus-alias.
* gnu/packages/emacs-xyz.scm (emacs-gnus-alias): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-27 00:59:47 +02:00
Jens Mølgaard
c1cae86de3
gnu: Add emacs-bug-hunter.
* gnu/packages/emacs-xyz.scm (emacs-bug-hunter): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-27 00:59:41 +02:00
Ludovic Courtès
2e8cabb8d6
gexp: 'program-file' honors the current system and cross-compilation target.
Fixes <https://bugs.gnu.org/36813>.
Reported by Jakob L. Kreuze <zerodaysfordays.sdf.org@sdf.org>.

* guix/gexp.scm (program-file-compiler): Pass #:system and #:target to
'gexp->script'.
(load-path-expression): Add #:system and #:target and honor them.
(gexp->script): Likewise.
* tests/gexp.scm ("program-file #:system"): New test.
* doc/guix.texi (G-Expressions): Adjust accordingly.
2019-07-26 23:50:12 +02:00
Ludovic Courtès
2cc5ec7f0d
gexp: 'compiled-modules' can cross-compile.
* guix/gexp.scm (compiled-modules): Add #:target and honor it.
2019-07-26 23:47:43 +02:00
Ludovic Courtès
548e0af4da
discovery: 'scheme-files' ignores hidden files.
* guix/discovery.scm (scheme-files)[dot-prefixed?]: New procedure.
Use it to exclude any file starting with ".".
2019-07-26 21:49:25 +02:00
Jakob L. Kreuze
d23a00b599
tests: Add reconfigure system test.
[[PGP Signed Part:No public key for F506FD169D8FD95A created at 2019-07-24T18:35:10+0200 using RSA]]
* gnu/tests/reconfigure.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-26 19:19:49 +02:00
Jakob L. Kreuze
5c8c8c4554
guix system: Reimplement 'reconfigure'.
* guix/scripts/system.scm (switch-to-system)
(upgrade-shepherd-services, install-bootloader): Delete variable.
(local-eval): New variable.
(install): Remove 'bootloader-installer' and 'bootcfg-file' parameters.
(install): Add 'bootloader' parameter.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-07-26 19:19:49 +02:00
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
Rutger Helling
688d8f22e2
gnu: mesa: Correct configure flag.
* gnu/packages/gl.scm (mesa): Build the iris driver for the correct systems.
2019-07-25 11:37:36 +02:00
Rutger Helling
9c0170a6e9
gnu: mesa: Update to 19.1.3.
* gnu/packages/gl.scm (mesa): Update to 19.1.3.
[configure-flags]: Add iris to gallium-drivers.
2019-07-25 11:13:20 +02:00
Rutger Helling
fd730a8e7d
gnu: vulkan-headers: Update to 1.1.114.
* gnu/packages/vulkan.scm (vulkan-headers): Update to 1.1.114.
* gnu/packages/vulkan.scm (vulkan-loader): Update hash.
* gnu/packages/vulkan.scm (vulkan-tools): Update hash.
2019-07-25 11:13:20 +02:00
Hartmut Goebel
cbad3570db
guix: ant-build-system: Put dummy project-name into default build.xml.
Without this, ant reported error messages like
Target "tests" does not exist in the project "null".
Simple using the jar-name is a good compromise.

* guix/build/ant-build-system.scm (default-build.xml): Add attribute
  to sxml expression.
2019-07-25 10:21:45 +02:00
Hartmut Goebel
a331623931
guix: ant-build-system: Use ant-task "jar" instead of executing "jar".
* guix/build/ant-build-system.scm (default-build.xml): Change XML for
  target "jar" to use ant-task "jar" instead of "exec".
2019-07-25 10:21:44 +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