Commit graph

80558 commits

Author SHA1 Message Date
Marius Bakke
4796b5d6d1
gnu: GCC: Switch to GCC 10.
* gnu/packages/patches/gcc-cross-gxx-include-dir.patch: New file.
* gnu/packages/patches/gcc-10-cross-environment-variables.patch: New file.
* gnu/packages/gcc.scm (gcc): Point to GCC-10.
(gcc-objc): Point to GCC-OBJC-10.
(gcc-objc++): Point to GCC-OBJC++-10.
* gnu/packages/cross-base.scm (cross-gcc)[source](patches): Apply the new
patches.
2021-06-13 01:00:46 +02:00
Marius Bakke
1dec7fa83d
gnu: curl: Absorb replacement.
* gnu/packages/patches/curl-7.76-use-ssl-cert-env.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/curl.scm (curl): Update to 7.77.0.
[replacement]: Remove.
(source)[patches]: Adjust for new patch.
2021-06-13 01:00:46 +02:00
Marius Bakke
a0286041d9
gnu: expat: Remove replacement.
* gnu/packages/xml.scm (expat): Update to 2.4.1.
[replacement]: Remove.
(expat-2.4.1): Remove variable.
2021-06-13 01:00:46 +02:00
Marius Bakke
276626ce8b
gnu: libx11: Update to 1.7.1.
* gnu/packages/xorg.scm (libx11): Update to 1.7.1.
[replacement]: Remove.
(libx11/fixed): Remove variable.
2021-06-13 01:00:46 +02:00
Marius Bakke
b54bfa4ec4
gnu: postgresql: Remove replacement.
* gnu/packages/databases.scm (postgresql-13): Update to 13.3.
[replacement]: Remove.
(postgresql-13.3): Remove variable.
2021-06-13 01:00:46 +02:00
Marius Bakke
6a7a7c9d8f
gnu: OpenSSL: Remove replacement.
* gnu/packages/tls.scm (openssl): Update to 1.1.1k.
[replacement]: Remove.
(openssl-1.1.1k): Remove variable.
2021-06-13 01:00:46 +02:00
Brice Waegeneire
8ceff70007
gnu: pcsc-lite: Update to 1.9.1.
* gnu/packages/security-token.scm (pcsc-lite): Update to 1.9.1.
2021-06-12 23:29:53 +02:00
Carl Dong
6ba1058df0
gnu: coreutils: Disable inotify-dir-recreate test
This test fails on filesystems where tail detects that it cannot use
inotify safely. See https://issues.guix.gnu.org/47935 for more details.

* gnu/packages/base.scm (coreutils)[phases]: Disable
  inotify-dir-recreate tests, quote Hurd substitute* call to reduce
  rebuilds.
2021-06-11 16:37:52 -04:00
Julien Lepiller
e4aa346d57
gnu: python: Move idle to a separate output.
idle is a programming environment that is not useful for building
packages, but it is still useful for end users. This saves 5MB in the
default output.

* gnu/packages/python.scm (python-2.7)[outputs]: Add `idle'.
[arguments]: Move idle files in the new output.
(wrap-python): Do not wrap idle since it is in a different output.
2021-06-11 02:39:54 +02:00
Julien Lepiller
8ce96d8447
gnu: python: Do not install static libraries.
This is something Fedora already does since 2010, so it should be safe,
and saves a lot of space.

* gnu/packages/patches/python-2.7-no-static-lib.patch: New file.
* gnu/packages/patches/python-3-no-static-lib.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/python.scm (python-2.7, python-3): Use them.
2021-06-11 02:39:32 +02:00
Julien Lepiller
99d450b085
gnu: python: Enable optimizations.
As a result, python execution time of scripts is decreased by 6 to 40%.

gnu/packages/python (python-2.7)[arguments]: Add configure and make flags to
optimize the resulting python.
2021-06-11 02:39:29 +02:00
Julien Lepiller
20d52562e5
gnu: python: Remove unnecessary files.
* gnu/packages/python.scm (python2)[arguments]: Remove files built
during the test phase.
(python3)[arguments]: Also remove windows binaries shipped with the
sources.
2021-06-11 02:39:10 +02:00
Efraim Flashner
eda6a95d9d
gnu: nettle: Update to 3.7.3.
* gnu/packages/nettle.scm (nettle): Update to 3.7.3.
2021-06-09 15:35:16 +03:00
Marius Bakke
8d59c262ad
Merge branch 'master' into core-updates
Conflicts:
	gnu/local.mk
	gnu/packages/algebra.scm
	gnu/packages/bioinformatics.scm
	gnu/packages/curl.scm
	gnu/packages/docbook.scm
	gnu/packages/emacs-xyz.scm
	gnu/packages/maths.scm
	gnu/packages/plotutils.scm
	gnu/packages/python-web.scm
	gnu/packages/python-xyz.scm
	gnu/packages/radio.scm
	gnu/packages/readline.scm
	gnu/packages/tls.scm
	gnu/packages/xml.scm
	gnu/packages/xorg.scm
2021-06-06 21:16:32 +02:00
Marius Bakke
e7f0835b07
gnu: nss: Use (guix utils).
* gnu/packages/nss.scm (nss)[arguments]: Utilize CC-FOR-TARGET and
TARGET-64bit?.
2021-06-06 19:49:57 +02:00
Marius Bakke
79878c64b4
gnu: nss: Update to 3.66.
* gnu/packages/nss.scm (nss): Update to 3.66.  Reindent.
[arguments]: Remove #:parallel-build?.
* gnu/packages/patches/nss-getcwd-nonnull.patch: Adjust for directory change.
* gnu/packages/patches/nss-3.56-pkgconfig.patch,
gnu/packages/patches/nss-increase-test-timeout.patch: Revert to
6223566971.
* gnu/packages/certs.scm (nss-certs)[arguments]: Adjust for directory change.
2021-06-06 19:49:57 +02:00
Marius Bakke
d25873fa9d
gnu: nspr: Update to 4.31.
* gnu/packages/nss.scm (nspr): Update to 4.31.
2021-06-06 19:49:57 +02:00
Marius Bakke
1eee406b07
gnu: nss: Prepare for GCC 10.
* gnu/packages/patches/nss-getcwd-nonnull.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/nss.scm (nss)[source](patches): Add it.
2021-06-06 19:49:56 +02:00
Marius Bakke
0788e62d3e
gnu: nss: Fix test failure.
* gnu/packages/sqlite.scm (sqlite-uri): New variable.
(sqlite)[source](uri): Use it.
(sqlite-3.33): New public variable.
2021-06-06 19:49:56 +02:00
Mathieu Othacehe
a068ed6a5f
scripts: substitute: Cache connection when looking for narinfos.
The process-substitution procedure is opening two distinct connections. The
first one when looking for narinfo by calling lookup-narinfo and the other one
when fetching nar files.

Cache the connection when looking for narinfos so that process-substitution
only opens one connection.

* guix/scripts/substitute.scm (lookup-narinfo): Cache connection by using
open-connection-for-uri/cached.
2021-06-06 18:54:29 +02:00
Maxime Devos
82b0e27de1
lint: tests-true: Check if tests are enabled when cross-compiling.
* guix/lint.scm (check-tests-true): New linter.
(%local-checkers)[tests-true]: Add it.
* tests/lint.scm ("tests-true: #:tests? must not be set to #t")
("tests-true: absent #:tests? is acceptable")
("tests-true: #:tests? #f is acceptable")
("tests-true: #:tests? #t acceptable when compiling natively"): Test it.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-06-06 18:49:12 +02:00
Solene Rapenne via Guix-patches via
e2ad110f4c
gnu: vlc: Update to 3.0.14.
* gnu/packages/video.scm (vlc): Update to 3.0.14.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-06-06 18:34:12 +02:00
Tobias Geerinckx-Rice
d00713d49e
gnu: git: Update to 2.32.0.
* gnu/packages/version-control.scm (git): Update to 2.32.0.
2021-06-06 18:34:12 +02:00
Denis 'GNUtoo' Carikli
3c401ca6df
gnu: Add matterbridge.
* gnu/packages/messaging.scm (matterbridge): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2021-06-06 18:29:36 +02:00
Hartmut Goebel
5d4bd2ee94
gnu: Add python-pytest-mp.
* gnu/packages/python-check.scm (python-pytest-mp): New variable.
2021-06-06 17:50:33 +02:00
Hartmut Goebel
d8fed768a8
gnu: Add python-asn1tools.
* gnu/packages/python-xyz.scm (python-asn1tools): New variable.
2021-06-06 17:50:33 +02:00
pukkamustard
52dc188e12
gnu: Add ocaml-ppx-cold.
* gnu/packages/ocaml.scm (ocaml-ppx-cold): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:17:22 +02:00
pukkamustard
7cf518ee85
gnu: Add ocaml-ppx-here.
* gnu/packages/ocaml.scm (ocaml-ppx-here): New variable.
  (ocaml4.07-ppx-here): Inherit from ocaml-ppx-here.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:58 +02:00
pukkamustard
c35fd0374d
gnu: Add ocaml-ppx-compare.
* gnu/packages/ocaml.scm (ocaml-ppx-compare): New variable.
  (ocaml4.07-ppx-compare): Inherit from ocaml-ppx-compare.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:56 +02:00
pukkamustard
5b61a1472b
gnu: Add ocaml-syntax-shims.
* gnu/packages/ocaml.scm (ocaml-syntax-shims): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:52 +02:00
pukkamustard
3649c56a5f
gnu: Add ocaml-ppx-let.
* gnu/packages/ocaml.scm (ocaml-ppx-let): New variable.
  (ocaml4.07-ppx-let): Inherit from ocaml-ppx-let.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:50 +02:00
pukkamustard
6f4f9c4d55
gnu: Add ocaml-bigstringaf.
* gnu/ocaml/packages.scm (ocaml-bigstringaf): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:48 +02:00
pukkamustard
c729d98610
gnu: Add ocaml-ppx-sexp-conv.
* gnu/packages/ocaml.scm (ocaml-ppx-sexp-conv): New variable.
  (ocaml4.07-ppx-sexp-conv): Inherit from ocaml-ppx-sexp-conv.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:45 +02:00
pukkamustard
ec31363e22
gnu: Add ocaml-uunf.
* gnu/packages/ocaml.scm (ocaml-uunf): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:43 +02:00
pukkamustard
59a39ec61b
gnu: Add ocaml-sedlex.
* gnu/packages/ocaml.scm (ocaml-sedlex): New variable.
  (ocaml4.07-sedlex): Inherit from ocaml-sedlex.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:41 +02:00
pukkamustard
262683250c
gnu: Add ocaml-ppxlib.
* gnu/packages/ocaml.scm (ocaml-ppxlib): New variable.
  (ocaml4.07-ppxlib): Inherit from ocaml-ppxlib.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:39 +02:00
pukkamustard
3c8899160b
gnu: ocaml-migrate-parsetree: Update to 2.1.0.
* gnu/packages/ocaml.scm (ocaml-migrate-parsetree): Update to 2.1.0.
  (ocaml-migrate-parsetree-1): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:37 +02:00
pukkamustard
cfa65d7770
gnu: Add ocaml-compiler-libs.
* gnu/packages/ocaml.scm (ocaml-compiler-libs): New variable.
  (ocaml4.07-compiler-libs): Inherit from ocaml-compiler-libs.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:35 +02:00
pukkamustard
8f5aa879de
gnu: Add ocaml-stdio.
* gnu/packages/ocaml.scm (ocaml-stdio): New variable.
  (ocaml4.07-stdio): Inherit from ocaml-stdio.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:33 +02:00
pukkamustard
4b6e1fba5a
gnu: Add ocaml-gen.
* gnu/packages/ocaml.scm (ocaml-gen): New variable.
  (ocaml4.07-gen): Remove variable.
  (ocaml4.07-sedlex): Replace ocaml4.07-gen with ocaml-gen.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:31 +02:00
pukkamustard
99ed037081
gnu: ocaml4.07-gen: Update to 0.5.3.
* gnu/packages/ocaml.scm (ocaml4.07-gen): Update to 4.07.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:29 +02:00
pukkamustard
b3bc7489c6
gnu: ocaml-lwt: Update to 5.4.0.
* gnu/packages/ocaml.scm (ocaml-lwt): Update to 5.4.0.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:27 +02:00
pukkamustard
0f5f8d48f8
gnu: ocaml-lwt: Make libev a propagated input.
* gnu/packages/ocaml.scm (ocaml-lwt) [propagated-inputs]: Add libev.
  [inputs]: Remove libev.
  (ocaml-ouint2, ocaml4.07-lambda-term, ocaml-markup) [inputs]: Remove libev.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:25 +02:00
pukkamustard
5a4acc5331
gnu: ocaml-ctypes: Make ocaml-integers a propagated input.
* gnu/packages/ocaml.scm (ocaml-ctypes)[propagated-inputs]: Add ocaml-integers.
  [inputs]: Remove ocaml-integers.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:22 +02:00
pukkamustard
0f62ea0774
gnu: ocaml-ctypes: Update to 0.18.0.
* gnu/packages/ocaml.scm (ocaml-ctypes): Update to 0.18.0.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:16:20 +02:00
pukkamustard
b477a9f42e
gnu: ocaml-integers: Update to 0.4.0.
* gnu/packages/ocaml.scm (ocaml-integers): Update to 0.4.0.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2021-06-06 17:15:58 +02:00
Matthew James Kraai
b2122b07dc
gnu: xf86-input-libinput: Update to 1.0.1.
* gnu/packages/xorg.scm (xf86-input-libinput): Update to 1.0.1.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-06-06 16:19:53 +02:00
Tobias Geerinckx-Rice
db6ff6da15
gnu: xf86-input-libinput: Fix licence information.
* gnu/packages/xorg.scm (xf86-input-libinput)[license]: This package is
almost exclusively expat, with a single x11 file that's not installed.
2021-06-06 16:19:52 +02:00
Matthew James Kraai
b6affc5c04
gnu: xterm: Update to 367.
* gnu/packages/xorg.scm (xterm): Update to 367.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-06-06 15:50:24 +02:00
Domagoj Stolfa
77056478a2
gnu: strongswan: Configure more sensible defaults.
* gnu/packages/networking.scm (strongswan)[arguments]<#:configure-flags>:
Enable aesni, attr-sql, chapoly, curl, dhcp, eap-aka, eap-aka-3gpp,
eap-dynamic, eap-identity, eap-md5, eap-mschapv2, eap-peap, eap-radius,
eap-sim, eap-sim-file, eap-simaka-pseudonym, eap-simaka-reauth,
eap-simaka-sql, eap-tls, eap-tnc, eap-ttls, ext-auth, farp, ha, led, md4,
mediation, openssl, soup, sql, sqlite, xauth-eap, xauth-noauth, and
xauth-pam support.
Disable ldap, mysql, and systemd support.
Use libcap by default.
[inputs]: Add libcap, libsoup, and linux-pam.
[native-inputs]: Add pkg-config.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
2021-06-06 15:35:47 +02:00