Commit graph

68528 commits

Author SHA1 Message Date
Julien Lepiller
74fdbbfaad
nls: Update translations of the manual. 2020-11-12 09:39:17 +01:00
Julien Lepiller
e55f6418cd
nls: Update 'ta' translation. 2020-11-12 09:39:10 +01:00
Ludovic Courtès
b73981369e
lint: patch-file-names: Simplify 'search-patch' error handling.
* guix/lint.scm (check-patch-file-names): Remove 'message-condition?'
guard, which is useless since d51bfe242f.
Remove call to 'format' in the 'formatted-message?' case.
2020-11-12 09:29:05 +01:00
Ludovic Courtès
1cbda46d4a
publish: Increase TCP buffer size when sending non-cached nars.
This increases throughput tenfold (!) on localhost when downloading
large nars without '--cache'.  This is a followup to
5e3d169945.

Reported by Maxim Cournoyer.

* guix/scripts/publish.scm (http-write): In the
'application/x-nix-archive' case, add call to 'setsockopt'.
2020-11-10 22:56:38 +01: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
362529963e
ui: Use the right accessor when reporting '&gexp-input-error'.
* guix/ui.scm (call-with-error-handling): In the 'gexp-input-error?'
case, use 'gexp-error-invalid-input' as the accessor.
2020-11-10 14:40:20 +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
b51da3ccef
Update NEWS. 2020-11-09 23:27: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
Ludovic Courtès
d754757628
publish: Create files in the cache as #o644.
Reported by Ricardo Wurmus <rekado@elephly.net>.

* guix/scripts/publish.scm (compress-nar): Add 'chmod' call to ensure
PORT is #o644, in the uncompressed case.
(bake-narinfo+nar): Likewise for the narinfo file.
* tests/publish.scm ("with cache"): Check permissions on CACHED and NAR.
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
Ludovic Courtès
19e2898c80
maint: Reduce the package set for "i586-gnu".
* etc/release-manifest.scm (%base-packages/hurd): New variable.
(%base-manifest): Use it when SYSTEM is "i586-gnu".
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
Mathieu Othacehe
afa77bd228
Update NEWS. 2020-11-07 19:36:10 +01:00
Ludovic Courtès
e8b9b0fae0
Update NEWS. 2020-11-07 16:14:03 +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
Efraim Flashner
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
db1b18c397
ui: Add missing format argument in 'warn-about-load-error'.
* guix/ui.scm (warn-about-load-error): Add missing argument to 'warning'.
2020-11-06 21:42:39 +01:00
Ludovic Courtès
9e2523c25f
tests: Test "guix system search .".
This is a followup to 0c5d0c57d3.

* tests/guix-system.sh: Run "guix system search .".
2020-11-06 16:38:12 +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
51916455d0
Update NEWS. 2020-11-05 23:27:22 +01: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
4db90a6c15
pack: Do not include the host (guix config).
* guix/scripts/pack.scm (store-database)[build]: Import a
synthetic (guix config).
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
ca465a9c84
gexp: Warn when importing (guix config) or (ice-9 …).
While importing those modules from the host system is valid, it is often
a mistake that introduces non-reproducibility.  This patch prints a
warning when that happens.

* guix/gexp.scm (gexp-attribute): Add #:validate parameter and honor it.
(gexp-modules)[validate-modules]: New procedure.
Pass it to 'gexp-attribute'.
* tests/gexp.scm ("gexp-modules, warning"): New test.
2020-11-05 16:13:50 +01:00
Ludovic Courtès
18fc84bce8
gexp: Store the source code location in <gexp>.
* guix/gexp.scm (<gexp>)[location]: New field.
(gexp-location): New procedure.
(write-gexp): Print the location of GEXP.
(gexp->derivation): Adjust call to 'make-gexp'.
(gexp): Likewise.
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