From 6178d94706cb3000859bc3f84bdbf7e796375d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Wed, 17 Jun 2015 18:27:37 +0800 Subject: [PATCH] gnu: Add wayland. * gnu/packages/freedesktop.scm (wayland): New variable. --- gnu/packages/freedesktop.scm | 37 +++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index c5b55f30a2..eeb97cdc85 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -38,7 +38,9 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages docbook) #:use-module (gnu packages glib) ;intltool #:use-module (gnu packages xdisorg) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages xorg) + #:use-module (gnu packages doxygen) + #:use-module (gnu packages libffi)) (define-public xdg-utils (package @@ -197,3 +199,36 @@ (define-public python-pyxdg (define-public python2-pyxdg (package-with-python2 python-pyxdg)) + +(define-public wayland + (package + (name "wayland") + (version "1.8.1") + (source (origin + (method url-fetch) + (uri (string-append "http://wayland.freedesktop.org/releases/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1j3gfzn8i0xhk3j34mwb2srrscjxfyi279jhyq80mz943j6r6z7i")))) + (build-system gnu-build-system) + (native-inputs + `(("doxygen" ,doxygen) + ("pkg-config" ,pkg-config) + ("xmlto" ,xmlto) + ("xsltproc" ,libxslt))) + (inputs + `(("docbook-xml" ,docbook-xml) + ("docbook-xsl" ,docbook-xsl) + ("expat" ,expat) + ("libffi" ,libffi) + ("libxml2" ,libxml2))) ; for XML_CATALOG_FILES + (home-page "http://wayland.freedesktop.org/") + (synopsis "Display server protocol") + (description + "Wayland is a protocol for a compositor to talk to its clients as well as +a C library implementation of that protocol. The compositor can be a standalone +display server running on Linux kernel modesetting and evdev input devices, an X +application, or a wayland client itself. The clients can be traditional +applications, X servers (rootless or fullscreen) or other display servers.") + (license license:x11)))