* guix/import/utils.scm (beautify-description): Ensure the matched
string pre is long enough not to fail.
Change-Id: I3172d9a41350b98222cd9ab758487485f26650b3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
After installing Guix home on my new foreign system, the locale did not
work and GDM did not even let me to log in. After some digging around using
tty3 and tty4, I realized the GUIX_LOCPATH is not being set properly.
I had nothing installed in the ~/.guix-profile (the symlink did not even
exist) and I had glibc-locales installed in ~/.guix-home, yet GUIX_LOCPATH
contained "$HOME/.guix-profile/lib/locale:".
I believe when the code was modified from the original "home or profile" to
the current "home and profile" the || was used by accident instead of &&.
I also remove the trailing :, since it is taken care of by the ${...:+:}.
* etc/guix-install.sh (sys_create_init_profile):
Change-Id: I8a3287fe809af58aee2edc924154eecf91fa1eb8
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This improves compatibility with (at least) Gnome based systems. On my new
Ubuntu 22.04 install the mouse cursor was broken (after I installed Guix)
until I set this.
* etc/guix-install.sh (sys_create_init_profile): Set default value for
XCURSOR_PATH.
Change-Id: I489f0307d99e4d8d82671f291c78b90c7b6dae4a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Previously, ‘guix pack -R’ would build a wrapper containing both the
“userns” and “fakechroot” engines, instead of providing nothing but the
“userns” engine as the manual says. This patch fixes it.
* guix/scripts/pack.scm (wrapped-package): Add #:fakechroot?
[build]: When FAKECHROOT? is false, ‘elf-loader-compile-flags’ always
returns '().
Change-Id: Ic75cc8c36bf0a3881f299b274d78bd9fc2d4e2bb
This reduces the default set of locales from 92 MiB to 28 MiB.
* gnu/system/locale.scm (%default-locale-definitions): Reduce to 10
locales.
Change-Id: I3c092604301d69db591957bcfd62a062c3ac5ab0
The transition from glibc 2.33 to 2.35 was done in
c919bfefd9 (one year ago), so we can
assume that the backward-compatible locales are no longer needed by
default.
This removes 92 MiB from the system closure.
* gnu/system/locale.scm (%default-locale-libcs): Remove GLIBC-2.33.
Change-Id: I85948bbe6b2d424f9f158eeafdb5543688c66c6b
* gnu/packages/algebra.scm (ntl)[license]: Set to lgpl2.1+.
[source]: Remove trailing #t in snippet.
Change-Id: Ibfcb520aa7fe71087adf2352b4051185a0d6f11e
* gnu/packages/tor-browsers.scm (make-torbrowser): Set
"widget.use-xdg-desktop-portal.file-picker" to 1 (Always) instead of 2 (Auto)
to force the use of XDG portal.
Change-Id: Id3c24a292a309c3a079a3843e8cb1c00f2cf9551
This wraps 'thunar' with GIO_EXTRA_MODULES to enable support for "Trash" and
remote file systems via GVFS.
Fixes <https://issues.guix.gnu.org/55781> and <https://issues.guix.gnu.org/40885>.
* gnu/packages/xfce.scm (thunar)[build-system]: Switch to glib-or-gtk-build-system.
Change-Id: Ifa4bc931272380e7c98dea40edb683da523bbaea
* guix/scripts/publish.scm (swallow-zlib-error): Remove.
(exception-with-kind-and-args?): New variable.
(swallow-compression-error): New macro.
(http-write): Use it instead of ‘swallow-zlib-error’.
Change-Id: I835a1eddd9686741d48365ed37f82b1e1d6f6bdd
* gnu/packages/ipfs.scm (kubo): Adjust inputs. Clean up all propagated
inputs from other packages. Inputs are aggregated into 2 groups - direct
and indirect as seen in Kubo's go.mod.
[inputs]: Remove go-github-com-cespare-xxhash,
go-github-com-cheekybits-genny, go-github-com-davecgh-go-spew,
go-github-com-golang-snappy, go-github-com-klauspost-cpuid,
go-github-com-lucas-clemente-quic-go, go-github-com-mattn-go-colorable,
go-github-com-mattn-go-isatty, go-github-com-minio-blake2b-simd,
go-github-com-minio-sha256-simd, go-github-com-mr-tron-base58,
go-github-com-multiformats-go-multiaddr,
go-github-com-pmezard-go-difflib, go-github-com-prometheus-client-model,
go-github-com-prometheus-common, go-github-com-prometheus-procfs,
go-github-com-spaolacci-murmur3, go-golang-org-x-lint,
go-golang-org-x-net, go-golang-org-x-tools, go-gopkg-in-yaml-v2, and
go-lukechampine-com-blake3.
Add go-github-com-benbjohnson-clock, go-github-com-ipfs-go-cid,
go-github-com-jbenet-go-temp-err-catcher,
go-github-com-multiformats-go-multiaddr-0.12,
go-github-com-multiformats-go-multicodec, go-google-golang-org-protobuf,
go-github-com-multiformats-go-multiaddr-fmt, and
go-github-com-multiformats-go-multistream.
Change-Id: I2f06a08839a761413b9225b3f2dd8e5f9f866a0f
Note that the ocaml-luv library has made a few breaking changes, while
only updating the PATCH number in their version. As of now, haxe can
only be compiled with the 0.5.12 version of ocaml-luv - no lower, no
higher.
Change-Id: I465191aa8db806275b2385d11a602dfb0d8d4bb9
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
KAuth helpers use KAUTH_HELPER_INSTALL_ABSOLUTE_DIR as the prefix for "Exec="
in their dbus service files, which should really be an absolute directory.
Fixes <https://issues.guix.gnu.org/70529>.
* gnu/packages/kde-frameworks.scm (kauth)[arguments]<#:phases>: In
fix-cmake-install-directories phase, replace KAUTH_HELPER_INSTALL_DIR
with '${KDE_INSTALL_LIBEXECDIR}/kauth' and KAUTH_HELPER_INSTALL_ABSOLUTE_DIR
with '${KDE_INSTALL_FULL_LIBEXECDIR}/kauth'.
Change-Id: I57920c59dca503fd4bc8727cb35e1b0fb6016e56
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
* gnu/system.scm (operating-system-packages): Because packages->manifest
allows other formats, don't assume it's a package object in the list.
Fixes: https://issues.guix.gnu.org/70624
Change-Id: I91c64ca2c463ef5c35fa23856e4622e364e58988
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>