Commit graph

119069 commits

Author SHA1 Message Date
TakeV 2ff9cfb9e6
gnu: godot: Use system brotli
* gnu/packages/game-development.scm (godot) [arguments,inputs]: use system brotli
2023-07-27 21:22:38 -07:00
Efraim Flashner 35c8d631d2
gnu: linux-libre-arm64-generic: Add support for ath9k wireless.
* gnu/packages/linux.scm (linux-libre-arm64-generic)[extra-options): Add
configuration for ath9k_htc.
2023-07-27 19:36:46 +03:00
Maxim Cournoyer c7e45139fa
Revert "services: mpd: Add an 'update' action to trigger a database update."
This reverts commit e1070ee160.  Rationale: this
only works with the default 'endpoints'.  The 'auto-update?' option should be
sufficient to trigger a database update automatically anyway.
2023-07-26 12:04:37 -04:00
Maxim Cournoyer 53138a393b
services: mpd: Update basic example.
Relates to <https://issues.guix.gnu.org/63082>.

* doc/guix.texi (Audio Services): Do not use a deprecated user form; keep the
default one.  Remove port.  Specify a music-directory.  Mention the importance
of permissions on the music directory.
2023-07-26 10:40:16 -04:00
Maxim Cournoyer 776317e707
services: mpd: Provision a default cache directory and set HOME.
Relates to <https://issues.guix.gnu.org/63082>.

* gnu/services/audio.scm (mpd-shepherd-service): Create a default .cache
directory.  Use mkdir-p/perms and refactor loop.  Set the HOME environment
variables.
2023-07-26 10:40:16 -04:00
Maxim Cournoyer 07bb69d52c
services: mpd: Auto-detect mpd-output mixer type by default.
Relates to <https://issues.guix.gnu.org/63082>.

* gnu/services/audio.scm (mpd-output) [mixer-type]: Change default value from
"none" to unspecified.
* doc/guix.texi (Audio Services): Regenerate doc.
2023-07-26 10:40:16 -04:00
Maxim Cournoyer 03795e2ba2
system: accounts: Export <user-account>. 2023-07-26 10:40:16 -04:00
Maxim Cournoyer f16c7188f4
services: Avoid 'delete' overrides warning in audio module.
* gnu/services/audio.scm: Hide 'delete' on (gnu services) import.
2023-07-26 10:40:16 -04:00
Maxim Cournoyer 0db2fa1ac0
services: mpd: Do not rotate logs when using syslog.
* gnu/services/audio.scm (mpd-log-rotation): Conditionlize based on the value
of LOG-FILE.
2023-07-26 10:40:16 -04:00
Maxim Cournoyer 131746885c
services: mpd: Log to syslog by default.
Rationale: the tristate value was awkward to deal with, the default log file
name was odd (/var/log/mpd/log) and it required special attention to create
the 'mpd' parent directory as root and chowning it to the MPD user.  It also
didn't match the default behavior of MPD, which is to log to systemd or syslog
unless a log file is specified.

* gnu/services/audio.scm (mpd-log-file-sanitizer): New procedure.
(mpd-configuration) [log-file]: Remove default maybe value.  Add sanitizer.
(mpd-shepherd-service): Validate the log file parent directory exists and has
the right permissions.  Conditionally add syslogd to requirements.
(mympd-log-to-sanitizer): New procedure.
(mympd-configuration) [log-to]: Change type to maybe-string.  Update doc and
add sanitizer.
(mympd-shepherd-service) [requirement]: Fix to use syslogd.  Adjust
accordingly.
[start] Adjust accordingly.
(mympd-log-rotation): Check log-to via maybe-value-set?.
* doc/guix.texi (Audio Services): Update doc.
2023-07-26 10:40:15 -04:00
Maxim Cournoyer a5d611c19b
services: mpd; Refactor start slot directory initialization.
* gnu/services/audio.scm (mpd-shepherd-service): Standardize the way the log
file parent and other directories are initialized in the start slot.
(mympd-shepherd-service): Likewise.
2023-07-26 10:40:15 -04:00
Maxim Cournoyer 98a46c9da6
services: mpd: List log-level in decreasing verbosity order in doc.
* gnu/services/audio.scm (mpd-configuration) [log-level]: List log-level in
decreasing verbosity order in doc.
* doc/guix.texi (Audio Services): Update doc.
2023-07-26 10:40:15 -04:00
Distopico 67cc7b1635
gnu: Add calc.
* gnu/packages/maths.scm (calc): New variable.

Co-authored-by: Andreas Enge <andreas@enge.fr>
2023-07-26 16:31:36 +02:00
David Elsing 2e3edb38a5
gnu: python-pymol: Fix launch script.
* gnu/packages/chemistry.scm (python-pymol)[#:phases]: Add 'disable-unchroot.
[native-inputs]: Remove python-setuptools.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-07-26 16:11:31 +02:00
Christopher Baines 9ca9b0afb6
gnu: openjdk9: Fix build on aarch64.
* gnu/packages/java.scm (openjdk9)[arguments]: Add 'patch-for-aarch64 phase to
remove duplicate line in interp_masm_aarch64.hpp.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-07-26 15:56:26 +02:00
Sharlatan Hellseher f22c20e7ca
gnu: Add glnemo2.
* gnu/packages/astronomy.scm (glnemo2): New variable.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-07-26 15:49:49 +02:00
Sharlatan Hellseher 6397f1326d
gnu: Add ccfits.
* gnu/packages/astronomy.scm (ccfits): New variable.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-07-26 15:33:27 +02:00
Hilton Chain e05dcecd0d
gnu: python-shiboken-6: Remove inherited workaround.
Fixes: <https://issues.guix.gnu.org/64803>.

* gnu/packages/qt.scm (python-shiboken-6)[arguments]<#:phases>: Delete
'workaround-importlib-error, which breaks the build.

Reported-by: Formbi <formbi@protonmail.com>
Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-07-26 13:28:59 +02:00
Sharlatan Hellseher 707682ac75
gnu: cfitsio: Download source over HTTPS.
* gnu/packages/astronomy.scm (cfitsio)[source]: Use HTTPS.

Signed-off-by: Andreas Enge <andreas@enge.fr>
2023-07-26 12:19:54 +02:00
Christopher Baines 9312c68334
gnu: guix-build-coordinator: Update to 0-86.f39f160.
* gnu/packages/package-management.scm (guix-build-coordinator): Update to
0-86.f39f160.
[arguments]: Update style.
2023-07-26 10:49:07 +01:00
Christopher Baines a62c8a80cb
gnu: nar-herder: Update to 0-21.53682fa.
* gnu/packages/package-management.scm (nar-herder): Update to 0-21.53682fa.
[arguments]: Update style.
2023-07-26 10:45:16 +01:00
Christopher Baines ad9bcc1361
gnu: guix-data-service: Update to 0.0.1-42.1c75394.
* gnu/packages/web.scm (guix-data-service): Update to 0.0.1-42.1c75394.
[arguments]: Update style.
2023-07-26 10:39:26 +01:00
Christopher Baines a8b4ab61f3
services: guix-data-service: Unlink the two shepherd services.
So that they can be restarted in dependently.

* gnu/services/guix.scm (guix-data-service-shepherd-services): Don't require
the main service from the jobs service.
2023-07-26 10:31:58 +01:00
Christopher Baines d979197eaf
gnu: Fix guile-for-guile-emacs builder.
I think this broke in c4c08775a8.

* gnu/packages/guile.scm (guile-for-guile-emacs)[arguments]: Switch to gexp
for phases.
2023-07-26 10:31:58 +01:00
Juliana Sims ca133a7c4d
gnu: Add rvvm.
* gnu/packages/virtualization.scm (rvvm): New variable.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-07-26 11:31:15 +03:00
Efraim Flashner 713dca1399
gnu: toot: Update to 0.38.1.
* gnu/packages/mastodon.scm (toot): Update to 0.38.1.
[inputs]: Add python-tomlkit.
2023-07-26 09:11:56 +03:00
Efraim Flashner f76ef3f759
gnu: urlscan: Update to 1.0.1.
* gnu/packages/mail.scm (urlscan): Update to 1.0.1.
2023-07-26 08:53:09 +03:00
Efraim Flashner 8f5157bd82
gnu: mpv: Update to 0.36.0.
* gnu/packages/video.scm (mpv): Update to 0.36.0.
2023-07-26 08:30:40 +03:00
Tobias Geerinckx-Rice bfb480e76f
gnu: qemu: Update to 7.2.4.
* gnu/packages/virtualization.scm (qemu): Update to 7.2.4.
2023-07-23 02:00:00 +02:00
Maxim Cournoyer 005912c595
services: mpd: Rename %set-user-group to set-user-group.
The convention to use % as a prefix is for "special" variables rather than
procedures.

* gnu/services/audio.scm (%set-user-group): Rename to...
(set-user-group): ... this.
2023-07-25 13:04:18 -04:00
Maxim Cournoyer 42c8a2e296
services: mpd: Streamline mpd-user-sanitizer and mympd-user-sanitizer.
* gnu/services/audio.scm (mpd-user-sanitizer, %mympd-user): Remove extraneous
group field, already inherited.
(%mpd-user, %mympd-user): Clarify %lazy-group explanatory comment.  Fix
indentation.
2023-07-25 13:04:18 -04:00
Maxim Cournoyer e1070ee160
services: mpd: Add an 'update' action to trigger a database update.
* gnu/services/audio.scm (mpd-shepherd-service): Register a new update action.
* doc/guix.texi (Audio Services): Document it.
2023-07-25 13:04:17 -04:00
Maxim Cournoyer 6a57bf9612
services: mpd: Add auto-update? field to mpd-configuration.
* gnu/services/audio.scm (mpd-configuration) [auto-update?]: New field.
* doc/guix.texi (Audio Services): Update doc.
2023-07-25 13:04:12 -04:00
Maxim Cournoyer 9ff1e7652a
etc: Add a Qt team.
* etc/teams.scm.in (qt): New variable.
('Maxim Cournoyer'): Add to qt team.
2023-07-25 12:00:56 -04:00
Maxim Cournoyer 996e006644
etc: Add a telephony team.
* etc/teams.scm.in (telephony): New variable.
('Maxim Cournoyer'): Add to telephony team.
2023-07-25 12:00:56 -04:00
Janneke Nieuwenhuizen 9dfda9e1a0
cuirass: Update hurd-manifest with newly supported packages.
* build-aux/cuirass/hurd-manifest.scm: Include full build of python-minimal
and gettext-minimal (no longer without-tests).  Add grub-minimal, grub,
guix-without-tests and guile-3.0 (no longer delete it from guix dependencies).
2023-07-25 15:48:42 +02:00
Efraim Flashner 1fd4f544b3
transformations: Wrap go binary.
* guix/transformations.scm (tuning-compiler): Adjust to wrap the go
binary with the appropriate environment variable.
(build-system-with-tuning-compiler): Remove custom 'set-microarchitecture
phase.
2023-07-25 16:07:02 +03:00
Efraim Flashner 11751b016d
gnu: opensbi: Remove configure-flags.
The 'configure phase is removed and nothing uses it.

* gnu/packages/firmware.scm (make-opensbi-package)[arguments]: Remove
configure-flags.
2023-07-25 16:07:02 +03:00
Efraim Flashner 1b95a34405
gnu: opensbi: Update to 1.3.1.
* gnu/packages/firmware.scm (make-opensbi-package): Update to 1.3.1.
2023-07-25 16:07:02 +03:00
Andre A. Gomes dce70730b8
gnu: nyxt: Update to 3.5.0.
* gnu/packages/web-browsers.scm (nyxt): Update to 3.5.0.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-07-25 14:05:21 +02:00
Andre A. Gomes d2674ff89a
gnu: cl-nasdf: Update to 0.1.6.
* gnu/packages/lisp-xyz.scm (sbcl-nasdf): Update to 0.1.6.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-07-25 14:03:38 +02:00
Guillaume Le Vaillant 81f0417417
gnu: hackrf: Update to 2023.01.1.
* gnu/packages/radio.scm (hackrf): Update to 2023.01.1.
2023-07-25 12:25:34 +02:00
Tobias Geerinckx-Rice 76e041f9ee
gnu: lvm2: Update to 2.03.21.
* gnu/packages/linux.scm (lvm2): Update to 2.03.21.
[source]: Remove patch.  Don't explicitly return #t from snippet.
[arguments]: Don't explicitly return #t from phases.
* gnu/packages/patches/lvm2-static-link.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-07-23 02:00:00 +02:00
Tobias Geerinckx-Rice 7a56d216fc
gnu: dkimproxy: Wrap with perl-cryptx.
Fixes ‘Can't locate Crypt/PK/Ed25519.pm in @INC’.

* gnu/packages/mail.scm (dkimproxy)[inputs]: Add perl-cryptx.
[arguments]: Wrap the scripts with it.
2023-07-23 02:00:00 +02:00
Tobias Geerinckx-Rice d01cf7e3c3
gnu: virt-viewer: Fix build.
* gnu/packages/spice.scm (virt-viewer)[arguments]: Add a new
'build-with-recent-meson phase.
2023-07-23 02:00:00 +02:00
Distopico 3adde30af5
gnu: Add sdkmanager.
* gnu/packages/android.scm (sdkmanager): New variable.

Co-authored-by: Andreas Enge <andreas@enge.fr>
2023-07-24 17:38:29 +02:00
Guillaume Le Vaillant cf9904bcc8
gnu: cl-ironclad: Update to 0.59.
* gnu/packages/lisp-xyz.scm (sbcl-ironclad): Update to 0.59.
2023-07-24 10:27:45 +02:00
Efraim Flashner a0c387cb79
gnu: nss: Fix building on powerpc-linux.
* gnu/packages/nss.scm (nss)[arguments]: Skip tests on powerpc-linux.
Adjust the configure-flags when building for powerpc-linux to not use
features unavailable for that architecture.
2023-07-24 08:14:58 +03:00
Ricardo Wurmus b5af0b9c01
gnu: Add python-openai.
* gnu/packages/python-web.scm (python-openai): New variable.
2023-07-23 23:08:47 +02:00
Ricardo Wurmus b95b34d6a3
gnu: Add python-fastapi-csrf-protect.
* gnu/packages/python-web.scm (python-fastapi-csrf-protect): New variable.
2023-07-23 23:08:47 +02:00