summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2017-01-28 11:29:12 +0800
committer宋文武 <iyzsong@member.fsf.org>2017-01-28 11:29:12 +0800
commitbd05ea41b6fc6661bb9b037a1b968a471c90f914 (patch)
tree565a65c378fe3c46c8ef48f03910fbeed52fc378 /gnu/packages
parent2429dde57d8461cc8e51dbe6c9d47d795fe6fc9a (diff)
downloadguix-bd05ea41b6fc6661bb9b037a1b968a471c90f914.tar.gz
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'.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gtk.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index a506949aba..0a291370e7 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -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