glfs/general/genlib/wayland.xml
Ken Moffat c3d5d467d1 wayland-1.10.0
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16985 af4574ff-66df-0310-9fd7-8a98e5e911e0
2016-02-20 06:14:47 +00:00

218 lines
6.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY wayland-download-http "http://wayland.freedesktop.org/releases/wayland-&wayland-version;.tar.xz">
<!ENTITY wayland-download-ftp " ">
<!ENTITY wayland-md5sum "e7751c38807c231afaba9d6b68f2a2b7">
<!ENTITY wayland-size "361 KB">
<!ENTITY wayland-buildsize "7.4 MB (plus 3.7 MB if tests are run)">
<!ENTITY wayland-time "0.1 SBU">
]>
<sect1 id="wayland" xreflabel="Wayland-&wayland-version;">
<?dbhtml filename="wayland.html"?>
<sect1info>
<othername>$LastChangedBy: renodr $</othername>
<date>$Date: 2015-07-31 23:26:22 -0500 (Fri, 31 Jul 2015) $</date>
</sect1info>
<title>Wayland-&wayland-version;</title>
<indexterm zone="wayland">
<primary sortas="a-Wayland">Wayland</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Wayland</title>
<para>
<application>Wayland</application> is a project to define a protocol
for a compositor to talk to its clients as well as a library
implementation of the protocol.
</para>
&lfs78_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&wayland-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&wayland-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &wayland-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &wayland-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &wayland-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &wayland-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Wayland Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libffi"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="doxygen"/>,
<xref linkend="graphviz"/> and
<xref linkend="xmlto"/> (to build the API documentation) and
<xref linkend="DocBook"/>,
<xref linkend="docbook-xsl"/> and
<xref linkend="libxslt"/> (to build the manual pages)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/wayland"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Wayland</title>
<para>
Install <application>Wayland</application> by running the following
commands:
</para>
<screen><userinput>./configure --prefix=/usr \
--disable-static \
--disable-documentation &amp;&amp;
make</userinput></screen>
<para>
To test the results, issue: <command>make check</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
<para>
<parameter>--disable-documentation</parameter>: This switch is used to
disable building of the API documentation. Remove it if you have
installed optional dependencies.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
wayland-scanner
</seg>
<seg>
libwayland-client.so, libwayland-cursor.so, and libwayland-server.so
</seg>
<seg>
/usr/share/wayland
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="wayland-scanner">
<term><command>wayland-scanner</command></term>
<listitem>
<para>
is a tool to generate proxy methods in wayland-client-protocol.h
and wayland-server-protocol.h
</para>
<indexterm zone="wayland wayland-scanner">
<primary sortas="b-wayland-scanner">wayland-scanner</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libwayland-client">
<term><filename class="libraryfile">libwayland-client.so</filename></term>
<listitem>
<para>
contains API functions for writing <application>Wayland</application>
applications.
</para>
<indexterm zone="wayland libwayland-client">
<primary sortas="c-libwayland-client">libwayland-client.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libwayland-cursor">
<term><filename class="libraryfile">libwayland-cursor.so</filename></term>
<listitem>
<para>
contains API functions for managing cursors in <application>Wayland</application>
applications.
</para>
<indexterm zone="wayland libwayland-cursor">
<primary sortas="c-libwayland-cursor">libwayland-cursor.so</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libwayland-server">
<term><filename class="libraryfile">libwayland-server.so</filename></term>
<listitem>
<para>
contains API functions for writing <application>Wayland</application>
compositors.
</para>
<indexterm zone="wayland libwayland-server">
<primary sortas="c-libwayland-server">libwayland-server.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>