* gnu/packages/maths.scm (python-clingo)[arguments]: Add 'imported-modules'
and 'modules' in order to access to 'python:site-packages'.
[version]: Explicitly reuse from the package 'clingo'.
This resolves a crash because of pjproject leaving too many sockets
opened ("Creating pipes for GWakeup: Too many open files").
* gnu/packages/jami.scm (pjproject-jami): Update to 2.12-2.20e00fc.
This fixes a regression introduced in 52cb5cf5b8 ("gnu: icedove: Update to
91.3.2") where the single quotes moved to double quotes, but the substitute*
pattern was not correctly adapted.
Fixes <https://issues.guix.gnu.org/53250>.
* gnu/packages/gnuzilla.scm (icedove-minimal)
[phases] {fix-profile-setting}: Include double qutoes in substitute* pattern
targeting the MOZ_DEDICATED_PROFILES configuration option.
This is a follow-up commit to 47f0e022dc ("gnu: icedove: Install icons.")
which installed the icons of the 'browser' component (which are those used by
IceCat).
* gnu/packages/gnuzilla.scm (icedove-minimal) [phases]
{install-icon}: Install the icons of the 'comm' component, which is Icedove.
* gnu/packages/libusb.scm (python-capablerobot-usbhub): Fix build and update to 0.5.0.
[source]: Use Git checkout which allows to pass build the package.
[build-system]: Use PYPROJECT-BUILD-SYSTEM.
[arguments]{tests}: Disable them as not provided.
[phases]use-poetry-core}: New phase.
[phases]{install-udev-rules}: Remove trailing #T from lambda.
[native-inputs]: Add PYTHON-POETRY-CORE.
[propagated-inputs]: Replace PYTHON-PYYAML-7 and PYTHON-PYYAML-5 by
PYTHON-CLICK and PYTHON-PYYAML.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* guix/rpm.scm: New file.
* guix/scripts/pack.scm (rpm-archive): New procedure.
(%formats): Register it.
(show-formats): Add it.
(guix-pack): Register supported extra-options for the rpm format.
* tests/pack.scm (rpm-for-tests): New variable.
("rpm archive can be installed/uninstalled"): New test.
* tests/rpm.scm: New test.
* doc/guix.texi (Invoking guix pack): Document it.
This allows more code to be reused between the various archive writers.
* guix/scripts/pack.scm (set-utf8-locale): New top-level procedure, extracted
from...
(populate-profile-root): New procedure, extracted from...
(self-contained-tarball/builder): ... here. Add #:target argument. Call
populate-profile-root.
[LOCALSTATEDIR?]: Set db.sqlite file permissions.
(self-contained-tarball): Call self-contained-tarball/builder with the TARGET
argument, and set #:local-build? to #f for the gexp-derivation call. Remove
now extraneous #:target and #:references-graphs arguments from the
gexp->derivation call.
(debian-archive): Call self-contained-tarball/builder with the #:target
argument. Fix indentation. Remove now extraneous #:target and
#:references-graphs arguments from the gexp->derivation call.
* gnu/packages/gnuzilla.scm
(icedove-source): Set the extensions.autoDisableScopes preference value to 3.
(icedove-minimal) [phases]: Add the --allow-addon-sideload and
--with-unsigned-addon-scopes=app,system ac options to the configure phase.
* gnu/packages/gnuzilla.scm (%icecat-locales, %icedove-locales): New variable.
(make-l10n-package): New procedure.
(icecat-l10n, icedove-l10n): New variables.
* gnu/packages/gnuzilla.scm (%icecat-base-version): New variable.
(%icecat-version): Define in terms of %icecat-base-version.
(icecat-source): Adjust to use the above newly introduced variables.
This refactoring work is to prepare for adding a icedove-l10n package, which
will reuse that source.
* gnu/packages/gnuzilla.scm (comm-source->locales+changset): New procedure.
(thunderbird-source): Rename to...
(thunderbird-comm-source): ... here.
(icedove-source): New variable.
(icedove) [source]: Use it.
[phases]: Remove the prepare-thunderbird-sources and rename-to-icedove phases.
* gnu/packages/cups.scm (hplip-next) [phases]: Only substitute python files in
the fix-more-hard-coded-file-names phase. This greatly reduce the time taken
by the phase (from 21 s to 0.4 s) on my system, and is functionally
equivalent.
* gnu/packages/emacs-xyz.scm (emacs-vterm)[arguments]<#:include>: Add
"^etc/.*" to the list of regexes for installed files.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>