Commit graph

107910 commits

Author SHA1 Message Date
Ludovic Courtès
20c923c40d
transformations: Let users know when '--with-latest' has no effect.
* guix/transformations.scm (package-with-upstream-version): Print a
message when VERSION is false and SOURCE has the same version as P.
2023-01-16 13:41:27 +01:00
Ludovic Courtès
137b91f03b
transformations: Add '--with-version'.
This is a followup to 8aeccc6240.

* guix/transformations.scm (package-with-upstream-version): New procedure.
(transform-package-latest)[package-with-latest-upstream]: Remove.
Use 'package-with-upstream-version' instead.
(transform-package-version): New procedure.
(%transformations, %transformation-options)
(show-transformation-options-help/detailed): Add '-with-version'.
* tests/transformations.scm ("options->transformation, with-version"):
New test.
* doc/guix.texi (Package Transformation Options): Document '--with-version'.
(Defining Package Variants): Mention it.
2023-01-16 13:41:27 +01:00
Juliana Sims
f094c3831f
gnu: qpwgraph: Update to 0.3.9.
* gnu/packages/audio.scm (qpwgraph): Update to 0.3.9.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-01-16 16:03:49 +08:00
Zhu Zihao
daa471a738
gnu: services: Export polkit-configuration.
Export for user customization.

* gnu/services/dbus.scm (polkit-configuration): Export.
(polkit-configuration?): Export.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-01-16 15:08:22 +08:00
Ludovic Courtès
5c92197717
gnu: guix: Remove obsolete 'ftp-server' property.
Guix has been on ftp.gnu.org for a while already.

* gnu/packages/package-management.scm (guix)[properties]: Remove.
2023-01-16 00:06:56 +01:00
Ludovic Courtès
917b1e017a
gnu: guix: Keep dependency on Guile-Avahi when cross-compiling.
* gnu/packages/package-management.scm (guix)[native-inputs]: Keep
Guile-Avahi when cross-compiling, but drop it when 'hurd-target?' is true.
[propagated-inputs]: Likewise.
2023-01-16 00:06:56 +01:00
Ludovic Courtès
2bf6a37020
gnu: guile-avahi: Update to 0.4.1.
* gnu/packages/guile-xyz.scm (guile-avahi): Update to 0.4.1.
[arguments]: Remove.
2023-01-16 00:06:56 +01:00
Ludovic Courtès
99e255d04b
guix graph: '--path' defaults to "out" in the case of multiple outputs.
Previously, "guix graph -t references --graph guix guile" would fail
with:

  no path from '/gnu/store/…-guix-1.4.0-1.9fe5b49' to '/gnu/store/…-guile-3.0.8-debug'

simply because the "debug" happened to be the first one, getting bound
to NODE2.  With this change it will instead pick the "out" output of
each.

* guix/scripts/graph.scm (guix-graph)[shorter?, length-sorted]: New
procedures.
In the 'path?' case, use the latter to store node lists.
2023-01-16 00:06:56 +01:00
Ludovic Courtès
a4a35e123b
guix graph: 'guix graph --path' correctly handles multiple outputs.
Previously, "guix graph -t references --path guix guile" would fail
with:

  error: '--path' option requires exactly two nodes (given 2)

This is because '_' in the 'match' clause wouldn't match the
placeholder and would instead be interested as a variable name, thereby
meaning NODES is expected to have two lists with the same tail.

* guix/scripts/graph.scm (guix-graph): Rename '_' in 'mlet' to '_g' so
that the literal '_' used in 'match' below matches.
2023-01-16 00:06:55 +01:00
John Kehayias
3bfbfa2946
environment: Fix '--emulate-fhs' option overriding $PATH.
Fixes <https://issues.guix.gnu.org/60566> where even if "--preserve='^PATH$'"
was passed to 'guix shell' it would be replaced by just the FHS directories
when '--emulate-fhs' was also set.

* gnu/scripts/environment.scm (launch-environment): Add the FHS directories to
$PATH rather than overriding $PATH completely.
* tests/guix-environment-container.sh: Test that FHS directories are in $PATH
in the container and that $PATH can be preserved.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2023-01-15 17:54:14 -05:00
Jelle Licht
a5b914156e
services: greetd: Add 'source-profile?' configuration field.
* gnu/services/base.scm (<greetd-terminal-configuration>)[source-profile?]:
New field.
(make-greetd-terminal-configuration-file): Serialize new field to
configuration file.
* doc/guix.texi (Base Services): Document it.
2023-01-15 20:30:12 +01:00
Leo Famulari
238f965c33
gnu: yt-dlp: Update to 2023.01.06.
* gnu/packages/video.scm (yt-dlp): Update to 2023.01.06.
2023-01-15 12:30:56 -05:00
pukkamustard
79bf3b54a6
guix: dune-build-system: Do not use `test-target' argument.
This lets dune run all tests for a given package.

* guix/build/dune-build-system.scm (check): Do not use `test-target' argument.
* gnu/package/ocaml.scm (ocaml-cohttp)[native-inputs]: Add
  ocaml-crowbar.
(ocaml-cudf, opam, ocaml-frontc, ocaml-qcheck, ocaml-qtest)
(ocaml-stringext, ocaml4.07-ppx-tools-versioned, ocaml-result)
(ocaml4.09-result, ocaml5.0-result, ocaml-csv, ocaml-alcotest)
(ocaml4.07-alcotest, ocaml-ssl, ocaml-optint, ocaml-eio)
(ocaml-eio-luv, ocaml-uring, ocaml-eio-linux, ocaml-eio-main)
(ocaml-gen, ocaml-ocp-indent, ocaml-benchmark, ocaml-re)
(ocaml4.07-re, ocaml-ocplib-endian, ocaml-cstruct, ocaml-hex)
(ocaml-ezjsonm, ocaml-uri, ocaml4.07-uri, ocaml-camomile, ocaml-zed)
(ocaml-lambda-term, ocaml-utop, ocaml-ansiterminal, dedukti, ocaml-bindlib)
(ocaml-earley, ocaml-timed, ocaml-yojson, ocaml-gsl, ocaml-ppx-deriving)
(ocaml-ppx-cold, ocaml-ppx-typerep-conv, ocaml-ppx-stable)
(ocaml-ppx-base, ocaml-ppx-disable-unused-warnings, ocaml-ppx-jane)
(ocaml4.07-jane-street-headers, ocaml4.07-bisect-ppx, ocaml-fftw3)
(ocaml-cairo2, lablgtk3, ocaml-lablgtk3-sourceview3, ocaml-bigstringaf)
(ocaml-angstrom, ocaml-uri-sexp, ocaml-cohttp, js-of-ocaml)
(ocaml-monolith, ocaml-crowbar): Remove test-target argument.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2023-01-15 15:57:49 +01:00
pukkamustard
2a08065b05
gnu: ocaml-ppx-expect: Disable tests.
Tests require a package that would cause a cyclic dependency after
removing test-target.

* gnu/packages/ocaml.scm (ocaml-ppx-expect): Disable tests.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2023-01-15 15:57:42 +01:00
pukkamustard
386ad7d8d1
gnu: ocaml-ppxlib: Clean up inputs.
* gnu/packages/ocaml.scm (ocaml-ppxlib)[propagated-inputs]: Remove
unused inputs.
[native-inputs]: Move test dependencies from propagated-inputs here and add
ocaml-cinaps.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2023-01-15 15:57:18 +01:00
pukkamustard
7686b68f6b
gnu: Add ocaml-cinaps.
* gnu/packages/ocaml.scm (ocaml-cinaps): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
2023-01-15 15:57:10 +01:00
Liliana Marie Prikler
a98145ec04
gnu: komikku: Update to 1.8.0.
* gnu/packages/gnome.scm (komikku): Update to 1.8.0.
2023-01-15 07:50:16 +01:00
Preston Firestone
145ad41ef3
gnu: guile-g-golf: Update to 0.8.0-a.1.
* gnu/packages/guile-xyz.scm (guile-g-golf): Update to 0.8.0-a.1.
[arguments]: Add #:parallel-build? #f.
[inputs]: Replace glib with glib-next.
[propagated-inputs]: Replace gobject-introspection with gobject-introspection-next.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-01-15 07:50:16 +01:00
Vivien Kraus
96cb7b06bd
gnu: guile-gnutls: Update to 3.7.11.
* gnu/packages/tls.scm (guile-gnutls) [phases]: Patch-shebang autopull.sh and
autogen.sh.
[native-inupts]: Add gnulib and git.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-01-15 07:50:16 +01:00
Vivien Kraus
f98663464a
gnu: Add gnulib.
* gnu/packages/build-tools.scm (gnulib-checkout, gnulib): New variables.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-01-15 07:50:15 +01:00
Vivien Kraus
e554f101ef
gnu: ucd-next: Update to 15.0.0.
* gnu/packages/unicode.scm (ucd-next): Update to 15.0.0.
[name]: Rename to “ucd”.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-01-15 07:50:15 +01:00
Vivien Kraus
be0b866e95
gnu: libunibreak: Use ucd instead of ucd-next.
* gnu/packages/unicode.scm (libunibreak) [native-inputs]: Replace ucd-next
with ucd.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-01-15 07:50:15 +01:00
Ricardo Wurmus
c94708a5b4
gnu: java-logback-core: Drop trailing #T.
* gnu/packages/java.scm (java-logback-core)[arguments]: Drop trailing #T from
'chdir phase.
2023-01-14 23:39:42 +01:00
Ricardo Wurmus
acc5725902
gnu: java-logback-core: Fetch source from git.
* gnu/packages/java.scm (java-logback-core)[source]: Fetch with git instead of
using generated tarball at archive URL; simplify snippet.
2023-01-14 23:39:42 +01:00
Ricardo Wurmus
1f1c769c11
gnu: java-logback-core: Drop input labels.
* gnu/packages/java.scm (java-logback-core)[inputs]: Drop labels.
[native-inputs]: Drop labels.
2023-01-14 23:39:42 +01:00
Nicolas Goaziou
fb3085e80f
gnu: emacs-auctex: Update to 13.1.7.
* gnu/packages/emacs-xyz.scm (emacs-auctex): Update to 13.1.7.
2023-01-14 16:53:39 +01:00
Nicolas Goaziou
c10a3980d2
gnu: emacs-compat: Update to 29.1.1.1.
* gnu/packages/emacs-xyz.scm (emacs-compat): Update to 29.1.1.1.
2023-01-14 16:53:33 +01:00
Nicolas Goaziou
63cfcd4172
gnu: emacs-mpdel: Update to 2.1.0.
* gnu/packages/emacs-xyz.scm (emacs-mpdel): Update to 2.1.0.
2023-01-14 16:51:42 +01:00
Nicolas Goaziou
cda11d7cd7
gnu: emacs-liberime: Fix version.
* gnu/packages/emacs-xyz.scm (emacs-liberime)[version]: Remove spurious "v"
prefix.
2023-01-14 16:46:56 +01:00
David Thompson
202ac747e6
gnu: services: Add joycond-service.
* gnu/services/games.scm (joycond-configuration): New configuration type.
(joycond-shepherd-service): New procedure.
(joycond-service-type): New variable.
* doc/guix.texi (Game Services): Document it.
2023-01-14 07:53:21 -05:00
Florian Pelz
77a3499600
news: Add 'de' translation.
* etc/news.scm: Add German translation of entry about
linux-libre 6.0 removal.
2023-01-14 12:11:20 +01:00
Mădălin Ionel Patrașcu
3e1c85b7ec
gnu: Add r-maser.
* gnu/packages/bioconductor.scm (r-maser): New variable.
2023-01-14 08:13:54 +01:00
Maxim Cournoyer
c77978d6c8
gnu: Add fbgrab.
* gnu/packages/linux.scm (fbgrab): New variable.
2023-01-13 22:26:38 -05:00
Leo Famulari
08b454f0e5
news: Add entry about the removal of linux-libre 6.0.
* etc/news.scm: Add entry
2023-01-13 19:11:08 -05:00
Leo Famulari
9ea37eb9f5
gnu: Remove linux-libre 6.0.
This kernel series is no longer supported upstream.

* gnu/packages/linux.scm (linux-libre-6.0-version, linux-libre-6.0-gnu-revision,
deblob-scripts-6.0, linux-libre-6.0-pristine-source, linux-libre-6.0-source,
linux-libre-headers-6.0, linux-libre-6.0): Remove variables.
* gnu/packages/aux-files/linux-libre/6.0-arm.conf,
gnu/packages/aux-files/linux-libre/6.0-arm64.conf,
gnu/packages/aux-files/linux-libre/6.0-i686.conf,
gnu/packages/aux-files/linux-libre/6.0-x86_64.conf: Delete files.
* Makefile.am (AUX_FILES): Remove them.
2023-01-13 19:08:40 -05:00
Leo Famulari
e1bad6d1d7
gnu: linux-libre-with-bpf: Update to 6.1.
This is a followup to commit ce8a34bc9a

* gnu/packages/linux.scm (linux-libre-with-bpf): Update to 6.1.
2023-01-13 19:08:40 -05:00
Nicolas Goaziou
ce036e5d72
gnu: mgba: Update to 0.10.1.
* gnu/packages/emulators.scm (mgba): Update to 0.10.1.
2023-01-13 22:55:37 +01:00
Nicolas Goaziou
55544d6ec0
gnu: naev: Update to 0.10.2.
* gnu/packages/games.scm (naev): Update to 0.10.2.
2023-01-13 22:51:07 +01:00
Nicolas Goaziou
30cb451117
gnu: emacs-org: Update to 9.6.1.
* gnu/packages/emacs-xyz.scm (emacs-org): Update to 9.6.1.
2023-01-13 22:43:49 +01:00
Nicolas Goaziou
2872e7fd57
gnu: emacs-diff-hl: Update to 1.9.1.
* gnu/packages/emacs-xyz.scm (emacs-diff-hl): Update to 1.9.1.
2023-01-13 22:41:45 +01:00
Nicolas Goaziou
4fdd87c570
gnu: emacs-emms: Update to 13.
* gnu/packages/emacs-xyz.scm (emacs-emms): Update to 13.
2023-01-13 22:39:01 +01:00
Nicolas Goaziou
dd25c46887
gnu: emacs-xref: Update to 1.6.1.
* gnu/packages/emacs-xyz.scm (emacs-xref): Update to 1.6.1.
2023-01-13 22:37:04 +01:00
Nicolas Goaziou
52c4f11536
gnu: emacs-ebdb: Update to 0.8.17.
* gnu/packages/emacs-xyz.scm (emacs-ebdb): Update to 0.8.17.
2023-01-13 22:36:57 +01:00
Nicolas Goaziou
0be4d09479
gnu: emacs-nadvice: Update to 0.4.
* gnu/packages/emacs-xyz.scm (emacs-nadvice): Update to 0.4.
2023-01-13 22:36:49 +01:00
Nicolas Goaziou
b76a5f36f9
gnu: emacs-project: Update to 0.9.4.
* gnu/packages/emacs-xyz.scm (emacs-project): Update to 0.9.4.
2023-01-13 22:36:42 +01:00
Feng Shu
06972a4c51
gnu: Add emacs-liberime.
* gnu/packages/emacs-xyz.scm (emacs-liberime): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-13 22:26:52 +01:00
Simon Streit
e13d9399ca
gnu: emacs-magit: Fix path to documentation.
* gnu/packages/emacs-xyz.scm: (emacs-magit)[arguments]<#:phases> Fix path in
find-files for documentation.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-13 22:26:52 +01:00
Hilton Chain
d1ae277e5d
gnu: emacs-semi-epg: Update to 1.14.6-242.7d8df0e.
* gnu/packages/emacs-xyz.scm (emacs-semi-epg): Update to 1.14.6-242.7d8df0e.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-13 22:26:51 +01:00
Hilton Chain
898a626bb2
gnu: emacs-flim-lb: Update to 1.14.9-134.3a931b5.
* gnu/packages/emacs-xyz.scm (emacs-flim-lb): Update to 1.14.9-134.3a931b5.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-01-13 22:26:51 +01:00
Maxim Cournoyer
4913ac7491
gnu: make-linux-libre*: Remove input labels.
This restores commit dfc6957a5a, with an
additional fix to the kernel-config procedure so that it returns #f when no
configuration exists for the architecture requested, as reported by Pierre
Langlois (thanks!).

* gnu/packages/linux.scm (kernel-config): Make the return value a gexp, using
local-file, while preserving the #f return value in case of no matching config
file found.  Adjust doc.
(make-linux-libre*): Adjust doc.
[native-inputs]: Remove input labels.  Rewrite config input to be directly
expanded...
[phases] <configure>: ... here.  Re-flow comments.  Remove extraneous INPUTS
argument.
<install>: Likewise.
2023-01-13 15:45:33 -05:00