Commit graph

68274 commits

Author SHA1 Message Date
Ludovic Courtès
3504e39a5d
gnu: base, gcc: Removing trailing #t from snippets.
* gnu/packages/base.scm (libiconv)[source]: Remove trailing #t from
'snippet'.
* gnu/packages/gcc.scm (gcc-4.8)[source]: Likewise.
(gcc-4.9)[source]: Likewise.
(gcc-5)[source]: Likewise.
2020-11-25 00:02:30 +01:00
Ludovic Courtès
325d00e619
packages: Ignore return value of origin snippets.
* guix/packages.scm (patch-and-repack): Ignore return value of SNIPPET
and remove warning about non #t return value.
2020-11-25 00:02:30 +01:00
Ludovic Courtès
4cebe82fa6
build-system/texlive: Phases no longer return a Boolean.
* guix/build/texlive-build-system.scm (configure): Remove trailing #t.
(build): Use 'for-each' instead of 'every'.
(install): Remove trailing #t.
2020-11-25 00:02:30 +01:00
Ludovic Courtès
49eadd270c
build-system/minify: Phases no longer return a Boolean.
* guix/build/minify-build-system.scm (minify): Use 'for-each' instead of
'every'.  Call 'close-pipe' and call error when it returns non-zero.
(build): Use 'for-each' instead of 'every'.
(install): Remove trailing #t.
2020-11-25 00:02:30 +01:00
Ludovic Courtès
112982526f
gnu: base, commencement: Remove trailing #t from build phases.
* gnu/packages/base.scm (grep, tar, findutils)
(coreutils, coreutils-8.30, gnu-make, gnu-make-4.2)
(binutils-gold, glibc, make-glibc-locales):
(glibc/hurd-headers, tzdata): Remove trailing #t in build phases.
* gnu/packages/commencement.scm (bootar)
(gash-boot, gash-utils-boot, mes-boot):
(gzip-mesboot, gnu-make-mesboot0, bzip2-mesboot)
(bash-mesboot0, tcc-boot, diffutils-mesboot)
(patch-mesboot, sed-mesboot0, binutils-mesboot0)
(gcc-core-mesboot0, mesboot-headers, gawk-mesboot0)
(glibc-mesboot0, gcc-mesboot0, tar-mesboot)
(grep-mesboot, binutils-mesboot1, gnu-make-mesboot)
(gawk-mesboot, sed-mesboot, bash-mesboot)
(gcc-core-mesboot1, gcc-mesboot1, binutils-mesboot)
(glibc-headers-mesboot, glibc-mesboot, gcc-mesboot1-wrapper)
(gcc-mesboot, gnu-make-boot0, binutils-boot0)
(libstdc++-boot0, gcc-boot0, perl-boot0, python-boot0)
(glibc-final-with-bootstrap-bash)
(cross-gcc-wrapper, gettext-boot0, gcc-final): Remove trailing #t in
build phases.
2020-11-25 00:02:30 +01:00
Ludovic Courtès
04baa011e9
build-system/gnu: Ignore the result of phase procedures.
* guix/build/gnu-build-system.scm (set-SOURCE-DATE-EPOCH)
(set-paths, install-locale, unpack, bootstrap)
(patch-usr-bin-file, patch-source-shebangs)
(patch-generated-file-shebangs, check)
(patch-shebangs, strip, validate-runpath)
(validate-documentation-location, reset-gzip-timestamps)
(compress-documentation, delete-info-dir-file)
(patch-dot-desktop-files, install-license-files): Remove trailing #t.
(gnu-build): Use 'for-each' instead of 'every', ignore the result if
each phase procedure, and remove warning about non #t phase results.
2020-11-25 00:02:29 +01:00
Ludovic Courtès
03cb11400c
gnu: gsl: Build shared libraries only.
* gnu/packages/maths.scm (gsl)[arguments]: Add #:configure-flags.
2020-11-25 00:02:29 +01:00
Ludovic Courtès
4f6fbe7555
gnu: gsl: Demote conditional phase logic.
* gnu/packages/maths.scm (gsl)[arguments]: Move 'cond' within
'modify-phases'.
2020-11-25 00:02:29 +01:00
Maxim Cournoyer
cf495c934e
build-system/python: Set PYTHONDONTWRITEBYTECODE.
* guix/build/python-build-system.scm (enable-bytecode-determinism): Set
PYTHONDONTWRITEBYTECODE.
2020-11-20 09:12:32 -05:00
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