glfs/x/lib/vulkan-loader.xml
2023-12-27 19:23:40 -06:00

165 lines
4.7 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 vulkan-loader-download-http "https://github.com/KhronosGroup/Vulkan-Loader/archive/refs/tags/v&vulkan-loader-version;/Vulkan-Loader-&vulkan-loader-version;.tar.gz">
<!ENTITY vulkan-loader-download-ftp " ">
<!ENTITY vulkan-loader-md5sum "7c89b1c7f2b5b0634634c0916fd8fb87">
<!ENTITY vulkan-loader-size "1.6 MB">
<!ENTITY vulkan-loader-buildsize "9.8 MB">
<!ENTITY vulkan-loader-time "0.1 SBU">
]>
<sect1 id="vulkan-loader" xreflabel="Vulkan-Loader-&vulkan-loader-version;">
<?dbhtml filename="vulkan-loader.html"?>
<title>Vulkan-Loader-&vulkan-loader-version;</title>
<indexterm zone="vulkan-loader">
<primary sortas="a-vulkan-loader">Vulkan-Loader</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Vulkan-Loader</title>
<para>
The <application>Vulkan-Loader</application> package contains a library
which provides the Vulkan API and provides core support for graphics
drivers for Vulkan.
</para>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&vulkan-loader-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&vulkan-loader-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &vulkan-loader-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &vulkan-loader-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &vulkan-loader-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &vulkan-loader-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Vulkan-loader Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="cmake"/>,
<xref linkend="vulkan-headers"/>,
<xref linkend="wayland"/>, and
<xref linkend="xorg7-lib"/>
</para>
<bridgehead renderas="sect4">Recommended (Runtime)</bridgehead>
<para role="runtime">
<xref linkend="mesa"/> (for Vulkan drivers)
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Vulkan-Loader</title>
<note>
<para>
If this package is being installed on a system where Mesa has already
been installed previously, please rebuild <xref linkend="mesa"/> after
this package to install Vulkan graphics drivers.
</para>
</note>
<para>
Install <application>Vulkan-Loader</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=TRUE \
-G Ninja .. &amp;&amp;
ninja</userinput></screen>
<para>
This package does not come with a working test suite.
<!-- To run the tests, we need to follow a complex process to download a
customized copy of googletest.-->
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
None
</seg>
<seg>
libvulkan.so
</seg>
<seg>
/usr/lib/cmake/VulkanLoader
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libvulkan">
<term><filename class="libraryfile">libvulkan.so</filename></term>
<listitem>
<para>
provides the Vulkan API and core support for graphics drivers
</para>
<indexterm zone="vulkan-loader libvulkan">
<primary sortas="c-libvulkan">libvulkan.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>