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'.
This commit is contained in:
宋文武 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

View file

@ -331,18 +331,17 @@ (define-public gtksourceview-2
(base32 (base32
"07hrabhpl6n8ajz10s0d960jdwndxs87szxyn428mpxi8cvpg1f5")))) "07hrabhpl6n8ajz10s0d960jdwndxs87szxyn428mpxi8cvpg1f5"))))
(build-system gnu-build-system) (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 (native-inputs
`(("intltool" ,intltool) `(("intltool" ,intltool)
("glib" ,glib "bin") ; for glib-genmarshal, etc. ("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 (propagated-inputs
;; As per the pkg-config file. ;; As per the pkg-config file.
`(("libxml2" ,libxml2))) `(("gtk" ,gtk+-2)
("libxml2" ,libxml2)))
(arguments (arguments
`(#:phases `(#:phases
;; Unfortunately, some of the tests in "make check" are highly dependent ;; Unfortunately, some of the tests in "make check" are highly dependent