1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-25 19:50:30 +02:00

gnu: gfeeds: Make it start.

This change patches the version of WebKit required by the program to a
version available in Guix, so that the program actually starts.

* gnu/packages/syndication.scm (gfeeds)[arguments]: Require WebKit2
4.1 instead of 4.0, which is not available.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Luis Felipe
2022-04-23 14:14:43 -05:00
committed by Mathieu Othacehe
parent 30ff557bd7
commit 58f3727767

View File

@@ -3,6 +3,7 @@
;;; Copyright © 2018, 2019, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
;;; Copyright © 2022 Luis Felipe López Acevedo <luis.felipe.la@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -537,6 +538,11 @@ formats, including all versions of RSS and Atom.")
(substitute* "gfeeds/confManager.py"
(("mpv") (search-input-file inputs "/bin/mpv")))
#t))
(add-after 'unpack 'patch-webkit2-version
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "bin/gfeeds.in"
(("gi\\.require_version\\('WebKit2', '4\\.0'\\)")
"gi.require_version('WebKit2', '4.1')"))))
(add-after 'install 'wrap-gfeeds
(lambda* (#:key outputs #:allow-other-keys)
(wrap-program (string-append