mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
Added libdrm, Mesa, and xterm in preperation for xorg-7.0, + other fixes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5680 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
9a2fba9be4
commit
868c7c252f
@ -1,8 +1,8 @@
|
||||
<!ENTITY day "23"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "26"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "02"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2006">
|
||||
<!ENTITY version "svn-&year;&month;&day;">
|
||||
<!ENTITY releasedate "February &day;rd, &year;">
|
||||
<!ENTITY releasedate "February &day;th, &year;">
|
||||
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||
<!ENTITY lfs-version "development"> <!-- version|stable|testing|unstable|development] -->
|
||||
@ -130,6 +130,7 @@
|
||||
<!ENTITY screen-version "4.0.2">
|
||||
<!ENTITY tidy-version "051026">
|
||||
<!ENTITY desktop-file-utils-version "0.10">
|
||||
<!ENTITY xterm-version "209">
|
||||
<!ENTITY xscreensaver-version "4.23">
|
||||
<!ENTITY pilot-link-version "0.11.8">
|
||||
<!ENTITY unixodbc-version "2.2.11">
|
||||
@ -338,6 +339,8 @@
|
||||
<!ENTITY xfree86-version "4.5.0">
|
||||
|
||||
<!-- Chapter 26 -->
|
||||
<!ENTITY libdrm-version "2.0">
|
||||
<!ENTITY mesalib-version "6.4.2">
|
||||
<!ENTITY qt-version "3.3.5">
|
||||
<!ENTITY GTK-version "1.2.10">
|
||||
<!ENTITY cairo-version "1.0.2">
|
||||
|
@ -24,6 +24,7 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="screen.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tidy.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="desktop-file-utils.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="xterm.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="xscreensaver.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pilot-link.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="unixodbc.xml"/>
|
||||
|
109
general/genutils/xterm.xml
Normal file
109
general/genutils/xterm.xml
Normal file
@ -0,0 +1,109 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY xterm-download-http " ">
|
||||
<!ENTITY xterm-download-ftp "ftp://invisible-island.net/xterm/xterm-&xterm-version;.tgz">
|
||||
<!ENTITY xterm-md5sum "c75cdbf9395bbc2cd69863fbe7c2e019">
|
||||
<!ENTITY xterm-size "745 KB">
|
||||
<!ENTITY xterm-buildsize "7.1 MB">
|
||||
<!ENTITY xterm-time "0.11 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="xterm2" xreflabel="xterm-&xterm-version;">
|
||||
<?dbhtml filename="xterm.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
<keywordset>
|
||||
<keyword role="package">xterm-&xterm-version;.tar</keyword>
|
||||
<keyword role="ftpdir">xterm</keyword>
|
||||
</keywordset>
|
||||
</sect1info>
|
||||
|
||||
<title>xterm-&xterm-version;</title>
|
||||
|
||||
<indexterm zone="xterm2">
|
||||
<primary sortas="a-xterm2">xterm</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to xterm</title>
|
||||
|
||||
<para><application>xterm</application> is a teminal emulater for
|
||||
the X Window system.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&xterm-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&xterm-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &xterm-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &xterm-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &xterm-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &xterm-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">xterm Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para><xref linkend="xorg"/>, <xref linkend="xfree86"/>,
|
||||
or Xorg-7.0<!--<xref linkend="xorg7"/>--></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of xterm</title>
|
||||
|
||||
<para>If you've installed the X Windows System in any prefix other
|
||||
than <filename class="directory">/usr/X11R6</filename>, then execute
|
||||
the following command to correct the PROJECTROOT variable for xterm. Be
|
||||
sure to replace '[prefix]' in the following instructions with the
|
||||
installation prefix of your X Windows System:</para>
|
||||
|
||||
<screen><userinput>sed -i 's@/usr/X11R6@<replaceable>[prefix]</replaceable>@g' main.h</userinput></screen>
|
||||
|
||||
<para>Install <application>xterm</application> by running the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=<replaceable>[prefix]</replaceable> --sysconfdir=/etc \
|
||||
--localstatedir=/var &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>resize, uxterm, and xterm</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -40,6 +40,15 @@
|
||||
</listitem>
|
||||
|
||||
-->
|
||||
<listitem>
|
||||
<para>February 25th, 2006</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dj] - Added libdrm, Mesa, and xterm packages.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>February 23rd, 2006</para>
|
||||
<itemizedlist>
|
||||
|
@ -316,9 +316,9 @@
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>cracklib, libpcap, ncpfs, netfs, ppp (update), RP-PPPoE,
|
||||
Samba-3 and Subversion:
|
||||
<emphasis>DJ Lucas</emphasis></para>
|
||||
<para>Archive::Zip, cracklib, JDK-5, libdrm, libpcap, Mesa, ncpfs,
|
||||
netfs, OpenOffice-2, pppd (update), RP-PPPoE, Samba-3, Subversion
|
||||
and xterm: <emphasis>DJ Lucas</emphasis></para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
@ -489,6 +489,11 @@
|
||||
</listitem>
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para><emphasis>Jeremy Byron</emphasis> and
|
||||
<emphasis>David Ciecierski</emphasis> for assisting with, modifying,
|
||||
and testing various OpenOffice-2.0-pre builds and patches.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
</sect2>
|
||||
|
@ -19,6 +19,8 @@
|
||||
feel and inter-process communications for different applications. They also
|
||||
assist programmers by supplying common elements.</para>
|
||||
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libdrm.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="mesalib.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="qt.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gtk+.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cairo.xml"/>
|
||||
|
121
x/lib/libdrm.xml
Normal file
121
x/lib/libdrm.xml
Normal file
@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY libdrm-download-http "http://xorg.freedesktop.org/releases/X11R7.0/src/extras/libdrm-&libdrm-version;.tar.gz">
|
||||
<!ENTITY libdrm-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/libdrm-&libdrm-version;.tar.gz">
|
||||
<!ENTITY libdrm-md5sum "9d1aab104eb757ceeb2c1a6d38d57411">
|
||||
<!ENTITY libdrm-size "370 KB">
|
||||
<!ENTITY libdrm-buildsize "5.1 MB">
|
||||
<!ENTITY libdrm-time "0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="libdrm" xreflabel="libdrm-&libdrm-version;">
|
||||
<?dbhtml filename="libdrm.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
<keywordset>
|
||||
<keyword role="package">libdrm-&libdrm-version;.tar</keyword>
|
||||
<keyword role="ftpdir">libdrm</keyword>
|
||||
</keywordset>
|
||||
</sect1info>
|
||||
|
||||
<title>libdrm-&libdrm-version;</title>
|
||||
|
||||
<indexterm zone="libdrm">
|
||||
<primary sortas="a-libdrm">libdrm</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to libdrm</title>
|
||||
|
||||
<para><application>libdrm</application> provides core library routines
|
||||
for the X Windows System to directly interface with video hardware using
|
||||
the linux kernel's Direct Rendering Modules.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&libdrm-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&libdrm-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &libdrm-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &libdrm-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &libdrm-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &libdrm-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of libdrm</title>
|
||||
|
||||
<para><application>libdrm</application> should be installed with the same
|
||||
installation prefix of your X Windows System. Replace '[prefix]' in the
|
||||
instructions below with the chosen installation prefix of your X Windows
|
||||
System.</para>
|
||||
|
||||
<para>Install <application>libdrm</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>autoreconf &&
|
||||
./configure --prefix=<replaceable>[prefix]</replaceable> &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>make install</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command Explanations</title>
|
||||
<para><command>autoreconf</command>: regenerates the configure script to
|
||||
fix a broken test in the included configure script.</para>
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>libdrm.[so,a]</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="libdrm-lib">
|
||||
<term><filename class='libraryfile'>libdrm.[so,a]</filename></term>
|
||||
<listitem>
|
||||
<para>contains the Direct Rendering Manager library functions.</para>
|
||||
<indexterm zone="libdrm libdrm-lib">
|
||||
<primary sortas="c-libdrm">libdrm.[so,a]</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
142
x/lib/mesalib.xml
Normal file
142
x/lib/mesalib.xml
Normal file
@ -0,0 +1,142 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY mesalib-download-http "http://prdownloads.sourceforge.net/mesa3d/MesaLib-&mesalib-version;.tar.bz2">
|
||||
<!ENTITY mesalib-download-ftp " ">
|
||||
<!ENTITY mesalib-md5sum "7674d2c603b5834259e4e5a820cefd5b">
|
||||
<!ENTITY mesalib-size "3.9 MB">
|
||||
<!ENTITY mesalib-buildsize "672 MB">
|
||||
<!ENTITY mesalib-time "2.21 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="MesaLib" xreflabel="MesaLib-&mesalib-version;">
|
||||
<?dbhtml filename="mesalib.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
<keywordset>
|
||||
<keyword role="package">MesaLib-&mesalib-version;.tar</keyword>
|
||||
<keyword role="ftpdir">MesaLib</keyword>
|
||||
</keywordset>
|
||||
</sect1info>
|
||||
|
||||
<title>MesaLib-&mesalib-version;</title>
|
||||
|
||||
<indexterm zone="MesaLib">
|
||||
<primary sortas="a-MesaLib">MesaLib</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to MesaLib</title>
|
||||
|
||||
<para><application>Mesa</application> is an OpenGL compatible 3-D graphics
|
||||
library.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&mesalib-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&mesalib-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &mesalib-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size (including Recommended downloads):
|
||||
&mesalib-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required (including Recommended downloads):
|
||||
&mesalib-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time (including Recommended downloads):
|
||||
&mesalib-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">MesaLib Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para><xref linkend="xorg"/>, <xref linkend="xfree86"/>, or
|
||||
<!--<xref linkend="xorg7"/>--> Xorg-7.0 Libs and Utilities, and
|
||||
<xref linkend="libdrm"/></para>
|
||||
|
||||
<bridgehead renderas="sect3">Recommended Downloads</bridgehead>
|
||||
<para>
|
||||
<ulink url="http://prdownloads.sourceforge.net/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2"/>
|
||||
provides a working libglut (needed for the demos).</para>
|
||||
|
||||
<para>
|
||||
<ulink url="http://prdownloads.sourceforge.net/mesa3d/MesaDemos-&mesalib-version;.tar.bz2"/>
|
||||
provides demos and a test program to verify that dri is working as expected.</para>
|
||||
|
||||
<note><para>You should extract all three tarballs from the same toplevel
|
||||
directory. All three files will extract to the
|
||||
<filename class="directory">Mesa-&mesalib-version;</filename> directory.</para></note>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of MesaLib</title>
|
||||
|
||||
<para>If you've installed the X Windows System into any prefix other than
|
||||
<filename class="directory">/usr/X11R6</filename>, then execute the
|
||||
following commands to correct several assumptions made in the distributed
|
||||
tarball. Be sure to replace '[prefix]' with the installation prefix of
|
||||
your installed X Windows System:</para>
|
||||
|
||||
<screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable>[prefix]</replaceable>@g' {} \;</userinput></screen>
|
||||
|
||||
<para>Install <application>MesaLib</application>
|
||||
by running the following commands:</para>
|
||||
|
||||
<screen><userinput>make linux-dri</userinput></screen>
|
||||
|
||||
<para>This package does not come with a test suite.</para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>bin/installmesa <replaceable>[prefix]</replaceable>&&
|
||||
mkdir -p <replaceable>[prefix]</replaceable>/lib/modules/dri
|
||||
install -v -o root -m 0755 lib/*dri* <replaceable>[prefix]</replaceable>/lib/modules/dri</userinput></screen>
|
||||
|
||||
<para>Now if you've extracted the GLUT and Demos packages as well, then
|
||||
build the test programs with the following commands:</para>
|
||||
|
||||
<screen><userinput>cd progs/xdemos &&
|
||||
make PROGS='glxinfo glxgears'</userinput></screen>
|
||||
|
||||
<para>Install the demos as the root user:</para>
|
||||
|
||||
<screen role="root"><userinput>install -v -o root -m 0755 glxinfo glxgears <replaceable>[prefix]</replaceable>/bin</userinput></screen>
|
||||
|
||||
<note><para>If building Xorg-7.0<!--<xref linkend="xorg7"/>-->, do not
|
||||
remove the Mesa source tree yet, it will be required to build the
|
||||
xserver.</para></note>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>glxgears,glxinfo</seg>
|
||||
<seg>libGL.[so,a], libGLU.[so,a], libGLw.[so,a], libglut.[so,a] and
|
||||
*_dri.so</seg>
|
||||
<seg>$XORG_PREFIX/lib/modules/dri</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
</sect2>
|
||||
</sect1>
|
Loading…
Reference in New Issue
Block a user