gnu: cairo: Enable some features.
* gnu/packages/gtk.scm (cairo) [native-inputs]: Add gobject-introspection. [inputs]: Add libdrm. Remove xorgproto and zlib. [propagated-inputs]: Add libxcb. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>master
parent
cccbe0a7cb
commit
bb8be806b5
|
@ -139,30 +139,45 @@ tools have full access to view and control running applications.")
|
||||||
`(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
|
`(#:tests? #f ; see http://lists.gnu.org/archive/html/bug-guix/2013-06/msg00085.html
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list
|
(list
|
||||||
"--enable-tee" ;needed for GNU Icecat
|
|
||||||
"--enable-xml" ;for cairo-xml support
|
|
||||||
"--disable-static"
|
"--disable-static"
|
||||||
|
;; XXX: To be enabled.
|
||||||
|
;; "--enable-gallium=yes"
|
||||||
|
;; "--enable-gl=yes"
|
||||||
|
;; " --enable-glesv2=yes"
|
||||||
|
;; "--enable-glesv3=yes"
|
||||||
|
;; "--enable-cogl=yes"
|
||||||
|
;; "--enable-directfb=yes"
|
||||||
|
;; "--enable-vg=yes"
|
||||||
|
"--enable-tee=yes"
|
||||||
|
"--enable-xml=yes"
|
||||||
(string-append "--with-html-dir="
|
(string-append "--with-html-dir="
|
||||||
(assoc-ref %outputs "doc")
|
(assoc-ref %outputs "doc")
|
||||||
"/share/gtk-doc/html"))))
|
"/share/gtk-doc/html"))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("gobject-introspection" ,gobject-introspection)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
("python" ,python-wrapper)))
|
("python" ,python-wrapper)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("ghostscript" ,ghostscript)
|
`(("drm" ,libdrm)
|
||||||
|
("ghostscript" ,ghostscript)
|
||||||
("libspectre" ,libspectre)
|
("libspectre" ,libspectre)
|
||||||
("poppler" ,poppler)
|
("poppler" ,poppler)))
|
||||||
("xorgproto" ,xorgproto)
|
|
||||||
("zlib" ,zlib)))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("fontconfig" ,fontconfig)
|
`( ;; ("cogl" ,cogl)
|
||||||
|
;; ("directfb" ,directfb)
|
||||||
|
("fontconfig" ,fontconfig)
|
||||||
|
("fontconfig" ,fontconfig)
|
||||||
("freetype" ,freetype)
|
("freetype" ,freetype)
|
||||||
("glib" ,glib)
|
("glib" ,glib)
|
||||||
|
;; ("gtk+" ,gtk+)
|
||||||
("libpng" ,libpng)
|
("libpng" ,libpng)
|
||||||
("libx11" ,libx11)
|
;; ("librsvg" ,librsvg)
|
||||||
("libxext" ,libxext)
|
;; ("opengl" ,mesa)
|
||||||
("libxrender" ,libxrender)
|
("pixman" ,pixman)
|
||||||
("pixman" ,pixman)))
|
("x11" ,libx11)
|
||||||
|
("xcb" ,libxcb)
|
||||||
|
("xext" ,libxext)
|
||||||
|
("xrender" ,libxrender)))
|
||||||
(synopsis "2D graphics library")
|
(synopsis "2D graphics library")
|
||||||
(description "Cairo is a 2D graphics library with support for multiple output
|
(description "Cairo is a 2D graphics library with support for multiple output
|
||||||
devices. Currently supported output targets include the X Window System (via
|
devices. Currently supported output targets include the X Window System (via
|
||||||
|
|
Reference in New Issue