3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00
Commit graph

60654 commits

Author SHA1 Message Date
Mathieu Othacehe
9113de2ca2
installer: Fix device synchronization.
Reported by Florian Pelz:
https://lists.gnu.org/archive/html/guix-devel/2020-11/msg00326.html.

* gnu/installer/utils.scm (call-with-time): New procedure,
(let/time): new macro.
* gnu/installer/parted.scm (with-delay-device-in-use?): Increase the retry
count to 16.
(non-install-devices): Remove the call to with-delay-device-in-use? as it
doesn't return the expected result, and would block much longer now.
(free-parted): Log the time required to sync each device.
2020-11-17 19:09:19 +01:00
Ludovic Courtès
37c21b130c
gnu: guix: Use libexec/guix/guile in the 'guix' shebang.
This is a followup to 880fe019ae.

* gnu/packages/package-management.scm (guix)[arguments]: Delete
'patch-shebangs' phase.
2020-11-16 23:41:02 +01:00
Marius Bakke
6cad3f6966
services: mingetty: Export configuration accessors.
* gnu/services/base: Export configuration accessors for mingetty.
2020-11-16 19:08:36 +01:00
Ludovic Courtès
977eb5d023
Properly deal with build directories containing '~'.
Fixes <https://bugs.gnu.org/44626>.
Reported by Vagrant Cascadian <vagrant@debian.org>.

* tests/build-utils.scm ("wrap-script, simple case"): Pass
SCRIPT-CONTENTS to 'display' rather than 'format'.
* gnu/services/base.scm (file-system->shepherd-service-name)
[valid-characters, mount-point]: New variables.
Filter out invalid store file name characters from the mount point of
FILE-SYSTEM.
2020-11-16 11:21:42 +01:00
Ludovic Courtès
0b146ceaab
Merge branch 'version-1.2.0' of ssh://git.sv.gnu.org/srv/git/guix into version-1.2.0 2020-11-13 17:02:49 +01:00
Maxim Cournoyer
4e01bc440a
gnu: python-pysam: Update to version 0.16.0.1.
The check phase was failing with:

starting phase `check'
make: Entering directory '...drv-0/python-pysam-0.15.1-checkout/tests/pysam_data'
samtools faidx ex1.fa
samtools import ex1.fa.fai ex1.sam.gz ex1.bam
[main] "samtools import" has been removed. Please use "samtools view" instead.
make: *** [Makefile:56: ex1.bam] Error 1

* gnu/packages/bioinformatics.scm (python-pysam): Update to version 0.16.0.1.
[phases]{check}: Delete a couple more failing test files.
[native-inputs]: Add python-pytest.
2020-11-13 10:17:00 -05:00
Ludovic Courtès
4b2ce77ca0
gnu: guix: Update to 3ba6ffd. 2020-11-13 15:01:25 +01:00
Ludovic Courtès
3ba6ffd0dd
gnu: guix: Update to 1.2.0rc1. 2020-11-13 14:40:28 +01:00
Ludovic Courtès
ae10ec441a
gnu: glib: Graft patch to detect changes to the installed applications.
Fixes <https://bugs.gnu.org/35594>.
Reported by sirgazil <sirgazil@zoho.com> and others.

* gnu/packages/patches/glib-appinfo-watch.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/glib.scm (glib)[replacement]: New field.
(glib-with-gio-patch): New variable.
(glib-with-documentation): Use 'package/inherit'.
2020-11-13 09:13:56 +01:00
Maxim Cournoyer
c410e9e531
gnu: python-flask-basicauth: Fix indentation.
* gnu/packages/python-web.scm (python-flask-basicauth): Fix indentation.
2020-11-12 15:17:57 -05:00
Maxim Cournoyer
a4cfdab56a
gnu: python-flask-basicauth: Fix build.
* gnu/packages/python-web.scm (python-flask-basicauth)[phases]: Add a
'fix-imports phase.
2020-11-12 15:17:29 -05:00
Ludovic Courtès
000e7a0abc
vm: expression->derivation-in-linux-vm: Run in a UTF-8 locale.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add calls to
'setenv' and 'setlocale'.
2020-11-10 21:49:15 +01:00
Ludovic Courtès
8515ea12d2
gnu: audiofile: Shorten patch file names.
At least 'audiofile-division-by-zero-BlockCodec-runPull.patch' could end
up not being included in a tarball.

* gnu/packages/patches/audiofile-Check-the-number-of-coefficients.patch:
Rename to...
* gnu/packages/patches/audiofile-check-number-of-coefficients.patch:
... this.
* gnu/packages/patches/audiofile-division-by-zero-BlockCodec-runPull.patch:
Rename to...
* gnu/packages/patches/audiofile-division-by-zero.patch: ....this.
* gnu/packages/patches/audiofile-signature-of-multiplyCheckOverflow.patch:
Rename to...
* gnu/packages/patches/audiofile-function-signature.patch: ... this.
* gnu/packages/patches/audiofile-Fix-multiply-overflow-sfconvert.patch:
Rename to....
* gnu/packages/patches/audiofile-multiply-overflow.patch: ... this.
* gnu/packages/patches/audiofile-Fix-overflow-in-MSADPCM-decodeSam.patch:
Rename to...
* gnu/packages/patches/audiofile-overflow-in-MSADPCM.patch: ... this.
* gnu/packages/audio.scm (audiofile)[source]: Adjust accordingly.
* gnu/local.mk (dist_patch_DATA): Likewise.
2020-11-10 17:49:14 +01:00
Ludovic Courtès
74361d3ee8
gnu: python2-pygobject@2: Shorten patch file name.
The file would not be included in the tarball produced by "make dist"
because its name was too long.

* gnu/packages/patches/python2-pygobject-2-gi-info-type-error-domain.patch:
Rename to...
* gnu/packages/patches/python2-pygobject-2-deprecation.patch: ... this.
* gnu/packages/glib.scm (python2-pygobject-2)[source]: Adjust accordingly.
* gnu/local.mk (dist_patch_DATA): Likewise.
2020-11-10 16:43:59 +01:00
Ludovic Courtès
7a20c1676a
vm: 'system-qemu-image' forces the use of i386/BIOS GRUB.
Fixes <https://bugs.gnu.org/44511>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

* gnu/system/vm.scm (system-qemu-image): Add 'bootloader' field to OS.
2020-11-10 12:20:09 +01:00
Ludovic Courtès
70ffa8af1e
machine: ssh: Do not import the host (guix config).
* gnu/machine/ssh.scm (machine-boot-parameters): Use 'make-config.scm'
for (guix config).
2020-11-09 23:27:09 +01:00
Julien Lepiller
86e9e5cb23
services: nginx: Re-introduce server-names-hash-bucket-size.
This was unintentionally removed in
00014f7692.

* gnu/services/web.scm (default-nginx-config): Re-introduce processing
of server-names-hash-bucket-size option.
2020-11-09 22:53:50 +01:00
Mathieu Othacehe
ad2c3ba750
installer: parted: Add debug output.
* gnu/installer/parted.scm (mkpart): Log partition creation.
2020-11-08 19:40:44 +01:00
Ludovic Courtès
bc47583412
gnu: cross-base: Move glibc Hurd patches to 'inputs'.
Fixes "guix build --target=i586-pc-gnu bootstrap-tarballs".

* gnu/packages/cross-base.scm (cross-libc): Move Hurd patches from
'native-inputs' to 'inputs'.
2020-11-08 16:58:30 +01:00
Ludovic Courtès
4e9ded6d27
image: Offload "disk-image" derivations.
This is a followup to 99efa804bd.

* gnu/system/image.scm (system-disk-image): Pass #:local-build? #f to
'computed-file'.
2020-11-08 16:58:30 +01:00
Mathieu Othacehe
ae0fe289d3
installer: Limit listbox height.
Fixes: <https://issues.guix.gnu.org/44428>.

* gnu/installer/newt.scm (init): Print screen size.
* gnu/installer/newt/page.scm (default-listbox-height): New variable.
(run-listbox-selection-page): Use it.
* gnu/installer/newt/wifi.scm (wifi-listbox-height): Ditto.
* gnu/installer/newt/network.scm (run-technology-page): Set the maximum
listbox height to 5.
* gnu/installer/newt/ethernet.scm (run-ethernet-page): Ditto.
* gnu/installer/newt/final.scm (run-config-display-page): Change listbox
height.
* gnu/installer/newt/partition.scm (run-disk-page): Ditto.
* gnu/installer/newt/welcome.scm (display-logo?): New procedure.
(run-menu-page): Use it.
* gnu/installer/steps.scm (%configuration-file-width): Remove it.
2020-11-08 10:51:23 +01:00
Ludovic Courtès
7286c9b187
tests: nfs-root-fs: Use the right store file name.
* gnu/tests/nfs.scm (run-nfs-root-fs-test): Pass "nfs-root-fs-test" as
the first argument to 'gexp->derivation'.
2020-11-07 12:48:24 +01:00
Ludovic Courtès
de6b649f80
tests: git-http: Avoid race condition.
* gnu/tests/version-control.scm (run-git-http-test)[test]("fcgiwrap
listens"): New test.
2020-11-07 12:07:41 +01:00
02f5ee01c9
gnu: libffi: Fix building on powerpc.
* gnu/packages/libffi.scm (libffi)[inputs]: New field.
[arguments]: Add 'apply-patch' phase when targeting PowerPC.
* gnu/packages/patches/libffi-3.3-powerpc-fixes.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2020-11-07 11:31:39 +01:00
Ludovic Courtès
9909eddbc5
tests: mpd: Remove race condition; use default MPD configuration.
* gnu/tests/audio.scm (%mpd-os): Use the default 'mpd-configuration'.
(run-mpd-test)[test]("mpd listening"): New test.
("mpc connect"): Use 'system*' and 'test-equal'.
2020-11-06 23:14:14 +01:00
Ludovic Courtès
bb124f6e9c
services: mpd: Fix daemon startup.
Until now it would wait for a PID file that'd never come.

* gnu/services/audio.scm (mpd-shepherd-service): Add 'requirement'.
Remove #:pid-file from 'start'.
(mpd-service-activation): Create the ".mpd" directory since that's what
the daemon expects.
2020-11-06 23:10:18 +01:00
Ludovic Courtès
7209d7cbc3
services: mpd: Always create the "mpd" user account.
* gnu/services/audio.scm (%mpd-accounts): New variable.
(mpd-service-type)[extensions]: Add ACCOUNT-SERVICE-TYPE extension.
2020-11-06 22:59:19 +01:00
Ludovic Courtès
3c69e81d85
tests: docker-system: Increase VM memory.
The test was failing with ENOSPC.

* gnu/tests/docker.scm (run-docker-system-test)[vm]: Increase 'memory-size'.
(%test-docker-system): Change 'locale-libcs' for the OS passed to
'system-docker-image'.
2020-11-06 16:16:02 +01:00
Maxim Cournoyer
0c5d0c57d3
services: mpd: Do not eagerly look for a user.
Running 'guix system search mpd' would throw a backtrace because the
mpd-shepherd-service service start Gexp contained an unquoted call to
'getpwnam', which would look for a missing 'mpd' user and fail.

* gnu/services/audio.scm (mpd-shepherd-service): gexp-unquote only the
relevant variable rather than the whole expression.
2020-11-06 08:54:27 -05:00
Ludovic Courtès
a5945a60cf
gnu: chromium: Silent 'local-file' warning.
This is a followup to fddc870632.

* gnu/packages/chromium.scm (%guix-patches): Use 'assume-valid-file-name'.
2020-11-05 16:15:22 +01:00
Ludovic Courtès
a4e7749e91
services: Remove imports of (ice-9 …) modules.
* gnu/services/monitoring.scm (zabbix-server-activation): Remove (ice-9
rdelim) from the imported modules.
(zabbix-agent-activation): Likewise.
* gnu/tests/mail.scm (run-exim-test)[test]: Remove (ice-9 ftw) from the
imported modules.
2020-11-05 16:13:50 +01:00
Ludovic Courtès
e6934c0429
shepherd: Remove dependency on (guix utils).
Since commit 8ce6f4dc28, importing this
module in a gexp would pull in (guix config) from the host, thereby
leading to non-reproducible derivations.  Users in (gnu services ...) do
not expect that so simply remove the (guix utils) dependency for now.

* gnu/build/shepherd.scm (fork+exec-command/container)[strip-pid]: New
procedure.
Use it instead of 'strip-keyword-arguments'.
2020-11-05 16:13:50 +01:00
Ludovic Courtès
61d9c4458e
image: Error out when passed an unsupported partition type.
* gnu/build/image.scm (make-partition-image): Use 'raise' instead of
'format' when TYPE is not supported.
(convert-disk-image): Remove unneeded 'begin'.
2020-11-05 16:13:50 +01:00
Leo Famulari
552e9fc163
gnu: dump1090: Update to 4.0.
* gnu/packages/radio.scm (dump1090): Update to 4.0.
2020-11-05 00:57:27 -05:00
Tobias Geerinckx-Rice
facdae042d
gnu: virt-viewer: Enable VNC support.
* gnu/packages/spice.scm (virt-viewer)[inputs]: Add gtk-vnc.
2020-11-05 04:00:13 +01:00
Tobias Geerinckx-Rice
d67721ba9d
gnu: praat: Update to 6.1.30.
* gnu/packages/language.scm (praat): Update to 6.1.30.
2020-11-05 03:46:12 +01:00
Tobias Geerinckx-Rice
48951e8502
gnu: python-audioread: Update to 2.1.9.
* gnu/packages/mp3.scm (python-audioread): Update to 2.1.9.
2020-11-05 03:46:12 +01:00
Tobias Geerinckx-Rice
c2ea080e05
gnu: toxic: Update to 0.8.4.
* gnu/packages/messaging.scm (toxic): Update to 0.8.4.
2020-11-05 03:46:12 +01:00
Tobias Geerinckx-Rice
76373c95b4
gnu: libnice: Update to 0.1.18.
* gnu/packages/networking.scm (libnice): Update to 0.1.18.
[arguments]: Add a new ‘disable-failing-test’ phase.
2020-11-05 03:46:11 +01:00
Tobias Geerinckx-Rice
471ab8772c
gnu: lldpd: Omit static library.
* gnu/packages/networking.scm (lldpd)[arguments]: Add ‘--disable-static’
to the #:configure-flags.
2020-11-05 03:46:11 +01:00
Tobias Geerinckx-Rice
7a484a47a4
gnu: lldpd: Update to 1.0.7.
* gnu/packages/networking.scm (lldpd): Update to 1.0.7.
2020-11-05 03:46:11 +01:00
Tobias Geerinckx-Rice
3b663f1985
gnu: fldigi: Update to 4.1.15.
* gnu/packages/radio.scm (fldigi): Update to 4.1.15.
2020-11-05 03:46:11 +01:00
Tobias Geerinckx-Rice
728fdd83eb
gnu: python-sphinx-intl: Update to 2.0.1.
* gnu/packages/sphinx.scm (python-sphinx-intl): Update to 2.0.1.
2020-11-05 03:46:10 +01:00
Tobias Geerinckx-Rice
edc517a04c
gnu: oil: Update to 0.8.3.
* gnu/packages/shells.scm (oil): Update to 0.8.3.
2020-11-05 03:46:10 +01:00
Tobias Geerinckx-Rice
c346951386
gnu: xl2tpd: Update to 1.3.16.
* gnu/packages/vpn.scm (xl2tpd): Update to 1.3.16.
2020-11-05 03:46:10 +01:00
Tobias Geerinckx-Rice
831365c6c1
gnu: i3-gaps: Update to 4.18.3.
* gnu/packages/wm.scm (i3-gaps): Update to 4.18.3.
2020-11-05 03:46:10 +01:00
Tobias Geerinckx-Rice
1434f2b03e
gnu: i3-wm: Update to 4.18.3.
* gnu/packages/wm.scm (i3-wm): Update to 4.18.3.
2020-11-05 03:46:10 +01:00
Tobias Geerinckx-Rice
274bbce817
gnu: vera: Update to 1.24.
* gnu/packages/dictionaries.scm (vera): Update to 1.24.
[arguments]: Replace problematic (non-)character.
2020-11-05 03:46:09 +01:00
Tobias Geerinckx-Rice
08d8e76678
gnu: php: Move a test disablement.
* gnu/packages/php.scm (php)[arguments]: Disable bug73837.phpt under a
more appropriate comment section.
2020-11-05 03:46:09 +01:00
Tobias Geerinckx-Rice
bddcc133db
gnu: colord: Update to 1.4.5.
* gnu/packages/gnome.scm (colord): Update to 1.4.5.
2020-11-05 03:46:09 +01:00