me
/
guix
Archived
1
0
Fork 0

gnu: yad: Update to 5.0.

* gnu/packages/gtk.scm (yad): Update to 5.0.
[build-system]: Use Glib-or-Gtk build system.
[arguments]: Remove obsolete or ineffective #:configure-flags.
Use the default ‘bootstrap’ phase followed by an ‘intltoolize’ one.
[inputs]: Add gspell.
master
Tobias Geerinckx-Rice 2019-11-01 20:02:00 +01:00
parent c688e314dc
commit 2223cbdefa
No known key found for this signature in database
GPG Key ID: D889B0F018C5493C
1 changed files with 14 additions and 13 deletions

View File

@ -44,6 +44,7 @@
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
#:use-module (guix build-system perl) #:use-module (guix build-system perl)
@ -1737,7 +1738,7 @@ independent of your desktop environment, and supports global key bindings.")
(define-public yad (define-public yad
(package (package
(name "yad") (name "yad")
(version "0.41.0") (version "5.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -1746,24 +1747,24 @@ independent of your desktop environment, and supports global key bindings.")
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1hkxiich898sbacpg3jflf6i8l4hkfnc0zh10rr376v0mnzbn6jn")))) (base32 "07rd61hvilsxxrj7lf8c9k0a8glj07s48m7ya8d45030r90g3lvc"))))
(build-system gnu-build-system) (build-system glib-or-gtk-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
'("--with-gtk=gtk3" ;; Passing --enable-foo will silently disable foo if prerequisite
"--enable-html" ;; inputs are missing, not abort the build as one might expect.
"--enable-gio" ;; --enable-html adds a huge webkitgtk dependency. It was never
"--enable-spell" ;; present in the past and nobody complained.
"--enable-icon-browser") '("--enable-icon-browser"
"--enable-spell") ; gspell checking support
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'bootstrap (add-after 'bootstrap 'intltoolize
(lambda _ (lambda _
(invoke "autoreconf" "-vif") (invoke "intltoolize" "--force" "--automake"))))))
(invoke "intltoolize" "--force" "--automake")
#t)))))
(inputs (inputs
`(("gtk+" ,gtk+))) `(("gspell" ,gspell)
("gtk+" ,gtk+)))
(native-inputs (native-inputs
`(("autoconf" ,autoconf) `(("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)