From 2c54d3f48934c7515bb85b0ef575aec4ce64ad25 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 17 Apr 2023 14:46:48 -0400 Subject: [PATCH] gnu: gfeeds: Update to 2.2.0. * gnu/packages/syndication.scm (gfeeds): Update to 2.2.0. [phases]: Fix skip-icon-cache phase. Use search-input-file in wrap-gfeeds. --- gnu/packages/syndication.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/syndication.scm b/gnu/packages/syndication.scm index e11e6ae960..cc6ead859e 100644 --- a/gnu/packages/syndication.scm +++ b/gnu/packages/syndication.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2022 Luis Felipe López Acevedo ;;; Copyright © 2022 Liliana Marie Prikler +;;; Copyright © 2023 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -534,7 +535,7 @@ (define-public syndication-domination (define-public gfeeds (package (name "gfeeds") - (version "1.0.3") + (version "2.2.0") (source (origin (method git-fetch) (uri (git-reference @@ -543,7 +544,7 @@ (define-public gfeeds (file-name (git-file-name name version)) (sha256 (base32 - "1lkvhff7pl1y4brqsix6sar5yl8flyhfp3w96fx0klhk3586bvhg")))) + "0p2hyjif9yhpc6r3ig7fdxpb2q8s9g42mz38svsc38gq7hb13b2w")))) (build-system meson-build-system) (arguments (list @@ -555,12 +556,12 @@ (define-public gfeeds (("mpv") (search-input-file inputs "/bin/mpv"))))) (add-after 'unpack 'skip-icon-cache (lambda _ - (substitute* "meson_post_install.py" - (("gtk-update-icon-cache") "true")))) + (substitute* "meson.build" + (("gtk_update_icon_cache: true") + "gtk_update_icon_cache: false")))) (add-after 'install 'wrap-gfeeds (lambda* (#:key outputs #:allow-other-keys) - (wrap-program (string-append - (assoc-ref outputs "out") "/bin/gfeeds") + (wrap-program (search-input-file outputs "/bin/gfeeds") `("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))) `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))) `("XDG_DATA_DIRS" ":" prefix (,(getenv "XDG_DATA_DIRS")))))))))