Commit Graph

60646 Commits

Author SHA1 Message Date
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
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 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
Tobias Geerinckx-Rice d9005cdcc3
gnu: zeitgeist: Update to 1.0.3.
* gnu/packages/gnome.scm (zeitgeist): Update to 1.0.3.
2020-11-05 03:46:09 +01:00
Tobias Geerinckx-Rice 2b03b5f5da
gnu: gpxsee: Update to 7.35.
* gnu/packages/gps.scm (gpxsee): Update to 7.35.
2020-11-05 03:46:09 +01:00
Tobias Geerinckx-Rice 2666bb8112
gnu: wavemon: Update to 0.9.2.
* gnu/packages/hardware.scm (wavemon): Update to 0.9.2.
[source]: Add two bonus upstream commits as patches.
2020-11-05 03:46:08 +01:00
Marius Bakke c98f68cdb1
gnu: python-djangorestframework: Update to 3.12.1.
* gnu/packages/django.scm (python-djangorestframework): Update to 3.12.1.
2020-11-05 02:20:25 +01:00
Marius Bakke e04610d821
gnu: python-django@2.2: Update to 2.2.17.
* gnu/packages/django.scm (python-django-2.2): Update to 2.2.17.
2020-11-05 02:20:25 +01:00
Marius Bakke 291cd8e3fa
gnu: python-django: Update to 3.1.3.
* gnu/packages/django.scm (python-django): Update to 3.1.3.
2020-11-05 02:20:25 +01:00
Marius Bakke fddc870632
gnu: ungoogled-chromium: Fix hardware acceleration.
* gnu/packages/chromium.scm (ungoogled-chromium)[arguments]: Patch in absolute
file name of libGL.so, and install Chromiums own libEGL.so and libGLESv2.so.
2020-11-05 02:20:24 +01:00
Marius Bakke 81dfd459e3
gnu: ungoogled-chromium: Update to 86.0.4240.183-0.b68e17f [security fixes].
This fixes CVE-2020-16004, CVE-2020-16005, CVE-2020-16006, CVE-2020-16007,
CVE-2020-16008, CVE-2020-16009, and CVE-2020-16011.

* gnu/packages/chromium.scm (%ungoogled-revision, %ungoogled-origin): Update
to b68e17f.
(ungoogled-chromium): Update to 86.0.4240.183.
2020-11-05 02:20:24 +01:00