Commit graph

118916 commits

Author SHA1 Message Date
Maxim Cournoyer d2385da87e
services: wireguard: Clean-up configuration file serializer.
Previously, the generated config file would contain arbitrary whitespace that
made it look ugly.

* gnu/services/vpn.scm (<wireguard-configuration>) [dns]: Change default value
from #f to '().
(wireguard-configuration-file): Use match-record.  Format each line
individually, assembling the lines at the end to avoid extraneous white space.
* doc/guix.texi (VPN Services): Update doc.
2023-07-21 11:58:44 -04:00
Maxim Cournoyer 8d785c43ba
services: wireguard: Implement a dynamic IP monitoring feature.
* gnu/services/vpn.scm (<wireguard-configuration>)
[monitor-ips?, monitor-ips-internal]: New fields.
* gnu/services/vpn.scm (define-with-source): New syntax.
(wireguard-service-name, strip-port/maybe)
(ipv4-address?, ipv6-address?, host-name?)
(endpoint-host-names): New procedure.
(wireguard-monitoring-jobs): Likewise.
(wireguard-service-type): Register it.
* tests/services/vpn.scm: New file.
* Makefile.am (SCM_TESTS): Register it.
* doc/guix.texi (VPN Services): Update doc.

Reviewed-by: Bruno Victal <mirai@makinata.eu>
2023-07-21 11:58:44 -04:00
Maxim Cournoyer f15c5edb1a
services: herd: Add a new 'current-service' procedure.
* gnu/services/herd.scm (current-service): New procedure, mostly reusing the
existing current-services.
(current-services): Implement in terms of the above procedure.
2023-07-21 11:58:44 -04:00
Janneke Nieuwenhuizen c4713ad89d
gnu: Oops, distribute ghostscript-CVE-* patches again.
This is a follow-up to commit
    03f35ff390
    gnu: ghostscript: Fix build for the Hurd.

Reported by bjc via IRC.

* gnu/local.mk (dist_patch_DATA): Re-add ghostscript-CVE-2023-36664.patch, and
ghostscript-CVE-2023-36664-fixup.patch.
2023-07-21 17:53:07 +02:00
Ahmad Draidi f737168a6c
gnu: emacs-no-littering: Update to 1.5.0.
* gnu/packages/emacs-xyz.scm (emacs-no-littering): Update to 1.5.0.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-07-21 18:03:14 +04:00
Efraim Flashner 6bda806416
gnu: swig: Skip tests when cross-compiling.
* gnu/packages/swig.scm (swig)[arguments]: Adjust #:tests? to skip tests
when cross-compiling.
2023-07-21 13:19:33 +03:00
Efraim Flashner c11afc4677
gnu: libpaper: Skip tests when cross-compiling.
* gnu/packages/ghostscript.scm (libpaper)[arguments]: Adjust #:tests to
skip tests when cross-compiling.
2023-07-21 13:19:33 +03:00
Efraim Flashner 696b22141c
gnu: parted: Skip tests when cross-compiling.
* gnu/packages/disk.scm (parted)[arguments]: Adjust #:tests? to skip
tests when cross-compiling.
2023-07-21 13:19:33 +03:00
Efraim Flashner 0867cdc514
gnu: newick-utils: Skip tests when cross-compiling.
* gnu/packages/bioinformatics.scm (newick-utils)[arguments]: Adjust
 #: tests? to skip tests when cross-compiling.
2023-07-21 13:19:33 +03:00
Efraim Flashner 8442760638
gnu: zstd: Skip tests when cross-compiling.
* gnu/packages/compression.scm (zstd)[arguments]: Adjust #:tests? to
skip tests when cross-compiling.
2023-07-21 13:19:33 +03:00
Efraim Flashner 261422e745
chez-sheme-for-racket: Fix building on riscv64-linux.
* gnu/packages/racket.scm (%racket-origin): Add patch.
* gnu/packages/patches/racket-rktboot-riscv64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-07-21 13:19:30 +03:00
Tobias Geerinckx-Rice 182be30fb1
gnu: libopenshot-audio: Use G-expressions.
* gnu/packages/audio.scm (libopenshot-audio)[arguments]:
Rewrite as G-expressions.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice 120f1721b2
gnu: libopenshot-audio: Update to 0.3.2.
* gnu/packages/audio.scm (libopenshot-audio): Update to 0.3.2.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice a3637e60bf
gnu: libopenshot: Update to 0.3.2.
* gnu/packages/video.scm (libopenshot): Update to 0.3.2.
[arguments]: Don't explicitly return #t from phases.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice 705cf2de5c
gnu: stellarium: Update to 23.2.
* gnu/packages/astronomy.scm (stellarium): Update to 23.2.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice 9bba3eb336
gnu: qxlsx: Fix include directory.
* gnu/packages/qt.scm (qxlsx)[source]: Add patch.
* gnu/packages/patches/qxlsx-fix-include-directory.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice 800fef714c
gnu: xa: Use G-expressions.
* gnu/packages/assembly.scm (xa)[arguments]:
Rewrite as G-expressions.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice d2ce2e0fee
gnu: xa: Update to 2.3.14.
* gnu/packages/assembly.scm (xa): Update to 2.3.14.
2023-07-16 02:00:00 +02:00
Ludovic Courtès 0ab46ef3f9
gnu: bootloaders: Avoid top-level circular references.
Fixes <https://issues.guix.gnu.org/64745>.

The regression was introduced in
ed5dc3a25d858a394bb7db937a51d866c3cdc6ed: at the top level,
bootloaders.scm and firmware.scm would depend on each other, leading to
unbound variables when loaded, depending on the order in which they got
loaded.

* gnu/packages/bootloaders.scm (make-u-boot-sunxi64-package): Expect
'scp-firmware' to be a promise; force it in 'native-inputs'.
(u-boot-pine64-plus, u-boot-pine64-lts, u-boot-pinebook): Wrap the 3rd
argument to 'make-u-boot-sunxi64-package' into 'delay'.

Reported-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-07-20 23:49:48 +02:00
Tobias Geerinckx-Rice a4038c4f78
gnu: fontforge@20190801: Fix build.
* gnu/packages/fontutils.scm (fontforge-20190801)[arguments]:
Rewrite as G-expressions.
2023-07-16 02:00:06 +02:00
Tobias Geerinckx-Rice 6168ad89f2
gnu: adanaxisgpl: Install the .mush files (again).
This out of an abundance of caution more than anything.

* gnu/packages/games.scm (adanaxisgpl)[arguments]: Add an 'install-data phase.
[native-inputs]: Use a later commit for adanaxis-data.
2023-07-16 02:00:38 +02:00
Tobias Geerinckx-Rice a9e788c008
gnu: adanaxisgpl: Remove input labels.
* gnu/packages/games.scm (adanaxisgpl)[native-inputs, inputs]:
Remove input labels.
[arguments]: Adjust the 'unpack-inputs phase to search for files, not
labels.
2023-07-16 02:00:38 +02:00
Tobias Geerinckx-Rice f43794e573
gnu: adanaxisgpl: Build from Git.
* gnu/packages/games.scm (adanaxisgpl-mush): Remove variable.
(adanaxisgpl)[source]: Fetch from Git.  In the snippet, create missing
directories, arrange to create missing files, and don't explicitly
return #t.
[arguments]: Add an 'unpack-inputs phase, replace the default
'bootstrap, and remove 'install-data.
[native-inputs]: Remove adanaxis-mush.  Add adanaxis-data,
adanaxis-mushruby, autoconf, automake, and perl.
2023-07-16 02:00:38 +02:00
Tobias Geerinckx-Rice d133ad7645
gnu: sdl2-ttf: Update to 2.20.2.
* gnu/packages/sdl.scm (sdl2-ttf): Update to 2.20.2.
2023-07-16 02:00:38 +02:00
Tobias Geerinckx-Rice b6ef8b664a
gnu: sdl2-mixer: Update to 2.6.3.
* gnu/packages/sdl.scm (sdl2-mixer): Update to 2.6.3.
[source]: Don't explicitly return #t from snippet.
2023-07-16 02:00:38 +02:00
Tobias Geerinckx-Rice 7158276074
gnu: sdl2-image: Update to 2.6.3.
* gnu/packages/sdl.scm (sdl2-image): Update to 2.6.3.
2023-07-16 02:00:37 +02:00
Tobias Geerinckx-Rice d2baed4679
gnu: wsdd: Fix cross-‘compilation’.
The copy-build-system appears unsuitable for scripts.

* gnu/packages/samba.scm (wsdd)[build-system]:
Switch to the GNU build system.
[arguments]: Replace #:install-plan with custom #:phases.
2023-07-16 02:00:07 +02:00
Tobias Geerinckx-Rice 296e9dc1ef
gnu: wsdd: Remove input labels.
* gnu/packages/samba.scm (wsdd)[inputs]:
Remove input labels.
2023-07-16 02:00:25 +02:00
Tobias Geerinckx-Rice 79c2af7394
gnu: wsdd: Update to 0.7.1.
* gnu/packages/samba.scm (wsdd): Update to 0.7.1.
2023-07-16 02:00:25 +02:00
Tobias Geerinckx-Rice b85366fa6b
gnu: rpi-imager: Update to 1.7.5.
* gnu/packages/raspberry-pi.scm (rpi-imager): Update to 1.7.5.
2023-07-16 02:00:25 +02:00
Tobias Geerinckx-Rice c14c3105d3
gnu: qxlsx: Update to 1.4.6.
* gnu/packages/qt.scm (qxlsx): Update to 1.4.6.
2023-07-16 02:00:24 +02:00
Tobias Geerinckx-Rice e0fbbaf84c
gnu: python-pyzstd: Unbundle and dynamically link Zstd.
* gnu/packages/python-compression.scm (python-pyzstd)[source]:
Delete bundled Zstd.
[arguments]: Add "--dynamic-link-zstd" configure flag, and honour it.
[inputs]: Add zstd.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice 2cce0f10de
gnu: python-pyzstd: Update to 0.15.9.
* gnu/packages/python-compression.scm (python-pyzstd): Update to 0.15.9.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice 306c1ab71c
gnu: lensfun: Update to 0.3.4.
* gnu/packages/photo.scm (lensfun): Update to 0.3.4.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice 99c8330460
gnu: xpdf: Update to 4.04.
* gnu/packages/pdf.scm (xpdf): Update to 4.04.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice 25538200d1
gnu: yapet: Fix documentation directory.
* gnu/packages/password-utils.scm (yapet)[arguments]: Add missing stroke.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice 229e2a9e2c
gnu: yapet: Update to 2.6.
* gnu/packages/password-utils.scm (yapet): Update to 2.6.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice 5abd22180e
gnu: passwdqc: Update to 2.0.3.
* gnu/packages/password-utils.scm (passwdqc): Update to 2.0.3.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice bb6285afdf
gnu: otpclient: Update to 3.1.9.
* gnu/packages/password-utils.scm (otpclient): Update to 3.1.9.
2023-07-16 02:00:01 +02:00
Tobias Geerinckx-Rice 2bb7844a14
gnu: yoshimi: Update to 2.3.0.2.
* gnu/packages/music.scm (yoshimi): Update to 2.3.0.2.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice 5ef7be9126
gnu: hydra: Update to 9.5.
* gnu/packages/password-utils.scm (hydra): Update to 9.5.
2023-07-16 02:00:00 +02:00
Tobias Geerinckx-Rice 48f0c3a3b5
gnu: zabbix-cli: Update to 2.3.1.
* gnu/packages/monitoring.scm (zabbix-cli): Update to 2.3.1.
2023-07-16 02:00:00 +02:00
Simon South 21b718f4d6
gnu: python-pyusb: Update to 1.2.1.
* gnu/packages/libusb.scm (python-pyusb): Update to 1.2.1.
[native-inputs]: Add python-setuptools-scm.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-07-20 19:13:35 +08:00
kiasoc5 a74604c0f0
gnu: Add wdisplays.
* gnu/packages/wm.scm (wdisplays): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-07-20 19:09:43 +08:00
Nicolas Goaziou f019ce027c
gnu: Add texlive-collection-plaingeneric.
* gnu/packages/tex.scm (texlive-collection-plaingeneric): New variable.
2023-07-20 11:17:50 +02:00
Nicolas Goaziou 203bb57413
gnu: Add texlive-poormanlog.
* gnu/packages/tex.scm (texlive-poormanlog): New variable.
2023-07-20 11:17:50 +02:00
Nicolas Goaziou 92ca4ac79b
gnu: Add texlive-zztex.
* gnu/packages/tex.scm (texlive-zztex): New variable.
2023-07-20 11:17:49 +02:00
Nicolas Goaziou 2efd2a8d11
gnu: Add texlive-xlop.
* gnu/packages/tex.scm (texlive-xlop): New variable.
2023-07-20 11:17:49 +02:00
Nicolas Goaziou d70b22da94
gnu: Add texlive-xintsession.
* gnu/packages/tex.scm (texlive-xintsession): New variable.
2023-07-20 11:17:49 +02:00
Nicolas Goaziou 7e68ab576b
gnu: Add texlive-xii-lat.
* gnu/packages/tex.scm (texlive-xii-lat): New variable.
2023-07-20 11:17:48 +02:00