Commit graph

127394 commits

Author SHA1 Message Date
Jonathan Scoresby 8882ec71dd
build-system: Add vim-build-system.
* guix/build-system/vim.scm,
* guix/build/vim-build-system.scm: New modules.
* Makefile.am (MODULES): Register new files.
* doc/guix.texi: Document it.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-08 12:03:05 +02:00
Jonathan Scoresby b17567d45c
gnu: vim: Add vim packages to 'package-path' instead of 'runtime-path'.
This is neccesary because vim's built-in plugin manager looks for directories
    under 'package-path' instead of 'runtime-path.' Once we have told vim the
    package-path, it adds all the packages to the runtime-path automatically for us.

* gnu/packages/aux-files/guix.vim: Add paths to packagepath instead of
runtimepath.  Remove code to adjust runtimepath after adding paths.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2023-11-08 10:28:55 +02:00
Efraim Flashner e8739da12e
gnu: git-lfs: Support building on more systems.
* gnu/packages/version-control.scm (git-lfs)[arguments]: Only run
man-page related phases when ruby-asciidoctor is available.
[native-inputs]: Only include ronn-ng, ruby-asciidoctor when building on
a platform which has support for ruby-asciidoctor.

Change-Id: Icbf8416998dc5d1f9d7c8299b4f929380dc29165
2023-11-08 09:27:24 +02:00
Maxim Cournoyer 5da6e8961c
gnu: libreoffice: Update to 7.6.3.1.
* gnu/packages/libreoffice.scm (libreoffice): Update to 7.6.3.1.
[native-inputs]: Add frozen.
2023-11-07 22:35:32 -05:00
Maxim Cournoyer f296ceaafc
gnu: Add frozen.
* gnu/packages/cpp.scm (frozen): New variable.

Change-Id: I738dfcfa55ddb824c2186fb61484a8a3c9532b35
2023-11-07 22:35:31 -05:00
Maxim Cournoyer 36c03db7ce
gnu: libcmis: Update to 0.6.0.
* gnu/packages/libreoffice.scm (libcmis): Update to 0.6.0.

Change-Id: I2aeb6ecd67fcb281e61fbd48b4aa63d2763007a3
2023-11-07 22:29:21 -05:00
Maxim Cournoyer 19fe24c5b9
doc: Document extra Emacs-Debbugs configurations.
* doc/contributing.texi (Viewing Bugs within Emacs): Document
debbugs-gnu-default-packages, debbugs-gnu-default-severities.
(Debbugs User Interfaces): Likewise, and mention debbugs-gnu-guix-search.

Suggested-by: Michael Albinus <michael.albinus@gmx.de>
Change-Id: I8e9026bc394b0cf674c8498ca713c332e48c2700
2023-11-07 12:33:27 -05:00
Maxim Cournoyer 7d3f2b99ff
doc: Expound on the build-side versus host-side modules topic.
Discussed in <https://issues.guix.gnu.org/65924#98-lineno27>.

* doc/contributing.texi (Modules): Add new context indices, and provide a
real-life counter-example, and its ramifications.

Reported-by: Ludovic Courtès <ludo@gnu.org>
Change-Id: I06975fb24f0d67c833884313a727dc550f61d8a0
2023-11-07 12:33:26 -05:00
Maxim Cournoyer e4443561d2
gnu: orcus: Update to 0.19.0.
* gnu/packages/libreoffice.scm (orcus): Update to 0.19.0.
[source]: Use git-fetch/lfs.
[arguments]: Use gexps.
[native-inputs]: Add autoconf, automake and libtool.

Change-Id: I76efbc57ca4acf8ffd5154a72e49b4aedd071a76
2023-11-07 12:33:26 -05:00
Maxim Cournoyer 370468c547
gnu: ixion: Update to 0.19.0.
* gnu/packages/libreoffice.scm (ixion): Update to 0.19.0.
[source]: Use git.
[native-inputs]: Add autoconf, automake and libtool.

Change-Id: I245457d7c99b6adfb895dc46276f8008ff13d0cd
2023-11-07 12:33:26 -05:00
Maxim Cournoyer e18af936ff
gnu: mdds: Update to 2.1.1.
* gnu/packages/boost.scm (mdds): Update to 2.1.1.
[source]: Fetch from git.
[native-inputs]: New field.

Change-Id: I4e71d5c360f4b7305cffd7008e2bbbfcaad2f897
2023-11-07 12:33:26 -05:00
Maxim Cournoyer a4db19d8e0
git-download: Add support for Git Large File Storage (LFS).
* guix/build/git.scm (git-fetch) [lfs?]: New argument, doc and setup code.
(git-fetch-with-fallback) [lfs?]: New argument.  Pass it to git-fetch.
* guix/git-download.scm (git-lfs-package): New procedure.
(git-fetch/in-band*): New procedure, made of the logic of git-fetch/in-band,
with new git-lfs specifics, with the following changes:
New #:git-lfs argument.
<inputs>: Remove labels.  Conditionally add git-lfs.
<build>: Read "git lfs?" environment
variable and pass its value to the #:lfs? argument of git-fetch-with-fallback.
Use INPUTS directly; update comment.
<gexp->derivation>: Add "git lfs?" to #:env-vars.
(git-fetch/in-band): Express in terms of git-fetch/in-band*.
(git-fetch/lfs): New procedure.
* doc/guix.texi (origin Reference): Document it.

Change-Id: I5b233b8642a7bdb8737b9d9b740e7254a89ccb25
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-11-07 12:33:26 -05:00
Maxim Cournoyer 889a6204f8
doc: Add some guidelines for reviewing.
* doc/contributing.texi (Contributing) [Reviewing the Work of Others]: New
section.
(Debbugs Usertags): Expound with Emacs Debbugs information and document the
'reviewed-looks-good' usertag.
* etc/git/gitconfig [b4]: New section.

Change-Id: I56630b15ec4fbc5c67e5420dbf2838556a005d6b
Reviewed-by: Ludovic Courtès <ludo@gnu.org>
2023-11-07 12:33:25 -05:00
Sergey Trofimov fd20e0d5f4
gnu: emacs-telega-server: Update to 0.8.203.
* gnu/packages/emacs-xyz.scm (emacs-telega-server): Update to 0.8.203.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-11-07 21:06:11 +04:00
Sergey Trofimov d01a138093
gnu: tdlib: Update to 1.8.20.
* gnu/packages/messaging.scm (tdlib): Update to 1.8.20.

Signed-off-by: Andrew Tropin <andrew@trop.in>
2023-11-07 21:06:10 +04:00
Efraim Flashner 220759226e
build: Fix spelling in m4 macros.
* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): Fix spelling of parameter.
(GUIX_CHECK_FILE_NAME_LIMITS): Fix spelling of maximum.

Change-Id: I93c80441393622a4bc06daa475eee13874cca527
2023-11-07 18:07:11 +02:00
Efraim Flashner e0f28301f0
fish completion: Fix typos.
* etc/completion/fish/guix.fish (__fish_guix_needs_command): Fix
spelling of specified.
(__fish_guix_using_command): Fix spelling of specified.

Change-Id: Ieac612da8cd2a7a1c44c5a54c57574ce2b8d8bd4
2023-11-07 18:07:08 +02:00
Janneke Nieuwenhuizen c7408f50d1
gnu: mes: Use m2-planet-1.9.0.
* gnu/packages/mes.scm (mes)[native-inputs]: Revert to m2-planet-1.9.0.

Change-Id: Iac504f5b46bac4c989af914415b14955a072278e
2023-11-07 16:42:32 +01:00
Janneke Nieuwenhuizen 009621092b
gnu: Add m2-planet-1.9.0
* gnu/packages/mes.scm (m2-planet-1.9.0): New variable.
2023-11-07 16:36:46 +01:00
Ricardo Wurmus fb46c1ceda
doc: Update URL of Mumi git repository.
* doc/contributing.texi (Debbugs User Interfaces): Use new repository URL.

Change-Id: Ieccf34be8a103740607d8c115120902dc687d4e7
2023-11-07 12:02:19 +01:00
Clément Lassieur 3f83dc5587
gnu: ublock-origin: Update to 1.53.0.
* gnu/packages/browser-extensions.scm (ublock-origin): Update to 1.53.0.
(ublock-main-assets): Update to d573d4db0bccb3f99fa8845c2b1dcb79103007d3.
(ublock-prod-assets): Update to c7cfd8fb7e4ea07051f55f370d504c78e6a8e023.

Change-Id: I1c9ac9e130bb8146904229f951de9b42d5c84479
2023-11-06 14:46:30 +01:00
Efraim Flashner d52ee267ee
gnu: streamlink: Update to 6.3.1.
* gnu/packages/video.scm (streamlink): Update to 6.3.1.
[source]: Add snippet to accept older versions of python-trio.
[native-inputs]: Remove python-mock.  Add python-pytest-asyncio,
python-pytest-trio.
[propagated-inputs]: Add python-trio, python-trio-websocket,
python-typing-websockets.

Change-Id: Ib3e8930ed73974ddad4deb7015049b96c925b656
2023-11-06 09:55:00 +02:00
Efraim Flashner be46ab7a91
gnu: mpv-mpris: Update to 1.1.
* gnu/packages/video.scm (mpv-mpris): Update to 1.1.
[inputs]: Add ffmpeg.

Change-Id: I47f99a71681807c034b44518e7d4e5ed857ac77e
2023-11-06 09:19:31 +02:00
Wilko Meyer 7e214b9a1a
gnu: linux-libre 6.5: Update to 6.5.10.
* gnu/packages/linux.scm (linux-libre-6.5-version): Update to 6.5.10.
(linux-libre-6.5-pristine-source): Update hash.

Change-Id: Icc0c07d8f38659be00e3675c335801aab5ae8b6c
Signed-off-by: Leo Famulari <leo@famulari.name>
2023-07-23 22:26:05 -04:00
Wilko Meyer 61ba1a6133
gnu: linux-libre 6.1: Update to 6.1.61.
* gnu/packages/linux.scm (linux-libre-6.1-version): Update to 6.1.61.
(linux-libre-6.1-pristine-source): Update hash.
(deblob-scripts-6.1): Update hash.

Change-Id: Iaab673a11ff578ac7671999deb7d31f4dfd5b1e2
Signed-off-by: Leo Famulari <leo@famulari.name>
2023-07-23 22:26:05 -04:00
Leo Famulari cfe09c7c36
download: Replace faulty kernel mirror URL with canonical upstream.
This mirror was providing truncated files. See patch ticket #66923 for more
information about this change:

<https://issues.guix.gnu.org/issue/66923>

* guix/download.scm (%mirrors): Replace kernel mirror <uio.no> with <kernel.org>.

Change-Id: I189fc4eaa2bb3fa8b6db028aa837f0d59a460327
2023-07-23 22:26:00 -04:00
Ludovic Courtès 08d94fe20e
home: services: Add 'x11-display' service.
* gnu/home/services/desktop.scm (x11-shepherd-service): New procedure.
(home-x11-service-type): New variable.
(redshift-shepherd-service): Add 'requirement' field.
(home-redshift-service-type): Extend 'home-x11-service-type'.
* doc/guix.texi (Desktop Home Services): Document it.

Change-Id: Ibd46d71cbb80fcdff8dbf3e8dbcfc3b24163bdb6
2023-11-05 23:23:23 +01:00
Ludovic Courtès 331d858e21
time-machine: Warn when no command is given.
* guix/scripts/time-machine.scm (guix-time-machine): Emit a warning when
COMMAND-LINE is false.

Change-Id: I26e6b608915ecaf6d9372f9b03dc5ebd1b4c68f9
2023-11-05 23:23:23 +01:00
Ludovic Courtès ab13e2be69
time-machine: Make target commit check cheaper.
Commit 79ec651a28 introduced a check to
error out when attempting to use ‘time-machine’ to travel to a commit
before ‘v1.0.0’.

This commit fixes a performance issue with the strategy used in
79ec651a28 (the repository was opened,
updated, and traversed a second time by ‘validate-guix-channel’) as well
as a user interface issue (“Updating channel” messages would be printed
too late).

This patch reimplements the check in terms of the existing #:validate-pull
mechanism, which is designed to avoid extra repository operations.

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

* guix/inferior.scm (cached-channel-instance): Change default value
of #:validate-channels.  Remove call to VALIDATE-CHANNELS; pass it
as #:validate-pull to ‘latest-channel-instances’.
* guix/scripts/time-machine.scm (%reference-channels): New variable.
(validate-guix-channel): New procedure, written as a simplification of…
(guix-time-machine)[validate-guix-channel]: … this.  Remove.
Pass #:reference-channels to ‘cached-channel-instance’.

Reported-by: Simon Tournier <zimon.toutoune@gmail.com>
Change-Id: I9b0ec61fba7354fe08b04a91f4bd32b72a35460c
2023-11-05 23:23:23 +01:00
Ludovic Courtès 9f05fbb67d
tests: Make ‘guix time-machine’ test effective.
The test as added in 79ec651a28 had no
effect: first because ‘guix time-machine --commit=X’, not followed by a
command, does nothing, and second because the “! COMMAND” shell stanza
does not have the desired effect (see <https://issues.guix.gnu.org/62406>).

This change rewrites the test to make it effective.

* tests/guix-time-machine.sh: Rewrite.

Change-Id: Ib44a11331c8625e346139a236cffa699cdbd02f2
2023-11-05 23:23:23 +01:00
Ludovic Courtès 31b39f2a33
tests: inetd: Avoid race condition when looking for PID file.
* gnu/tests/networking.scm (run-inetd-test): Use ‘wait-for-file’ instead
of ‘file-exists?’.

Change-Id: I3e596814485428fb81595d81c4e03519340c6576
2023-11-05 23:23:23 +01:00
Ludovic Courtès 0c695bbf8d
tests: Honor system and target when lowering <system-test>.
* gnu/tests.scm (compile-system-test): Wrap ‘system-test-value’ call in
‘mparameterize’.

Change-Id: I4be28913a86f43059b0886ad2fcf81a9c699b730
2023-11-05 23:23:23 +01:00
Hilton Chain 286639c9af
gnu: phantomsocks: Update to 0.0.0-20231031033204-8b0ac27fc450.
* gnu/packages/networking.scm (phantomsocks): Update to
0.0.0-20231031033204-8b0ac27fc450.
[arguments]<#:go>: Use go-1.20.

Change-Id: I8cee734d5582c99b7940591ba14fba927992a201
Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:14:26 +00:00
Hilton Chain c5267d334a
gnu: emacs-wanderlust: Update to 2.15.9-803.3e8cf26.
* gnu/packages/emacs-xyz.scm (emacs-wanderlust): Update to 2.15.9-803.3e8cf26.
[version]: Inline version.

Change-Id: I4b9a08016e525df80745d266f4932956475ef24b
Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:13:51 +00:00
Hilton Chain 56c0c79511
gnu: emacs-semi-epg: Update to 1.14.6-247.d15603b.
* gnu/packages/emacs-xyz.scm (emacs-semi-epg): Update to 1.14.6-247.d15603b.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:13:51 +00:00
Sharlatan Hellseher 7995a474ea
gnu: python-asdf: Update to 3.0.0.
* gnu/packages/astronomy.scm (python-asdf-3.0): New variable, migrated
from python-asdf.
[arguments]: Move it from here ...
[native-inputs]: Remove python-astronomy, python-pytest-openfiles.
[propagated-inputs]: Add python-attrs. Remove
python-importlib-resources, python-jsonschema.

(python-asdf-2.15): New variable. Inherited from python-asdf-3.0.
[arguments]: ... to here.

(python-asdf): Set it to use python-asdf-2.15 as 3.0.0 includes some
breaking changes which may not testes in dependent projects.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher 9f06cf2ed8
gnu: python-pytest-astropy: Update to 0.11.0.
* gnu/packages/python-check (python-pytest-astropy): Update to 0.11.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher c13950ad27
gnu: python-pytest-doctestplus: Update to 1.0.0.
* gnu/packages/python-check (python-pytest-doctestplus): Update to 1.0.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher a72d7beb3f
gnu: python-pytest-remotedata: Update to 0.4.1.
* gnu/packages/python-check (python-pytest-remotedata): Update to 0.4.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher 2f33ac988c
gnu: python-jwst: Update to 1.12.5.
* gnu/packages/astronomy.scm (python-jwst): Update to 1.12.5.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher 53a4452e98
gnu: python-ephem: Update to 4.1.5.
* gnu/packages/astronomy.scm (python-ephem): Update to 4.1.5.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher 7e7a3bd6e0
gnu: python-crds: Update to 11.17.7.
* gnu/packages/astronomy.scm (python-crds): Update to 11.17.7.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher 944005417d
gnu: python-cdflib: Update to 1.2.3.
* gnu/packages/astronomy.scm (python-cdflib): Update to 1.2.3.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher 0420667cbe
gnu: python-astropy: Update to 5.3.4.
* gnu/packages/astronomy.scm (python-astropy): Update to 5.3.4.
[arguments]{phases}: Disable one failing test, reported upstream.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:36 +00:00
Sharlatan Hellseher 20e7aa2732
gnu: libxisf: Update to 0.2.10.
* gnu/packages/astronomy.scm (libxisf): Update to 0.2.10.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:35 +00:00
Sharlatan Hellseher 966ffbf8c6
gnu: python-pyerfa: Update to 2.0.1.1.
* gnu/packages/astronomy.scm (python-pyerfa): Update to 2.0.1.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:35 +00:00
Sharlatan Hellseher 95a1688229
gnu: erfa: Update to 2.0.1.
* gnu/packages/astronomy.scm (erfa): Update to 2.0.1.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:35 +00:00
Sharlatan Hellseher d9b6426cbb
gnu: python-astroalign: Update to 2.5.0.
* gnu/packages/astronomy.scm (python-astroalign): Update to 2.5.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:35 +00:00
Sharlatan Hellseher 10917afe67
gnu: python-cdflib: Update to 1.2.2.
* gnu/packages/astronomy.scm (python-cdflib): Update to 1.2.2.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:35 +00:00
Sharlatan Hellseher 4d4e9b84ee
gnu: python-pynbody: Update to 1.4.1.
* gnu/packages/astronomy.scm (python-pynbody): Update to 1.4.1.
[source]: Switch to git-fetch.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-11-05 18:09:35 +00:00