Commit graph

52025 commits

Author SHA1 Message Date
Ludovic Courtès
6a488a3504
vm: Preserve file permissions on /dev.
Previously, when REGISTER-CLOSURES? was false, we'd set all the files
under /dev to #o644, including /dev/null, /dev/zero, etc.

* gnu/build/vm.scm (root-partition-initializer): Call 'reset-timestamps'
separately for /dev, with #:preserve-permissions? #t.
2020-04-11 20:48:12 +02:00
Ludovic Courtès
916ec91f23
gnu: guile@3: Disable JIT on GNU/Hurd.
* gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
2020-04-11 19:22:27 +02:00
Jan (janneke) Nieuwenhuizen
1c4268e414
gnu: cross-libc: Add patch to allow 'gettyent' reading store file names.
* gnu/packages/patches/glibc-hurd-gettyent.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cross-base.scm (cross-libc): Add it in 'patch-libc/hurd' phase
when 'hurd-target?' is true.
2020-04-11 19:22:27 +02:00
Ludovic Courtès
ad3bbeadb4
gnu: hurd: Install a BDF font.
* gnu/packages/hurd.scm (unifont): New variable.
(hurd)[arguments]: In 'install-goodies' phase, install
OUT/share/hurd/vga-system.bdf.
[inputs]: Add UNIFONT.
2020-04-11 19:22:27 +02:00
Ludovic Courtès
1d5fc9f7a7
gnu: hurd: Add dependency on libdaemon.
* gnu/packages/hurd.scm (hurd)[inputs]: Add dependency on libdaemon.
[native-inputs]: Add PKG-CONFIG.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
5ea5d0512f
gnu: libdaemon: Cross-build with --localstatedir=/var.
* gnu/packages/libdaemon.scm (libdaemon)[arguments]: Add
"--localstatedir=/var" when (%current-target-system) is true.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
a16022a7b8
gnu: libdaemon: Allow cross-compilation.
* gnu/packages/libdaemon.scm (libdaemon)[arguments]: New field.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
abbeaf5450
gnu: hurd: Add dependency on libgcrypt.
* gnu/packages/hurd.scm (hurd)[inputs]: Add LIBGCRYPT.
[native-inputs]: Likewise.
2020-04-11 19:22:26 +02:00
Jan (janneke) Nieuwenhuizen
7e7033d16e
gnu: libgcrypt: Fix cross-compilation.
This works around

    /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/bash ../libtool  --tag=CC   --mode=link i586-pc-gnu-gcc -I/gnu/store/8x9dhckldm6iy1digklfanmvdaizq11f-libgpg-error-1.37/include -g -O2 -fvisibility=hidden -fno-delete-null-pointer-checks -Wall   -o mpicalc mpicalc-mpicalc.o libgcrypt.la  -L/gnu/store/8x9dhckldm6iy1digklfanmvdaizq11f-libgpg-error-1.37/lib -lgpg-error

    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_lshift'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_add_n'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_addmul_1'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_submul_1'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_mul_1'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_sub_n'
    i586-pc-gnu-ld: ./.libs/libgcrypt.so: undefined reference to `_gcry_mpih_rshift'

* gnu/packages/gnupg.scm (libgcrypt)[arguments]: Disable assembly when
cross-compiling.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
62a3bbfdfe
gnu: hurd: Install the UTF-8 motd.
* gnu/packages/hurd.scm (hurd)[arguments]: Add 'install-goodies' phase.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
29505c7d1e
gnu: hurd: Ensure startup scripts refer to the right programs.
* gnu/packages/hurd.scm (hurd)[arguments]: In 'set-file-names' phase, patch
startup.c, init.c, login.c, and daemons/runsystem/*.  Add
'patch-libexec-shebangs' phase.  Subtitute /libexec and /sbin, so that we may
run RC.
[inputs]: Add BASH-MINIMAL, COREUTILS, SED, GREP, and UTIL-LINUX.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
b7e23a92a5
gnu: hurd: Record the right file name of 'login'.
* gnu/packages/hurd.scm (hurd)[arguments]: Add 'set-file-names' phase.
2020-04-11 19:22:26 +02:00
Ludovic Courtès
09ac892a95
gnu: hurd: Use a 32-bit MiG when cross-compiling.
* gnu/packages/hurd.scm (hurd)[native-inputs]: When
'%current-target-system' is true, pass #:system "i686-linux" to 'mig'.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
7aad4609ae
gnu: cross-libc: Add patch to add 'mach_print' symbol on GNU/Hurd.
* gnu/packages/patches/glibc-hurd-mach-print.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/cross-base.scm (cross-libc): Add 'patch-libc/hurd' phase
when 'hurd-target?' is true.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
f46cf8ef25
gnu: hurd: Provide our own /libexec/rc script.
* gnu/packages/hurd.scm (hurd-rc-script): New procedure.
(hurd)[inputs]: Add (hurd-rc-script).
2020-04-11 19:22:25 +02:00
Ludovic Courtès
29814639c4
gnu: gnumach: Enable kernel debugger (kbd).
* gnu/packages/hurd.scm (gnumach)[arguments]: Add "--enable-kdb".
2020-04-11 19:22:25 +02:00
Ludovic Courtès
4d1ff68d73
vm: 'qemu-image' can pass options to the 'mkfs' command.
* gnu/build/vm.scm (<partition>)[file-system-options]: New field.
(create-ext-file-system, create-fat-file-system)
(format-partition): Add #:options and honor it.
(initialize-partition): Pass #:options to 'format-partition'.
* gnu/system/vm.scm (qemu-image): Add #:file-system-options and use it
for the root partition.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
82782d8cec
vm: 'qemu-image' accepts a list of extra populate directives.
* gnu/build/vm.scm (root-partition-initializer): Add #:extra-directives
parameter and pass it to 'populate-root-file-system'.
* gnu/system/vm.scm (qemu-image): Add #:extra-directives parameter and
pass it to 'root-partition-initializer'.
2020-04-11 19:22:25 +02:00
Ludovic Courtès
87241947aa
install: 'populate-root-file-system' can be passed extra directives.
* gnu/build/install.scm (evaluate-populate-directive): Handle 'file'
directives.
(populate-root-file-system): Add #:extras parameter and honor it.
2020-04-11 19:22:25 +02:00
Marius Bakke
8c83069b99
gnu: sbcl-burgled-batteries3: Fix build with Python 3.8.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[arguments]: Remove "m"
suffix from Python include directory.  Add phase to remove deprecated Python
API binding.
2020-04-11 17:03:58 +02:00
Marius Bakke
c6d02bcf1b
Merge branch 'master' into core-updates 2020-04-11 17:00:30 +02:00
Marius Bakke
658505d7a9
gnu: python-genshi: Update to 0.7.3.
* gnu/packages/python-web.scm (python-genshi): Update to 0.7.3.
2020-04-11 16:35:29 +02:00
Marius Bakke
2a2a987868
gnu: python-pycrypto: Fix build with Python 3.8.
* gnu/packages/patches/python-pycrypto-time-clock.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
* gnu/packages/python-crypto.scm (python-pycrypto)[source](patches): Add it.
2020-04-11 16:04:26 +02:00
Marius Bakke
892918bc46
gnu: python-dnspython: Update to 1.16.0.
* gnu/packages/python-xyz.scm (python-dnspython): Update to 1.16.0.
2020-04-11 15:51:07 +02:00
Marius Bakke
67dbc06de1
gnu: python-flask: Update to 1.1.2.
* gnu/packages/python-web.scm (python-flask): Update to 1.1.2.
2020-04-11 15:51:07 +02:00
Marius Bakke
3d280dae09
gnu: sbcl-burgled-batteries3: Python is a runtime dependency.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3)[native-inputs]: Move
PYTHON ...
[inputs]: ... here.
2020-04-11 15:51:07 +02:00
Marius Bakke
839fa4cd5e
gnu: sbcl-burgled-batteries3: Update to 0.0.0-2.f65f454.
* gnu/packages/lisp-xyz.scm (sbcl-burgled-batteries3): Update to
0.0.0-2.f65f454.
[arguments]: Rewrite phases to use the new BB_PYTHON3_* variables.  Add
 #:modules and #:imported-modules.
2020-04-11 15:51:07 +02:00
Marius Bakke
67950de7e8
gnu: python-pyqtwebengine: Use 'python-version'.
* gnu/packages/qt.scm (python-pyqtwebengine)[arguments]: Add (guix build
python-build-system) to #:modules.  Adjust #:imported-modules accordingly.
Rewrite #:phases to use it instead of rolling their own, or hard-coding.
2020-04-11 15:51:07 +02:00
Marius Bakke
8cc103cb01
gnu: gRPC@1.16: Fix build with glibc 2.30 and later.
* gnu/packages/rpc.scm (grpc-1.16.1)[arguments]: Add phase to rename custom
gettid() function.
2020-04-11 15:41:45 +02:00
Marius Bakke
72cf14948d
gnu: python-gevent: Update to 1.5.0.
* gnu/packages/python-xyz.scm (python-gevent): Update to 1.5.0.
[arguments]: Split the unbundling and include path adjustments intwo two
phases.  Enable previously failing test; disable two others.  Use a format
string instead of DISPLAY when writing skipped_tests.txt.
2020-04-11 15:34:52 +02:00
Marius Bakke
e66d5d6e29
gnu: spandsp: Add comment.
* gnu/packages/telephony.scm (spandsp)[native-inputs]: Note that the
LIBJPEG-TURBO dependency comes via LIBTIFF.
2020-04-11 15:33:32 +02:00
Nicolas Goaziou
fbfaba8a7c
gnu: python-duniterpy: Update to 0.57.0.
* gnu/packages/finance.scm (python-duniterpy): Update to 0.57.0.
2020-04-11 14:29:35 +02:00
Nicolas Goaziou
5258c41699
gnu: Add tennix.
* gnu/packages/games.scm (tennix): New variable.
2020-04-11 14:20:29 +02:00
Guillaume Le Vaillant
0493ead644
gnu: Merge ham-radio and sdr modules into radio module.
* gnu/packages/ham-radio.scm: Rename to 'radio.scm'.
* gnu/packages/sdr.scm: Remove file.
  (liquid-dsp): Move to ...
* gnu/packages/radio.scm (liquid-dsp): ... here.
* gnu/local.mk (GNU_SYSTEM_MODULES): Remove 'ham-radio.scm' and 'sdr.scm'. Add
  'radio.scm'.
2020-04-11 10:04:39 +02:00
Tobias Geerinckx-Rice
4061305509
gnu: bubblewrap: Update to 0.4.1 [fixes CVE-2020-5291].
Relevant only ‘[i]f bubblewrap is installed in setuid mode and the
kernel supports unprivileged user namespaces’.

Bubblewrap is not setuid by default on Guix System.

* gnu/packages/virtualization.scm (bubblewrap): Update to 0.4.1.
2020-04-11 04:14:29 +02:00
Tobias Geerinckx-Rice
a5ab71c73f
gnu: openconnect: Update to 8.08.
* gnu/packages/vpn.scm (openconnect): Update to 8.08.
[propagated-inputs]: Use gnutls-3.6.13.
* gnu/packages/tls.scm (gnutls-3.6.13): Export it.
2020-04-11 04:14:29 +02:00
Tobias Geerinckx-Rice
827813b581
gnu: supertux: Update to 0.6.1.1.
* gnu/packages/games.scm (supertux): Update to 0.6.1.1.
2020-04-11 04:14:28 +02:00
Tobias Geerinckx-Rice
5935779044
gnu: syncthing: Update to 1.4.2.
* gnu/packages/syncthing.scm (syncthing): Update to 1.4.2.
2020-04-11 04:14:28 +02:00
Tobias Geerinckx-Rice
b10bf8e31f
gnu: tig: Update to 2.5.1.
* gnu/packages/version-control.scm (tig): Update to 2.5.1.
[arguments]: #:test-target is correct even if all #:tests? can't run.
2020-04-11 04:14:28 +02:00
Tobias Geerinckx-Rice
9a71213e33
gnu: dbacl: Update to 1.14.1.
* gnu/packages/textutils.scm (dbacl): Update to 1.14.1.
[source]: Add patch to fix build with current glibc.
[arguments]: (Try to) bootstrap only once.
* gnu/packages/patches/dbacl-include-locale.h.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2020-04-11 04:14:28 +02:00
Tobias Geerinckx-Rice
fd13a65cda
gnu: libdca: Update to 0.0.7.
* gnu/packages/video.scm (libdca): Update to 0.0.7.
[native-inputs]: Add autoconf, automake, and libtool.
2020-04-11 04:14:27 +02:00
Tobias Geerinckx-Rice
515ca4794b
gnu: thunar: Update to 1.8.14.
* gnu/packages/xfce.scm (thunar): Update to 1.8.14.
2020-04-11 04:14:26 +02:00
Raghav Gururajan
c0cce20557
gnu: Add linphoneqt.
* gnu/packages/linphone.scm (linphoneqt): New variable.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-11 01:49:22 +02:00
Danny Milosavljevic
3daf981942
gnu: spandsp: Fix build failure.
* gnu/packages/telephony.scm (spandsp)[native-inputs]: Add libjpeg-turbo.
2020-04-11 01:18:32 +02:00
Raghav Gururajan
a13b63453d
gnu: liblinphone: Fix build failure.
* gnu/packages/linphone.scm (liblinphone)[arguments]<#:configure-flags]: Add
-DENABLE_STRICT=NO.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
2020-04-11 01:06:51 +02:00
Ludovic Courtès
e85d4cecbe
gnu: commencement: Memoize packages as a function of the system.
Previous, things like 'ld-wrapper-boot0' would be memoized with
(mlambda () …).  However, the definition of 'ld-wrapper-boot0' depends
on the result of (%boot0-inputs), which is itself a function
of (%current-system).  Thus, if one first calls:

  (parameterize ((%current-system "x86_64-linux"))
    (ld-wrapper-boot0))

then, in all subsequent calls to 'ld-wrapper-boot0', the value
of (%current-system) would be ignored because the result is already
memoized.  Concretely, 'ld-wrapper-boot0' would always have the
dependencies it has on x86_64-linux, even though they are different than
those on armhf-linux, say ("bash-mesboot" vs. "bootstrap-binaries").

Fixes <https://bugs.gnu.org/40482>.
Reported by Marius Bakke <mbakke@fastmail.com>.

* gnu/packages/commencement.scm (define/system-dependent): New macro.
(linux-libre-headers-boot0, hurd-core-headers-boot0, ld-wrapper-boot0)
(gcc-boot0-intermediate-wrapped, gcc-boot0-wrapped, ld-wrapper-boot3):
Define using 'define/system-dependent' instead of 'define' + 'mlambda'.
Adjust users so they no longer look like procedure calls.
* tests/guix-build.sh: Add test.
2020-04-11 00:32:41 +02:00
Marius Bakke
bdb90df764
Merge branch 'master' into core-updates 2020-04-11 00:10:23 +02:00
Tobias Geerinckx-Rice
8ec9c5fd88
gnu: boinc-client: Update to 7.16.6.
* gnu/packages/distributed.scm (boinc-client): Update to 7.16.6.
2020-04-10 23:27:18 +02:00
Tobias Geerinckx-Rice
fa8343de32
gnu: ephemeralpg: Update to 2.9.
* gnu/packages/databases.scm (ephemeralpg): Update to 2.9.
[arguments]: Remove obsolete work-arounds.
[native-inputs]: Add which.
2020-04-10 23:27:17 +02:00
Tobias Geerinckx-Rice
8e71625667
gnu: ephemeralpg: Use HTTPS home page.
* gnu/packages/databases.scm (ephemeralpg)[source, home-page]: Use HTTPS.
2020-04-10 23:27:17 +02:00