Commit Graph

44829 Commits

Author SHA1 Message Date
Brian Leung 68eb526c4f
gnu: Add emacs-whitespace-cleanup-mode.
* gnu/packages/emacs-xyz.scm (emacs-whitespace-cleanup-mode): New variable.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-06-05 08:37:16 +03:00
Mark H Weaver 08ad449753
gnu: linux-libre: Update to 5.1.7.
* gnu/packages/linux.scm (%linux-libre-version): Update to 5.1.7.
(%linux-libre-hash): Update hash.
2019-06-04 23:49:44 -04:00
Mark H Weaver 8feeeb68d3
gnu: linux-libre@4.19: Update to 4.19.48.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.48.
(%linux-libre-4.19-hash): Update hash.
2019-06-04 23:48:52 -04:00
Marius Bakke 456ba27496
gnu: openvswitch: Update to 2.11.1.
* gnu/packages/networking.scm (openvswitch): Update to 2.11.1.
2019-06-05 00:37:39 +02:00
Marius Bakke 034db23701
gnu: openvswitch: Update home page.
* gnu/packages/networking.scm (openvswitch)[source, home-page]: Use HTTPS.
2019-06-05 00:37:39 +02:00
Marius Bakke 3588419553
gnu: polkit: Update to 0.116 [fixes CVE-2019-6133].
* gnu/packages/patches/polkit-CVE-2018-19788.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/polkit.scm (polkit): Update to 0.116.
[source](patches): Remove.
[inputs]: Change MOZJS-52 to MOZJS-60.
[arguments]: Add CXXFLAGS=-std=gnu++11 to #:configure-flags.
2019-06-05 00:37:39 +02:00
Marius Bakke 261e9db2cd
gnu: e2fsprogs: Update to 1.45.2.
* gnu/packages/linux.scm (e2fsprogs): Update to 1.45.2.
2019-06-05 00:37:39 +02:00
Tobias Geerinckx-Rice d46fc636e6
gnu: borg: Update to 1.1.10.
* gnu/packages/backup.scm (borg): Update to 1.1.10.
[source]: Remove upstreamed patch.
Remove msgpack and broken references to it.
[arguments]: Add ‘use-system-msgpack’ phase.
* gnu/packages/patches/borg-fix-hard-link-preloading.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2019-06-04 22:19:33 +02:00
Leo Famulari a85d3fb07f
gnu: Mutt: Update to 1.12.0.
* gnu/packages/mail.scm (mutt): Update to 1.12.0.
2019-06-04 13:40:00 -04:00
Leo Famulari bac78669c7
gnu: MPD: Update to 0.21.9.
* gnu/packages/mpd.scm (mpd): Update to 0.21.9.
2019-06-04 13:37:25 -04:00
Leo Famulari 6140764990
gnu: Syncthing: Update to 1.1.4.
* gnu/packages/syncthing.scm (syncthing): Update to 1.1.4.
2019-06-04 13:28:59 -04:00
Leo Famulari 70f3a38471
gnu: go-github-com-oschwald-geoip2-golang: Update to 1.3.0.
* gnu/packages/syncthing.scm (go-github-com-oschwald-geoip2-golang):
Update to 1.3.0.
2019-06-04 13:28:58 -04:00
Leo Famulari a92e9cca03
gnu: go-github-com-lib-pq: Update to 1.1.1.
* gnu/packages/syncthing.scm (go-github-com-lib-pq): Update to 1.1.1.
2019-06-04 13:28:58 -04:00
Leo Famulari 36bb1d5a9f
gnu: go-github-com-mattn-go-isatty: Update to 0.0.7.
* gnu/packages/golang.scm (go-github-com-mattn-go-isatty): Update to 0.0.7.
[propagated-inputs]: Add go-golang-org-x-sys-unix.
2019-06-04 13:28:55 -04:00
Kei Kebreau eeccd2e575
gnu: wxmaxima: Update to 19.05.7.
* gnu/packages/maths.scm (wxmaxima): Update to 19.05.7.
2019-06-04 10:44:14 -04:00
Kei Kebreau ccc963d528
gnu: maxima: Update to 5.43.0.
* gnu/packages/maths.scm (maxima): Update to 5.43.0.
[arguments]: Adjust "patch-paths" and "post-install" phases.
2019-06-04 09:30:38 -04:00
Marius Bakke f83e10e427
gnu: python-beautifulsoup4: Propagate python-soupsieve.
This is a follow-up to commit abb53e6f87.

* gnu/packages/python-xyz.scm (python-beautifulsoup4)[native-inputs]: Change
to ...
[propagated-inputs]: ... this.
2019-06-04 14:44:51 +02:00
Robert Vollmert a4f4e227bd
gnu: ghc-conduit-extra: Update to 1.3.1.1.
* gnu/packages/haskell.scm (ghc-conduit-extra): Update to 1.3.1.1.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2019-06-04 15:38:41 +05:30
Mark H Weaver 05947d92b6
gnu: icecat: Update to 60.7.0-guix2.
This includes updates to bundled extensions from the upstream
GNU IceCat 60.7.0-gnu1 release.

* gnu/packages/gnuzilla.scm (%icecat-version): Update to 60.7.0-guix2.
(icecat-source)[upstream-icecat-base-version]: Update to 60.7.0.
[upstream-icecat-source, gnuzilla-source]: Update hashes.
[origin]: Remove the substitutions that dealt with debian-specific package
code in the makeicecat script, since that code has been removed upstream.
(icecat)[arguments]: Adapt the 'install-desktop-entry' phase to avoid using
the Debian desktop file, which is no longer included in the IceCat sources.
* gnu/packages/patches/icecat-makeicecat.patch: Adapt to upstream changes.
2019-06-04 04:21:52 -04:00
Kei Kebreau 92b1b6f6af
gnu: emacspeak: Update to 50.0.
* gnu/packages/emacs.scm (emacspeak): Update to 50.0.
[arguments]: Simplify "configure" phase and adjust "install" phase.
2019-06-03 23:09:33 -04:00
Ludovic Courtès 69962ab7a8
deprecation: Use the 'warning' procedure for diagnostics.
Until now, (guix deprecation) had its own warning mechanism, which was
inconsistent (it did not use colors, etc.)

* guix/deprecation.scm (deprecation-warning-port): Remove
(source-properties->location-string): Remove.
(warn-about-deprecation): Use 'warning' instead of 'format'.
(define-deprecated, define-deprecated/alias): Adjust docstring.
* guix/channels.scm (build-from-source): Refer to 'guix-warning-port'
instead of 'deprecation-warning-port'.
2019-06-03 23:18:47 +02:00
Ludovic Courtès 1b5ee3bdaa
Add (guix diagnostics).
* guix/ui.scm (warning, info, report-error, leave)
(location->string, guix-warning-port, program-name)
(highlight-argument, %highlight-argument, define-diagnostic)
(%warning-color, %info-color, %error-color)
(print-diagnostic-prefix): Move to...
* guix/diagnostics.scm: ... here.  New file.
* Makefile.am (MODULES): Add it.
2019-06-03 23:18:47 +02:00
Ludovic Courtès ee2691fa33
services: guix-publish: Allow for multi-compression.
This is a followup to b8fa86adfc.

* guix/deprecation.scm (warn-about-deprecation): Make public.
* gnu/services/base.scm (<guix-publish-configuration>)[compression]: New
field.
[compression-level]: Default to #f.  Add '%' to getter name.
(guix-publish-configuration-compression-level): Define as deprecated.
(default-compression): New procedure.
(guix-publish-shepherd-service)[config->compression-options]: New
procedure.
Use 'match-record' instead of 'match'.
* doc/guix.texi (Base Services): Remove 'compression-level' and document
'compression'.
2019-06-03 23:18:47 +02:00
Florian Pelz 1acd107c6b
gnu: gnome-control-center: Set correct file name for the 'passwd' binary.
* gnu/packages/gnome.scm (gnome-control-center): Substitute correct path to
  passwd.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-03 23:18:46 +02:00
Florian Pelz 27faad22a8
gnu: cracklib: Install password dictionary.
* gnu/packages/password-utils.scm (cracklib): Use `make dict`.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-03 23:18:46 +02:00
Marius Bakke 18919cf928
gnu: python-translate-toolkit: Update home page.
* gnu/packages/python-xyz.scm (python-translate-toolkit)[home-page]: Use HTTPS.
2019-06-03 22:28:49 +02:00
Marius Bakke abb53e6f87
gnu: python-beautifulsoup4: Update to 4.7.1.
* gnu/packages/python-xyz.scm (python-beautifulsoup4): Update to 4.7.1.
[native-inputs]: Add PYTHON-SOUPSIEVE.
2019-06-03 22:28:49 +02:00
Marius Bakke d00b83fb8a
gnu: python-soupsieve: Fix python2 variant.
* gnu/packages/python-xyz.scm (python-soupsieve)[properties]: New field.
(python2-soupsieve): Inherit using STRIP-PYTHON2-VARIANT.
[propagated-inputs]: Inherit from BASE.
2019-06-03 22:28:49 +02:00
Marius Bakke f319409be0
gnu: Cython: Update home page.
* gnu/packages/python-xyz.scm (python-cython)[home-page]: Use HTTPS.
2019-06-03 22:28:49 +02:00
Marius Bakke cc1f240e11
gnu: Django: Update to 1.11.21 [fixes CVE-2019-12308, CVE-2019-11358].
* gnu/packages/django.scm (python-django): Update to 1.11.21.
2019-06-03 22:28:49 +02:00
Marius Bakke 558c733044
gnu: OpenSSL@1.1: Update to 1.1.1c.
* gnu/packages/tls.scm (openssl-next): Update to 1.1.1c.
2019-06-03 22:28:49 +02:00
Marius Bakke ee82f80df3
gnu: gphoto2: Update to 2.5.23.
* gnu/packages/photo.scm (gphoto2): Update to 2.5.23.
2019-06-03 22:28:49 +02:00
Marius Bakke c84366916f
gnu: libgphoto2: Update to 2.5.23.
* gnu/packages/photo.scm (libgphoto2): Update to 2.5.23.
2019-06-03 22:28:48 +02:00
Marius Bakke 2f92678c70
gnu: re2: Update to 2019-06-01.
* gnu/packages/regex.scm (re2): Update to 2019-06-01.
2019-06-03 22:28:48 +02:00
Marius Bakke 106deba71e
gnu: xorg-server: Update to 1.20.5.
* gnu/packages/xorg.scm (xorg-server): Update to 1.20.5.
(xorg-server-for-tests): Stay on 1.20.4.
2019-06-03 22:28:48 +02:00
Marius Bakke 618c7d6682
gnu: python-cryptography: Update to 2.7.
* gnu/packages/python-crypto.scm (python-cryptography-vectors,
python-cryptography): Update to 2.7.
2019-06-03 22:28:48 +02:00
Marius Bakke 0abafc468c
gnu: GnuPG: Update to 2.2.16.
* gnu/packages/gnupg.scm (gnupg): Update to 2.2.16.
2019-06-03 22:28:48 +02:00
Marius Bakke 3c75c66cf3
gnu: libsodium: Update to 1.0.18.
* gnu/packages/crypto.scm (libsodium): Update to 1.0.18.
2019-06-03 22:28:48 +02:00
Marius Bakke d3e3a6adcd
gnu: Remove libevent@2.0.
* gnu/packages/patches/libevent-2.0-CVE-2016-10195.patch,
gnu/packages/patches/libevent-2.0-CVE-2016-10196.patch,
gnu/packages/patches/libevent-2.0-CVE-2016-10197.patch,
gnu/packages/patches/libevent-2.0-evbuffer-add-use-last-with-datap.patch,
gnu/packages/patches/libevent-dns-tests.patch: Delete files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/libevent.scm (libevevent-2.0): Remove variable.
2019-06-03 22:28:48 +02:00
Marius Bakke 1f889a5902
gnu: libevent: Update home page.
* gnu/packages/libevent.scm (libevent)[home-page]: Use HTTPS.
2019-06-03 22:28:48 +02:00
Robert Vollmert 5b315f3ea9
guix: import: simplify recursive import
This simplifies the logic of recursive-import, intending no
major functional changes. The package import function is no
longer called twice per package. Failed imports now make it
to the package stream as '() instead of #f.

* guix/import/utils.scm (recursive-import): Simplify.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
2019-06-03 22:52:10 +03:00
Danny Milosavljevic aa901521e4
linux-boot: Fix e2fsck warning.
* gnu/build/linux-boot.scm (boot-system): Fix e2fsck warning.
2019-06-03 18:08:56 +02:00
Ludovic Courtès 3092f1b835
gnu: guix: Update to 4a54ed7.
* gnu/packages/package-management.scm (guix): Update to 4a54ed7.
2019-06-02 23:30:40 +02:00
Leo Famulari 78d1497dcc
gnu: WireGuard: Update to 0.0.20190601.
* gnu/packages/vpn.scm (wireguard): Update to 0.0.20190601.
2019-06-02 16:33:39 -04:00
Mathieu Lirzin 4a54ed7749
gnu: emacs-google-translate: Update to 0.11.17.
* gnu/packages/emacs-xyz.scm (emacs-google-translate): Update to 0.11.17.
[source]: Use 'git-fetch' method instead of 'url-fetch'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:19:19 +02:00
Robert Vollmert 959c9d159d
import: hackage: Parse braced properties.
This adds partial support for Cabal properties that use curly
braces instead of the layout rule.  See for example
https://hackage.haskell.org/package/cassava/

* guix/import/cabal.scm (read-braced-value): New procedure.
(is-property): Remove.
(is-layout-property, is-braced-property): New variables.
(lex-property): Rename to...
(lex-layout-property): ... this.
(lex-braced-property, lex-property): New procedures.
(lex-token): Add call to 'lex-property'.
* guix/tests/hackage.scm: Test braced description import.
* tests/hackage.scm (test-cabal-multiline-desc): Rename to...
(test-cabal-multiline-layout): ... this.
("hackage->guix-package test multiline desc"): Rename to...
("hackage->guix-package test multiline desc (layout)"): ... this.
(test-cabal-multiline-braced): New variable.
("hackage->guix-package test multiline desc (braced)"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:16:05 +02:00
Robert Vollmert 64d3181357
tests: hackage: Test multiline cabal description.
* tests/hackage.scm (test-cabal-multiline-desc): New variable.
("hackage->guix-package test multiline desc"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:12:19 +02:00
Robert Vollmert ea35f5c599
tests: Fix hackage tests.
This is a followup to 1cc12357a6.

* tests/hackage.scm: ghc-mtl is no longer added as an input.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2019-06-02 22:07:53 +02:00
Ludovic Courtès b90ae065b5
substitute: Select the best compression methods.
When a server publishes several URLs with different compression methods,
'guix substitute' can now choose the best one among the compression
methods that it supports.

* guix/scripts/substitute.scm (<narinfo>)[uri]: Replace with...
[uris]: ... this.
[compression]: Replace with...
[compressions]: ... this.
[file-size]: Replace with...
[file-sizes]: ... this.
[file-hash]: Replace with...
[file-hashes]: ... this.
(narinfo-maker): Adjust accordingly.  Ensure 'file-sizes' and
'file-hashes' have the right length.
(assert-valid-signature, valid-narinfo?): Use the first element of
'narinfo-uris' in error messages.
(read-narinfo): Expect "URL", "Compression", "FileSize", and "FileHash"
to occur multiple times.
(display-narinfo-data): Call 'select-uri' to determine the file size.
(%compression-methods): New variable.
(supported-compression?, compresses-better?, select-uri): New
procedures.
(process-substitution): Call 'select-uri' to select the URI and
compression.
* guix/scripts/weather.scm (report-server-coverage): Account for all the
values returned by 'narinfo-file-sizes'.
* tests/substitute.scm ("substitute, narinfo with several URLs"): New
test.
2019-06-02 22:01:57 +02:00
Ludovic Courtès b8fa86adfc
publish: '--compression' can be repeated.
This allows 'guix publish' to compress and advertise multiple
compression methods from which users can choose.

* guix/scripts/publish.scm (actual-compression): Rename to...
(actual-compressions): ... this.  Expect REQUESTED to be a list, and
always return a list.
(%default-options): Remove 'compression.
(store-item->recutils): New procedure.
(narinfo-string): Change #:compression to #:compressions (plural).
Adjust accordingly.
(render-narinfo, render-narinfo/cached): Likewise.
(bake-narinfo+nar): Change #:compression to #:compressions.
[compressed-nar-size]: New procedure.
Call 'compress-nar' for each item returned by 'actual-compressions'.
Create a narinfo for each compression.
(effective-compression): New procedure.
(make-request-handler): Change #:compression to #:compressions.
Use 'effective-compression' to determine the applicable compression.
(guix-publish): Adjust handling of '--compression'.
Print a message for each compression that is enabled.
* tests/publish.scm ("/*.narinfo"): Adjust to new narinfo field
ordering.
("/*.narinfo with properly encoded '+' sign"): Likewise.
("/*.narinfo with lzip + gzip"): New test.
("with cache, lzip + gzip"): New test.
* doc/guix.texi (Invoking guix publish): Document it.
2019-06-02 22:01:57 +02:00