Commit graph

102670 commits

Author SHA1 Message Date
Ricardo Wurmus
1ee2d117d8
gnu: blast+: Build reproducibly.
Fixes <https://issues.guix.gnu.org/42141>.

* gnu/packages/bioinformatics.scm (blast+)[source]: Do not record kernel
version and use fix set of random numbers.
2022-09-29 23:21:16 +02:00
Jesse Gibbons
4244f5e9a7
news: Add entry for '--with-source'.
* etc/news.scm: Add entry.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-09-29 23:10:25 +02:00
Ludovic Courtès
28ade1bab2
transformations: '--with-source' now operates in depth.
The '--with-source' option is the first one that was implemented, and
it's the only one that would operate only on leaf packages rather than
traversing the dependency graph.  This change makes it consistent with
the rest of the transformation options.

* guix/transformations.scm (evaluate-source-replacement-specs): New
procedure.
(transform-package-source): Rewrite using it.
* tests/transformations.scm ("options->transformation, with-source, no
matches"): Rewrite since we no longer get a warning.
("options->transformation, with-source, in depth"): New test.
* doc/guix.texi (Package Transformation Options): Adjust examples.
2022-09-29 22:59:49 +02:00
Mája Tomášek
1bf18818c6
services: certbot: Create "live" directory during activation.
When trying to run certbot, the mcron command fails, as
/etc/letsencrypt/live is missing.  This patch adds it into the certbot
activation service.

* gnu/services/certbot.scm (certbot-activation): Make /etc/letsencrypt/live.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-29 22:59:48 +02:00
zamfofex
6943f22ee6
gnu: Add lite-xl.
* gnu/packages/text-editors.scm (lite-xl): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-29 22:59:48 +02:00
itd
8b2119a5e4
import: print: Quasiquote properties
* guix/import/print.scm (package->code): Quasiquote properties.
* tests/print.scm (pkg-with-properties, pkg-with-properties-source):
New variables.
("package with properties"): New test

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-29 22:59:48 +02:00
itd
61bd7bf469
import/utils: alist->package: Include properties.
* guix/import/utils.scm (alist->package): Process properties field in input
data and include it in the generated package.
* tests/import-utils.scm ("alist->package with properties"): New test.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-29 22:59:48 +02:00
Ludovic Courtès
168a7933c0
services: shepherd: Leave the finalization thread in peace.
This gets rid of that (in)famous at boot time:

  error in finalization thread: Success

This was caused by the file-descriptor closing loop, which would clause
the finalization pipe, leading the finalization thread to (erroneously)
error out.

Thanks to Josselin Poiret for locating the problem!

* gnu/services/shepherd.scm (shepherd-boot-gexp): In 'loop', replace
'close-fdes' with a pair of 'fcntl' calls to add FD_CLOEXEC.
2022-09-29 22:56:56 +02:00
jgart
e6777cfa5e
gnu: Add emacs-cov.
* gnu/packages/emacs-xyz.scm (emacs-cov): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-09-29 11:39:12 +02:00
jgart
c9f02fb44f
gnu: Add emacs-elquery.
* gnu/packages/emacs-xyz.scm (emacs-elquery): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-09-29 11:39:12 +02:00
Nicolas Goaziou
97a2f8e48e
gnu: emacs-popup: Update to 0.5.9.
* gnu/packages/emacs-xyz.scm (emacs-popup): Update to 0.5.9.
2022-09-29 11:39:11 +02:00
Nicolas Goaziou
38f2cbda71
gnu: emacs-async: Update to 1.9.7.
* gnu/packages/emacs-xyz.scm (emacs-async): Update to 1.9.7.
2022-09-29 11:39:11 +02:00
Brice Waegeneire
45eac6cdf5
services: Add file system utilities to profile.
* gnu/services/base.scm (file-system-type->utilities)
(file-system-utilities): New procedures.
(file-system-service-type): Extend 'profile-service-type' with
'file-system-utilities'.
* gnu/system.scm (boot-file-system-service): New procedure.
(operating-system-default-essential-services): Use it.
(%base-packages): Remove 'e2fsprogs'.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-28 19:45:38 -04:00
Jonathan Brielmaier
bb762ac517
gnu: icecat: Remove leftovers from version 91.
* gnu/packages/gnuzilla.scm (all-mozilla-91-locales, %icecat-91-version,
icecat-91-source): Remove variables.
2022-09-28 23:50:36 +02:00
Jonathan Brielmaier
16447da515
gnu: icedove: Update to 102.3.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 102.3.0.
[source]: Use icecat-source again.
[arguments]: Remove `--frozen` flag from cargo invokation.
Remove `--with-user-appdir` flag (no longer honoured since TB91). Disable
WASM sandbox for now (needs more dependencies).
[inputs]: Add alsa-lib. Use icu4c-71.
[native-inputs]: Update hg-reference link. Use rust@1.59 and
rust-cbindgen@0.23.
2022-09-28 23:50:36 +02:00
Trevor Richards
0e36779986
gnu: Add gnome-shell-extension-unite-shell.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-unite-shell): New
variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-28 23:20:45 +02:00
Wiktor Żelazny
48c938fbc7
gnu: Add texlive-babel-czech.
* gnu/packages/tex.scm (texlive-babel-czech): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-09-28 23:15:29 +02:00
Ludovic Courtès
f63adbf6f9
doc: Tweak wsdd wording.
* doc/guix.texi (Samba Services)[Web Service Discovery Daemon]: Tweak
wording.
2022-09-28 22:58:10 +02:00
Ludovic Courtès
67cf25e6cd
doc: Fix syntax for 'wsdd-configuration'.
* doc/guix.texi (Samba Services): Fix syntax of 'wsdd-configuration'
data type definition.
2022-09-28 22:53:35 +02:00
Andreas Rammhold
f33733785a
gnu: wpa-supplicant: Enable OWE support.
With OWE support users are enable to connect to "Opportunistic Wireless
Encryption" networks. This means users are able to have an encrypted
data channel in an otherwise open wireless network.

* gnu/packages/admin.scm (wpa-supplicant)[arguments]: Rename
'configure-for-dbus' phase to 'set-config-options'.  Set CONFIG_OWE=y.
Remove trailing #t.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
2022-09-28 22:41:49 +02:00
Ludovic Courtès
8bd4126917
substitute: Retry downloading when a nar is unavailable.
Fixes <https://issues.guix.gnu.org/57978>
Reported by Attila Lendvai <attila@lendvai.name>.

Previously, if a narinfo was available but its corresponding nar was
missing (for instance because the narinfo was cached and the server
became unreachable in the meantime), 'guix substitute --substitute'
would try to download the nar from its preferred location and abort when
that fails.  This change forces one retry with each of the URLs.

* guix/scripts/substitute.scm (download-nar): Do not catch
'http-get-error?' exceptions.
(system-error?, network-error?, process-substitution/fallback): New
procedures.
(process-substitution): Call 'process-substitution/fallback' upon
'network-error?'.
* tests/substitute.scm ("substitute, first URL has narinfo but lacks nar, second URL unauthorized")
("substitute, first URL has narinfo but nar is 404, both URLs authorized")
("substitute, first URL has narinfo but nar is 404, one URL authorized")
("substitute, narinfo is available but nar is missing"): New tests.
2022-09-28 22:28:27 +02:00
Ludovic Courtès
f75592533e
substitute: Split nar download.
* guix/scripts/substitute.scm (download-nar): New procedure, with most
of the code moved from...
(process-substitution): ... here.  Call it.
2022-09-28 22:28:24 +02:00
Ricardo Wurmus
afcc6d636f
import/cran: Process more complex license strings.
* guix/import/cran.scm (string->license): Add more match clauses.
(string->licenses): Split license conjunctions at "|" and apply
string->license on each license.
(description->package): Use string->licenses.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
19ea75aa4f
import/cran: Use beautify-synopsis.
* guix/import/cran.scm (description->package): Use beautify-synopsis.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
7ea6e9f79f
import/utils: Add beautify-synopsis.
* guix/import/utils.scm (beautify-synopsis): New procedure.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
e761ed7384
import/cran: Transform external package names to Guix names.
* guix/import/cran.scm (transform-sysname): New procedure.
(description->package): Use it on inputs that are derived from "sysdepends".
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
9d86052c22
import/cran: Add more strings to invalid-packages.
* guix/import/cran.scm (invalid-packages): Add none, windows, and xcode.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
352e02a768
gnu: Add r-ggghost.
* gnu/packages/cran.scm (r-ggghost): New variable.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
190c48c6ba
gnu: Add r-animation.
* gnu/packages/cran.scm (r-animation): New variable.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
2995865758
gnu: Add js-scianimator.
* gnu/packages/javascript.scm (js-scianimator): New variable.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
1e7696a95b
gnu: Add r-ggthemeassist.
* gnu/packages/cran.scm (r-ggthemeassist): New variable.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
211031ca0d
gnu: Add r-bundesligr.
* gnu/packages/cran.scm (r-bundesligr): New variable.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
c592eb6980
gnu: Add r-pbdmpi.
* gnu/packages/cran.scm (r-pbdmpi): New variable.
2022-09-28 22:10:33 +02:00
Ricardo Wurmus
d1f1947a46
gnu: Add r-rlecuyer.
* gnu/packages/cran.scm (r-rlecuyer): New variable.
2022-09-28 22:10:33 +02:00
Brice Waegeneire
f4442721eb
gnu: Add acpilight.
* gnu/packages/linux.scm (acpilight): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-28 15:55:28 -04:00
Liliana Marie Prikler
86d91c4411
gnu: evolution: Add missing input.
In commit e4bf10ab0b, libnotify was removed
(and the removal documented).  This led to desktop notifications no longer
popping up for received emails.  Re-adding libnotify fixes this.

* gnu/packages/gnome.scm (evolution)[inputs]: Add libnotify.
2022-09-28 21:28:57 +02:00
Petr Hodina
3fb7add10f
gnu: Add btop.
* gnu/packages/admin.scm (btop): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-28 15:15:15 -04:00
jgart
7d27a5322c
gnu: Add elm-community-random-extra.
* gnu/packages/elm.scm (elm-community-random-extra): New variable.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-28 15:15:15 -04:00
Marius Bakke
a065c6e0fd
gnu: ungoogled-chromium: Update to 106.0.5249.61-1.
* gnu/packages/chromium.scm (%preserved-third-party-files): Adjust for M106.
(%chromium-version): Set to 106.0.5249.61.
(%arch-revision): New variable.
(%ungoogled-origin): Update hash.
(%chromium-gcc-patchset): Update to chromium-106-patchset-3.
(%gcc-patches): Adjust accordingly.
(arch-patch): New procedure.
(%ungoogled-chromium-unroll-ffmpeg.patch): Remove variable.
(%reverse-patches): New variable.
(ungoogled-chromium-snippet): Apply %REVERSE-PATCHES instead of just the one.
(ungoogled-chromium): Update hash.
[arguments]: Adjust compiler flags and header inclusions.
2022-09-28 21:04:23 +02:00
Liliana Marie Prikler
eca27032d9
gnu: expat: Update replacement to 2.4.9 [fixes CVE-2022-40674].
* gnu/packages/xml.scm (expat/fixed): Update to 2.4.9.
2022-09-28 20:56:04 +02:00
Liliana Marie Prikler
c67d462c53
gnu: gnome: Sort propagated inputs alphabetically within categories.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Sort alphabetically
within categories.
2022-09-28 20:28:28 +02:00
Hilton Chain
c59653b19e
gnu: telegram: Remove unused variables.
* gnu/packages/telegram.scm (lib-rlottie-for-telegram-desktop)
(lib-waylandshells-for-telegram-desktop,libtgvoip-for-telegram-desktop):
Remove variables.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
b906aa6a7c
gnu: telegram-desktop: Sort inputs alphabetically.
* gnu/packages/telegram.scm (telegram-desktop)[inputs]: Sort inputs
alphabetically.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
08abd3e56b
gnu: telegram-desktop: Update to 4.2.2.
* gnu/packages/patches/telegram-desktop-allow-disable-libtgvoip.patch: New
file.
* gnu/local.mk (dist_patch_DATA): Add patch.
* gnu/packages/telegram.scm (tgcalls-for-telegram-desktop)
(codegen-for-telegram-desktop,lib-base-for-telegram-desktop)
(lib-crl-for-telegram-desktop,lib-lottie-for-telegram-desktop)
(lib-qr-for-telegram-desktop,lib-rpl-for-telegram-desktop)
(lib-spellcheck-for-telegram-desktop,lib-storage-for-telegram-desktop)
(lib-tl-for-telegram-desktop,lib-ui-for-telegram-desktop)
(lib-webrtc-for-telegram-desktop,lib-webview-for-telegram-desktop)
(cmake-helpers-for-telegram-desktop): Bump to submodule checkout.
(rlottie-for-telegram-desktop): Bump to submodule checkout.
[snippet]: Switch off werror.
[arguments]: Inherit from rlottie.
(telegram-desktop): Update to 4.2.2.
[patches]: Add telegram-desktop-allow-disable-libtgvoip.patch.
[arguments]<#:configure-flags>: Unbundle rlottie.
<#:phases>: Adjusted accordingly.
[native-inputs]: Add clang-toolchain.
Remove cmake-shared, extra-cmake-modules and qttools-5.
[inputs]: Add abseil-cpp-cxxstd17, kcoreaddons, libdispatch, libvpx, wayland,
webkitgtk.
Remove catch2, kwayland, libdbusmenu-qt, libtgvoip-for-telegram-desktop,
libx11, materialdecoration and qt5ct.
[propagated-inputs]: Remove dconf.
[license]: Adjust accordingly.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
c59d3d67fd
gnu: Add libdispatch.
* gnu/packages/c.scm (libdispatch): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
c9bd729dd1
gnu: Remove libvpx-for-telegram-desktop.
* gnu/packages/telegram.scm (libvpx-for-telegram-desktop): Remove variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
4531a6c3df
gnu: webrtc-for-telegram-desktop: Sort inputs alphabetically.
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop)[inputs]: Sort
inputs alphabetically.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
adc3b7d31d
gnu: webrtc-for-telegram-desktop: Update to 621f3da5.
* gnu/packages/patches/webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch:
New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/telegram.scm (webrtc-for-telegram-desktop): Update to 621f3da5.
[patches]: Add webrtc-for-telegram-desktop-fix-gcc12-cstdint.patch.
[snippet]: Unbundle libvpx and openh264.
[native-inputs]: Remove perl.
[inputs]: Replace pipewire with pipewire-0.3.
Add abseil-cpp-cxxstd17, libdrm, libglvnd, libvpx, libxfixes, mesa, openh264.
Remove alsa-lib, libx11 and pulseaudio.
[arguments]<#:phases>: Adjust accordingly.
[license]: Likewise.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
dc07a4ce6c
gnu: Add crc32c.
* gnu/packages/cpp.scm (crc32c): New variable.
* gnu/packages/patches/crc32c-unbundle-googletest.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00
Hilton Chain
7bcfdebc55
gnu: Add abseil-cpp-cxxstd17.
* gnu/packages/cpp.scm (abseil-cpp-cxxstd17): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:38 +02:00