summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-02-01 13:14:53 +0800
committer宋文武 <iyzsong@gmail.com>2015-02-01 13:18:37 +0800
commit48f46dc379c85ab02cb7a74ab6e32547f3285397 (patch)
tree9390d2cbad443fe6b9825486f535c3396871ccea /gnu
parent13b284d91ed05400f7d6cc77a23a767d2c2e9a3c (diff)
downloadguix-48f46dc379c85ab02cb7a74ab6e32547f3285397.tar.gz
gnu: gdk-pixbuf: Enable Xlib rendering support.
* gnu/packages/gtk.scm (gdk-pixbuf)[arguments]: New field.
  [inputs]: Add LIBX11.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gtk.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 6bd4e3665a..da39047196 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -277,12 +277,15 @@ printing and other features typical of a source code editor.")
              (base32
               "1kajvfckn88bzcdnl73b933gmjhwjm3dhsj1yrpixhfsc4y5x9r5"))))
    (build-system gnu-build-system)
+   (arguments
+    '(#:configure-flags '("--with-x11")))
    (propagated-inputs ; required by gdk-pixbuf-2.0.pc
     `(("glib" ,glib)
       ("libpng" ,libpng)))
    (inputs
     `(("libjpeg" ,libjpeg)
-      ("libtiff" ,libtiff)))
+      ("libtiff" ,libtiff)
+      ("libx11"  ,libx11)))
    (native-inputs
      `(("pkg-config" ,pkg-config)
        ("glib" ,glib "bin")                               ; glib-mkenums, etc.