Commit graph

136891 commits

Author SHA1 Message Date
Tomas Volf
9948816819
services: xorg: Add xorg-start-command-xinit procedure.
When the user does not use any desktop environment, the typical sequence is to
log in and then type `startx' into the tty to get a window manager running.
Most distributions do provide a startx by default, but Guix has only an
xorg-start-command that is not suitable for this.

This commit adds a second procedure, xorg-start-command-xinit, that correctly
picks a virtual terminal to use, sets up XAUTHORITY and starts xinit with the
correct arguments.  That should make running Guix without a desktop
environment more approachable.

* gnu/services/xorg.scm (xorg-start-command-xinit): New public procedure.
* doc/guix.texi (X Window): Document it.

Change-Id: I17cb16093d16a5c6550b1766754700d4fe014ae9
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
2024-05-30 18:23:34 +01:00
Arun Isaac
4fdbf78a0f
gnu: torbrowser: Fix typo in description.
* gnu/packages/tor-browsers.scm (make-torbrowser)[description]: Fix typo
changing "know" to "known".

Change-Id: Ib4c1d1f183e7debbc769693f303caa141f2138b6
2024-05-30 17:10:32 +01:00
Maxim Cournoyer
eb4dc1b9ae
gnu: patch: Fix indentation.
* gnu/packages/base.scm (patch): Re-indent package.

Change-Id: I97a5d8054ebacc779bead6093d150c44acdcc91c
2024-05-30 11:35:13 -04:00
Ashish SHUKLA
09690a2b0c
gnu: git: Update to 2.45.1 [security fixes].
* gnu/packages/version-control.scm (git): Update to 2.45.1.

Change-Id: Ia0634c6b0a4a3b5cc5c584ca064bbeb62b207c3e
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-05-30 11:35:13 -04:00
André Batista
a6fdea9b3d
gnu: torbrowser: Update to 13.0.15 [security fixes].
Fixes CVEs 2024-4367, 2024-4767, 2024-4768, 2024-4769,
2024-4770 and 2024-4777. See the Mozilla Foundation Security Advisory
<https://www.mozilla.org/en-US/security/advisories/mfsa2024-22/> for details.

* gnu/packages/tor-browsers.scm (%torbrowser-locales): Update changesets.
(%torbrowser-build-date): Update to 20240510150000.
(%torbrowser-version): Update to 13.0.15.
(%torbrowser-firefox-version): Update to 115.11.0esr-13.0-1-build2.
(torbrowser-translation-base): Update to
a28a8b2cb9e207d12fca11181818c0a0694b56af.
(torbrowser-translation-specific): Update to
e03ffdea5b74ad280616dccd21744cba7b2d4565.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-05-30 11:35:12 -04:00
Sharlatan Hellseher
c2cb630061
gnu: Add python-yt.
* gnu/packages/astronomy.scm (python-yt): New variable.

Change-Id: Ic8331de39e0a5e875aef8d49b7597c269b2b155e
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:51 +04:00
Sharlatan Hellseher
979249733f
gnu: Add python-more-itertools-next.
* gnu/packages/python-xyz.scm (python-more-itertools-next): New variable.

Change-Id: Ia9deef0c19931356446e2731a315d27ce54e6ab0
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:50 +04:00
Sharlatan Hellseher
d6db4d16bd
gnu: Add python-comm.
* gnu/packages/jupyter.scm (python-comm): New variable.

Change-Id: I1bed7b6f54e63db6f47cdbaccd816c56f06045f8
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:49 +04:00
Sharlatan Hellseher
b12ab191b8
gnu: Add python-geopack.
* gnu/packages/geo.scm (python-geopack): New variable.

Change-Id: I674b09030684dd0d9f94b4b87cf96aeea983ee89
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:48 +04:00
Sharlatan Hellseher
fc08d71486
gnu: Add python-viresclient.
* gnu/packages/astronomy.scm (python-viresclient): New variable.

Change-Id: I690a6d8f1fc80dde1605f50d09f540d556fa881b
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:47 +04:00
Sharlatan Hellseher
ea221e3ede
gnu: python-ewah-bool-utils: Update to 1.2.0.
* gnu/packages/python-compression.scm (python-ewah-bool-utils): Update to 1.2.0.

Change-Id: I7bc50249f2d7e97c64d23054ad176cf0e4af6258
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:46 +04:00
Sharlatan Hellseher
f97c836c97
gnu: python-unyt: Fix version detection.
* gnu/packages/python-science.scm (python-unyt): Fix version detection.
[native-inputs]: Add python-setuptools-scm.

Change-Id: I96e7d2530b15299a39911bebf62b76a9191ea91b
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:45 +04:00
Sharlatan Hellseher
a7431e37c9
gnu: python-specutils: Update to 1.15.0.
* gnu/packages/astronomy.scm (python-specutils): Update to 1.15.0.

Change-Id: I43f19ce39574a497097f4605dc2a18f6fd6343e9
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:44 +04:00
Sharlatan Hellseher
6929eaec0e
gnu: python-stsci-image: Update to 2.3.7.
* gnu/packages/astronomy.scm (python-stsci-image): Update to 2.3.7.

Change-Id: Icd3c8d2b893e9eb83820912a0f6afe855330aa97
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:43 +04:00
Sharlatan Hellseher
7061badb04
gnu: python-sunpy: Update to 5.1.3.
* gnu/packages/astronomy.scm (python-sunpy): Update to 5.1.3.

Change-Id: If025ccc8435202a6bf50cf1e48d1955c51a78a34
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:42 +04:00
Sharlatan Hellseher
76f1e3812a
gnu: python-roman-datamodels: Update to 0.20.0.
* gnu/packages/astronomy.scm (python-roman-datamodels): Update to
0.20.0. Adjust indentation.

Change-Id: I6bd533d81a0c8b6f2cc183e274190ff7042e965f
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:41 +04:00
Sharlatan Hellseher
7f06891aa9
gnu: python-rad: Update to 0.20.0
* gnu/packages/astronomy.scm (python-rad): Update to 0.20.0. Adjust
indentation.

Change-Id: I5921c5153ace1032313121c00c73423f3d1e7c84
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:40 +04:00
Sharlatan Hellseher
3f9c5f8958
gnu: python-jplephem: Update to 2.22.
* gnu/packages/astronomy.scm (python-jplephem): Update to 2.22.

Change-Id: I87c1d7e61438634fa1562c5ab42ca2f90ae588a4
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:39 +04:00
Sharlatan Hellseher
b0d3182d20
gnu: python-crds: Update to 11.17.22.
* gnu/packages/astronomy.scm (python-crds): Update to 11.17.22. Adjust
indentation.
[native-inputs]: Remove python-flake8, python-ipython,
python-lockfile, python-mock, python-nose, python-pylint, and
python-pytest.

Change-Id: Idbbece6544755753dce2046292d2552924992959
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:38 +04:00
Sharlatan Hellseher
9aaa58bc82
gnu: python-cdflib: Update to 1.3.1.
* gnu/packages/astronomy.scm (python-cdflib): Update to 1.3.1.
[propagated-inputs]: Remove python-attrs.

Change-Id: I13abd2608c18796e6d8d5d37bee0a037fbd2794d
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:37 +04:00
Sharlatan Hellseher
77ef23d0b1
gnu: python-ccdproc: Update to 2.4.2.
* gnu/packages/astronomy.scm (python-ccdproc): Update to 2.4.2.

Change-Id: Ic6be0d26ae6f612c9b57fd88b0458496c28b353a
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:36 +04:00
Sharlatan Hellseher
7b31224f23
gnu: python-dust-extinction: Update to 1.4.
* gnu/packages/astronomy.scm (python-dust-extinction): Update to 1.4.

Change-Id: I335f9ae01c022c6bea229b73f131aab459126809
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:35 +04:00
Sharlatan Hellseher
961fd92dd7
gnu: python-astroscrappy: Update to 1.2.0.
* gnu/packages/astronomy.scm (python-astroscrappy): Update to 1.2.0.
[native-inputs]: Remove python-cython, python-h5py, python-pandas, and
python-scikit-image; add python-cython-3.

Change-Id: I8008d35e94f9076c489709ad241f97dec6e22b2a
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:34 +04:00
Sharlatan Hellseher
e0a7486709
gnu: python-pyvo: Disable a failing test.
* gnu/packages/astronomy.scm (python-pyvo) [arguments]: <#:test-flags>:
Disable one failing test.

Change-Id: I662a08126991c7db1f37d9ae04160f5a926d443f
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:34 +04:00
Sharlatan Hellseher
6ceb7fadc3
gnu: python-astropy: Update to 6.1.0.
* gnu/packages/astronomy.scm (python-astropy): Update to 6.1.0.

Change-Id: I72bbbec2df8fb6aba884c0700a977b34b3d8beec
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:33 +04:00
Sharlatan Hellseher
f8dde4ab6e
gnu: python-astropy-iers-data: Update to 0.2024.5.13.0.30.12.
* gnu/packages/astronomy.scm (python-astropy-iers-data): Update to 0.2024.5.13.0.30.12.

Change-Id: Iac104aea31b967d902f424f3257a07c30d245007
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:32 +04:00
Sharlatan Hellseher
f5642e7e7c
gnu: calceph: Update to 4.0.0.
* gnu/packages/astronomy.scm (calceph): Update to 4.0.0.
[source]: Swap to git checkout.
[build-system]: Swap to cmake-build-system.
[properties]: Remove them.

Change-Id: Ic1559a1f956aa90200c911fbee057c55a7fb9874
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:31 +04:00
Sharlatan Hellseher
ab0af70306
gnu: packages/astronomy: Minimize import from python build system.
* gnu/packages/astronomy.scm: Select just pypi-uri from python build
system module.

Change-Id: I1b02cdd24a6456d58136ee126f7bdb2a01dce9b4
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:30 +04:00
Sharlatan Hellseher
adb56c3666
gnu: python-sgp4: Use pyproject-build-system.
* gnu/packages/astronomy.scm (python-sgp4): [build-system]: Swap to
pyproject-build-system.

Change-Id: Iebaba503a439d858f1e603ab3f7e4bd17be2adb1
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:29 +04:00
Sharlatan Hellseher
00d827a931
gnu: python-ephem: Use pyproject-build-system.
* gnu/packages/astronomy.scm (python-ephem): Adjust indentation.
[build-system]: Swap to pyproject-build-system.

Change-Id: Idc21c004f93f2362a70b2e9fb874ff125fd8c3fa
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:28 +04:00
Sharlatan Hellseher
c220874a37
gnu: python-sep: Refresh package style.
* gnu/packages/astronomy.scm (python-sep): Refresh package style.
[package]: Swap to package/inherit.
[build-system]: Swap to pyproject-build-system.
[arguments]: <#:test-flags>: Activate tests for Python.
[native-inputs]: Do not modify inherited inputs, override instead. Add
python-pytest.
[propagated-inputs]: Override inputs.
[synopsis]: Add Python specific synopsis.

Change-Id: I86f68972eb51e9d546bcba6ee4f33de726c022e2
Signed-off-by: Andrew Tropin <andrew@trop.in>
2024-05-30 18:23:27 +04:00
Efraim Flashner
ee8ff44519
gnu: gcc-13: Remove unneeded patch for i586-gnu.
* gnu/packages/gcc.scm (gcc-13)[arguments]: When building for i586-gnu
delete the inherited phase 'patch-hurd-libpthread as it exists upstream.

Change-Id: I0837dcff325b15b6975b34dbd7268faaa223ecdd
2024-05-30 13:58:37 +03:00
Efraim Flashner
86cab5c4bc
gnu: gccgo-12: Fix building on riscv64-linux.
* gnu/packages/gcc.scm (make-gccgo)[arguments]: When building gccgo-12
for riscv64-linux don't add a phase to adjust the order of libgo
dependencies.

Change-Id: I600c744ce33ad802a5c466c19df41dcbb29a2be0
2024-05-30 13:58:37 +03:00
Efraim Flashner
fce707186a
gnu: mozjs: Fix build on riscv64-linux.
* gnu/packages/gnuzilla.scm (mozjs)[arguments]: When building for
riscv64-linux adjust the 'adjust-tests phase to skip 2 more tests
skipped by upstream.

Change-Id: Ia5fbe6782e3d1d8e1904cdf49a35e0666837b277
2024-05-30 13:58:37 +03:00
Guillaume Le Vaillant
5b2ee0f3d2
gnu: electron-cash: Update to 4.4.1.
* gnu/packages/finance.scm (electron-cash): Update to 4.4.1.

Change-Id: I79e4bd3b039074440d897a72ca145c2b2adf0c48
2024-05-30 11:29:35 +02:00
Guillaume Le Vaillant
970d2c4a11
gnu: cl-cf: Update to 1.0-3.d386072.
* gnu/packages/lisp-xyz.scm (sbcl-cf): Update to 1.0-3.d386072.

Change-Id: I79ef6b23cfcb28f93d0530bbd3b0ff051a1b98f1
2024-05-30 10:32:06 +02:00
Guillaume Le Vaillant
b4b6aafce6
gnu: bitcoin-unlimited: Update to 2.1.0.0.
* gnu/packages/finance.scm (bitcoin-unlimited): Update to 2.1.0.0.

Change-Id: I2faf7909c39bb72ceaf4d03b8bbb4f52e599fa3e
2024-05-30 10:25:32 +02:00
Maxim Cournoyer
29a4514a34
gnu: cling: Update to 1.0.
* gnu/packages/llvm.scm (%cling-version): Delete variable.
(llvm-cling): Inherit from llvm-15 and update to version 13-20240318-01.
[source]: Update source URL.  Remove obsolete snippet.  Add patches field.
[outputs]: Delete field.
[arguments]: Likewise.
(clang-cling-runtime): Update to 13-20240318-01.  Inherit from
clang-runtime-13.  Use llvm-cling source.
[phases]: Use gexps.  Add change-directory phase.
(clang-cling): Update to 13-20240318-01.  Inherit from
clang-13.  Use llvm-cling source.
[arguments]: Use gexps.  Add change-directory phase.
(cling): Update to 1.0.
[source]: Update URL.
[phases] {patch-paths}: Adjust patching of the 'getResourceDir' variable.
* gnu/packages/patches/cling-use-shared-library.patch: Rebase patch.
* gnu/packages/patches/clang-cling-13-libc-search-path.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I5d1f2c4d36ca226116bc74c2578154f86413f9e9
2024-05-29 22:01:24 -04:00
Maxim Cournoyer
412d99a657
gnu: linux-libre-with-bpf: Deprecate in favor of linux-libre.
The kernel has progressively enabled the BPF settings, to the point where
having a separate kernel for it makes little sense, so repatriate the few
non-default BPF-related configs to our main kernel.

* gnu/packages/linux.scm (%bpf-extra-linux-options): Delete variable.
(default-extra-linux-options): Enable CONFIG_NET_CLS_BPF and
CONFIG_NET_ACT_BPF.  CONFIG_IKHEADERS is dropped as it adds 4 MiB to the
kernel image and appears somewhat redundant with BTF debug info.
(linux-libre-with-bpf): Deprecate to linux-libre.

Change-Id: Id672241916dcbcdca7cbc16d869d00223446cd3d
2024-05-29 22:01:23 -04:00
Maxim Cournoyer
afacfa33ec
gnu: linux-libre: Enable Zstd compression of kernel modules.
This brings the on disk size of the kernel from 164 MiB to 144 MiB, or about
12%.

* gnu/packages/linux.scm (default-extra-linux-options)
[version>=5.13]: Enable CONFIG_MODULE_COMPRESS_ZSTD, else
CONFIG_MODULE_COMPRESS_GZIP.
(make-linux-libre*) [phases] {set-environment}: Set ZSTD_CLEVEL environment
variable to 19.
[native-inputs]: Add zstd.
* gnu/build/linux-modules.scm (module-regex): Add .zst to regexp.  Update doc.
(modinfo-section-contents): Extend support to Zstd compressed module.
(dot-ko): Register the 'zstd compression type.
(ensure-dot-ko, file-name->module-name, load-linux-module*)
(module-name->file-name/guess, write-module-name-database)
(write-module-alias-database, write-module-device-database): Update doc.
(module-name-lookup): Also consider zstd-compressed modules.
* gnu/installer.scm (installer-program): Add guile-zstd extension to gexp.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Likewise.
Decompress zstd-compressed modules for use in initrd.
* guix/profiles.scm (linux-module-database): Add guile-zstd extension to gexp.

Change-Id: Ide899dc5c58ea5033583b1a91a92c025fc8d901a
2024-05-29 22:01:23 -04:00
Maxim Cournoyer
b72b6063ce
gnu: linux-libre: Enable BTF debug info.
This is needed for software making use of eBPF programs, such as the sysdig
utility, among others.  For more information about BPF, see:
<https://brendangregg.com/blog/2020-11-04/bpf-co-re-btf-libbpf.html>.

* gnu/packages/linux.scm (%default-extra-linux-options): Enable
CONFIG_DEBUG_INFO, CONFIG_DEBUG_INFO_BTF,
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT, CONFIG_BPF_JIT,
CONFIG_BPF_JIT_ALWAYS_ON, CONFIG_BPF_SYSCALL and BPF_UNPRIV_DEFAULT_OFF.
Disable CONFIG_DEBUG_INFO_REDUCED.
(make-linux-libre*) [native-inputs]: Add dwarves, python-wrapper and zlib.

Change-Id: Idfc64f82aa404e86168bffcf721a325f9e807f75
2024-05-29 22:01:23 -04:00
Maxim Cournoyer
4114060cd0
gnu: linux: Turn %default-extra-linux-options into a procedure.
This is to allow version-specific options to the list of defaults.

* gnu/packages/linux.scm (%default-extra-linux-options): Transform to...
(default-extra-linux-options): ... this procedure, which accepts a 'version'
argument.
(make-linux-libre, linux-libre-arm-generic, linux-libre-arm-generic-5.10)
(linux-libre-arm-generic-5.4, linux-libre-arm64-generic)
(linux-libre-arm64-generic-5.10, linux-libre-arm64-generic-5.4)
(linux-libre-riscv64-generic, linux-libre-mips64el-fuloong2e)
(linux-libre-with-bpf): Adjust accordingly.
* doc/guix-cookbook.texi (Customizing the Kernel): Adjust accordingly.

Change-Id: Ifd3be8b7ed8699bada224a938dbc84205366ff3d
2024-05-29 22:01:23 -04:00
Maxim Cournoyer
c3566fccb6
gnu: make-linux-libre*: Run install targets in parallel.
This reduces the total build time by about 20%.

* gnu/packages/linux.scm (make-linux-libre*) [phases] {install}: Ensure that
-jN is used for the install targets.  Also honor make flags.

Change-Id: Ib3f4fdcbdeab736315a91eafa8d6d1dff5b89884
2024-05-29 22:01:23 -04:00
Maxim Cournoyer
e7afa035d4
gnu: make-linux-libre*: Set KBUILD_BUILD_VERSION for reproducibility.
* gnu/packages/linux.scm (make-linux-libre*) [phases] {set-environment}: Set
KBUILD_BUILD_VERSION to 1.

Change-Id: I6c2e561605a13c757a4eb4d1c59343ba26464067
2024-05-29 22:01:23 -04:00
Maxim Cournoyer
e9e825387f
gnu: Add dwarves.
* gnu/packages/linux.scm (dwarves): New variable.

Change-Id: Ib2452868eae76bea95060a70e568dfb6e84b2a75
2024-05-29 22:01:23 -04:00
Maxim Cournoyer
3528d888ee
gnu: Add sysdig.
* gnu/packages/admin.scm (sysdig): New variable.
* gnu/packages/patches/sysdig-shared-falcosecurity-libs.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.

Change-Id: I02b64db7a548e17ea83beb1ea27db87d29e99cf1
2024-05-29 22:01:20 -04:00
Maxim Cournoyer
07fbaa87e1
gnu: Add falcosecurity-libs.
* gnu/packages/linux.scm (falcosecurity-libs): New variable.
* gnu/packages/patches/falcosecurity-libs-install-pman.patch
* gnu/packages/patches/falcosecurity-libs-libscap-pc.patch
* gnu/packages/patches/falcosecurity-libs-pkg-config.patch
* gnu/packages/patches/falcosecurity-libs-shared-library-fix.patch
* gnu/packages/patches/falcosecurity-libs-libsinsp-pkg-config.patch: New files.
* gnu/local.mk (dist_patch_DATA): Register them.

Change-Id: I0cb15e6a25256598678fc20eb298ad947d699ef4
2024-05-29 21:55:24 -04:00
Maxim Cournoyer
12d2a6e5a6
gnu: libbpf: Update to 1.4.1.
* gnu/packages/linux.scm (libbpf): Update to 1.4.1.
[phases] {install-linux-bpf-headers}: New phase.
[native-inputs]: Add linux-libre-headers-6.8.

Change-Id: I969a017b0ed52c1a611b3fe0d90d5b8703d35e73
2024-05-29 21:55:24 -04:00
Maxim Cournoyer
401086dbc7
gnu: libbpf: Use gexps.
* gnu/packages/linux.scm (libbpf) [arguments]: Use gexps.

Change-Id: I5529cda3b316a24b48f4a33bfd685695614350bb
2024-05-29 21:55:24 -04:00
Maxim Cournoyer
17a9ea9b01
gnu: Add valijson.
* gnu/packages/serialization.scm (valijson): New variable.

Change-Id: I604a0ecdd5ffaa256db4053b77e760d549881f33
2024-05-29 21:55:23 -04:00