Author: dj Date: 2006-05-17 00:26:27 -0600 (Wed, 17 May 2006) New Revision: 6096
Added: trunk/BOOK/x/installing/libdrm.xml trunk/BOOK/x/installing/mesalib.xml trunk/BOOK/x/installing/rman.xml trunk/BOOK/x/installing/xterm.xml Removed: trunk/BOOK/general/genutils/rman.xml trunk/BOOK/general/genutils/xterm.xml trunk/BOOK/x/lib/libdrm.xml trunk/BOOK/x/lib/mesalib.xml Modified: trunk/BOOK/general/genutils/genutils.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/x/installing/installing.xml trunk/BOOK/x/installing/x7util.xml trunk/BOOK/x/lib/lib.xml Log: moved all xorg7 related packages to same section. Modified: trunk/BOOK/general/genutils/genutils.xml =================================================================== --- trunk/BOOK/general/genutils/genutils.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/general/genutils/genutils.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -24,9 +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="rman.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"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="graphviz.xml"/> Deleted: trunk/BOOK/general/genutils/rman.xml =================================================================== --- trunk/BOOK/general/genutils/rman.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/general/genutils/rman.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -1,121 +0,0 @@ -<?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 rman-download-http "http://prdownloads.sourceforge.net/polyglotman/rman-3.2.tar.gz?download"> - <!ENTITY rman-download-ftp ""> - <!ENTITY rman-md5sum "6d1d67641c6d042595a96a62340d3cc6"> - <!ENTITY rman-size "80 KB"> - <!ENTITY rman-buildsize "629 KB"> - <!ENTITY rman-time "0.1 SBU"> -]> - -<sect1 id="rman" xreflabel="rman-&rman-version;"> - <?dbhtml filename="rman.html"?> - - <sect1info> - <othername>$LastChangedBy$</othername> - <date>$Date$</date> - <keywordset> - <keyword role="package">rman-&rman-version;.tar</keyword> - <keyword role="ftpdir">rman</keyword> - </keywordset> - </sect1info> - - <title>rman-&rman-version;</title> - - <indexterm zone="rman"> - <primary sortas="a-rman">rman</primary> - </indexterm> - - <sect2 role="package"> - <title>Introduction to rman</title> - - <para><application>rman</application> is a utility to convert manual - pages into other formats. It can currently supports HTML, ASCII, LaTeX, - LaTeX2e, RTF, POD, and partial DocBook XML output.</para> - - <bridgehead renderas="sect3">Package Information</bridgehead> - <itemizedlist spacing="compact"> - <listitem> - <para>Download (HTTP): <ulink url="&rman-download-http;"/></para> - </listitem> - <listitem> - <para>Download (FTP): <ulink url="&rman-download-ftp;"/></para> - </listitem> - <listitem> - <para>Download MD5 sum: &rman-md5sum;</para> - </listitem> - <listitem> - <para>Download size: &rman-size;</para> - </listitem> - <listitem> - <para>Estimated disk space required: &rman-buildsize;</para> - </listitem> - <listitem> - <para>Estimated build time: &rman-time;</para> - </listitem> - </itemizedlist> - - <para condition="html" role="usernotes">User Notes: - <ulink url='&blfs-wiki;/rman'/></para> - - </sect2> - - <sect2 role="installation"> - <title>Installation of rman</title> - - <para>rman is no longer part of the <application>Xorg</application> - distribution, however, packages that use it may expect it to be in the - same location as your <application>Xorg</application> programs. Adjust - the makefile to account for this:</para> - -<screen><userinput>sed -i -e 's@/opt/local@<replaceable><PREFIX></replaceable>@' \ - -e 's@/usr/local@<replaceable><PREFIX></replaceable>@' Makefile</userinput></screen> - - <para>Build <application>rman</application> by running the - following command:</para> - -<screen><userinput>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>rman</seg> - </seglistitem> - </segmentedlist> - - <variablelist> - <bridgehead renderas="sect3">Short Descriptions</bridgehead> - <?dbfo list-presentation="list"?> - <?dbhtml list-presentation="table"?> - - <varlistentry id="rman-bin"> - <term><filename>rman</filename></term> - <listitem> - <para>is a manpage converter.</para> - <indexterm zone="rman rman"> - <primary sortas="b-rman">rman</primary> - </indexterm> - </listitem> - </varlistentry> - - </variablelist> - - </sect2> - -</sect1> Deleted: trunk/BOOK/general/genutils/xterm.xml =================================================================== --- trunk/BOOK/general/genutils/xterm.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/general/genutils/xterm.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -1,193 +0,0 @@ -<?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.1 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 terminal emulator 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="x-window-system"/> and - <xref linkend="pkgconfig"/></para> - - <bridgehead renderas="sect4">Optional</bridgehead> - <para><xref linkend="luit"/></para> - - <para condition="html" role="usernotes">User Notes: - <ulink url='&blfs-wiki;/Xterm'/></para> - - </sect2> - - <sect2 role="installation"> - <title>Installation of xterm</title> - - <para>Since xterm is no longer a part of the <application>Xorg</application> - distribution, it is no longer necessary to install into the same prefix as - <application>Xorg</application>. Correct the PROJECTROOT variable with - the following command:</para> - -<screen><userinput>sed -i 's@/usr/X11R6@/usr@' main.h</userinput></screen> - - <para>Install <application>xterm</application> by running the - following commands:</para> - -<screen><userinput>./configure --prefix=/usr --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 && -make install-ti</userinput></screen> - - </sect2> - - <sect2 role="commands"> - <title>Command Explanations</title> - - <para><parameter>--enable-luit</parameter>: enables the luit filter for - unicode translation.</para> - - <para><parameter>--with-wide-chars</parameter>: adds support for wide - characters.</para> - - <para><command>sed -i 's@/usr/X11R6@/usr@' main.h</command>: This command - corrects the PROJECTROOT definition for an installation prefix of - <filename class="directory">/usr</filename>.</para> - - <para><command>make install-ti</command>: This command installs corrected - terminfo description files for use with - <application>xterm</application>.</para> - - </sect2> - - <sect2 role="configuration"> - <title>Configuring xterm</title> - - <para>There are two ways to configure xterm. You can add X resource - definitions to the user's <filename>~/.Xresources</filename> file, or - add them to the system-wide - <filename>/usr/lib/X11/app-defaults/Xterm</filename> file.</para> - - <para>In order for xterm to follow the locale settings in the environment - and use TrueType fonts, add the following definitions as the - <systemitem class="username">root</systemitem> user:</para> - -<screen role="root"><userinput>cat >> /usr/lib/X11/app-defaults/XTerm << "EOF" -*VT100*locale: true -*VT100*faceName: Monospace -*VT100*faceSize: 10 -EOF</userinput></screen> - - </sect2> - - <sect2 role="content"> - <title>Contents</title> - - <segmentedlist> - <segtitle>Installed Programs</segtitle> - - <seglistitem> - <seg>resize, uxterm, and xterm</seg> - </seglistitem> - </segmentedlist> - - <variablelist> - <bridgehead renderas="sect3">Short Descriptions</bridgehead> - <?dbfo list-presentation="list"?> - <?dbhtml list-presentation="table"?> - - <varlistentry id="resize"> - <term><filename>resize</filename></term> - <listitem> - <para>prints a shell command for setting the TERM and TERMCAP - environment variables to indicate the current size of xterm - window.</para> - <indexterm zone="xterm2 resize"> - <primary sortas="b-resize">resize</primary> - </indexterm> - </listitem> - </varlistentry> - - <varlistentry id="uxterm"> - <term><filename>uxterm</filename></term> - <listitem> - <para>is a wrapper script to start xterm with the proper settings in - UTF-8 locales.</para> - <indexterm zone="xterm2 uxterm"> - <primary sortas="b-uxterm">uxterm</primary> - </indexterm> - </listitem> - </varlistentry> - - <varlistentry id="xterm-bin"> - <term><filename>xterm</filename></term> - <listitem> - <para>is a terminal emulator for the X Window System.</para> - <indexterm zone="xterm2 xterm2"> - <primary sortas="b-xterm2">xterm</primary> - </indexterm> - </listitem> - </varlistentry> - - </variablelist> - - </sect2> - -</sect1> Modified: trunk/BOOK/introduction/welcome/changelog.xml =================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/introduction/welcome/changelog.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -48,6 +48,10 @@ <para>[randy] - Added jbig2dec as an optional dependency of ESP GhostScript.</para> </listitem> + <listitem> + <para>[dj] - Moved libdrm, mesa, xterm, and rman to xorg7 + section.</para> + </listitem> </itemizedlist> </listitem> Modified: trunk/BOOK/x/installing/installing.xml =================================================================== --- trunk/BOOK/x/installing/installing.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/x/installing/installing.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -42,6 +42,8 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x7proto.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x7util.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x7lib.xml"/> + <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="xbitmaps.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x7app.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x7data.xml"/> @@ -49,6 +51,8 @@ <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="luit.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x7server.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x7driver.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="rman.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="xconfig-dummy.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x-setup.xml"/> <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="x-config.xml"/> Added: trunk/BOOK/x/installing/libdrm.xml =================================================================== --- trunk/BOOK/x/installing/libdrm.xml (rev 0) +++ trunk/BOOK/x/installing/libdrm.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -0,0 +1,132 @@ +<?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; + + <!-- Inserted as a reminder to do this. The mention of a test suite + is usually right before the root user installation commands. Please + delete these 12 (including one blank) lines after you are done.--> + + <!-- Use one of the two mentions below about a test suite, + delete the line that is not applicable. Of course, if the + test suite uses syntax other than "make check", revise the + line to reflect the actual syntax to run the test suite --> + + <!-- <para>This package does not come with a test suite.</para> --> + <!-- <para>To test the results, issue: <command>make check</command>.</para> --> + + <!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 Window 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> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/libdrm"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of libdrm</title> + + <para>Install <application>libdrm</application> by running the following + commands:</para> + +<screen><userinput>autoreconf && +./configure --prefix=/usr && +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 + <command>configure</command> script to fix a broken test in the included + <command>configure</command> 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 Module library functions.</para> + <indexterm zone="libdrm libdrm-lib"> + <primary sortas="c-libdrm">libdrm.{so,a}</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> Property changes on: trunk/BOOK/x/installing/libdrm.xml ___________________________________________________________________ Name: svn:keywords + LastChangedBy Date Added: trunk/BOOK/x/installing/mesalib.xml =================================================================== --- trunk/BOOK/x/installing/mesalib.xml (rev 0) +++ trunk/BOOK/x/installing/mesalib.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -0,0 +1,235 @@ +<?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.2 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 optional downloads): + &mesalib-time;</para> + </listitem> + </itemizedlist> + + <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead> + + <bridgehead renderas="sect4">Required</bridgehead> + <para><xref linkend="xorg7-lib"/>, + <xref linkend="xorg7-util"/>, and + <xref linkend="libdrm"/></para> + + <note> + <para>It is not recomended to build a newer version of + <application>Mesa</application> with <xref linkend="xfree86"/> or + <xref linkend="xorg"/>.</para> + </note> + + <bridgehead renderas="sect3">Recommended Download</bridgehead> + <para><ulink + url="http://prdownloads.sourceforge.net/mesa3d/MesaDemos-&mesalib-version;.tar.bz2"/> + provides a demo and a diagnostic program to verify that GL is working + properly.</para> + + <bridgehead renderas="sect3">Optional Download</bridgehead> + <para><ulink + url="http://prdownloads.sourceforge.net/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2"/> + provides a working <filename class='libraryfile'>libglut</filename>.</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> + + <para condition="html" role="usernotes">User Notes: + <ulink url="&blfs-wiki;/mesalib"/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of MesaLib</title> + + <para>You will need to adjust the commands below to reflect the + installation prefix of the X Window System. First, correct several + hard coded directories in the source files with the following + commands:</para> + +<screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@g' {} \; && +sed -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/X11/modules@' src/glx/x11/dri_glx.c</userinput></screen> + + <para>Build <application>MesaLib</application> + by running the following command:</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, + issue the following commands to install + <application>MesaLib</application>:</para> + +<screen role="root"><userinput>bin/installmesa <replaceable><PREFIX></replaceable></userinput></screen> + + <para>While still the root user, install the modules for + Xorg-&xorg7-version; with the following commands.</para> + +<screen role="root"><userinput>mkdir -v -p <replaceable><PREFIX></replaceable>/lib/X11/modules/dri && +install -v -m755 lib/*dri* <replaceable><PREFIX></replaceable>/lib/X11/modules/dri</userinput></screen> + + <para>If you've extracted the Demos package as well, then + build the test programs with the following commands:</para> + +<screen><userinput>sed -i '[EMAIL PROTECTED](GLUT_LIB)@@g' configs/default && +cd progs/xdemos && +make PROGS='glxinfo glxgears'</userinput></screen> + + <para>Install the demos as the + <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>install -v -m755 glxinfo glxgears <replaceable><PREFIX></replaceable>/bin</userinput></screen> + + <note> + <para>Do not remove the Mesa source tree yet, it will be required to + build the <xref linkend="xorg7-server"/>.</para> + </note> + + <para>Finally, if installing to any prefix other than + <filename class="directory">/usr</filename>, you should create symlinks + to the GL headers in <filename class="directory">/usr/include</filename>. + Execute the following command as the + <systemitem class="username">root</systemitem> user:</para> + +<screen><userinput role="root">ln -s -v <replaceable><PREFIX></replaceable>/include/GL /usr/include</userinput></screen> + + </sect2> + + <sect2 role="commands"> + <title>Command Explanations</title> + + <para><command>find...sed -i + 's@/usr/X11R6@/<replaceable><PREFIX></replaceable>@'...</command>: + This command corrects several hard coded references to the X11R6 default + installation path.</para> + + <para><command>sed -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/X11/modules@' + src/glx/x11/dri_glx.c</command>: This command corrects a hard coded + reference to the module directory.</para> + + <para><command>bin/installmesa</command>: Mesa uses a custom installation + script as opposed to the normal <parameter>install</parameter> make + target.</para> + + <para><command>install -v -m755 lib/*dri* + <replaceable><PREFIX></replaceable>/lib/X11/modules/dri</command>: + installs the DRI modules.</para> + + <para><command>sed -i '[EMAIL PROTECTED](GLUT_LIB)@@g' configs/default</command>: + disables linking against GLUT libraries for the demo programs.</para> + + <para><command>make PROGS='glxinfo glxgears'</command>: build only + the glxinfo and glxgears programs.</para> + + <para><command>install -v -m755 glxinfo glxgears + <replaceable><PREFIX></replaceable>/bin</command>: + Installs only the glxinfo and glxgears programs.</para> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + <segtitle>Installed Libraries</segtitle> + <segtitle>Installed Directories</segtitle> + + <seglistitem> + <seg>glxgears and 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> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="glxgears"> + <term><filename>glxgears</filename></term> + <listitem> + <para>a GL demo useful for troubleshooting graphics problems.</para> + <indexterm zone="mesalib glxgears"> + <primary sortas="b-glxgears">glxgears</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="glxinfo"> + <term><filename>glxinfo</filename></term> + <listitem> + <para>a diagnostic program that displays information about the + graphics hardware and installed GL libraries.</para> + <indexterm zone="mesalib glxinfo"> + <primary sortas="b-glxinfo">glxinfo</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> Property changes on: trunk/BOOK/x/installing/mesalib.xml ___________________________________________________________________ Name: svn:keywords + LastChangedBy Date Added: trunk/BOOK/x/installing/rman.xml =================================================================== --- trunk/BOOK/x/installing/rman.xml (rev 0) +++ trunk/BOOK/x/installing/rman.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -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 rman-download-http "http://prdownloads.sourceforge.net/polyglotman/rman-3.2.tar.gz?download"> + <!ENTITY rman-download-ftp ""> + <!ENTITY rman-md5sum "6d1d67641c6d042595a96a62340d3cc6"> + <!ENTITY rman-size "80 KB"> + <!ENTITY rman-buildsize "629 KB"> + <!ENTITY rman-time "0.1 SBU"> +]> + +<sect1 id="rman" xreflabel="rman-&rman-version;"> + <?dbhtml filename="rman.html"?> + + <sect1info> + <othername>$LastChangedBy$</othername> + <date>$Date$</date> + <keywordset> + <keyword role="package">rman-&rman-version;.tar</keyword> + <keyword role="ftpdir">rman</keyword> + </keywordset> + </sect1info> + + <title>rman-&rman-version;</title> + + <indexterm zone="rman"> + <primary sortas="a-rman">rman</primary> + </indexterm> + + <sect2 role="package"> + <title>Introduction to rman</title> + + <para><application>rman</application> is a utility to convert manual + pages into other formats. It can currently supports HTML, ASCII, LaTeX, + LaTeX2e, RTF, POD, and partial DocBook XML output.</para> + + <bridgehead renderas="sect3">Package Information</bridgehead> + <itemizedlist spacing="compact"> + <listitem> + <para>Download (HTTP): <ulink url="&rman-download-http;"/></para> + </listitem> + <listitem> + <para>Download (FTP): <ulink url="&rman-download-ftp;"/></para> + </listitem> + <listitem> + <para>Download MD5 sum: &rman-md5sum;</para> + </listitem> + <listitem> + <para>Download size: &rman-size;</para> + </listitem> + <listitem> + <para>Estimated disk space required: &rman-buildsize;</para> + </listitem> + <listitem> + <para>Estimated build time: &rman-time;</para> + </listitem> + </itemizedlist> + + <para condition="html" role="usernotes">User Notes: + <ulink url='&blfs-wiki;/rman'/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of rman</title> + + <para>rman is no longer part of the <application>Xorg</application> + distribution, however, packages that use it may expect it to be in the + same location as your <application>Xorg</application> programs. Adjust + the makefile to account for this:</para> + +<screen><userinput>sed -i -e 's@/opt/local@<replaceable><PREFIX></replaceable>@' \ + -e 's@/usr/local@<replaceable><PREFIX></replaceable>@' Makefile</userinput></screen> + + <para>Build <application>rman</application> by running the + following command:</para> + +<screen><userinput>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>rman</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="rman-bin"> + <term><filename>rman</filename></term> + <listitem> + <para>is a manpage converter.</para> + <indexterm zone="rman rman"> + <primary sortas="b-rman">rman</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> Property changes on: trunk/BOOK/x/installing/rman.xml ___________________________________________________________________ Name: svn:keywords + LastChangedBy Date Modified: trunk/BOOK/x/installing/x7util.xml =================================================================== --- trunk/BOOK/x/installing/x7util.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/x/installing/x7util.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -111,7 +111,7 @@ <screen><userinput role="root">make install</userinput></screen> - <para>Finally, build the three remaining packages with the standard build + <para>Finally, build the four remaining packages with the standard build commands:</para> <screen><userinput>./configure $XORG_CONFIG && Added: trunk/BOOK/x/installing/xterm.xml =================================================================== --- trunk/BOOK/x/installing/xterm.xml (rev 0) +++ trunk/BOOK/x/installing/xterm.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -0,0 +1,190 @@ +<?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.1 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 terminal emulator 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="x-window-system"/> and + <xref linkend="pkgconfig"/></para> + + <bridgehead renderas="sect4">Optional</bridgehead> + <para><xref linkend="luit"/></para> + + <para condition="html" role="usernotes">User Notes: + <ulink url='&blfs-wiki;/Xterm'/></para> + + </sect2> + + <sect2 role="installation"> + <title>Installation of xterm</title> + + <para>Correct the PROJECTROOT variable with the following command:</para> + +<screen><userinput>sed -i 's@/usr/X11R6@/<replaceable><PREFIX></replaceable>@' 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 --enable-luit --with-wide-chars && +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 && +make install-ti</userinput></screen> + + </sect2> + + <sect2 role="commands"> + <title>Command Explanations</title> + + <para><parameter>--enable-luit</parameter>: enables the luit filter for + unicode translation.</para> + + <para><parameter>--with-wide-chars</parameter>: adds support for wide + characters.</para> + + <para><command>sed -i 's@/usr/X11R6@/<replaceable><PREFIX></replaceable>@' main.h</command>: This command + corrects the PROJECTROOT definition to match that of the installed X Window + System.</para> + + <para><command>make install-ti</command>: This command installs corrected + terminfo description files for use with + <application>xterm</application>.</para> + + </sect2> + + <sect2 role="configuration"> + <title>Configuring xterm</title> + + <para>There are two ways to configure xterm. You can add X resource + definitions to the user's <filename>~/.Xresources</filename> file, or + add them to the system-wide + <filename><replaceable><PREFIX></replaceable>/lib/X11/app-defaults/Xterm</filename> file.</para> + + <para>In order for xterm to follow the locale settings in the environment + and use TrueType fonts, add the following definitions as the + <systemitem class="username">root</systemitem> user:</para> + +<screen role="root"><userinput>cat >> <replaceable><PREFIX></replaceable>/lib/X11/app-defaults/XTerm << "EOF" +*VT100*locale: true +*VT100*faceName: Monospace +*VT100*faceSize: 10 +EOF</userinput></screen> + + </sect2> + + <sect2 role="content"> + <title>Contents</title> + + <segmentedlist> + <segtitle>Installed Programs</segtitle> + + <seglistitem> + <seg>resize, uxterm, and xterm</seg> + </seglistitem> + </segmentedlist> + + <variablelist> + <bridgehead renderas="sect3">Short Descriptions</bridgehead> + <?dbfo list-presentation="list"?> + <?dbhtml list-presentation="table"?> + + <varlistentry id="resize"> + <term><filename>resize</filename></term> + <listitem> + <para>prints a shell command for setting the TERM and TERMCAP + environment variables to indicate the current size of xterm + window.</para> + <indexterm zone="xterm2 resize"> + <primary sortas="b-resize">resize</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="uxterm"> + <term><filename>uxterm</filename></term> + <listitem> + <para>is a wrapper script to start xterm with the proper settings in + UTF-8 locales.</para> + <indexterm zone="xterm2 uxterm"> + <primary sortas="b-uxterm">uxterm</primary> + </indexterm> + </listitem> + </varlistentry> + + <varlistentry id="xterm-bin"> + <term><filename>xterm</filename></term> + <listitem> + <para>is a terminal emulator for the X Window System.</para> + <indexterm zone="xterm2 xterm2"> + <primary sortas="b-xterm2">xterm</primary> + </indexterm> + </listitem> + </varlistentry> + + </variablelist> + + </sect2> + +</sect1> Property changes on: trunk/BOOK/x/installing/xterm.xml ___________________________________________________________________ Name: svn:keywords + LastChangedBy Date Modified: trunk/BOOK/x/lib/lib.xml =================================================================== --- trunk/BOOK/x/lib/lib.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/x/lib/lib.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -19,8 +19,6 @@ 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"/> Deleted: trunk/BOOK/x/lib/libdrm.xml =================================================================== --- trunk/BOOK/x/lib/libdrm.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/x/lib/libdrm.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -1,132 +0,0 @@ -<?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; - - <!-- Inserted as a reminder to do this. The mention of a test suite - is usually right before the root user installation commands. Please - delete these 12 (including one blank) lines after you are done.--> - - <!-- Use one of the two mentions below about a test suite, - delete the line that is not applicable. Of course, if the - test suite uses syntax other than "make check", revise the - line to reflect the actual syntax to run the test suite --> - - <!-- <para>This package does not come with a test suite.</para> --> - <!-- <para>To test the results, issue: <command>make check</command>.</para> --> - - <!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 Window 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> - - <para condition="html" role="usernotes">User Notes: - <ulink url="&blfs-wiki;/libdrm"/></para> - - </sect2> - - <sect2 role="installation"> - <title>Installation of libdrm</title> - - <para>Install <application>libdrm</application> by running the following - commands:</para> - -<screen><userinput>autoreconf && -./configure --prefix=/usr && -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 - <command>configure</command> script to fix a broken test in the included - <command>configure</command> 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 Module library functions.</para> - <indexterm zone="libdrm libdrm-lib"> - <primary sortas="c-libdrm">libdrm.{so,a}</primary> - </indexterm> - </listitem> - </varlistentry> - - </variablelist> - - </sect2> - -</sect1> Deleted: trunk/BOOK/x/lib/mesalib.xml =================================================================== --- trunk/BOOK/x/lib/mesalib.xml 2006-05-17 06:09:45 UTC (rev 6095) +++ trunk/BOOK/x/lib/mesalib.xml 2006-05-17 06:26:27 UTC (rev 6096) @@ -1,236 +0,0 @@ -<?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.2 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 optional downloads): - &mesalib-time;</para> - </listitem> - </itemizedlist> - - <bridgehead renderas="sect3">MesaLib Dependencies</bridgehead> - - <bridgehead renderas="sect4">Required</bridgehead> - <para><xref linkend="xorg7-lib"/>, - <xref linkend="xorg7-util"/>, - <xref linkend="libdrm"/>, and - <xref linkend="pkgconfig"/></para> - - <note> - <para>It is not recomended to build a newer version of - <application>Mesa</application> with <xref linkend="xfree86"/> or - <xref linkend="xorg"/>.</para> - </note> - - <bridgehead renderas="sect3">Recommended Download</bridgehead> - <para><ulink - url="http://prdownloads.sourceforge.net/mesa3d/MesaDemos-&mesalib-version;.tar.bz2"/> - provides a demo and a diagnostic program to verify that GL is working - properly.</para> - - <bridgehead renderas="sect3">Optional Download</bridgehead> - <para><ulink - url="http://prdownloads.sourceforge.net/mesa3d/MesaGLUT-&mesalib-version;.tar.bz2"/> - provides a working <filename class='libraryfile'>libglut</filename>.</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> - - <para condition="html" role="usernotes">User Notes: - <ulink url="&blfs-wiki;/mesalib"/></para> - - </sect2> - - <sect2 role="installation"> - <title>Installation of MesaLib</title> - - <para>You will need to adjust the commands below to reflect the - installation prefix of the X Window System. First, correct several - hard coded directories in the source files with the following - commands:</para> - -<screen><userinput>find . -type f -exec sed -i 's@/usr/X11R6@<replaceable><PREFIX></replaceable>@g' {} \; && -sed -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/X11/modules@' src/glx/x11/dri_glx.c</userinput></screen> - - <para>Build <application>MesaLib</application> - by running the following command:</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, - issue the following commands to install - <application>MesaLib</application>:</para> - -<screen role="root"><userinput>bin/installmesa <replaceable><PREFIX></replaceable></userinput></screen> - - <para>While still the root user, install the modules for - Xorg-&xorg7-version; with the following commands.</para> - -<screen role="root"><userinput>mkdir -v -p <replaceable><PREFIX></replaceable>/lib/X11/modules/dri && -install -v -m755 lib/*dri* <replaceable><PREFIX></replaceable>/lib/X11/modules/dri</userinput></screen> - - <para>If you've extracted the Demos package as well, then - build the test programs with the following commands:</para> - -<screen><userinput>sed -i '[EMAIL PROTECTED](GLUT_LIB)@@g' configs/default && -cd progs/xdemos && -make PROGS='glxinfo glxgears'</userinput></screen> - - <para>Install the demos as the - <systemitem class="username">root</systemitem> user:</para> - -<screen role="root"><userinput>install -v -m755 glxinfo glxgears <replaceable><PREFIX></replaceable>/bin</userinput></screen> - - <note> - <para>Do not remove the Mesa source tree yet, it will be required to - build the <xref linkend="xorg7-server"/>.</para> - </note> - - <para>Finally, if installing to any prefix other than - <filename class="directory">/usr</filename>, you should create symlinks - to the GL headers in <filename class="directory">/usr/include</filename>. - Execute the following command as the - <systemitem class="username">root</systemitem> user:</para> - -<screen><userinput role="root">ln -s -v <replaceable><PREFIX></replaceable>/include/GL /usr/include</userinput></screen> - - </sect2> - - <sect2 role="commands"> - <title>Command Explanations</title> - - <para><command>find...sed -i - 's@/usr/X11R6@/<replaceable><PREFIX></replaceable>@'...</command>: - This command corrects several hard coded references to the X11R6 default - installation path.</para> - - <para><command>sed -i '[EMAIL PROTECTED]/[EMAIL PROTECTED]/X11/modules@' - src/glx/x11/dri_glx.c</command>: This command corrects a hard coded - reference to the module directory.</para> - - <para><command>bin/installmesa</command>: Mesa uses a custom installation - script as opposed to the normal <parameter>install</parameter> make - target.</para> - - <para><command>install -v -m755 lib/*dri* - <replaceable><PREFIX></replaceable>/lib/X11/modules/dri</command>: - installs the DRI modules.</para> - - <para><command>sed -i '[EMAIL PROTECTED](GLUT_LIB)@@g' configs/default</command>: - disables linking against GLUT libraries for the demo programs.</para> - - <para><command>make PROGS='glxinfo glxgears'</command>: build only - the glxinfo and glxgears programs.</para> - - <para><command>install -v -m755 glxinfo glxgears - <replaceable><PREFIX></replaceable>/bin</command>: - Installs only the glxinfo and glxgears programs.</para> - - </sect2> - - <sect2 role="content"> - <title>Contents</title> - - <segmentedlist> - <segtitle>Installed Programs</segtitle> - <segtitle>Installed Libraries</segtitle> - <segtitle>Installed Directories</segtitle> - - <seglistitem> - <seg>glxgears and 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> - - <variablelist> - <bridgehead renderas="sect3">Short Descriptions</bridgehead> - <?dbfo list-presentation="list"?> - <?dbhtml list-presentation="table"?> - - <varlistentry id="glxgears"> - <term><filename>glxgears</filename></term> - <listitem> - <para>a GL demo useful for troubleshooting graphics problems.</para> - <indexterm zone="mesalib glxgears"> - <primary sortas="b-glxgears">glxgears</primary> - </indexterm> - </listitem> - </varlistentry> - - <varlistentry id="glxinfo"> - <term><filename>glxinfo</filename></term> - <listitem> - <para>a diagnostic program that displays information about the - graphics hardware and installed GL libraries.</para> - <indexterm zone="mesalib glxinfo"> - <primary sortas="b-glxinfo">glxinfo</primary> - </indexterm> - </listitem> - </varlistentry> - - </variablelist> - - </sect2> - -</sect1> -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
