Commit graph

68265 commits

Author SHA1 Message Date
Ludovic Courtès
4078b9acff
gnu: dbus: Remove replacement.
* gnu/packages/glib.scm (dbus)[replacement]: Remove.
[source]: Add "dbus-CVE-2020-12049.patch".
(dbus/fixed): Remove.
2020-11-19 22:36:03 +01:00
Ludovic Courtès
55d095c653
utils: Add #:keep-permissions? parameter to 'copy-recursively'.
* guix/build/utils.scm (copy-recursively): Add #:keep-permissions? and
honor it.
* doc/guix.texi (Build Utilities): Adjust accordingly.
2020-11-19 22:36:03 +01:00
Ludovic Courtès
edbd8f3f7e
utils: Add #:copy-file parameter to 'copy-recursively'.
* guix/build/utils.scm (copy-recursively): Add #:copy-file and honor it.
* doc/guix.texi (Build Utilities): Adjust accordingly.
2020-11-19 22:36:03 +01:00
Ludovic Courtès
201cbcac3e
utils: 'copy-recursively' keeps directory mtime when #:keep-mtime? is true.
Fixes <https://bugs.gnu.org/44741>.

* guix/build/utils.scm (copy-recursively): Move 'set-file-time' call
from 'down' to 'up'.
2020-11-19 22:36:03 +01:00
Efraim Flashner
f6dbca83bf
gnu: cmake-minimal: Remove some documentation.
These files are still available in the user-facing cmake package.

* gnu/packages/cmake.scm (cmake-minimal)[arguments]: Add phase to remove
help documentation.
2020-11-19 18:47:25 +02:00
Efraim Flashner
8d16f302e6
gnu: cmake: Only build ccmake on user facing cmake.
* gnu/packages/cmake.scm (cmake-bootstrap)[inputs]: Remove ncurses.
(cmake)[inputs]: Add ncurses.
2020-11-19 18:47:19 +02:00
Efraim Flashner
bf8f33c31f
gnu: libxml2: Move documentation to its own output.
This saves about 75% of the space in the "out" output.

* gnu/packages/xml.scm (libxml2)[outputs]: Add doc.
[arguments]: Rename the 'move-static-libs phase to 'use-other-outputs
and adjust to move documentation to "doc" output.
2020-11-19 18:08:10 +02:00
Efraim Flashner
6a81a9df17
gnu: nettle: UPdate to 3.6.
* gnu/packages/nettle.scm (nettle): Update to 3.6.
2020-11-18 15:24:08 +02:00
Efraim Flashner
d545c0cf32
gnu: bison: Update to 3.7.4.
* gnu/packages/bison.scm (bison): Update to 3.7.4.
2020-11-18 15:22:51 +02:00
Miguel Ángel Arruga Vivas
0f989d3fb6
gnu: libgcrypt: Update to 1.8.7.
* gnu/packages/gnupg.scm (libgcrypt): Update to 1.8.7.
2020-11-18 09:21:50 +01:00
Miguel Ángel Arruga Vivas
2c0d072359
gnu: libgpg-error: Update to 1.39.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.39.
2020-11-18 09:21:38 +01:00
Martin Becze
b32d6258d8
gnu: Add solidity.
* gnu/packages/solidity.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add solidity.scm.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-11-18 08:10:48 +00:00
Martin Becze
62671027fb
gnu: z3: Update to 4.8.9.
* gnu/packages/maths.scm (z3): Update to 4.8.9.

(cherry picked from commit dc2de508a3)

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-11-17 21:39:12 +00:00
Martin Becze
6925c7ec26
gnu: jsoncpp: Update to 1.9.4
* gnu/packages/serialization.scm (jsoncpp): Update to 1.9.4.
* gnu/packages/patches/jsoncpp-fix-inverted-case.patch: Removed old patch.
* gnu/local.mk (dist_patch_DATA): Remove old patch.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-11-17 21:38:42 +00:00
Christopher Baines
8a59448770
gnu: gnutls: Make p11-kit a propagated input.
Because p11-kit appears in the gnutls.pc file, it needs to be a propagated
input.

This was a regression introduced in 28a13226fd
which broke things like HTTPS support in curl, which then broke Git clones
from repositories using HTTPS.

* gnu/packages/tls.scm (gnutls)[inputs]: Move p11-kit from here.
[propagated-inputs]: To here.
2020-11-17 21:38:06 +00:00
Ludovic Courtès
6877e7f97a
gnu: grep: Update to 3.6.
* gnu/packages/base.scm (grep): Update to 3.6.
2020-11-17 15:28:58 +01:00
Ludovic Courtès
c04d146bea
gnu: gmp: Update to 6.2.1.
* gnu/packages/multiprecision.scm (gmp): Update to 6.2.1.
2020-11-17 15:28:38 +01:00
Ludovic Courtès
55fb5e5d21
utils: 'wrap-script' doesn't pass a non-literal string to 'format'.
Reported by Vagrant Cascadian <vagrant@debian.org>
in <https://bugs.gnu.org/44626>.

* guix/build/utils.scm (wrap-script): Use 'display' instead of passing a
non-literal string to 'format'.
2020-11-17 09:44:56 +01:00
Miguel Ángel Arruga Vivas
8d263ff254
gnu: libtool: Restore shebangs on all libtoolize files.
Fixes <https://bugs.gnu.org/25304>.

* gnu/packages/autotools.scm (libtool)[restore-build-aux-shebang]: New
phase after install.
[restore-ltmain-shebang]: Remove phase, it is now performed by the phase
restore-build-aux-shebang.
2020-11-16 13:44:29 +01:00
Ludovic Courtès
dbb4c665e4
gnu: fontutils: Remove PDF files from the "doc" output.
* gnu/packages/fontutils.scm (fontconfig)[arguments]: Add
'remove-pdf-files' phase.
2020-11-08 23:06:27 +01:00
Ludovic Courtès
d6517ddb8e
gnu: fontconfig: Add "doc" output.
* gnu/packages/fontutils.scm (fontconfig)[outputs]: New field.
[arguments]: Add 'move-man-sections'.
2020-11-08 23:06:27 +01:00
Ludovic Courtès
4b797193d7
gnu: libxi: Add "doc" output.
* gnu/packages/xorg.scm (libxi)[outputs]: New field.
[arguments]: Pass "--mandir".
2020-11-08 23:06:27 +01:00
Ludovic Courtès
49a09ea9e5
gnu: libxext: Add "doc" output.
* gnu/packages/xorg.scm (libxext)[outputs]: New field.
[arguments]: Pass "--mandir".
2020-11-08 23:06:26 +01:00
Ludovic Courtès
70d310d5ad
gnu: libxcb: Add "doc" output.
* gnu/packages/xorg.scm (libxcb)[outputs]: New field.
[arguments]: Pass "--mandir".
2020-11-08 23:06:26 +01:00
Maxim Cournoyer
f3d9892011
gnu: glib: Add a debug output.
* gnu/packages/glib.scm (glib)[outputs]: Add "debug".
2020-11-06 15:45:06 -05:00
Maxim Cournoyer
ca080b3efb
build-system/meson: Do not apply strip-runpath to the "debug" output.
Because the debug files are read-only, the strip-runpath procedure would throw
an exception when attempting to open them.

* guix/build/meson-build-system.scm (shrink-runpath): Remove "debug" from the
list of outputs to be processed.
2020-11-06 15:44:56 -05:00
Ludovic Courtès
4b0e0578a7
gnu: sqlite: Build with '-g'.
* gnu/packages/sqlite.scm (sqlite)[arguments]: Add "-g" to CFLAGS.
2020-11-03 22:15:17 +01:00
Jan (janneke) Nieuwenhuizen
677ce39831
gnu: python: Add missing patch.
This is a follow-up to commit 5319f716cf.

Reported by efraim via IRC.

* gnu/packages/patches/python-3-hurd-configure.patch: New file.
2020-10-26 18:04:25 +01:00
Jan (janneke) Nieuwenhuizen
5319f716cf
gnu: python: Move Hurd-specific configure fix into a patch.
* gnu/packages/patches/python-3-configure-hurd.patch: this New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/python.scm (python-3.8)[source]: Use it.
[arguments]: Remove "support-hurd-cross-compile" stage.
2020-10-26 15:39:40 +01:00
Jan (janneke) Nieuwenhuizen
b2dc7cb8f9
gnu: sqlite: Move Hurd-specific patch into source.
* gnu/packages/sqlite.scm (sqlite)[native-inputs]: Move conditional
"sqlite-hurd.patch" to...
[source]: ...here.
[arguments]: Remove "patch-sqlite/hurd" stage.
2020-10-26 15:39:26 +01:00
Jan (janneke) Nieuwenhuizen
061ffcf2ad
gnu: boost: Move conditional configure fix for the Hurd inline.
* gnu/packages/boost.scm (boost)[arguments]: Inline configure substitution for
the Hurd.
2020-10-26 14:23:10 +01:00
Jan (janneke) Nieuwenhuizen
f602f3041e
gnu: sudo: Undo "groff" dependency removal for the Hurd.
* gnu/packages/admin.scm (sudo)[native-inputs]: Undo "groff" dependency
removal for the Hurd.
2020-10-26 14:22:46 +01:00
Jan (janneke) Nieuwenhuizen
6690b6d1e7
gnu: glibc: Move patches for the Hurd from cross-libc.
* gnu/packages/cross-base.scm (cross-libc)[arguments]: Remove "patch-libc/hurd"
stage.
[native-inputs]: Move hurd patches to...
* gnu/packages/base.scm (glibc)[source]: ...here.
2020-10-26 13:41:25 +01:00
Simon South
6f95911ad1
gnu: python-six: Update to 1.15.0.
* gnu/packages/python-xyz.scm (python-six): Update to 1.15.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2020-10-23 20:45:24 +01:00
Andreas Enge
1cbee05685
gnu: mpc: Update to 1.2.1.
* gnu/packages/multiprecision.scm (mpc): Update to 1.2.1.
2020-10-23 13:42:04 +02:00
Michael Rohleder
c773ce09d7
gnu: inetutils: Let telnetd and rlogind find login.
Without the shadow input, configure doesn't find login and sets PATH_LOGIN to a
(wrong) default value, which means that rlogind and telnetd doesn't work.

* gnu/packages/admin.scm (inetutils): Let telnetd and rlogind find login.
[inputs]: Add shadow.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2020-10-22 16:28:45 +02:00
Christopher Baines
1c2889b1ce
gnu: libcacard: Enable tests.
gnutls is now built with p11-kit support.

* gnu/packages/spice.scm (libcacard)[arguments]: Don't disable the tests.
2020-10-21 18:22:27 +01:00
Christopher Baines
28a13226fd
gnu: gnutls: Enable p11-kit.
Everywhere except mips64el, where a comment says it doesn't work. I can't test
as I can't build this on mips64el anyway.

This change will enable running the tests for libcacard.

* gnu/packages/tls.scm (gnutls)[arguments]: Only specify --without-p11-kit on
mips64el.
[inputs]: Include the p11-kit for all systems except mips64el.
2020-10-21 18:22:12 +01:00
Maxim Cournoyer
6731fc6ab8
gnu: python-2.7: Byte compile files with a single optimization level.
* gnu/packages/python.scm (python-2.7)[phases]{rebuild-bytecode}: Byte compile
using optimization level, -OO.  Provide the output directory as the source
argument to 'compileall', instead of looping over each individual source file.
2020-10-20 21:36:43 -04:00
Maxim Cournoyer
4e0b3d7f9f
gnu: python-2.7: Update to 2.7.18.
* gnu/packages/python.scm (python-2.7): Update to 2.7.18.
2020-10-20 21:36:35 -04:00
Maxim Cournoyer
fbb74c82e1
gnu: python-2.7: Fix indentation.
* gnu/packages/python.scm (python-2.7): Fix indentation.
2020-10-20 21:36:27 -04:00
Maxim Cournoyer
dd4a4603be
build-system/python: Revert changing of phase order.
Commit c94a2864d4 moved the 'check' phase back into its original place before
the 'install' phase, but such a change would require adapting the definition
of many Python packages which have come to rely on such phase ordering.

* guix/build/python-build-system.scm (%standard-phases): Move the check phase
back after the install phase, and update comment.
2020-10-20 21:11:12 -04:00
Maxim Cournoyer
82d1e90aaa
gnu: python-xmlschema: Update to 1.2.5.
* gnu/packages/xml.scm (python-xmlschema): Update to 1.2.5.
[phases]{check}: Skip the failing test 'test_export_remote__issue_187'.
2020-10-19 16:20:35 -04:00
Maxim Cournoyer
b865a21c34
gnu: python-elementpath: Update to 2.0.3.
* gnu/packages/xml.scm (python-elementpath): Update to 2.0.3.
[arguments]: Add field; disable the tests.
2020-10-19 16:05:21 -04:00
Maxim Cournoyer
d0bff5dd6d
gnu: icedove: Refer to the correct node variable.
* gnu/packages/gnuzilla.scm (icedove)[native-inputs]: Refer to the node rather
than node-10.22, as the later no longer exists.
2020-10-19 15:41:49 -04:00
Maxim Cournoyer
7313a8aaa0
gnu: icecat: Refer to the correct node variable.
* gnu/packages/gnuzilla.scm (icecat)[native-inputs]: Refer to the node rather
than node-10.22, as the later no longer exists.
2020-10-19 15:41:36 -04:00
Maxim Cournoyer
4d739cc765
gnu: python-atomicwrites: Update to 1.4.0.
* gnu/packages/python-xyz.scm (python-atomicwrites): Update to 1.4.0.
2020-10-19 13:15:17 -04:00
Maxim Cournoyer
c94a2864d4
build-system/python: Do not embed timestamps in the .pyc byte code files.
Fixes <https://issues.guix.gnu.org/22129>.

A previously worked around problem where running the test suite after byte
compiling the sources in commit 6bbb37a545 could
be broken by adding built sources to the PYTHONPATH, as is done for
python-matplotlib and many others.  This seems to be caused by the timestamps
embedded in the sources (mtime), that can somehow change when running the
tests, or by picking up the different installed source files mtimes when their
location is added to the PYTHONPATH.

Since Python 3.7.0, it is possible to produce .pyc byte code files that do not
embed any timestamp, which solves the problem in a definitive way.  This patch
makes use of this new feature.

* guix/build/python-build-system.scm (install): Add '--no-compile' parameter
to setup.py, and instead invoke the 'compileall' module with the
"--invalidation-mode=unchecked-hash" option to byte compile the source files.
(%standard-phases): Revert the workaround that moved the check phase after the
install phase, as it is no longer necessary.  Update comment.

Reported-by: Mark H Weaver <mhw@netris.org>
2020-10-19 13:15:17 -04:00
Maxim Cournoyer
5e2140511c
Merge branch 'staging'
Conflicts:
	gnu/packages/admin.scm
	gnu/packages/commencement.scm
	gnu/packages/gdb.scm
	gnu/packages/llvm.scm
	gnu/packages/package-management.scm
	gnu/packages/tls.scm
2020-10-19 13:11:40 -04:00
Maxim Cournoyer
353bdae32f
gnu: python-asn1crypto: Fix indentation.
* gnu/packages/python-crypto.scm (python-asn1crypto): Fix indentation.
2020-10-19 10:53:27 -04:00