mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 21:24:39 +08:00
149 lines
3.6 KiB
XML
149 lines
3.6 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!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 libglvnd-download-https "https://gitlab.freedesktop.org/glvnd/libglvnd/-/archive/v&libglvnd-version;/libglvnd-v&libglvnd-version;.tar.gz">
|
||
|
<!ENTITY libglvnd-download-ftp " ">
|
||
|
<!ENTITY libglvnd-md5sum "UNKNOWN">
|
||
|
<!ENTITY libglvnd-size "UNKNOWN MB">
|
||
|
<!ENTITY libglvnd-buildsize "UNKNOWN MB">
|
||
|
<!ENTITY libglvnd-time "UNKNOWN SBU">
|
||
|
]>
|
||
|
|
||
|
<sect1 id="libglvnd" xreflabel="libglvnd-&libglvnd-version;">
|
||
|
<?dbhtml filename="libglvnd.html"?>
|
||
|
|
||
|
|
||
|
<title>libglvnd-&libglvnd-version;</title>
|
||
|
<indexterm zone="libglvnd">
|
||
|
<primary sortas="a-glvnd">libglvnd</primary>
|
||
|
</indexterm>
|
||
|
|
||
|
<sect2 role="package">
|
||
|
<title>Introduction to libglvnd</title>
|
||
|
|
||
|
<para>
|
||
|
libglvnd is a vendor-neutral dispatch layer for arbitrating
|
||
|
OpenGL API calls between multiple vendors. It allows multiple
|
||
|
drivers from different vendors to coexist on the same filesystem,
|
||
|
and determines which vendor to dispatch each API call to at
|
||
|
runtime.
|
||
|
</para>
|
||
|
|
||
|
&lfs121_checked;
|
||
|
|
||
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||
|
<itemizedlist spacing="compact">
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Download (HTTP): <ulink url="&libglvnd-download-https;"/>
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Download size: &libglvnd-size;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Download MD5 Sum: &libglvnd-md5sum;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Estimated disk space required: &libglvnd-buildsize;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
<listitem>
|
||
|
<para>
|
||
|
Estimated build time: &libglvnd-time;
|
||
|
</para>
|
||
|
</listitem>
|
||
|
</itemizedlist>
|
||
|
|
||
|
<bridgehead renderas="sect3">libglvnd Dependencies</bridgehead>
|
||
|
|
||
|
<bridgehead renderas="sect4">Required</bridgehead>
|
||
|
|
||
|
<para>
|
||
|
Xorg Libraries
|
||
|
</para>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="installation">
|
||
|
<title>Installation of libglvnd</title>
|
||
|
|
||
|
<para>
|
||
|
Install libglvnd by running the following commands:
|
||
|
</para>
|
||
|
|
||
|
<screen><userinput>mkdir build &&
|
||
|
cd build
|
||
|
|
||
|
meson setup .. --prefix=/usr
|
||
|
|
||
|
ninja</userinput></screen>
|
||
|
|
||
|
<para>
|
||
|
Now as the <systemitem class="username">root</systemitem> user:
|
||
|
</para>
|
||
|
|
||
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="installation">
|
||
|
<title>32-bit Installation of libglvnd</title>
|
||
|
|
||
|
<para>
|
||
|
First clean the build directory:
|
||
|
</para>
|
||
|
|
||
|
<screen><userinput>rm -rf *</userinput></screen>
|
||
|
|
||
|
<para>
|
||
|
Install lib32-libglvnd by running the following commands:
|
||
|
</para>
|
||
|
|
||
|
<screen><userinput>mkdir build &&
|
||
|
cd build
|
||
|
|
||
|
CC="gcc -m32" CXX="g++ -m32" \
|
||
|
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
|
||
|
meson setup .. --prefix=/usr \
|
||
|
--libdir=/usr/lib32
|
||
|
|
||
|
ninja</userinput></screen>
|
||
|
|
||
|
<para>
|
||
|
Now as the <systemitem class="username">root</systemitem> user:
|
||
|
</para>
|
||
|
|
||
|
<screen role="root"><userinput>DESTDIR=$PWD/DESTDIR ninja install
|
||
|
cp -vr DESTDIR/usr/lib32/* /usr/lib32
|
||
|
rm -rf DESTDIR
|
||
|
ldconfig</userinput></screen>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="content">
|
||
|
<title>Contents</title>
|
||
|
|
||
|
<segmentedlist>
|
||
|
<segtitle>Installed Programs</segtitle>
|
||
|
<segtitle>Installed Directories</segtitle>
|
||
|
|
||
|
<seglistitem>
|
||
|
<seg>libglvnd</seg>
|
||
|
<seg>/etc/ssl/{certs,local} and
|
||
|
/etc/pki/{nssdb,anchors,tls/{certs,java}}</seg>
|
||
|
</seglistitem>
|
||
|
</segmentedlist>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
</sect1>
|