mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: gtk+: Enable wayland backend.
* gnu/packages/gtk.scm (gtk+)[propagated-inputs]: Add libxkbcommon, mesa, wayland and wayland-protocols. [arguments]: Add "--enable-wayland-backend" and "--enable-x11-backend" to #:configure-flags.
This commit is contained in:
parent
eb6f315b04
commit
982b357478
1 changed files with 12 additions and 2 deletions
|
@ -50,6 +50,7 @@ (define-module (gnu packages gtk)
|
||||||
#:use-module (gnu packages docbook)
|
#:use-module (gnu packages docbook)
|
||||||
#:use-module (gnu packages enchant)
|
#:use-module (gnu packages enchant)
|
||||||
#:use-module (gnu packages fontutils)
|
#:use-module (gnu packages fontutils)
|
||||||
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages ghostscript)
|
#:use-module (gnu packages ghostscript)
|
||||||
#:use-module (gnu packages gl)
|
#:use-module (gnu packages gl)
|
||||||
|
@ -673,8 +674,12 @@ (define-public gtk+
|
||||||
("libxcursor" ,libxcursor)
|
("libxcursor" ,libxcursor)
|
||||||
("libxi" ,libxi)
|
("libxi" ,libxi)
|
||||||
("libxinerama" ,libxinerama)
|
("libxinerama" ,libxinerama)
|
||||||
|
("libxkbcommon" ,libxkbcommon)
|
||||||
("libxdamage" ,libxdamage)
|
("libxdamage" ,libxdamage)
|
||||||
("pango" ,pango)))
|
("mesa" ,mesa)
|
||||||
|
("pango" ,pango)
|
||||||
|
("wayland" ,wayland)
|
||||||
|
("wayland-protocols" ,wayland-protocols)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libxml2" ,libxml2)
|
`(("libxml2" ,libxml2)
|
||||||
;; XXX: colord depends on mozjs (through polkit), which fails on
|
;; XXX: colord depends on mozjs (through polkit), which fails on
|
||||||
|
@ -700,7 +705,12 @@ (define-public gtk+
|
||||||
;; to "doc".
|
;; to "doc".
|
||||||
#:configure-flags (list (string-append "--with-html-dir="
|
#:configure-flags (list (string-append "--with-html-dir="
|
||||||
(assoc-ref %outputs "doc")
|
(assoc-ref %outputs "doc")
|
||||||
"/share/gtk-doc/html"))
|
"/share/gtk-doc/html")
|
||||||
|
;; The header file <gdk/gdkwayland.h> is required
|
||||||
|
;; by gnome-control-center
|
||||||
|
"--enable-wayland-backend"
|
||||||
|
;; This is necessary to build both backends.
|
||||||
|
"--enable-x11-backend")
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(add-before 'configure 'pre-configure
|
(add-before 'configure 'pre-configure
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in a new issue