Index: general/general.ent
===================================================================
--- general/general.ent	(revision 26892c67cdc459bae84cfe3cac5ac733241c6e95)
+++ general/general.ent	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -50,4 +50,5 @@
 <!ENTITY % imlib SYSTEM "graphlib/imlib/imlib.ent">
 <!ENTITY % aalib SYSTEM "graphlib/aalib/aalib.ent">
+<!ENTITY % svgalib SYSTEM "graphlib/svgalib/svgalib.ent">
 %lcms;
 %libjpeg;
@@ -58,4 +59,5 @@
 %imlib;
 %aalib;
+%svgalib;
 
 <!-- General Utilities -->
Index: general/graphlib/graphlib.xml
===================================================================
--- general/graphlib/graphlib.xml	(revision 26892c67cdc459bae84cfe3cac5ac733241c6e95)
+++ general/graphlib/graphlib.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -16,4 +16,5 @@
 &imlib;
 &aalib;
+&SVGAlib;
 
 </chapter>
Index: general/graphlib/svgalib.xml
===================================================================
--- general/graphlib/svgalib.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
+++ general/graphlib/svgalib.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -0,0 +1,11 @@
+<sect1 id="SVGAlib" xreflabel="SVGAlib-&SVGAlib-version;">
+<?dbhtml filename="SVGAlib.html" dir="general"?>
+<title>SVGAlib-&SVGAlib-version;</title>
+
+&SVGAlib-intro;
+&SVGAlib-inst;
+&SVGAlib-exp;
+&SVGAlib-config;
+&SVGAlib-desc;
+
+</sect1>
Index: general/graphlib/svgalib/svgalib-config.xml
===================================================================
--- general/graphlib/svgalib/svgalib-config.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
+++ general/graphlib/svgalib/svgalib-config.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -0,0 +1,18 @@
+<sect2>
+<title>Configuring SVGAlib</title>
+
+<sect3><title>Config files</title>
+
+<para><filename>/etc/vga/libvga.config</filename>, <filename>~/.svgalibrc</filename></para>
+</sect3>
+
+<sect3><title>Configuration information</title>
+
+<para>You must edit the config file to set the monitor and mouse type.
+Depending on your hardware, other setup might be required.</para>
+
+&library-config;
+
+</sect3>
+
+</sect2>
Index: general/graphlib/svgalib/svgalib-desc.xml
===================================================================
--- general/graphlib/svgalib/svgalib-desc.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
+++ general/graphlib/svgalib/svgalib-desc.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -0,0 +1,49 @@
+<sect2>
+<title>Contents</title>
+
+<para>The SVGAlib package contains <filename class="libraryfile">libvga</filename> 
+and <filename class="libraryfile">libvgagl</filename> libraries,
+<command>dumpreg</command>, <command>mode3</command>, <command>restorefont</command>,
+<command>restorepalette</command>, <command>restoretextmode</command>, 
+<command>savetextmode</command>, <command>textmode</command> and
+<command>svgakeymap</command>.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>libvga library</title>
+<para><filename class="libraryfile">libvga</filename> is a low-level 
+graphics library.</para></sect3>
+    
+<sect3><title>libvgagl library</title>
+<para><filename class="libraryfile">libvgagl</filename> is a fast 
+framebuffer-level graphics library based on libvga.</para></sect3>
+
+<sect3><title>dumpreg</title>
+<para><command>dumpreg</command> dumps the state of the card as the 
+svgalib chipset driver sees it.</para></sect3>
+    
+<sect3><title>mode3</title>
+<para><command>mode3</command> sets a vesa mode.</para></sect3>
+    
+<sect3><title>restorefont</title>
+<para><command>restorefont</command> saves or restores the
+<acronym>SVGA</acronym> font for textmode.</para></sect3>
+    
+<sect3><title>restorepalette</title>
+<para><command>restorepalette</command> sets the color palette for 
+textmode.</para></sect3>
+    
+<sect3><title>restoretextmode</title>
+<para><command>restoretextmode</command> saves or restores the
+<acronym>SVGA</acronym> registers for textmode.</para></sect3>
+
+<sect3><title>savetextmode, textmode</title>
+<para><command>savetextmode</command> and <command>textmode</command> save or 
+restore the complete <acronym>SVGA</acronym> status for textmode.</para></sect3>
+    
+<sect3><title>svgakeymap</title>
+<para><command>svgakeymap</command> generates keymaps for svgalib.</para></sect3>
+
+</sect2>
Index: general/graphlib/svgalib/svgalib-exp.xml
===================================================================
--- general/graphlib/svgalib/svgalib-exp.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
+++ general/graphlib/svgalib/svgalib-exp.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -0,0 +1,8 @@
+<sect2>
+<title>Command explanations</title>
+
+<para><userinput>cd doc && for dir in man?; do for file in $dir/*; do
+gunzip /usr/share/man/$file; done; done</userinput> : SVGAlib installs its man
+pages in compressed format so we uncompress them.</para>
+
+</sect2>
Index: general/graphlib/svgalib/svgalib-inst.xml
===================================================================
--- general/graphlib/svgalib/svgalib-inst.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
+++ general/graphlib/svgalib/svgalib-inst.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -0,0 +1,17 @@
+<sect2>
+<title>Installation of <application>SVGAlib</application></title>
+
+<note><para>You must compile and install as root. If you don't nothing bad
+will happen during compilation, but certain tools won't be able to
+become setuid root which is required for proper operation. However,
+this raises a risk of exposing your system to any holes in those
+tools that might be used to gain root access so use with caution.</para></note>
+
+<para>Install <application>SVGAlib</application> by running the following commands:</para>
+
+<screen><userinput><command>make prefix=/usr install &amp;&amp;
+cd doc &amp;&amp;
+for dir in man?; do for file in $dir/*; do \
+gunzip /usr/share/man/$file; done; done</command></userinput></screen>
+
+</sect2>
Index: general/graphlib/svgalib/svgalib-intro.xml
===================================================================
--- general/graphlib/svgalib/svgalib-intro.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
+++ general/graphlib/svgalib/svgalib-intro.xml	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -0,0 +1,18 @@
+<sect2>
+<title>Introduction to <application>SVGAlib</application></title>
+
+<para><application>SVGAlib</application> is a low-level graphics library
+that provides <acronym>VGA</acronym> and <acronym>SVGA</acronym>
+modes in a console. This is useful for programs running on a console
+that require graphics capabilities.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing='compact'>
+<listitem><para>Download (HTTP): <ulink url="&SVGAlib-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink url="&SVGAlib-download-ftp;"/></para></listitem>
+<listitem><para>Download size: &SVGAlib-size;</para></listitem>
+<listitem><para>Estimated Disk space required: &SVGAlib-buildsize;</para></listitem>
+<listitem><para>Estimated build time: &SVGAlib-time;</para></listitem></itemizedlist>
+</sect3>
+
+</sect2>
Index: general/graphlib/svgalib/svgalib.ent
===================================================================
--- general/graphlib/svgalib/svgalib.ent	(revision 67b459c2430151ae4d12845dcc89994290150b18)
+++ general/graphlib/svgalib/svgalib.ent	(revision 67b459c2430151ae4d12845dcc89994290150b18)
@@ -0,0 +1,13 @@
+<!ENTITY SVGAlib SYSTEM "../svgalib.xml">
+<!ENTITY SVGAlib-intro SYSTEM "svgalib-intro.xml">
+<!ENTITY SVGAlib-inst SYSTEM "svgalib-inst.xml">
+<!ENTITY SVGAlib-exp SYSTEM "svgalib-exp.xml">
+<!ENTITY SVGAlib-exp SYSTEM "svgalib-exp.xml">
+<!ENTITY SVGAlib-desc SYSTEM "svgalib-desc.xml">
+<!ENTITY SVGAlib-config SYSTEM "svgalib-config.xml">
+<!ENTITY SVGAlib-buildsize "9.7 MB">
+<!ENTITY SVGAlib-version "1.4.3">
+<!ENTITY SVGAlib-download-http "http://www.svgalib.org/svgalib-&SVGAlib-version;.tar.gz">
+<!ENTITY SVGAlib-download-ftp "">
+<!ENTITY SVGAlib-size "827 KB">
+<!ENTITY SVGAlib-time "0.20 SBU">
