Added freeglut-2.2.0.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2944 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Igor Živković 2004-11-15 22:06:37 +00:00
parent bc1bcc23aa
commit a8599ffcfe
8 changed files with 94 additions and 59 deletions

View File

@ -218,6 +218,9 @@ otherterm="gSMB">SMB</glossseealso></glossdef></glossentry>
<glossentry id="gGIF"><glossterm><acronym>GIF</acronym></glossterm>
<glossdef><para>Graphics Interchange Format</para></glossdef></glossentry>
<glossentry id="gGLUT"><glossterm><acronym>GLUT</acronym></glossterm>
<glossdef><para>OpenGL Utility Toolkit</para></glossdef></glossentry>
<glossentry id="gGMP"><glossterm><acronym>GMP</acronym></glossterm>
<glossdef><para><acronym>GNU</acronym> Multiple Precision Arithmetic</para></glossdef></glossentry>

View File

@ -253,6 +253,7 @@
<!ENTITY shared-mime-info-version "0.15">
<!ENTITY hicolor-icon-theme-version "0.5">
<!ENTITY libxklavier-version "1.03">
<!ENTITY freeglut-version "2.2.0">
<!-- Chapter 27 -->
<!ENTITY sawfish-version "1.3">

View File

@ -43,7 +43,7 @@ Group standard. It is a "lossy" compression algorithm.</para>
<para>Install <application>libjpeg</application> by running the following commands:</para>
<screen><userinput><command>./configure --enable-static --enable-shared --prefix=/usr &amp;&amp;
<screen><userinput><command>./configure --prefix=/usr --enable-static --enable-shared &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
@ -52,8 +52,8 @@ make install</command></userinput></screen>
<sect2>
<title>Command explanations</title>
<para><command>./configure --enable-static --enable-shared --prefix=/usr</command>: This command tells libjpeg to build both shared and static libraries and
to install them with a base of <filename>/usr</filename>.</para>
<para><parameter>--enable-static --enable-shared</parameter>: These switches
tell libjpeg to build both shared and static libraries.</para>
</sect2>
@ -114,4 +114,3 @@ jpeg format files.</para></sect3>
</sect2>
</sect1>

View File

@ -38,11 +38,6 @@ and the utilities are useful for general work with
</sect3>
<sect3><title>Additional downloads</title>
<!-- <itemizedlist spacing="compact">
<listitem><para>LZW compression support: <ulink
url="ftp://ftp.remotesensing.org/libtiff/libtiff-lzw-compression-kit-1.5.tar.gz"/></para></listitem>
</itemizedlist></sect3> -->
<itemizedlist spacing="compact">
<listitem><para>Required Patch: <ulink
url="&patch-root;/tiff-&libtiff-version;-libtool_fix-1.patch"/></para>
@ -53,8 +48,8 @@ url="&patch-root;/tiff-&libtiff-version;-libtool_fix-1.patch"/></para>
<sect3><title><application>libtiff</application> dependencies</title>
<sect4><title>Optional</title>
<para><xref linkend="libjpeg"/>,
X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and <ulink
url="http://www.opengl.org/resources/libraries/glut/glut_downloads.html">GLUT</ulink>
X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>) and
<xref linkend="freeglut"/>
</para>
</sect4>
</sect3>
@ -64,61 +59,16 @@ url="http://www.opengl.org/resources/libraries/glut/glut_downloads.html">GLUT</u
<sect2>
<title>Installation of <application>libtiff</application></title>
<!-- <para>If you wish to allow the creation of compressed
<acronym>TIFF</acronym> images, download the <acronym>LZW</acronym>
Compression Kit and copy the provided <filename>tif_lzw.c</filename>
file to the <filename class="directory">libtiff</filename> subdirectory
of the <application>libtiff</application> source tree.</para> -->
<para>Install <application>libtiff</application> by running the following
commands:</para>
<screen><userinput><command>patch -Np1 -i ../tiff-&libtiff-version;-libtool_fix-1.patch &amp;&amp;
./configure --prefix=/usr --disable-jpeg &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command explanations</title>
<!-- <para><option>-noninteractive</option>: This switch is used to
avoid the configuration routine asking for confirmation of the
installation directories (which is passed to
<command>configure</command>).</para>
<para><parameter>-with-DIR_MAN=/usr/share/man</parameter>: This is used
because even though <parameter>-prefix=/usr</parameter> is specified, the
<command>configure</command> routine tries to install the man pages in
<filename class="directory">/usr/local/man</filename> instead of the correct
place.</para>
<para><parameter>-with-ZIP=yes -with-DIR_GZLIB=/usr/lib</parameter>: This
enables support for the handling of <acronym>TIFF</acronym> images with
deflate-encoded data.</para>
<para><option>-with-JPEG=yes -with-DIR_JPEGLIB=/usr/lib</option>: Use
these switches to enable support for the handling of <acronym>TIFF</acronym>
images with <acronym>JPEG</acronym>-encoded data.</para> -->
<para><option>--disable-jpeg</option>: Remove this parameter to enable
support for handling <acronym>TIFF</acronym> images with
<acronym>JPEG</acronym>-encoded data.</para>
</sect2>
<!-- <sect2>
<title>Configuring <application>libtiff</application></title>
<sect3><title>Configuration Information</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
</sect3>
</sect2> -->
<sect2>
<title>Contents</title>
@ -251,4 +201,3 @@ files.</para></sect3>
</sect2>
</sect1>

View File

@ -22,6 +22,9 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>November 15th, 2004 [igor]: Added
freeglut-2.2.0.</para></listitem>
<listitem><para>November 15th, 2004 [randy]: Added NASM and Dmalloc
as optional dependencies of LZO; added MD5 sum and minor updates to the
VTE instructions.</para></listitem>

View File

@ -168,7 +168,7 @@ by Alex Kloss), SGMLSpm Perl module, SLIB, Stunnel and Sysstat:
<listitem><para>Epiphany, FLAC, File Roller, GNOME Magnifier,
GNOME Netstatus, GNOME Speech, GOK, GPdf, GnomeMeeting, Gnopernicus,
Imlib2, LZO, MC, NASM, Nautilus CD Burner, OpenQuicktime,
Speex, Zenity, compface, gcalctool, gucharmap, id3lib, kde-i18n,
Speex, Zenity, compface, freeglut, gcalctool, gucharmap, id3lib, kde-i18n,
kdeaccessibility, kdebindings, kdesdk, kdevelop, kdewebdev, libFAME,
liba52, libdv, libdvdcss, libdvdread, libmad, libmikmod and libmpeg3:
<emphasis>Igor Zivkovic</emphasis></para></listitem>

79
x/lib/freeglut.xml Normal file
View File

@ -0,0 +1,79 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY freeglut-download-http "http://prdownloads.sourceforge.net/freeglut/freeglut-&freeglut-version;.tar.gz">
<!ENTITY freeglut-download-ftp "ftp://ftp.freestandards.org/pub/lsb/app-battery/packages/freeglut-&freeglut-version;.tar.gz">
<!ENTITY freeglut-md5sum " ">
<!ENTITY freeglut-size "379 KB">
<!ENTITY freeglut-buildsize "6.0 MB">
<!ENTITY freeglut-time " ">
]>
<sect1 id="freeglut" xreflabel="freeglut-&freeglut-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="freeglut.html"?>
<title>freeglut-&freeglut-version;</title>
<sect2>
<title>Introduction to <application>freeglut</application></title>
<para><application>freeglut</application> is a 100% compatible,
completely opensourced clone of the <acronym>GLUT</acronym> library.
<acronym>GLUT</acronym> is a window system independent toolkit for
writing OpenGL programs, implementing a simple windowing API, which
makes learning about and exploring OpenGL programming very easy.</para>
<sect3><title>Package information</title>
<itemizedlist spacing="compact">
<listitem><para>Download (HTTP): <ulink url="&freeglut-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink url="&freeglut-download-ftp;"/></para></listitem>
<listitem><para>MD5 sum: &freeglut-md5sum;</para></listitem>
<listitem><para>Download size: &freeglut-size;</para></listitem>
<listitem><para>Estimated disk space required: &freeglut-buildsize;</para></listitem>
<listitem><para>Estimated build time: &freeglut-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>freeglut</application> dependencies</title>
<sect4><title>Required</title>
<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
</sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>freeglut</application></title>
<para>Install <application>freeglut</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Contents</title>
<para>The <application>freeglut</application> package contains the
<filename class="libraryfile">libglut</filename> library.</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>freeglut</title>
<para><filename class="libraryfile">libglut</filename> library contains
APIs necessary to use programs based on the OpenGL Utility
Toolkit.</para></sect3>
</sect2>
</sect1>

View File

@ -28,5 +28,6 @@ programmers by supplying common elements.</para>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="shared-mime-info.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="hicolor-icon-theme.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="libxklavier.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="freeglut.xml"/>
</chapter>