Commit Graph

115515 Commits

Author SHA1 Message Date
Ludovic Courtès ba5da5125a
style: Add 'arguments' styling rule.
* guix/scripts/style.scm (unquote->ungexp, gexpify-argument-value)
(quote-argument-value, gexpify-argument-tail)
(gexpify-package-arguments): New procedures.
(%gexp-keywords): New variable.
(%options): Add "arguments" case for 'styling-procedure.
(show-stylings): Update.
* tests/style.scm ("gexpify arguments, already gexpified")
("gexpify arguments, non-gexp arguments, margin comment")
("gexpify arguments, phases and flags")
("gexpify arguments, append arguments")
("gexpify arguments, substitute-keyword-arguments")
("gexpify arguments, append substitute-keyword-arguments"): New tests.
* doc/guix.texi (package Reference): For 'arguments', add compatibility
note and link to 'guix style'.
(Invoking guix style): Document the 'arguments' styling rule.
2023-05-18 20:01:32 +02:00
Greg Hogan c1007786fd
gnu: f3d: Update to 2.0.0.
* gnu/packages/graphics.scm (f3d): Update to 2.0.0.
[source]: Update substitute paths and add patch for breaking change to
cxxopts.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:55:33 +02:00
Greg Hogan 7db7d4476f
gnu: discregrid: Fix for dependent updates.
* gnu/packages/graphics.scm (discregrid)[source]: Add patch for breaking
change to cxxopts.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:55:31 +02:00
Greg Hogan 4dc6fa08be
gnu: cxxopts: Update to 3.1.1.
* gnu/packages/cpp.scm (cxxopts): Update to 3.1.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:55:30 +02:00
Benjamin 146bae3979
gnu: swaylock: Add linux-pam to inputs.
Adding linux-pam to inputs allows swaylock to run without setuid if
configured with a proper pam file.

* gnu/packages/wm.scm (swaylock)[inputs]: Add LINUX-APM.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:53:54 +02:00
Denis 'GNUtoo' Carikli c6cc554c5e
gnu: btrfs-progs: Update to 6.3.
* gnu/packages/linux.scm (btrfs-progs): Update to 6.3.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:51:37 +02:00
Denis 'GNUtoo' Carikli 92a899ed98
gnu: btrfs-progs: Make the python-sphinx input conditional.
* gnu/packages/linux.scm (btrfs-progs) [native-inputs]:
  Make the python-sphinx input conditional.
  [arguments]: Conditionally add --disable-documentation to
  configure flags.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:51:30 +02:00
Denis 'GNUtoo' Carikli 5d84a90694
gnu: btrfs-progs: Use new style inputs and gexps.
* gnu/packages/linux.scm (btrfs-progs)[arguments]: Use new style and gexps.
  [inputs]: Use new style.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:51:23 +02:00
Denis 'GNUtoo' Carikli 255b5b81db
gnu: btrfs-progs: Run 'guix style' over the package.
* gnu/packages/linux.scm (btrfs-progs): Restyle.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:51:06 +02:00
Morgan Smith c95e817bb9
gnu: libfive: Generate bindings instead of using pre-generated ones.
* gnu/packages/engineering.scm (libfive)[phases]: Add phase 'generate-bindings
to generate the bindings

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:38:35 +02:00
Morgan Smith 3b4a31d52c
gnu: libfive: Add Python bindings.
* gnu/packages/engineering.scm (libfive)
[configure-flags]: Add python site-dir.
[phases]<fix-library-location>: Fix for python as well.
<wrap-studio>: Wrap for python as well.
[inputs]: Add python-wrapper.  Alphabetize.
[description]: Add python.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:38:32 +02:00
Morgan Smith a062028bc3
gnu: libfive: Fix install and wrap Studio.
The old install phase didn't handle nested directories (which there are) and
the cmake files didn't seem to install the go files in a way that guile would
use so I just used the guile build system instead.

Also Studio works much better when it know where the libraries are.

* gnu/packages/engineering.scm (libfive)
[imported-modules]: Add (guix build guile-build-system).
[modules]: Add (guix build guile-build-system).
[configure-flags]: Remove.
[phases]: Remove phases 'fix-autocompilation and 'install-scm-files.  Add
phase 'do-not-build-guile-bindings and add phase 'guile-build which uses the
guile build system.  Add wrap-studio phase.
[inputs]: Add bash-minimal for the wrapper.  Use qtbase instead of qtbase-5

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-18 19:38:27 +02:00
Ludovic Courtès cd08d64b3a
refresh: Honor '--key-server'.
Previously, the '--key-server' option would be ignored in an invocation
like:

  ./pre-inst-env guix refresh python-scipy=1.8.1 -t pypi -u \
     --key-server=pgp.mit.edu

* guix/upstream.scm (download-tarball): Add #:key-server parameter and
pass it to 'gnupg-verify*'.
(package-update/url-fetch, package-update/git-fetch)
(package-update): Likewise.
* guix/scripts/refresh.scm (update-package): Add #:key-server and pass
it down to 'package-update'.
(guix-refresh): Pass #:key-server to 'update-package'.
2023-05-18 19:20:58 +02:00
Ludovic Courtès fddf97456c
doc: Change '--with-configure-flag' example to something that works.
Passing '-DBUILD_COMPLEX=OFF' to lapack would eventually lead to a link
error.

Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* doc/guix.texi (Package Transformation Options): Change
'--with-configure-flag' example.
* etc/news.scm: Likewise.
2023-05-18 19:20:58 +02:00
Maxim Cournoyer 5b700945fb
services: ssh: Really rename openssh-challenge-response-authentication?
Fixes up 9c161c1f0d, which renamed the accessor of <openssh-configuration> but
failed to adjust the single usage.

* gnu/services/ssh.scm (openssh-config-file): Rename
openssh-challenge-response-authentication? call to
openssh-configuration-challenge-response-authentication?.
2023-05-17 22:26:41 -04:00
Maxim Cournoyer 9c161c1f0d
services: ssh: Rename openssh-challenge-response-authentication?
This is a follow-up commit to the preceding commit, which exported all
<openssh-configuration> accessors.

* gnu/services/ssh.scm (<openssh-configuration>): Rename
openssh-challenge-response-authentication? to
openssh-configuration-challenge-response-authentication?.  It's a mouthful,
but is at least consistent with the rest.
2023-05-17 21:45:08 -04:00
Maxim Cournoyer 760fadec15
services: openssh: Export openssh-configuration accessors.
* gnu/services/ssh.scm: Export openssh-configuration accessors.
2023-05-17 21:37:03 -04:00
Hilton Chain d845202d35
gnu: Add qbittorrent-nox.
* gnu/packages/bittorrent.scm (qbittorrent-nox): New variable.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-05-17 23:22:28 +02:00
Leo Famulari d19c7c2791
gnu: ldc-bootstrap: Don't depend on tzdata.
* gnu/packages/dlang.scm (ldc-bootstrap)[inputs]: Remove tzdata.
[native-inputs]: Add tzdata-for-tests.
[arguments]: Forbid references to tzdata-for-tests.

Reviewed-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-05-17 23:08:45 +02:00
Josselin Poiret e041801e61
hurd-boot: Symlink /hurd before setting up translators.
* gnu/build/hurd-boot.scm (boot-hurd-system): Symlink /hurd before setting up
translators.

Reviewed-by: Janneke Nieuwenhuizen <janneke@gnu.org>
2023-05-17 22:26:06 +02:00
Simon Tournier d81701a85a
scripts: import: elpa: Return consistent error code.
Fixes <https://bug.gnu.org/58308>.
Reported by Ricardo Wurmus.

* guix/scripts/import/elpa.scm (guix-import-elpa): Return consistent error
code independently of the 'recursive' option.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-05-17 22:22:22 +02:00
Simon Tournier b89ab866bc
scripts: import: elpa: Warn when version is specified.
* guix/scripts/import/elpa.scm (guix-import-elpa): Warn when version is
specified.

Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
2023-05-17 22:22:21 +02:00
Christopher Baines 0540f4e20d
gnu: guix-build-coordinator-agent-only: Fix missing wrapping.
Remove the arguments so the arguments of the guix-build-coordinator package
apply.

* gnu/packages/package-management.scm (guix-build-coordinator/agent-only)[arguments]: Remove.
2023-05-17 14:48:38 +01:00
Sharlatan Hellseher 90675cbe35
gnu: libmixed: Update to 2.0-1.9b2668e.
* gnu/packages/audio.scm (libmixed): Update to 2.0-1.9b2668e.
  [arguments]: Enable tests.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-05-17 15:27:39 +02:00
cage ed60a524fb
gnu: cl-croatoan: Update to 0.1.
* gnu/packages/lisp-xyz.scm (sbcl-croatoan): Update to 0.1.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-05-17 15:21:55 +02:00
Yovan Naumovski cf82526ac4
gnu: slurp: Update to 1.4.0.
* gnu/packages/image.scm (slurp): Update to 1.4.0.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-17 18:24:48 +08:00
Yovan Naumovski 430920e91e
gnu: scrot: Update to 1.9.
* gnu/packages/xdisorg.scm (scrot): Update to 1.9.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-17 18:19:39 +08:00
宋文武 9daf62c016
gnu: xfce: Use "Greybird" and "elementary-xfce-dark" as default theme.
* gnu/packages/patches/xfce4-settings-defaults.patch: Set "ThemeName"
to "Greybird", "IconThemeName" to "elementary-xfce-dark".
* gnu/packages/xfce.scm (xfce)[inputs]: Add elementary-xfce-icon-theme.
2023-05-17 18:12:57 +08:00
Leo Famulari c8e599b939
gnu: Add linux-libre 6.3.
* gnu/packages/linux.scm (linux-libre-6.3-version, linux-libre-6.3-gnu-revision,
deblob-scripts-6.3, linux-libre-6.3-pristine-source, linux-libre-6.3-source,
linux-libre-headers-6.3, linux-libre-6.3): New variables.
* gnu/packages/aux-files/linux-libre/6.3-arm.conf,
gnu/packages/aux-files/linux-libre/6.3-arm64.conf,
gnu/packages/aux-files/linux-libre/6.3-i686.conf,
gnu/packages/aux-files/linux-libre/6.3-x86_64.conf: New files.
* Makefile.am (AUX_FILES): Add them.
2023-05-16 13:15:13 -04:00
Andrew Tropin 66ecffbeba
services: Add default values.
* gnu/services.scm (boot-service-type, activation-service-type,
etc-service-type, profile-service-type): Add default-value.
* gnu/system/shadow.scm (account-service-type): Add default-value.
2023-05-16 19:45:27 +04:00
Ricardo Wurmus 8659f5e3ee
gnu: ztoolkit-rsvg: Drop package label.
* gnu/packages/audio.scm (ztoolkit-rsvg)[propagated-inputs]: Use
MODIFY-INPUTS.
2023-05-16 11:21:47 +02:00
Ricardo Wurmus 2d62262ead
gnu: ztoolkit: Update to 0.1.2.
* gnu/packages/audio.scm (ztoolkit): Update to 0.1.2.
2023-05-16 11:21:47 +02:00
Arjan Adriaanse fe01acea56
gnu: rust-trybuild-1: Update to 1.0.77.
* gnu/packages/crates-io.scm (rust-trybuild-1): Update to 1.0.77.
[cargo-inputs]: Add rust-basic-toml-0.1, rust-serde-derive-1. Remove
rust-toml-0.5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-05-16 09:34:29 +03:00
Arjan Adriaanse 8b45602465
gnu: Add rust-basic-toml-0.1.
* gnu/packages/crates-io.scm (rust-basic-toml-0.1): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-05-16 09:33:44 +03:00
Maxim Cournoyer 35cf726517
.guix-authorizations: Authorize Jorge Gomez.
* .guix-authorizations (jgart): Add OpenPGP key fingerprint.
2023-05-15 21:29:46 -04:00
Efraim Flashner 242cc93438
gnu: tofi: Build the man-pages.
* gnu/packages/xdisorg.scm (tofi)[native-inputs]: Add scdoc.
2023-05-15 22:29:35 +03:00
Yovan Naumovski 15838db973
gnu: tofi: Update to 0.9.1.
* gnu/packages/xdisorg.scm (tofi): Update to 0.9.1.
[source]: Add patch to fix building on 32-bit systems.
* gnu/packages/patches/tofi-32bit-compat.patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-05-15 22:29:35 +03:00
Efraim Flashner d9c0280d5e
gnu: tokyocabinet: Fix building on non-x86 systems.
* gnu/packages/databases.scm (tokyocabinet)[arguments]: Adjust
configure-flags to not enable x86 specific cflags when building for
other architectures.
2023-05-15 21:33:56 +03:00
Efraim Flashner 6e38ec447f
gnu: vulkan-loader: Limit tests to x86_64 and i686.
* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Only run the tests
when building on x86_64-linux or i686-linux.
2023-05-15 17:08:32 +03:00
宋文武 bcda49b656
gnu: Use dummy linker for '*-elf' systems.
* gnu/packages/bootstrap.scm (glibc-dynamic-linker): Return "no-ld.so" for
systems with a "-elf" suffix.
2023-05-15 21:31:51 +08:00
Bassam Saeed 4975a517c8
gnu: Add font-recursive.
* gnu/packages/fonts.scm (font-recursive): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-15 18:25:07 +08:00
Efraim Flashner 2d98244c9d
gnu: alacritty: Update how we patch libraries.
* gnu/packages/terminals.scm (alacritty)[arguments]: Rewrite the
'add-absolute-library-references phase to search all of the rust sources
and patch the necessary libraries.
2023-05-15 13:06:07 +03:00
André Batista 79e9a70c94
gnu: lighttpd: Update to 1.4.70.
* gnu/packages/web.scm (lighttpd): Update to 1.4.70.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-15 18:00:58 +08:00
Ahmad Draidi bf4b2ed165
gnu: Add font-scientifica.
* gnu/packages/fonts.scm (font-scientifica): New variable.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-05-15 17:50:56 +08:00
Efraim Flashner 13e252af79
gnu: mariadb: Fix building on riscv64-linux.
* gnu/packages/databases.scm (mariadb)[arguments]: Add a phase when
building for riscv64-linux to apply a patch.
[native-inputs]: When building for riscv64-linux add patch and a patch
file.
* gnu/packages/patches/mariadb-rocksdb-atomic-linking.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
2023-05-15 11:16:39 +03:00
jgart 56bf67505a
gnu: emacs-ement: Update to 0.9.1.
* gnu/packages/emacs-xyz.scm (emacs-ement): Update to 0.9.1.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-05-15 11:19:40 +04:00
Tobias Kortkamp c5fa9dd0e9
gnu: cmus: Enable MPRIS support.
* gnu/packages/music.scm (cmus): Enable MPRIS support.
[inputs]: Add elogind.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-14 23:14:26 +02:00
Greg Hogan 5f49e195ca
gnu: csvkit: Update to 1.1.1.
* gnu/packages/wireservice.scm (csvkit): Update to 1.1.1.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-14 23:14:25 +02:00
Greg Hogan 0c1803571d
gnu: python-agate: Update to 1.7.1
* gnu/packages/wireservices.scm (python-agate): Update to 1.7.1.
[native-inputs]: Add python-agate-locales.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-14 23:14:25 +02:00
Greg Hogan 7070d3d9e8
gnu: Add python-agate-locales.
* gnu/packages/wireservice.scm (python-agate-locales): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-05-14 23:14:25 +02:00