gnu: meld: Fix startup.

* /gnu/packages/patchutils.scm: (meld)[inputs]: Replace gtksourceview with
gtksourceview-3.
[arguments]<#:phases>[wrap-typelib]: New phase.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
This commit is contained in:
Leo Prikler 2019-10-25 11:17:26 +02:00 committed by Danny Milosavljevic
parent 2a19c0deb1
commit b901a56615
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -265,7 +265,7 @@ (define-public meld
(inputs
`(("python-cairo" ,python-pycairo)
("python-gobject" ,python-pygobject)
("gtksourceview" ,gtksourceview)))
("gtksourceview" ,gtksourceview-3)))
(propagated-inputs
`(("dconf" ,dconf)))
(arguments
@ -292,7 +292,14 @@ (define-public meld
(setenv "HOME" "/tmp")
(invoke "py.test" "-v" "-k"
;; TODO: Those tests fail, why?
"not test_classify_change_actions"))))))
"not test_classify_change_actions")))
(add-after 'wrap 'wrap-typelib
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/meld")
`("GI_TYPELIB_PATH" prefix
,(search-path-as-string->list (getenv "GI_TYPELIB_PATH"))))
#t))))))
(home-page "https://meldmerge.org/")
(synopsis "Compare files, directories and working copies")
(description "Meld is a visual diff and merge tool targeted at