me
/
guix
Archived
1
0
Fork 0

gnu: gfeeds: Modernize package description.

* gnu/packages/syndication.scm (gfeeds)[arguments]: Convert to list of
G-Expressions.  Drop trailing #t.
[native-inputs]: Drop labels.
[inputs]: Add bash-minimal.
master
Liliana Marie Prikler 2022-09-15 22:16:55 +02:00
parent e90509b627
commit 9619a31dc3
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 27 additions and 25 deletions
gnu/packages

View File

@ -26,6 +26,7 @@
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils) #:use-module (guix utils)
#:use-module (guix gexp)
#:use-module (guix build-system cargo) #:use-module (guix build-system cargo)
#:use-module (guix build-system glib-or-gtk) #:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
@ -35,6 +36,7 @@
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (gnu packages base) #:use-module (gnu packages base)
#:use-module (gnu packages bash)
#:use-module (gnu packages build-tools) #:use-module (gnu packages build-tools)
#:use-module (gnu packages check) #:use-module (gnu packages check)
#:use-module (gnu packages cmake) #:use-module (gnu packages cmake)
@ -533,13 +535,13 @@ parser. It is \"not fit for use at this point\", but gfeeds uses it anyway.")
"045889417506w2l25j7jxx7jfdpfljbirhm1s4whvhk83xap19zb")))) "045889417506w2l25j7jxx7jfdpfljbirhm1s4whvhk83xap19zb"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-mpv-path (add-after 'unpack 'patch-mpv-path
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "gfeeds/confManager.py" (substitute* "gfeeds/confManager.py"
(("mpv") (search-input-file inputs "/bin/mpv"))) (("mpv") (search-input-file inputs "/bin/mpv")))))
#t))
(add-after 'unpack 'patch-webkit2-version (add-after 'unpack 'patch-webkit2-version
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "bin/gfeeds.in" (substitute* "bin/gfeeds.in"
@ -551,15 +553,15 @@ parser. It is \"not fit for use at this point\", but gfeeds uses it anyway.")
(assoc-ref outputs "out") "/bin/gfeeds") (assoc-ref outputs "out") "/bin/gfeeds")
`("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH"))) `("PYTHONPATH" ":" prefix (,(getenv "GUIX_PYTHONPATH")))
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))) `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
`("XDG_DATA_DIRS" ":" prefix (,(getenv "XDG_DATA_DIRS")))) `("XDG_DATA_DIRS" ":" prefix (,(getenv "XDG_DATA_DIRS")))))))))
#t)))))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") (list `(,glib "bin")
("gobject-introspection" ,gobject-introspection) `(,gtk+ "bin")
("gtk+:bin" ,gtk+ "bin") gobject-introspection
("pkg-config" ,pkg-config))) pkg-config))
(inputs (inputs
(list glib (list bash-minimal
glib
gsettings-desktop-schemas gsettings-desktop-schemas
gtk+ gtk+
hicolor-icon-theme hicolor-icon-theme