gnu: gtksourceview-2: Adjust inputs.

Fixes <https://debbugs.gnu.org/25537>.

* gnu/packages/gtk.scm (gtksourceview-2): Move 'shared-mime-info' and
'xorg-server' to 'native-inputs'.  Move 'gtk+-2' to 'propagated-inputs'.
master
宋文武 2017-01-28 11:29:12 +08:00
parent 2429dde57d
commit bd05ea41b6
No known key found for this signature in database
GPG Key ID: 26525665AE727D37
1 changed files with 6 additions and 7 deletions

View File

@ -331,18 +331,17 @@ diagrams.")
(base32
"07hrabhpl6n8ajz10s0d960jdwndxs87szxyn428mpxi8cvpg1f5"))))
(build-system gnu-build-system)
(inputs
`(("gtk" ,gtk+-2)
;; These two are needed only to allow the tests to run successfully.
("xorg-server" ,xorg-server)
("shared-mime-info" ,shared-mime-info)))
(native-inputs
`(("intltool" ,intltool)
("glib" ,glib "bin") ; for glib-genmarshal, etc.
("pkg-config" ,pkg-config)))
("pkg-config" ,pkg-config)
;; For testing.
("xorg-server" ,xorg-server)
("shared-mime-info" ,shared-mime-info)))
(propagated-inputs
;; As per the pkg-config file.
`(("libxml2" ,libxml2)))
`(("gtk" ,gtk+-2)
("libxml2" ,libxml2)))
(arguments
`(#:phases
;; Unfortunately, some of the tests in "make check" are highly dependent