me
/
guix
Archived
1
0
Fork 0
Commit Graph

102300 Commits (8bd4126917f59f4af9a4323c3d5699201862dca2)

Author SHA1 Message Date
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
Hilton Chain b23985dc80
gnu: kcoreaddons: Update to 5.98.0.
* gnu/packages/kde-frameworks.scm (kcoreaddons): Update to 5.98.0.
[arguments]<#:phases>: Update blocklist for failing tests.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:37 +02:00
Hilton Chain 98e2629165
gnu: kcoreaddons: Remove trailing #t.
* gnu/packages/kde-frameworks.scm (kcoreaddons)[arguments]<#:phases>: Remove
trailing #t.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:37 +02:00
Hilton Chain d0975b4e7e
gnu: extra-cmake-modules: Update to 5.98.0.
* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 5.98.0.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2022-09-28 20:22:37 +02:00
Sughosha 2adb33279a
gnu: zplugins: Update to 0.2.4
* gnu/packages/music (zplugins): Update to 0.2.4

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-28 13:01:25 -04:00
Maxim Cournoyer 12b55f1b32
gnu: gnome: Remove input labels.
* gnu/packages/gnome.scm (gnome)[propagated-inputs]: Remove labels.
2022-09-28 12:59:06 -04:00
Sughosha 103d8229cb
gnu: gnome: Update propagated dependencies.
* gnu/packages/gnome.scm (gnome)
[propgated-inputs]: Remove gnome-terminal and gedit.  And add
gnome-console and gnome-text-editor.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-09-28 12:48:40 -04:00
Maxim Cournoyer b43ed95028
doc: Mention where one can learn more about the samba config file syntax.
* doc/guix.texi (Samba Services): Refer users to "man smb.conf" to learn more
about the Samba config file format.
2022-09-28 09:57:31 -04:00
Maxim Cournoyer f2d071c832
doc: Add a simple Samba share example.
* doc/guix.texi (Samba Services): Add a configuration example.
2022-09-28 09:57:31 -04:00
Maxim Cournoyer 13ed651870
doc: Clarify Samba Services configuration.
* doc/guix.texi (Samba Services): Explicit the fact that no daemons are
automatically run.  Remove the word "Manually", that suggested otherwise.
2022-09-28 09:57:30 -04:00
Maxim Cournoyer 2703b16005
services: samba: Remove unused variables and modules.
* gnu/services/samba.scm (%smb-conf): Delete unused variable.
2022-09-28 09:57:30 -04:00
Efraim Flashner 5723c511c2
gnu: ffmpeg-5: Update to 5.1.2.
* gnu/packages/video.scm (ffmpeg-5): Update to 5.1.2.
2022-09-28 15:45:49 +03:00
Efraim Flashner 0b59e22c16
gnu: parallel: Update to 20220922.
* gnu/packages/parallel.scm (parallel): Update to 20220922.
2022-09-28 15:45:49 +03:00
Efraim Flashner 9bd8e14550
gnu: git-annex: Update to 10.20220927.
* gnu/packages/haskell-apps.scm (git-annex): Update to 10.20220927.
[inputs]: Add ghc-clientsession, ghc-wai, ghc-wai-extra, ghc-warp,
ghc-warp-tls, ghc-yesod, ghc-yesod-core, ghc-yesod-form, and
ghc-yesod-static.
2022-09-28 15:45:48 +03:00
Efraim Flashner c249927ebb
gnu: vim: Update to 9.0.0594.
* gnu/packages/vim.scm (vim): Update to 9.0.0594.
[arguments]: Adjust custom 'patch-absolute-paths phase to add another
file to patch.
2022-09-28 14:53:03 +03:00
Efraim Flashner f0136c8805
Revert "gnu: Add rust-number-prefix-0.4."
This reverts commit 3ff582b82b.

This package was already included in Guix.
2022-09-28 13:55:15 +03:00
Efraim Flashner 1590d6d58e
gnu: exa: Only build with pandoc when supported.
* gnu/packages/rust-apps.scm (exa)[arguments]: Adjust custom
'build-manual phase to only build when pandoc is available. Adjust
custom 'install-extras to only install man pages when they are
available.
[native-inputs]: Only include pandoc on systems where it is supported.
2022-09-28 13:52:12 +03:00
Efraim Flashner 62f80d215e
gnu: exa: Don't install source.
* gnu/packages/rust-apps.scm (exa)[arguments]: Add flag to not install
the package source.
2022-09-28 13:52:12 +03:00
gyara 31889c7964
gnu: exa: Update to 0.10.1.
* gnu/packages/rust-apps.scm (exa): Update to 0.10.1.
[arguments]: Delete custom phase 'disable-failing-tests. Add custom
'build-manual phase. Remove trailing #t from phases.
[cargo-inputs]: Replace rust-datetime-0.4 with 0.5, rust-git2-0.9 with
0.13, rust-number-prefix-0.3 with 0.4, rust-users-0.9 with 0.11,
rust-zoneinfo-compiled-0.4 with 0.5.
[cargo-native-inputs]: Replace rust-datetime-0.4 with 0.5.
[native-inputs]: Add pandoc.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-09-28 13:52:11 +03:00
gyara 7d60052de8
gnu: Add rust-zoneinfo-compiled-0.5.
* gnu/packages/crates-io.scm (rust-zoneinfo-compiled-0.5): New variable.
(rust-zoneinfo-compiled-0.4): Inherit from rust-zoneinfo-compiled-0.5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-09-28 13:52:11 +03:00
gyara b3157f6ba4
gnu: Add rust-datetime-0.5.
* gnu/packages/crates-io.scm (rust-datetime-0.5): New variable.
(rust-datetime-0.4): Inherit from rust-datetime-0.5.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-09-28 13:52:11 +03:00