gnu: gtk+-2: Add missing inputs and search-path.
* gnu/packages/gtk.scm (gtk+-2) [native-inputs]: Add intltool. [inputs]: Add libx11, libxext, libxkbcommon, libxrender and libxshmfence. [propagated-inputs]: Add cairo and glib. [search-paths]: New field. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
parent
3dcdf0c306
commit
e0fc4c1fa7
1 changed files with 12 additions and 3 deletions
|
|
@ -841,26 +841,34 @@ is part of the GNOME accessibility project.")
|
||||||
(outputs '("out" "bin" "doc"))
|
(outputs '("out" "bin" "doc"))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("atk" ,atk)
|
`(("atk" ,atk)
|
||||||
|
("cairo" ,cairo)
|
||||||
;; SVG support is optional and requires librsvg, which pulls in rust.
|
;; SVG support is optional and requires librsvg, which pulls in rust.
|
||||||
;; Rust is not supported well on every architecture yet.
|
;; Rust is not supported well on every architecture yet.
|
||||||
("gdk-pixbuf" ,(if (string-prefix? "x86_64" (or (%current-target-system)
|
("gdk-pixbuf" ,(if (string-prefix? "x86_64" (or (%current-target-system)
|
||||||
(%current-system)))
|
(%current-system)))
|
||||||
gdk-pixbuf+svg
|
gdk-pixbuf+svg
|
||||||
gdk-pixbuf))
|
gdk-pixbuf))
|
||||||
|
("glib" ,glib)
|
||||||
("pango" ,pango)))
|
("pango" ,pango)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("cups" ,cups)
|
`(("cups" ,cups)
|
||||||
|
("libx11" ,libx11)
|
||||||
("libxcomposite" ,libxcomposite)
|
("libxcomposite" ,libxcomposite)
|
||||||
("libxcursor" ,libxcursor)
|
("libxcursor" ,libxcursor)
|
||||||
|
("libxext" ,libxext)
|
||||||
("libxdamage" ,libxdamage)
|
("libxdamage" ,libxdamage)
|
||||||
("libxi" ,libxi)
|
("libxi" ,libxi)
|
||||||
("libxinerama" ,libxinerama)
|
("libxinerama" ,libxinerama)
|
||||||
("libxrandr" ,libxrandr)))
|
("libxkbcommon" ,libxkbcommon)
|
||||||
|
("libxrandr" ,libxrandr)
|
||||||
|
("libxrender" ,libxrender)
|
||||||
|
("libxshmfence" ,libxshmfence)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("perl" ,perl)
|
`(("gettext" ,gettext-minimal)
|
||||||
("gettext" ,gettext-minimal)
|
|
||||||
("glib" ,glib "bin")
|
("glib" ,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
("intltool" ,intltool)
|
||||||
|
("perl" ,perl)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("python-wrapper" ,python-wrapper)
|
("python-wrapper" ,python-wrapper)
|
||||||
("xorg-server" ,xorg-server-for-tests)))
|
("xorg-server" ,xorg-server-for-tests)))
|
||||||
|
|
@ -904,6 +912,7 @@ is part of the GNOME accessibility project.")
|
||||||
(list (search-path-specification
|
(list (search-path-specification
|
||||||
(variable "GUIX_GTK2_PATH")
|
(variable "GUIX_GTK2_PATH")
|
||||||
(files '("lib/gtk-2.0")))))
|
(files '("lib/gtk-2.0")))))
|
||||||
|
(search-paths native-search-paths)
|
||||||
(synopsis "Cross-platform toolkit for creating graphical user interfaces")
|
(synopsis "Cross-platform toolkit for creating graphical user interfaces")
|
||||||
(description
|
(description
|
||||||
"GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating
|
"GTK+, or the GIMP Toolkit, is a multi-platform toolkit for creating
|
||||||
|
|
|
||||||
Reference in a new issue