Commit graph

109643 commits

Author SHA1 Message Date
Bruno Victal
c122fe37d5
services: network-manager: Set service canonical-name to NetworkManager.
According to the semantics in [1], 'networking should be a "virtual service"
and NetworkManager its canonical-name. This does not influence
existing services and they should continue to use the 'networking symbol.

One visible change is that 'herd status' doesn't show 'networking' anymore,
instead listing 'NetworkManager' in its place but both symbols are can be used
to start and stop the same service.

Note: Though the symbol NetworkManager doesn't really conform with the overall kebab-case
used throughout Guix, this is intentional as we really want to make it clear that
that the symbol NetworkManager really refers to the software called NetworkManager,
since it's a canonical name here. (rather than risk misleading the user to interpret
the symbol network-manager as a symbol for some unspecific network management software)

[1]: https://www.gnu.org/software/shepherd/manual/html_node/Jump-Start.html

* gnu/services/networking.scm (network-manager-shepherd-service): Make 'networking a
virtual service and set 'NetworkManager as its canonical name.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-10 14:49:58 +01:00
Bruno Victal
d04955972e
services: network-manager: Await for NetworkManager to finish starting up.
This is similar to its NetworkManager-wait-online.service systemd counterpart,
with the main difference being that we handle it all in 'networking symbol, rather than
introduce a new 'networking-online symbol. (see discussion #47253)

As a result of this change, with opensmtpd-service-type as an example,
manual 'herd restart smtpd' after system bootups are no longer required
when opensmtpd is configured with a smtpd.conf containing non-loopback interfaces.
(this issue is described in more detail at #60300)

Fixes <https://issues.guix.gnu.org/60300>.

* gnu/services/networking.scm (network-manager-shepherd-service): Await for
NetworkManager to finish starting up.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-10 14:49:58 +01:00
Bruno Victal
17c80118fa
services: connman: Deprecate 'iwd?' field.
* gnu/services/networking.scm (<connman-configuration>)
[iwd?]: Use helper to warn deprecated field.
(connman-shepherd-service): Make iwd? a local variable independent from
the deprecated field.
* doc/guix.texi (Networking Setup): Remove mention of iwd? field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-10 14:49:57 +01:00
Bruno Victal
269871d18e
services: connman: Add 'shepherd-requirement' field.
* gnu/services/networking.scm (<connman-configuration>)
[shepherd-requirement]: New field.
(connman-shepherd-service): Honor it.
(connman-configuration-shepherd-requirement): Export accessor.
* doc/guix.texi (Networking Setup): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-10 14:49:57 +01:00
Bruno Victal
1545dab1fa
services: connman: Use match-record and export accessors.
* gnu/services/networking.scm (connman-shepherd-service): Use match-record.
(connman-configuration-connman, connman-configuration-disable-vpn?)
(connman-configuration-iwd?): Export accessors.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-10 14:49:57 +01:00
Bruno Victal
1e1b3ec012
services: network-manager: Deprecate 'iwd?' field.
* gnu/services/networking.scm (warn-iwd?-field-deprecation): New procedure,
helper for deprecated field.
(<network-manager-configuration>)[iwd?]: Use helper to warn deprecated field.
(network-manager-shepherd-service): Make iwd? a local variable independent
from the deprecated field.
* doc/guix.texi (Networking Setup): Remove mention of iwd? field.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-10 14:49:57 +01:00
Bruno Victal
7777d767a4
services: network-manager: Add 'shepherd-requirement' field.
Note: This also makes wpa-supplicant an optional requirement.

* gnu/services/networking.scm (<network-manager-configuration>)
[shepherd-requirement]: New field.
(network-manager-shepherd-service): Honor it.
(network-manager-configuration-shepherd-requirement): Export accessor.
* doc/guix.texi (Networking Setup): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-10 14:49:57 +01:00
Ludovic Courtès
79ae719ad1
build-system/gnu: Remove 'install-license-files' from '%dist-phases'.
* guix/build/gnu-dist.scm (%dist-phases): Delete 'install-license-files'.
2023-03-10 14:49:56 +01:00
Efraim Flashner
4f4e4abd3a
gnu: ipxe: Update to 1.21.1-1.9e1f7a3.
* gnu/packages/bootloaders.scm (ipxe): Update to 1.21.1-1.9e1f7a3.
[source]: Remove patch.
[arguments]: Add phase to skip 1 i386 firmware file. Move setting
syslinux path from make-flags to phases.
* gnu/packages/patches/ipxe-reproducible-geniso.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-03-09 15:10:16 +02:00
Efraim Flashner
e22a6ed8f8
gnu: make-openbios-package: Enable building from aarch64, riscv64.
* gnu/packages/firmware.scm (make-openbios-package)[source]: Add patch
to correctly detect aarch64 and riscv64 build hosts.
(openbios-qemu-ppc)[arguments]: Remove aarch64 workaround for #:system.
* gnu/packages/patches/openbios-aarch64-riscv64-support.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-03-09 15:10:16 +02:00
Efraim Flashner
7b1dd1e9ea
gnu: make-openbios-package: Enable setting configure-flags.
* gnu/packages/firmware.scm (make-openbios-package)[arguments]: Adjust
custom 'configure phase to apply configure-flags.
2023-03-09 15:10:13 +02:00
Andrew Tropin
070c335a91
gnu: emacs-next-tree-sitter: Inherit from emacs-next-pgtk.
Make emacs with tree-sitter work on wayland as well.

* gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from
emacs-next-pgtk, remove uneeded native-inputs, add synopsis and description.
[source]: Use inherited patches.
2023-03-09 15:31:10 +04:00
Andrew Tropin
b4c64ddce4
gnu: emacs-next-pgtk: Remove xwidgets support.
xwidgets is beefy and buggy, but emacs-next-pgtk is important for wayland
users, so it seems a good idea to remove xwidgets from emacs-next-pgtk.  Also,
we have a separate emacs-xwidgets package for those who wants to experiment.

* gnu/packages/emacs.scm (emacs-next-pgtk)[propagated-inputs]: Remove
gsettings-desktop-schemas glib-networking.
[arguments]<#:configure-flags>: Remove --with-xwidgets.
[inputs]: Remove webkitgtk-with-libsoup2.
[home-page]: PGTK is merged to upstream emacs repository now, so inherit
home-page from emacs-next.
2023-03-09 15:31:09 +04:00
Andrew Tropin
a106ee80eb
gnu: Add emacs-cyrillic-dvorak-im.
* gnu/packages/emacs-xyz.scm (emacs-cyrillic-dvorak-im): New variable.
2023-03-09 15:31:08 +04:00
Danny Milosavljevic
741b534d16
gnu: fluxbox: Make big cursors work.
* gnu/packages/patches/fluxbox-1.3.7-no-dynamic-cursor.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/wm.scm (fluxbox)[source]: Add patch.
[arguments]<#:phases>[force-bootstrap]: New phase.
[native-inputs]: Add autoconf, automake, gnu-gettext.
[inputs]: Add libxcursor.
2023-03-09 11:26:01 +01:00
Nicolas Goaziou
5befcff66e
gnu: tlpui: Update to 1.5.0-6.
* gnu/packages/linux.scm (tlpui): Update to 1.5.0-6.
[arguments]<#:phases>: Rename USE-TLP-INPUT into SET-ABSOLUTE-LOCATIONS to
be more accurate.  Also add a new phase to skip failing tests.
[inputs]: Add LSBUTILS and PCIUTILS.
2023-03-08 19:09:01 +01:00
Nicolas Goaziou
edce1efe5a
gnu: emacs-ace-jump-helm-line: Fix description.
* gnu/packages/emacs-xyz.scm (emacs-ace-jump-helm-line)[description]: Pacify linter.
2023-03-08 19:04:27 +01:00
Nicolas Goaziou
f6d190c0a8
gnu: emacs-afternoon-theme: Use HTTPS home page URI.
* gnu/packages/emacs-xyz.scm (emacs-afternoon-theme)[home-page]: Use HTTPS URI.
2023-03-08 19:02:21 +01:00
Rostislav Svoboda
aa9edead1d
gnu: Add emacs-afternoon-theme.
* gnu/packages/emacs-xyz.scm (emacs-afternoon-theme): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-08 16:23:21 +01:00
Rostislav Svoboda
fb17abc6c1
gnu: Add emacs-cider-eval-sexp-fu.
* gnu/packages/emacs-xyz.scm (emacs-cider-eval-sexp-fu): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-08 16:20:54 +01:00
Rostislav Svoboda
71f315ceae
gnu: Add emacs-ace-jump-helm-line.
* gnu/packages/emacs-xyz.scm (emacs-ace-jump-helm-line): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-08 16:15:31 +01:00
Rostislav Svoboda
ca0a4a9dc2
gnu: Add emacs-ac-ispell.
* gnu/packages/emacs-xyz.scm (emacs-ac-ispell): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-08 16:13:10 +01:00
Rostislav Svoboda
79a215feda
gnu: Add emacs-cfrs.
* gnu/packages/emacs-xyz.scm (emacs-cfrs): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-08 16:10:41 +01:00
Rostislav Svoboda
78ae8c6a40
gnu: Add emacs-font-lock+.
* gnu/packages/emacs-xyz.scm (emacs-font-lock+): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-08 16:05:40 +01:00
Nicolas Goaziou
6e4b997cdf
gnu: emacs-terraform-mode: Update to 1.0.0.
* gnu/packages/emacs-xyz.scm (emacs-terraform-mode): Update to 1.0.0.
[propagated-inputs]: Add EMACS-DASH.
2023-03-08 15:52:17 +01:00
Nicolas Goaziou
b5b7b43f20
gnu: emacs-shell-command+: Update to 2.4.2.
* gnu/packages/emacs-xyz.scm (emacs-shell-command+): Update to 2.4.2.
2023-03-08 15:52:17 +01:00
Nicolas Goaziou
668250ddc4
gnu: emacs-org-re-reveal: Update to 3.18.2.
* gnu/packages/emacs-xyz.scm (emacs-org-re-reveal): Update to 3.18.2.
2023-03-08 15:52:17 +01:00
Nicolas Goaziou
616ce7c959
gnu: emacs-magit-todos: Update to 1.6.
* gnu/packages/emacs-xyz.scm (emacs-magit-todos): Update to 1.6.
2023-03-08 15:52:16 +01:00
Nicolas Goaziou
505c7afe37
gnu: emacs-ebuild-mode: Update to 1.62.
* gnu/packages/emacs-xyz.scm (emacs-ebuild-mode): Update to 1.62.
2023-03-08 15:52:16 +01:00
Nicolas Goaziou
212ce609a0
gnu: emacs-dtrt-indent: Update to 1.9.
* gnu/packages/emacs-xyz.scm (emacs-dtrt-indent): Update to 1.9.
2023-03-08 15:52:16 +01:00
Nicolas Goaziou
159f83e489
gnu: emacs-cnfonts: Update to 1.1.0.
* gnu/packages/emacs-xyz.scm (emacs-cnfonts): Update to 1.1.0.
[description]: Use proper capitalization.
2023-03-08 15:52:15 +01:00
Nicolas Goaziou
2387d0cce4
gnu: emacs-cmake-font-lock: Update to 0.1.13.
* gnu/packages/emacs-xyz.scm (emacs-cmake-font-lock): Update to 0.1.13.
2023-03-08 15:52:15 +01:00
Nicolas Goaziou
b7a02801e9
gnu: emacs-beginend: Update to 2.4.0.
* gnu/packages/emacs-xyz.scm (emacs-beginend): Update to 2.4.0.
2023-03-08 15:52:15 +01:00
Nicolas Goaziou
26313f684b
gnu: emacs-tramp: Update to 2.6.0.2.
* gnu/packages/emacs-xyz.scm (emacs-tramp): Update to 2.6.0.2.
2023-03-08 15:52:15 +01:00
Nicolas Goaziou
a8b4562fa4
gnu: emacs-kind-icon: Update to 0.2.0.
* gnu/packages/emacs-xyz.scm (emacs-kind-icon): Update to 0.2.0.
2023-03-08 15:52:14 +01:00
Nicolas Goaziou
fe9fedd005
gnu: emacs-compat: Update to 29.1.4.0.
* gnu/packages/emacs-xyz.scm (emacs-compat): Update to 29.1.4.0.
2023-03-08 15:52:14 +01:00
Nicolas Goaziou
8b07dc2a16
gnu: emacs-subed: Update to 1.1.0.
* gnu/packages/emacs-xyz.scm (emacs-subed): Update to 1.1.0.
2023-03-08 15:52:14 +01:00
Nicolas Goaziou
d22ff5b2d4
gnu: emacs-auctex: Update to 13.1.10.
* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 13.1.10.
2023-03-08 15:52:13 +01:00
Nicolas Goaziou
b9e4cf55f7
gnu: emacs-apheleia: Update to 3.2.
* gnu/packages/emacs-xyz.scm (emacs-apheleia): Update to 3.2.
2023-03-08 15:52:13 +01:00
jgart
c738eef0de
gnu: Update emacs-ement to 0.7.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.7.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-03-08 15:52:13 +01:00
Arun Isaac
85d4e8af5b
gnu: skribilo: Update to 0.10.0.
* gnu/packages/skribilo.scm (skribilo): Update to 0.10.0.
2023-03-08 13:14:32 +00:00
Efraim Flashner
203578eef2
gnu: libreoffice: Update to 7.5.1.2.
* gnu/packages/libreoffice.scm (libreoffice): Update to 7.5.1.2.
[arguments]: Adjust 'prepare-src phase for newer dragonbox dependency.
Remove outdated configure flag.
[inputs]: Replace dragonbox-for-libreoffice with dragonbox. Replace
harfbuzz with harfbuzz-5.
(dragonbox-for-libreoffice): Remove package.
* gnu/packages/hunspell.scm (hunspell-dictonary): Update to 7.5.1.2.
2023-03-08 10:16:26 +02:00
Efraim Flashner
346048a40c
gnu: lagrange: Update to 1.15.3.
* gnu/packages/web-browsers.scm (lagrange): Update to 1.15.3.
2023-03-08 08:56:16 +02:00
Efraim Flashner
5755c5b33c
gnu: bubblewrap: Update to 0.8.0.
* gnu/packages/virtualization.scm (bubblewrap): Update to 0.8.0.
2023-03-08 08:56:16 +02:00
Efraim Flashner
ee78ee065f
gnu: git-annex: Update to 10.20230227.
* gnu/packages/haskell-apps.scm (git-annex): Update to 10.20230227.
2023-03-08 08:56:16 +02:00
Efraim Flashner
d8ce5b1cd1
gnu: vdirsyncer: Update to 0.19.1.
* gnu/packages/dav.scm (vdirsyncer): Update to 0.19.1.
2023-03-08 08:55:20 +02:00
Efraim Flashner
034a5f2e86
gnu: toot: Update to 0.35.0.
* gnu/packages/mastodon.scm (toot): Update to 0.35.0.
2023-03-08 08:54:31 +02:00
Efraim Flashner
b41ec400e0
gnu: yt-dlp: Update to 2023.03.04.
* gnu/packages/video.scm (yt-dlp): Update to 2023.03.04.
2023-03-08 08:53:40 +02:00
Efraim Flashner
c4a8a88e87
gnu: flatpak: Update to 1.14.3.
* gnu/packages/package-management.scm (flatpak): Update to 1.14.3.
* gnu/packages/patches/flatpak-unset-gdk-pixbuf-for-sandbox.patch:
Refresh patch.
2023-03-08 08:52:57 +02:00
Maxim Cournoyer
f289fe316a
gnu: python-shiboken-6: Update to 6.3.2.
* gnu/packages/qt.scm (python-shiboken-6): Update to 6.3.2.
2023-03-07 20:10:33 -05:00