jackhill/guix/guix.git
4 years agognu: Add grub-minimal.
Jan Nieuwenhuizen [Sun, 8 Mar 2020 20:17:03 +0000 (21:17 +0100)]
gnu: Add grub-minimal.

* gnu/packages/bootloaders.scm (grub-minimal): New variable.

4 years agognu: nghttp2: Remove jemalloc dependency for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 08:36:51 +0000 (03:36 -0500)]
gnu: nghttp2: Remove jemalloc dependency for the Hurd.

* gnu/packages/web.scm (nghttp2)[inputs]: Remove jemalloc for the Hurd.

4 years agognu: gnutls: Remove net-tools for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 22:53:32 +0000 (17:53 -0500)]
gnu: gnutls: Remove net-tools for the Hurd.

* gnu/packages/tls.scm (gnutls)[inputs]: Remove net-tools for the
Hurd.

4 years agognu: isc-dhcp: Support for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 16:51:39 +0000 (11:51 -0500)]
gnu: isc-dhcp: Support for the Hurd.

* gnu/packages/admin.scm (isc-dhcp)[inputs]: Remove net-tools,
iproute on the Hurd.

4 years agognu: coreutils: Handle failing tests on Hurd.
Jan Nieuwenhuizen [Thu, 5 Mar 2020 19:25:08 +0000 (14:25 -0500)]
gnu: coreutils: Handle failing tests on Hurd.

* gnu/base/coreutils.scm (coreutils)[arguments]: Use make-flags to mark some
tests XFAIL_TESTS on the Hurd.

4 years agognu: guile: Disable failing tests on the Hurd.
Jan Nieuwenhuizen [Thu, 12 Mar 2020 15:59:25 +0000 (16:59 +0100)]
gnu: guile: Disable failing tests on the Hurd.

* gnu/packages/guile.scm (guile-2.0)[arguments]: Remove failing/hanging tests
on the Hurd.

4 years agognu: qtbase: Patch the 'moc' executable to cope with GCCs C++ headers.
Marius Bakke [Sun, 29 Mar 2020 09:35:04 +0000 (11:35 +0200)]
gnu: qtbase: Patch the 'moc' executable to cope with GCCs C++ headers.

* gnu/packages/patches/qtbase-moc-ignore-gcc-macro.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/qt.scm (qtbase)[source](patches): Add it.

4 years agognu: coreutils-mesboot: Make variable private.
Marius Bakke [Sat, 28 Mar 2020 21:17:08 +0000 (22:17 +0100)]
gnu: coreutils-mesboot: Make variable private.

This fixes a test failure in tests/graph.scm because the package does not use
glibc, yet is part of the public packages.

* gnu/packages/commencement.scm (coreutils-mesboot): Use DEFINE instead of
DEFINE-PUBLIC.

4 years agognu: Adjust 'package-for-guile-2.0' for the Guile 3 switch.
Marius Bakke [Sat, 28 Mar 2020 21:06:35 +0000 (22:06 +0100)]
gnu: Adjust 'package-for-guile-2.0' for the Guile 3 switch.

* gnu/packages/guile.scm (package-for-guile-2.0): Rewrite GUILE-3.0 instead of
GUILE-2.2.

4 years agognu: Export the deprecated 'libjpeg' variable.
Marius Bakke [Sat, 28 Mar 2020 20:57:52 +0000 (21:57 +0100)]
gnu: Export the deprecated 'libjpeg' variable.

* gnu/packages/image.scm (libjpeg): Export.

4 years agognu: OpenJDK: Build with GNU Make 4.2.
Marius Bakke [Sat, 28 Mar 2020 19:57:27 +0000 (20:57 +0100)]
gnu: OpenJDK: Build with GNU Make 4.2.

* gnu/packages/base.scm (gnu-make-4.2): New public variable.
* gnu/packages/java.scm (openjdk9, openjdk10, openjdk11,
openjdk12)[native-inputs]: Add it.

4 years agognu: gcc-static: Make sure #:modules is not overridden by the inherited GCC.
Marius Bakke [Sat, 28 Mar 2020 19:55:03 +0000 (20:55 +0100)]
gnu: gcc-static: Make sure #:modules is not overridden by the inherited GCC.

This fixes a regression introduced by 56c833ea287f8f6d3c72f8bddc314960c0164d64
and 25bc0f34c6c059394f546f29a203c2cb9b7cdcf6 where #:modules became ineffective.

* gnu/packages/make-bootstrap.scm (%gcc-static)[arguments]: Prepend the
required modules to those inherited from GCC-5.  While at it, do not splice in
the inherited arguments.

4 years agognu: guile-static: Provide a libgc variant with statically built libraries.
Marius Bakke [Sat, 28 Mar 2020 07:59:35 +0000 (08:59 +0100)]
gnu: guile-static: Provide a libgc variant with statically built libraries.

* gnu/packages/bdw-gc.scm (libgc/static-libs): New public variable.
* gnu/packages/make-bootstrap.scm (%guile-static)[propagated-inputs]: Change
from LIBGC to LIBGC/STATIC-LIBS.

4 years agognu: bdw-gc: Fix cross-compilation.
Marius Bakke [Sat, 28 Mar 2020 07:57:29 +0000 (08:57 +0100)]
gnu: bdw-gc: Fix cross-compilation.

* gnu/packages/bdw-gc.scm (libgc)[propagated-inputs]: When cross-compiling,
add LIBATOMIC-OPS.

4 years agognu: mercurial: Fix test failures with Python 3.8.2.
Marius Bakke [Fri, 27 Mar 2020 23:08:10 +0000 (00:08 +0100)]
gnu: mercurial: Fix test failures with Python 3.8.2.

* gnu/packages/version-control.scm (mercurial-patch, %mercurial-patches): New
variables.
(mercurial)[source](patches): Add %MERCURIAL-PATCHES.

4 years agognu: libgc: Promote libgc@8 to the default libgc.
Marius Bakke [Fri, 27 Mar 2020 18:35:54 +0000 (19:35 +0100)]
gnu: libgc: Promote libgc@8 to the default libgc.

* gnu/packages/bdw-gc.scm (libgc): Update to 8.0.4.
[arguments]: Remove #:phases.
[inputs]: Remove LIBATOMIC-OPS.
(libgc-8.0): Remove variable.
(libgc-7): New variable.

4 years agognu: guile: Update to 3.0.2.
Marius Bakke [Fri, 27 Mar 2020 18:21:49 +0000 (19:21 +0100)]
gnu: guile: Update to 3.0.2.

* gnu/packages/guile.scm (guile-3.0): Update to 3.0.2.
[source](patches): Remove.
* gnu/packages/patches/guile-3.0-crash.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.

4 years agognu: ovmf: Adapt to CPLUS_INCLUDE_PATH changes.
Marius Bakke [Fri, 27 Mar 2020 18:01:41 +0000 (19:01 +0100)]
gnu: ovmf: Adapt to CPLUS_INCLUDE_PATH changes.

* gnu/packages/firmware.scm (ovmf)[native-inputs]: Distinguish GCC-5.
[arguments]: Add phase to hide the default GCC from CPLUS_INCLUDE_PATH.

4 years agognu: emacs: Fix format strings for compatibility with Guile 3.
Marius Bakke [Fri, 27 Mar 2020 14:24:02 +0000 (15:24 +0100)]
gnu: emacs: Fix format strings for compatibility with Guile 3.

* gnu/packages/emacs.scm (emacs)[arguments]: In the 'patch-program-file-names'
and 'install-site-start' phases, specify port in the calls to FORMAT.

4 years agognu: mscgen: Fix build with gd >= 2.3.0.
Marius Bakke [Fri, 27 Mar 2020 14:16:22 +0000 (15:16 +0100)]
gnu: mscgen: Fix build with gd >= 2.3.0.

'gd' no longer provides 'libgd-config', so use 'pkg-config' instead.

* gnu/packages/graph.scm (mscgen)[native-inputs]: Add PKG-CONFIG.

4 years agognu: icu4c: Incorporate grafted changes.
Marius Bakke [Thu, 26 Mar 2020 23:46:38 +0000 (00:46 +0100)]
gnu: icu4c: Incorporate grafted changes.

* gnu/packages/icu4c.scm (icu4c)[replacement]: Remove.
[source](patches, patch-flags): New fields.
(icu4c/fixed): Remove variable.

4 years agognu: help2man: Remove version 1.47.12.
Marius Bakke [Thu, 26 Mar 2020 23:21:35 +0000 (00:21 +0100)]
gnu: help2man: Remove version 1.47.12.

* gnu/packages/man.scm (help2man): Update to 1.47.13.
(help2man/latest): Remove variable.

4 years agognu: Automake: Remove version 1.16.1.
Marius Bakke [Thu, 26 Mar 2020 23:21:10 +0000 (00:21 +0100)]
gnu: Automake: Remove version 1.16.1.

* gnu/packages/autotools.scm (automake): Update to 1.16.2.
[arguments]: Add phase "skip-test".
(automake-1.16.2): Remove variable.

4 years agoMerge branch 'master' into core-updates
Marius Bakke [Thu, 26 Mar 2020 23:12:15 +0000 (00:12 +0100)]
Merge branch 'master' into core-updates

 Conflicts:
gnu/packages/icu4c.scm
gnu/packages/man.scm
gnu/packages/python-xyz.scm
guix/scripts/environment.scm
guix/scripts/pack.scm
guix/scripts/package.scm
guix/scripts/pull.scm
guix/store.scm

4 years agognu: OpenSSL: Add upstream patch to preserve compatibility in EOF handling.
Marius Bakke [Thu, 26 Mar 2020 22:09:15 +0000 (23:09 +0100)]
gnu: OpenSSL: Add upstream patch to preserve compatibility in EOF handling.

This is a follow-up to ad8254c23a86c3ca4ca32bc68fc8d76954aa80fd, which
unexpectedly caused a test failure in the Python test suite.

* gnu/packages/patches/openssl-1.1.1e-revert-detect-eof.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/tls.scm (openssl)[source](patches): Add it.

4 years agognu: xkbcomp: Update to 1.4.3.
Michael Rohleder [Tue, 24 Mar 2020 02:13:33 +0000 (03:13 +0100)]
gnu: xkbcomp: Update to 1.4.3.

* gnu/packages/xorg.scm (xkbcomp): update to 1.4.3.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
4 years agognu: ImageMagick: Build reproducibly.
Marius Bakke [Wed, 25 Mar 2020 17:21:20 +0000 (18:21 +0100)]
gnu: ImageMagick: Build reproducibly.

Fixes <https://bugs.gnu.org/38449>.

* gnu/packages/imagemagick.scm (imagemagick)[arguments]: In #:configure-flags,
add "--enable-reproducible-build".

(cherry picked from commit 87bc9f022cdd3487e85cf83cf82222315246abf9)

4 years agognu: libsigc++: Update to 2.10.3.
Marius Bakke [Thu, 26 Mar 2020 15:16:30 +0000 (16:16 +0100)]
gnu: libsigc++: Update to 2.10.3.

* gnu/packages/glib.scm (libsigc++): Update to 2.10.3.

4 years agognu: libgsf: Update to 1.14.47.
Marius Bakke [Thu, 26 Mar 2020 15:13:53 +0000 (16:13 +0100)]
gnu: libgsf: Update to 1.14.47.

* gnu/packages/gnome.scm (libgsf): Update to 1.14.47.

4 years agognu: potrace: Update to 1.16.
Marius Bakke [Thu, 26 Mar 2020 15:04:33 +0000 (16:04 +0100)]
gnu: potrace: Update to 1.16.

* gnu/packages/patches/potrace-tests.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/fontutils.scm (potrace): Update to 1.16.
[source](patches): Remove.

4 years agognu: python-fonttools: Update to 4.6.0.
Marius Bakke [Thu, 26 Mar 2020 15:00:07 +0000 (16:00 +0100)]
gnu: python-fonttools: Update to 4.6.0.

* gnu/packages/python-xyz.scm (python-fonttools): Update to 4.6.0.

4 years agognu: python-xmlschema: Update to 1.1.2.
Marius Bakke [Thu, 26 Mar 2020 14:48:09 +0000 (15:48 +0100)]
gnu: python-xmlschema: Update to 1.1.2.

* gnu/packages/xml.scm (python-xmlschema): Update to 1.1.2.

4 years agognu: libxcb: Update to 1.14.
Marius Bakke [Thu, 26 Mar 2020 14:23:22 +0000 (15:23 +0100)]
gnu: libxcb: Update to 1.14.

* gnu/packages/xorg.scm (libxcb): Update to 1.14.
[source](uri): Change to .xz tarball.

4 years agognu: xcb-proto: Update to 1.14.
Marius Bakke [Thu, 26 Mar 2020 14:22:40 +0000 (15:22 +0100)]
gnu: xcb-proto: Update to 1.14.

* gnu/packages/xorg.scm (xcb-proto): Update to 1.14.
[source](uri): Change to .xz tarball.

4 years agognu: gd: Update to 2.3.0.
Marius Bakke [Thu, 26 Mar 2020 13:24:43 +0000 (14:24 +0100)]
gnu: gd: Update to 2.3.0.

* gnu/packages/patches/gd-fix-tests-on-i686.patch: Adjust context.
* gnu/packages/patches/gd-CVE-2018-1000222.patch,
gnu/packages/patches/gd-CVE-2018-5711.patch,
gnu/packages/patches/gd-CVE-2019-6977.patch,
gnu/packages/patches/gd-CVE-2019-6978.patch,
gnu/packages/patches/gd-freetype-test-failure.patch: Delete files.
* gnu/packages/patches/gd-brect-bounds.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly
* gnu/packages/gd.scm (gd): Update to 2.3.0.
[source](patches): Remove obsolete.
* gnu/packages/gd.scm (gd):
[propagated-inputs]: Move LIBJPEG-TURBO and FONTCONFIG ...
[inputs]: ... here.

4 years agognu: bison: Update to 3.5.3.
Marius Bakke [Wed, 25 Mar 2020 21:02:53 +0000 (22:02 +0100)]
gnu: bison: Update to 3.5.3.

* gnu/packages/bison.scm (bison): Update to 3.5.3.

4 years agognu: perl: Update to 5.30.2.
Marius Bakke [Wed, 25 Mar 2020 21:00:58 +0000 (22:00 +0100)]
gnu: perl: Update to 5.30.2.

* gnu/packages/perl.scm (perl): Update to 5.30.2.

4 years agognu: GLib: Update to 2.62.6.
Marius Bakke [Wed, 25 Mar 2020 20:09:48 +0000 (21:09 +0100)]
gnu: GLib: Update to 2.62.6.

* gnu/packages/glib.scm (glib): Update to 2.62.6.

4 years agognu: ghostscript: Update to 9.52.
Marius Bakke [Wed, 25 Mar 2020 19:19:43 +0000 (20:19 +0100)]
gnu: ghostscript: Update to 9.52.

* gnu/packages/ghostscript.scm (ghostscript): Update to 9.52.
[arguments]: Remove obsolete phases.

4 years agognu: OpenSSL: Remove replacement package.
Marius Bakke [Thu, 26 Mar 2020 20:37:02 +0000 (21:37 +0100)]
gnu: OpenSSL: Remove replacement package.

* gnu/packages/tls.scm (openssl): Update to 1.1.1e.
[replacement]: Remove.
(openssl-1.1.1e): Remove variable.

4 years agognu: icu4c: Explicitly add patch flags in replacement package.
Marius Bakke [Thu, 26 Mar 2020 20:15:08 +0000 (21:15 +0100)]
gnu: icu4c: Explicitly add patch flags in replacement package.

This is to prevent a build failure when this gets merged to 'core-updates'
which does not have any patch-flags to inherit.

* gnu/packages/icu4c.scm (icu4c/fixed)[source](patch-flags): New field.

4 years agognu: help2man: Update to 1.47.13.
Marius Bakke [Thu, 26 Mar 2020 19:20:48 +0000 (20:20 +0100)]
gnu: help2man: Update to 1.47.13.

* gnu/packages/man.scm (help2man/latest): Update to 1.47.13.

4 years agognu: Add python-pywinrm.
Alexandros Theodotou [Wed, 8 Jan 2020 14:59:27 +0000 (14:59 +0000)]
gnu: Add python-pywinrm.

* gnu/packages/python-xyz.scm (python-pywinrm): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
4 years agognu: Add python-requests_ntlm.
Alexandros Theodotou [Wed, 8 Jan 2020 14:58:06 +0000 (14:58 +0000)]
gnu: Add python-requests_ntlm.

* gnu/packages/python-web.scm (python-requests_ntlm): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
4 years agognu: Add python-ntlm-auth.
Alexandros Theodotou [Wed, 8 Jan 2020 14:56:52 +0000 (14:56 +0000)]
gnu: Add python-ntlm-auth.

* gnu/packages/python-crypto.scm (python-ntlm-auth): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
4 years agognu: Add python-kerberos.
Alexandros Theodotou [Wed, 8 Jan 2020 14:55:28 +0000 (14:55 +0000)]
gnu: Add python-kerberos.

* gnu/packages/python-crypto.scm (python-kerberos): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
4 years agognu: Update sambamba to 0.7.1.
Roel Janssen [Thu, 26 Mar 2020 17:08:27 +0000 (18:08 +0100)]
gnu: Update sambamba to 0.7.1.

* gnu/packages/bioinformatics.scm (sambamba): Update to 0.7.1;
  Remove unneeded undead input.

4 years agognu: Add 7kaa.
Naga Malleswari [Thu, 26 Mar 2020 14:55:02 +0000 (15:55 +0100)]
gnu: Add 7kaa.

* gnu/packages/games.scm (7kaa): New variable.

4 years agognu: boinc-client: Update to 7.16.5.
Efraim Flashner [Thu, 26 Mar 2020 11:50:39 +0000 (13:50 +0200)]
gnu: boinc-client: Update to 7.16.5.

* gnu/packages/distributed.scm (boinc-client): Update to 7.16.5.

4 years agognu: boinc-server: Fix build.
Efraim Flashner [Thu, 26 Mar 2020 11:42:20 +0000 (13:42 +0200)]
gnu: boinc-server: Fix build.

* gnu/packages/distributed.scm (boinc-server)[inputs]: Replace openssl
with openssl-1.0, mariadb with mariadb:dev.

4 years agostatus: Display synthetic information about profiles being built.
Ludovic Courtès [Thu, 26 Mar 2020 11:26:41 +0000 (12:26 +0100)]
status: Display synthetic information about profiles being built.

* guix/status.scm (print-build-event): Add 'profile case.
* guix/scripts/package.scm (build-and-use-profile): Remove now redundant
message.

4 years agoprofiles: 'profile-derivation' sets a 'type' property.
Ludovic Courtès [Thu, 26 Mar 2020 11:25:37 +0000 (12:25 +0100)]
profiles: 'profile-derivation' sets a 'type' property.

* guix/profiles.scm (profile-derivation): Pass #:properties to
'gexp->derivation'.

4 years agognu: gnupg: Use ~/.guix-profile/bin/pinentry by default.
Ludovic Courtès [Thu, 26 Mar 2020 11:16:45 +0000 (12:16 +0100)]
gnu: gnupg: Use ~/.guix-profile/bin/pinentry by default.

Fixes <https://bugs.gnu.org/24076>.
Reported by Danny Milosavljevic <dannym@scratchpost.org>.

* gnu/packages/patches/gnupg-default-pinentry.patch: New file.
* gnu/packages/gnupg.scm (gnupg)[source]: Use it.
* gnu/local.mk (dist_patch_DATA): Add it.

4 years agollvm: Add support for the Hurd.
Jan Nieuwenhuizen [Sun, 22 Mar 2020 18:10:08 +0000 (19:10 +0100)]
llvm: Add support for the Hurd.

* gnu/packages/llvm.scm (system->llvm-target): Use X86 for i586 (i.e., the
Hurd).

4 years agognu: mit-krb5: Supprt for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 22:16:38 +0000 (17:16 -0500)]
gnu: mit-krb5: Supprt for the Hurd.

* gnu/packages/patches/mit-krb5-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/kerberos.scm (mit-krb5): Use it.

4 years agognu: shadow: Build fix for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 21:38:31 +0000 (16:38 -0500)]
gnu: shadow: Build fix for the Hurd.

* gnu/packages/patches/shadow-hurd-pctrl.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (shadow): Use it.

4 years agognu: screen: Build fix for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 16:30:44 +0000 (11:30 -0500)]
gnu: screen: Build fix for the Hurd.

* gnu/packages/patches/screen-hurd-path-max.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/screen.scm (screen): Use it.

4 years agognu: inetutils: Support for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 16:12:15 +0000 (11:12 -0500)]
gnu: inetutils: Support for the Hurd.

* gnu/packages/linux.scm (net-tools)[supported-systems]: Remove the Hurd.
* gnu/packages/patches/inetutils-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (inetutils): Use it.  Disable some features on the
Hurd.
[native-inputs]: Include net-tools only on supported systems

4 years agognu: shepherd: Build fix for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 15:11:48 +0000 (16:11 +0100)]
gnu: shepherd: Build fix for the Hurd.

* gnu/packages/patches/shepherd-hurd.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (shepherd): Use it.

4 years agognu: pciutils: Build fixes for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 09:05:02 +0000 (04:05 -0500)]
gnu: pciutils: Build fixes for the Hurd.

* gnu/packages/linux.scm (kmod)[supported-systems]: Remove the Hurd.
* gnu/packages/patches/pciutils-hurd-configure.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/pciutils.scm (pciutils): Use it.
[inputs]: Include kmod only for supported systems.

4 years agognu: shadow: Add linux-pam dependency for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 07:35:00 +0000 (02:35 -0500)]
gnu: shadow: Add linux-pam dependency for the Hurd.

* gnu/packages/admin.scm (shadow): Also include linux-pam dependency
for the Hurd.

4 years agognu: fontconfig: Build fix for the Hurd.
Jan Nieuwenhuizen [Mon, 9 Mar 2020 00:07:24 +0000 (20:07 -0400)]
gnu: fontconfig: Build fix for the Hurd.

* gnu/packages/patches/fontconfig-hurd-path-max.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/fontutils.scm (fontconfig): Use it.

4 years agognu: less: Build fix for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 13:55:35 +0000 (14:55 +0100)]
gnu: less: Build fix for the Hurd.

* gnu/packages/patches/less-hurd-path-max.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/less.scm (less): Use it.

4 years agodaemon: Avoid kill -1 bug on the Hurd.
Manolis Ragkousis [Wed, 28 Dec 2016 00:49:22 +0000 (02:49 +0200)]
daemon: Avoid kill -1 bug on the Hurd.

This allows for native builds on the Hurd, doing

    sudo ./pre-inst-env guix-daemon --disable-chroot --build-users-group=guixbuild &
    ./pre-inst-env guix build hello

* nix/libutil/util.cc (killUser)[__GNU__]: Avoid kill -1 bug; kill only
current process and ignore SIGKILL status in parent.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
4 years agodaemon: Do not use clone on the Hurd.
Manolis Ragkousis [Sun, 7 Aug 2016 14:48:30 +0000 (17:48 +0300)]
daemon: Do not use clone on the Hurd.

Checking for CLONE_NEWNS is only needed for using tha Linux specific clone(2),
otherwise we can use fork(2).  Using clone on the Hurd needs some work, only
support LINUX for now.  See
https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00190.html

* nix/libstore/build.cc (CHROOT_ENABLED): Break into CHROOT_ENABLED
and CLONE_ENABLED.
(DerivationGoal::startBuilder): Replace CHROOT_ENABLED with __linux__.
(DerivationGoal::runChild): Only define pivot_root() if SYS_pivot_root is
defined.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
4 years agognu: hurd: Update to hurd-headers version: 0.9-91a51672.
Jan Nieuwenhuizen [Sun, 8 Mar 2020 18:07:51 +0000 (14:07 -0400)]
gnu: hurd: Update to hurd-headers version: 0.9-91a51672.

* gnu/packages/patches/hurd-cross.patch: New file.
* gnu/packages/patches/hurd-fix-eth-multiplexer-dependency.patch: Remove
unused file.
* gnu/local.mk (dist_patch_DATA): Update admin.
* gnu/packages/hurd.scm (hurd): Update to latest git master: version and
source from hurd-headers; Add hurd-cross patch.

4 years agognu: commencement: glibc-final: Allow gnumach-headers references.
Jan Nieuwenhuizen [Tue, 3 Mar 2020 19:14:24 +0000 (20:14 +0100)]
gnu: commencement: glibc-final: Allow gnumach-headers references.

* gnu/packages/commencement.scm (glibc-final): Allow gnumach-headers-boot0
references for the Hurd.

4 years agognu: commencement: gnumach-headers-boot0: Update to 1.8-116-g28b53508.
Jan Nieuwenhuizen [Tue, 3 Mar 2020 05:37:14 +0000 (00:37 -0500)]
gnu: commencement: gnumach-headers-boot0: Update to 1.8-116-g28b53508.

* gnu/packages/commencement.scm (gnumach-headers-boot0): Update to
1.8-116-g28b53508.

4 years agognu: commencement: hurd-source: Update to latest git.
Jan Nieuwenhuizen [Tue, 3 Mar 2020 05:00:53 +0000 (00:00 -0500)]
gnu: commencement: hurd-source: Update to latest git.

* gnu/packages/commencement.scm (hurd-source-version): Update to
0.9-229-ga1efcee8.
(hurd-source-boot0): Update url to updated lilypond tarball.

4 years agognu: commencement: glibc-intermediate: Build fixes for the Hurd.
Jan Nieuwenhuizen [Tue, 3 Mar 2020 04:59:56 +0000 (23:59 -0500)]
gnu: commencement: glibc-intermediate: Build fixes for the Hurd.

* gnu/packages/commencement.scm (glibc-intermediate): Configure with
--disable-werror, update pthreads workaround.

4 years agognu: commencement: hurd-minimal-boot0: Build from tarball.
Jan Nieuwenhuizen [Sun, 1 Mar 2020 12:52:14 +0000 (13:52 +0100)]
gnu: commencement: hurd-minimal-boot0: Build from tarball.

The 'hurd-minimal' package (via hurd-headers) now uses a git checkout and
added dependencies on autoconf, automake and teiinfo to build.  Using those in
commencement creates a bootstrap loop.  So, revert to a tarball release.

* gnu/packages/commencement.scm (hurd-minimal-boot0): Build from tarball;
remove autoconf, automake, texinfo bootstrap dependencies.

4 years agognu: commencement: hurd-headers-boot0: Build from tarball.
Jan Nieuwenhuizen [Sun, 1 Mar 2020 12:50:40 +0000 (13:50 +0100)]
gnu: commencement: hurd-headers-boot0: Build from tarball.

The 'hurd-headers' package now uses a git checkout and added dependencies on
autoconf and automake to build.  Using those in commencement creates a
bootstrap loop.  So, revert to a tarball release.

* gnu/packages/commencement.scm (hurd-version-boot0, hurd-source-boot0): New
variable.
(hurd-headers-boot0): Use it to build from tarball; remove autoconf, automake,
texinfo bootstrap dependencies.

4 years agognu: commencement: gnumach-headers-boot0: Build from tarball.
Jan Nieuwenhuizen [Sun, 1 Mar 2020 12:49:04 +0000 (13:49 +0100)]
gnu: commencement: gnumach-headers-boot0: Build from tarball.

The 'gnumach-headers' package now uses a git checkout and added dependencies
on autoconf, automake and texinfo to build.  Using those in commencement
creates a bootstrap loop.  So, revert to a tarball release.

* gnu/packages/commencement.scm (gnumach-headers-boot0): Build from tarball;
remove autoconf, automake, texinfo bootstrap dependencies.

4 years agognu: make: Support for the Hurd.
Jan Nieuwenhuizen [Thu, 27 Feb 2020 01:22:18 +0000 (20:22 -0500)]
gnu: make: Support for the Hurd.

* gnu/packages/base.scm (gnu-make): Use fork/exec rather than posix_spawn on
the Hurd.  Also, add __alloca linkage workaround.

4 years agognu: java-jansi-native: Compile fix for the Hurd.
Jan Nieuwenhuizen [Sat, 7 Mar 2020 08:41:49 +0000 (03:41 -0500)]
gnu: java-jansi-native: Compile fix for the Hurd.

* gnu/packages/java.scm (java-jansi-native): Add catch-all clause;
fixes running guix refresh.

4 years agognu: bootstrap: Add support for the Hurd.
Efraim Flashner [Fri, 31 Jan 2020 14:28:23 +0000 (16:28 +0200)]
gnu: bootstrap: Add support for the Hurd.

On 3342a1182b15ec031f0ec6f602fd96c1dca3d4b0
   gnu: make-bootstrap: Use _IOLBF on Guile 2.0 only.

Run
    ./pre-inst-env guix build --target=i586-pc-gnu bootstrap-tarballs --verbosity=1

Producing

    /gnu/store/lhca65c997pvic5cfrpm0dasniwqlg2a-bootstrap-tarballs-0

With guix hash -rx /gnu/store/lhca65c997pvic5cfrpm0dasniwqlg2a-bootstrap-tarballs-0

    07jnq2by98f2a45k8wd2gj62iazvwfa4z7p3w3id4m1g0fdsvc3b

* gnu/packages/bootstrap.scm (%bootstrap-executables): Add entries for the
Hurd.
(bootstrap-executable-url): Use lilypond url for the Hurd.
(bootstrap-guile-url-path): Likewise.
(bootstrap-guile-hash): Add entry for the Hurd.
(%bootstrap-coreutils&co): Likewise.
(%bootstrap-binutils): Likewise.
(%bootstrap-glibc): Likewise.
(%bootstrap-gcc): Likewise.
* guix/packages.scm (%supported-systems): Add i586-gnu.

Co-authored-by: Jan Nieuwenhuizen <janneke@gnu.org>
4 years agognu: youtube-viewer: Don't build gtk3 front-end.
Efraim Flashner [Thu, 26 Mar 2020 10:01:50 +0000 (12:01 +0200)]
gnu: youtube-viewer: Don't build gtk3 front-end.

* gnu/packages/video.scm (youtube-viewer)[arguments]: Update
module-build-flags to only build gtk2 front-end.

4 years agognu: youtube-viewer: Update to 3.7.5.
Efraim Flashner [Thu, 26 Mar 2020 09:58:44 +0000 (11:58 +0200)]
gnu: youtube-viewer: Update to 3.7.5.

* gnu/packages/video.scm (youtube-viewer): Update to 3.7.5.
[inputs]: Add perl-json-xs.

4 years agotests: install: Add %test-gui-installed-desktop-os-encrypted.
Mathieu Othacehe [Tue, 24 Mar 2020 11:16:23 +0000 (12:16 +0100)]
tests: install: Add %test-gui-installed-desktop-os-encrypted.

* gnu/tests/install.scm (gui-test-program): Add a desktop? argument, and pass it to choose-services,
(installation-target-os-for-gui-tests): new procedure,
(installation-target-desktop-os-for-gui-tests): new procedure,
(guided-installation-test): add target-os and desktop? arguments. Use
target-os instead of the previous os variable. Pass desktop? argument to
gui-test-program.
(%test-gui-installed-os): Adapt accordingly,
(%test-gui-installed-os-encrypted): ditto,
(%test-gui-installed-desktop-os-encrypted): new exported variable.

4 years agoinstaller: tests: Use a filter to select desktop-environments.
Mathieu Othacehe [Tue, 24 Mar 2020 08:21:02 +0000 (09:21 +0100)]
installer: tests: Use a filter to select desktop-environments.

* gnu/installer/tests.scm (choose-services): Turn desktop-environments list
into a choose-desktop-environment procedure. This way, it is easier to select
all desktop-environments or none, in the same way as choose-network-service?
and choose-network-management-tool? arguments.

4 years agognu: emacs-helm-exwm: Update to 0.0.2.
Pierre Neidhardt [Wed, 25 Mar 2020 11:19:09 +0000 (12:19 +0100)]
gnu: emacs-helm-exwm: Update to 0.0.2.

* gnu/packages/emacs-xyz.scm (emacs-helm-exwm): Update to 0.0.2.

4 years agognu: r-argon2: Fix case in synopsis and use full sentence in description.
Ricardo Wurmus [Thu, 26 Mar 2020 07:26:56 +0000 (08:26 +0100)]
gnu: r-argon2: Fix case in synopsis and use full sentence in description.

* gnu/packages/cran.scm (r-argon2)[synopsis]: Use lower case.
[description]: Use full sentence.

4 years agognu: r-getpass: Change case in synopsis and adjust indentation.
Ricardo Wurmus [Thu, 26 Mar 2020 07:25:39 +0000 (08:25 +0100)]
gnu: r-getpass: Change case in synopsis and adjust indentation.

* gnu/packages/cran.scm (r-getpass): Adjust indentation.
[synopsis]: Do not capitalize all words.

4 years agognu: r-remoter: Fix indentation.
Ricardo Wurmus [Thu, 26 Mar 2020 07:24:21 +0000 (08:24 +0100)]
gnu: r-remoter: Fix indentation.

* gnu/packages/cran.scm (r-remoter): Fix indentation.

4 years agognu: r-remoter: Use lower case in the synopsis.
Ricardo Wurmus [Thu, 26 Mar 2020 07:23:39 +0000 (08:23 +0100)]
gnu: r-remoter: Use lower case in the synopsis.

* gnu/packages/cran.scm (r-remoter)[synopsis]: Do not capitalize all words.

4 years agognu: make-bootstrap: Use _IOLBF on Guile 2.0 only.
Jan Nieuwenhuizen [Thu, 26 Mar 2020 06:39:13 +0000 (07:39 +0100)]
gnu: make-bootstrap: Use _IOLBF on Guile 2.0 only.

* gnu/packages/make-bootstrap.scm (%binutils-static-stripped, %gcc-stripped,
%bootstrap-tarballs)[arguments]: Wrap use of '_IOLBF' in 'cond-expand' and use
'line instead on Guile > 2.0.

4 years agognu: linux-libre-5.4-source: Add patch to support pinebook pro.
Vagrant Cascadian [Thu, 26 Mar 2020 01:59:25 +0000 (18:59 -0700)]
gnu: linux-libre-5.4-source: Add patch to support pinebook pro.

* gnu/packages/patches/linux-libre-support-for-Pinebook-Pro.patch:
  New file.
* gnu/local.mk (dist_patch_DATA): Update accordingly.
* gnu/packages/linux (linux-libre-5.4-source): Add patch.

4 years agognu: linux-libre: Update deblob scripts.
Mark H Weaver [Thu, 26 Mar 2020 00:39:05 +0000 (20:39 -0400)]
gnu: linux-libre: Update deblob scripts.

* gnu/packages/linux.scm (deblob-scripts-5.4): Update to 5.4.28.

4 years agognu: linux-libre: Update to 5.4.28.
Mark H Weaver [Thu, 26 Mar 2020 00:37:38 +0000 (20:37 -0400)]
gnu: linux-libre: Update to 5.4.28.

* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.28.
(linux-libre-5.4-pristine-source): Update hash.

4 years agognu: linux-libre@4.19: Update to 4.19.113.
Mark H Weaver [Thu, 26 Mar 2020 00:36:25 +0000 (20:36 -0400)]
gnu: linux-libre@4.19: Update to 4.19.113.

* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.113.
(linux-libre-4.19-pristine-source): Update hash.

4 years agognu: icu4c: Fix CVE-2020-10531.
Leo Famulari [Wed, 25 Mar 2020 18:25:18 +0000 (14:25 -0400)]
gnu: icu4c: Fix CVE-2020-10531.

* gnu/packages/patches/icu4c-CVE-2020-10531.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/icu4c.scm (icu4c)[replacement]: New field.
(icu4c/fixed): New variable.

4 years agognu: Add r-remoter.
Todor Kondić [Wed, 25 Mar 2020 19:39:08 +0000 (15:39 -0400)]
gnu: Add r-remoter.

* gnu/packages/cran.scm (r-remoter): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agognu: Add r-getpass.
Todor Kondić [Wed, 25 Mar 2020 19:38:50 +0000 (15:38 -0400)]
gnu: Add r-getpass.

* gnu/packages/cran.scm (r-getpass): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agognu: Add r-argon2.
Todor Kondić [Wed, 25 Mar 2020 19:37:55 +0000 (15:37 -0400)]
gnu: Add r-argon2.

* gnu/packages/cran.scm (r-argon2): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
4 years agognu: Add emacs-chronometrist.
Nicolas Goaziou [Wed, 25 Mar 2020 16:34:38 +0000 (17:34 +0100)]
gnu: Add emacs-chronometrist.

* gnu/packages/emacs-xyz.scm (emacs-chronometrist): New variable.

4 years agognu: abseil-cpp: Update to 20200225.1.
Ricardo Wurmus [Wed, 25 Mar 2020 15:29:26 +0000 (16:29 +0100)]
gnu: abseil-cpp: Update to 20200225.1.

* gnu/packages/cpp.scm (abseil-cpp): Update to 20200225.1.

4 years agoimport/cran: Import missing module.
Ricardo Wurmus [Wed, 25 Mar 2020 15:27:22 +0000 (16:27 +0100)]
import/cran: Import missing module.

This is a follow-up to commit b005c240bb5e436ffe9d55c2dd75c9af85aa0fdd.

Reported-by: Ludovic Courtès <ludo@gnu.org>
* guix/import/cran.scm: Import (guix ui) module.

4 years agognu: gnu-pw-mgr: Build reproducibly.
Ludovic Courtès [Wed, 25 Mar 2020 14:53:54 +0000 (15:53 +0100)]
gnu: gnu-pw-mgr: Build reproducibly.

* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr)[native-inputs]: Remove
AUTOGEN so that man pages are not regenerated with a fresh date.

4 years agotests: Adjust to 'show-manifest-transaction' changes.
Ludovic Courtès [Wed, 25 Mar 2020 14:37:39 +0000 (15:37 +0100)]
tests: Adjust to 'show-manifest-transaction' changes.

This is a followup to 3e5ab0a7a9399bb098b9ced46bf3cbf4085c6bab.

* tests/ui.scm ("show-manifest-transaction"): Update regexp.
* tests/guix-package.sh: Adjust Emacs regexp in --with-source test.

4 years agoenvironment: Use 'with-build-handler'.
Ludovic Courtès [Wed, 25 Mar 2020 14:01:15 +0000 (15:01 +0100)]
environment: Use 'with-build-handler'.

* guix/scripts/environment.scm (build-environment): Remove.
(guix-environment): Wrap 'with-status-verbosity' in
'with-build-handler'.  Remove 'dry-run?' conditional.  Use
'built-derivations' instead of 'build-environment'.