Commit Graph

109042 Commits

Author SHA1 Message Date
Maxim Cournoyer 598f4c509b
pack: Add RPM format.
* 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.
2023-02-19 21:13:23 -05:00
Maxim Cournoyer ac1d530d56
tests: pack: Fix indentation.
* tests/pack.scm: Fix indentation.
2023-02-19 21:13:23 -05:00
Maxim Cournoyer 68380db4c4
pack: Extract populate-profile-root from self-contained-tarball/builder.
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.
2023-02-19 21:13:23 -05:00
Maxim Cournoyer 68775338a5
gexp: computed-file: Honor %guile-for-build.
* guix/gexp.scm (computed-file-compiler): Honor %guile-for-build.
2023-02-19 21:13:22 -05:00
Maxim Cournoyer 5c099f496f
pack: Use let-keywords instead of keyword-ref.
* guix/scripts/pack.scm: (debian-archive): Bind extra-options keyword
arguments via let-keywords.
2023-02-19 21:13:22 -05:00
Maxim Cournoyer 068971805a
.dir-locals: Add let-keywords indentation rules.
* .dir-locals.el (scheme-mode): Add let-keywords indentation rules.
2023-02-19 21:13:22 -05:00
Maxim Cournoyer d318ccc363
gnu: icecat: Unbundle nss and nspr.
* gnu/packages/gnuzilla.scm (icecat-minimal) [inputs]: Add nspr-next and
nss-next.
[configure-flags]: Re-instate the "--with-system-nspr" and "--with-system-nss"
configure flags.
[phases] {remove-bundled-libraries}: Update comment.
2023-02-19 20:03:35 -05:00
Maxim Cournoyer 25f9d4c4c2
gnu: icecat: Remove gtk+-2 input.
* gnu/packages/gnuzilla.scm (icecat-minimal) [inputs]: Remove gtk+-2.
2023-02-19 20:03:35 -05:00
Maxim Cournoyer 74a5634ad8
gnu: icedove: Use the locale of the system.
* gnu/packages/gnuzilla.scm (icedove-source): Set the intl.locale.requested
option to the empty string.
2023-02-19 20:03:35 -05:00
Maxim Cournoyer acf7d01fc3
gnu: Add language packs to icecat and icedove.
Fixes <https://issues.guix.gnu.org/32026>.

* gnu/packages/gnuzilla.scm (icecat): Rename to...
(icecat-minimal): ... this.
(icedove: Rename to...
(icedove-minimal): ... this.
(make-mozilla-with-l10n): New procedure.
(icecat, icedove): New variables.
2023-02-19 20:03:34 -05:00
Maxim Cournoyer 6375e2e39c
gnu: icedove: Automatically load system-provided extensions.
* 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.
2023-02-19 20:03:34 -05:00
Maxim Cournoyer efd9f326ae
gnu: Add icecat-l10n and icedove-l10n.
* gnu/packages/gnuzilla.scm (%icecat-locales, %icedove-locales): New variable.
(make-l10n-package): New procedure.
(icecat-l10n, icedove-l10n): New variables.
2023-02-19 20:03:34 -05:00
Maxim Cournoyer d3fcbefad1
gnu: icecat-source: Update gnuzilla to f23f8b609.
* gnu/packages/gnuzilla.scm (icecat-source): Update gnuzilla to f23f8b609.
2023-02-19 20:03:34 -05:00
Maxim Cournoyer 6d4a78356f
gnu: Define %icecat-base-version at the top level.
* 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.
2023-02-19 20:03:34 -05:00
Maxim Cournoyer 456e98ad6f
gnu: icedove: Compute a self-contained source.
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.
2023-02-19 20:03:33 -05:00
Maxim Cournoyer f4a932cbd7
gnu: Add a 'update-mozilla-locales' helper for maintenance.
* gnu/packages/gnuzilla.scm (update-mozilla-locales): New procedure.
2023-02-19 20:03:33 -05:00
Maxim Cournoyer 636b771536
gnu: hplip-next: Simplify the fix-more-hard-coded-file-names phase.
* 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.
2023-02-19 10:35:45 -05:00
Andy Tai 57495d0635
gnu: Add ddd.
* gnu/packages/debug.scm (ddd): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2023-02-19 11:39:02 +01:00
Jake Leporte f36de1a5ba
gnu: emacs-vterm: Include etc directory in installed files.
* 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>
2023-02-19 11:38:56 +01:00
Nicolas Goaziou e6b4fb5c6a
gnu: emacs-gnuplot: Update to 0.8.1.
* gnu/packages/emacs-xyz.scm (emacs-gnuplot): Update to 0.8.1.
2023-02-19 11:38:20 +01:00
Nicolas Goaziou 14e6a5fdd8
gnu: emacs-goggles: Update to 0.3.
* gnu/packages/emacs-xyz.scm (emacs-goggles): Update to 0.3.
[description]: Use proper capitalization.
2023-02-19 11:38:20 +01:00
Nicolas Goaziou aa1caf5fad
gnu: emacs-project: Update to 0.9.7.
* gnu/packages/emacs-xyz.scm (emacs-project): Update to 0.9.7.
2023-02-19 11:38:20 +01:00
Aleksandr Vityazev 819aaca9d5
gnu: php: Drop a failed test for riscv64.
* gnu/packages/php (php): Drop a failed test for riscv64.
[source, arguments, description]: Fix formatting.
2023-02-19 10:09:16 +01:00
Julien Lepiller 189525412e
guix: Show better progress bars.
Style provides information on the characters to use before and after the
progress bar content (`[` and `]` for the ascii style), as well as the
character for filled step (`#` for ascii style).  When supported, it
provides intermediate steps.  This is used for unicode style, to show
better precision.

* guix/progress.scm (<progress-bar-style>): New record type.
(ascii-bar-style, unicode-bar-style): New variables.
(progress-bar): Draw progress depending on style.  When supported, use
unicode style.  Fall back to ascii style.
2023-02-19 10:09:15 +01:00
Julien Lepiller 01334a61c7
gnu: Use unifont by default in TTYs.
It has even better language support than LatGrkCyr-8x16 and can show
fancy progress bars.

* gnu/services/base.scm (%default-console-font): Use unifont.
2023-02-19 10:09:10 +01:00
Liliana Marie Prikler 0100ff1727
gnu: dino: Fix comment for pango-next.
Pango 1.5 is a rather old version ;)

* gnu/packages/messaging.scm (dino)[inputs]: Fix comment next to pango-next.
2023-02-19 08:39:50 +01:00
Liliana Marie Prikler 877df1765a
gnu: guile-filesystem: Update to 0.2.0.
* gnu/packages/guile-xyz.scm (guile-filesystem): Update to 0.2.0.
[source]<url>: Use “https://gitlab.com/lilyp/guile-filesystem”.
[home-page]: Likewise.
(guile2.0-filesystem): Deleted variable.
2023-02-19 08:16:47 +01:00
Hilton Chain 28cefd2e56
gnu: hyfetch: Update to 1.4.6.
* gnu/packages/patches/hyfetch-fix-generator-script-quotation-escaping.patch:
New file.
* gnu/packages/patches/hyfetch-remove-old-catchy-os-py.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add them.
* gnu/packages/admin.scm (hyfetch)[source]: Update to 1.4.6.
Switch to git source and add patches.
[inputs]: Remove python-hypy-utils.
[arguments]<#:phases>: Remove set-HOME phase.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-19 08:16:47 +01:00
Liliana Marie Prikler 243eb86c6f
gnu: Add emacs-pasp-mode.
* gnu/packages/patches/emacs-pasp-mode-quote-file-names.patch: New file.
* gnu/local.mk: Register it here.
* gnu/packages/emacs-xyz.scm (emacs-pasp-mode): New variable.
2023-02-19 08:16:47 +01:00
Liliana Marie Prikler eb96e148ca
gnu: Add python-clorm.
* gnu/packages/maths.scm (python-clorm): New variable.
2023-02-19 08:16:47 +01:00
Liliana Marie Prikler 8285093cee
gnu: python-clingo: Install distribution information.
* gnu/packages/maths.scm (python-clingo)[#:phases]: Add ‘install-distinfo’.
2023-02-19 08:16:47 +01:00
Philip McGrath b5326763c7
gnu: racket: Update to 8.8.
* gnu/packages/patches/racket-backport-8.7-pkg-strip.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Delete it.
* gnu/packages/racket.scm (%racket-origin)[patches]: Likewise.
(%racket-version): Update to 8.8.
(%zuo-version): Update to 1.6.
(racket)[inputs]<algol60, cext-lib, deinprogramm, draw, drracket>
<expeditor, gui, htdp, math, pict, r5rs, redex, sasl, scribble>
<typed-racket, string-constants, syntax-color>: Update checksums.
* gnu/packages/chez.scm (chez-scheme-for-racket): Update to
9.9.9-pre-release.14.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-19 08:16:47 +01:00
Parnikkapore e1290c0d43
gnu: dino: Update to 0.4.0.
* gnu/packages/messaging.scm (dino): Update to 0.4.0.
[inputs]: Replace gtk+ with gtk.
Replace pango with pango-next.
Add bash-minimal and libadwaita.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-02-19 08:16:46 +01:00
Maxim Cournoyer 037c1b254a
gnu: hplip-next: Update to 3.22.10.
* gnu/packages/cups.scm (hplip-next): Update to 3.22.10.
2023-02-18 16:01:30 -05:00
Maxim Cournoyer 185e8ac8cc
gnu: Add hplip-next.
* gnu/packages/cups.scm (hplip-next): New variable.
2023-02-18 16:01:30 -05:00
Ricardo Wurmus f3329764e2
gnu: Add r-longdat.
* gnu/packages/cran.scm (r-longdat): New variable.
2023-02-18 21:11:56 +01:00
Ricardo Wurmus 1de36ea8d7
gnu: Add r-bestnormalize.
* gnu/packages/cran.scm (r-bestnormalize): New variable.
2023-02-18 21:11:56 +01:00
Ricardo Wurmus 411f3f1ffe
gnu: Add r-butcher.
* gnu/packages/cran.scm (r-butcher): New variable.
2023-02-18 21:11:56 +01:00
Ricardo Wurmus 7ec692587a
gnu: Add r-lambertw.
* gnu/packages/cran.scm (r-lambertw): New variable.
2023-02-18 21:11:56 +01:00
Ricardo Wurmus 48e5c3bd29
gnu: Add r-lamw.
* gnu/packages/cran.scm (r-lamw): New variable.
2023-02-18 21:11:56 +01:00
Ricardo Wurmus 971778f20b
gnu: Add r-effsize.
* gnu/packages/cran.scm (r-effsize): New variable.
2023-02-18 21:11:56 +01:00
Ricardo Wurmus 206195d4e2
gnu: Add r-filesstrings.
* gnu/packages/cran.scm (r-filesstrings): New variable.
2023-02-18 21:11:56 +01:00
Ricardo Wurmus eb4b61c7b2
gnu: Add r-strex.
* gnu/packages/cran.scm (r-strex): New variable.
2023-02-18 21:11:51 +01:00
Maxim Cournoyer 9f21ca83a8
gnu: libreoffice: Fix password encryption issue.
Fixes <https://issues.guix.gnu.org/59292>.

* gnu/packages/libreoffice.scm (libreoffice) [phases]: Add a
augment-LD_LIBRARY_PATH phase.
2023-02-18 14:47:19 -05:00
Maxim Cournoyer c7e3617cf2
gnu: libreoffice: Enable logging system.
* gnu/packages/libreoffice.scm (libreoffice)
[configure-flags]: Add --enable-sal-log.
2023-02-18 14:47:19 -05:00
Maxim Cournoyer 0d5286b8a6
gnu: xmlsec: Update to 1.2.37.
* gnu/packages/xml.scm (xmlsec): Update to 1.2.37.
2023-02-18 14:47:19 -05:00
Maxim Cournoyer f1234c7569
gnu: python-pygit2: Update to 1.11.1.
* gnu/packages/python-xyz.scm (python-pygit2): Update to 1.11.1.
[build-system]: Use pyproject-build-system.
[arguments]: Delete field.
[propagated-inputs]: Remove python-cached-property.
2023-02-18 14:47:19 -05:00
Maxim Cournoyer 1b78b94f06
gnu: audacity: Update to 3.2.4.
* gnu/packages/audio.scm (audacity): Update to 3.2.4.
2023-02-18 14:47:18 -05:00
Ricardo Wurmus 0ba69c1ee2
gnu: r-naniar: Update to 1.0.0.
* gnu/packages/statistics.scm (r-naniar): Update to 1.0.0.
[propagated-inputs]: Add r-cli and r-vctrs.
2023-02-18 19:56:49 +01:00
Ricardo Wurmus 7eefff7ace
gnu: r-forcats: Update to 1.0.0.
* gnu/packages/statistics.scm (r-forcats): Update to 1.0.0.
[propagated-inputs]: Remove r-ellipsis and r-withr.
2023-02-18 19:56:49 +01:00