source: general/graphlib/svgalib.xml@ 70823f8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 70823f8 was 4f6275fd, checked in by Randy McMurchy <randy@…>, 20 years ago

Change hardcoded version numbers to entities in various packages

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2395 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7<!ENTITY SVGAlib-download-http "http://www.svgalib.org/svgalib-&SVGAlib-version;.tar.gz">
8<!ENTITY SVGAlib-download-ftp " ">
9<!ENTITY SVGAlib-size "827 KB">
10<!ENTITY SVGAlib-buildsize "9.7 MB">
11<!ENTITY SVGAlib-time "0.20 SBU">
12
13]>
14
15<sect1 id="SVGAlib" xreflabel="SVGAlib-&SVGAlib-version;">
16<?dbhtml filename="SVGAlib.html"?>
17<title>SVGAlib-&SVGAlib-version;</title>
18
19<sect2>
20<title>Introduction to <application>SVGAlib</application></title>
21
22<para><application>SVGAlib</application> is a low-level graphics library
23that provides <acronym>VGA</acronym> and <acronym>SVGA</acronym>
24modes in a console. This is useful for programs running on a console
25that require graphics capabilities.</para>
26
27<sect3><title>Package information</title>
28<itemizedlist spacing='compact'>
29<listitem><para>Download (HTTP): <ulink url="&SVGAlib-download-http;"/></para></listitem>
30<listitem><para>Download (FTP): <ulink url="&SVGAlib-download-ftp;"/></para></listitem>
31<listitem><para>Download size: &SVGAlib-size;</para></listitem>
32<listitem><para>Estimated Disk space required: &SVGAlib-buildsize;</para></listitem>
33<listitem><para>Estimated build time: &SVGAlib-time;</para></listitem></itemizedlist>
34</sect3>
35
36<sect3><title>Additional downloads</title>
37<itemizedlist spacing='compact'>
38<listitem><para>Required Patch: <ulink
39url="&patch-root;/svgalib-&SVGAlib-version;-gcc3-1.patch"/></para></listitem>
40</itemizedlist></sect3>
41
42</sect2>
43
44<sect2>
45<title>Installation of <application>SVGAlib</application></title>
46
47<note><para>You must compile and install as root. If you don't, certain tools
48won't be able to become <acronym>SUID</acronym> root which is required for
49proper operation. However, this raises a risk of exposing your system to any
50holes in those tools that might be used to gain root access, so use with
51caution.</para></note>
52
53<para>Install <application>SVGAlib</application> by running the following
54commands:</para>
55
56<screen><userinput><command>patch -Np1 -i ../svgalib-&SVGAlib-version;-gcc3-1.patch &amp;&amp;
57make prefix=/usr install &amp;&amp;
58cd doc &amp;&amp;
59for dir in man?; do for file in $dir/*; do \
60gunzip /usr/share/man/$file; done; done</command></userinput></screen>
61
62</sect2>
63
64<sect2>
65<title>Command explanations</title>
66
67<para><command>cd doc &amp;&amp; for dir in man?; do for file in $dir/*; do
68gunzip /usr/share/man/$file; done; done</command>:
69<application>SVGAlib</application> installs its man pages in compressed format
70so we uncompress them.</para>
71
72</sect2>
73
74<sect2>
75<title>Configuring SVGAlib</title>
76
77<sect3><title>Config files</title>
78
79<para><filename>/etc/vga/libvga.config</filename>,
80<filename>~/.svgalibrc</filename></para>
81</sect3>
82
83<sect3><title>Configuration information</title>
84
85<para>You must edit the config file to set the monitor and mouse type.
86Depending on your hardware, other setup might be required.</para>
87
88<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="../../lib-config.xml"/>
89
90</sect3>
91
92</sect2>
93
94<sect2>
95<title>Contents</title>
96
97<para>The SVGAlib package contains <filename class="libraryfile">libvga</filename>
98and <filename class="libraryfile">libvgagl</filename> libraries,
99<command>dumpreg</command>, <command>mode3</command>, <command>restorefont</command>,
100<command>restorepalette</command>, <command>restoretextmode</command>,
101<command>savetextmode</command>, <command>textmode</command> and
102<command>svgakeymap</command>.</para>
103
104</sect2>
105
106<sect2><title>Description</title>
107
108<sect3><title>libvga library</title>
109<para><filename class="libraryfile">libvga</filename> is a low-level
110graphics library.</para></sect3>
111
112<sect3><title>libvgagl library</title>
113<para><filename class="libraryfile">libvgagl</filename> is a fast
114frame buffer level graphics library based on libvga.</para></sect3>
115
116<sect3><title>dumpreg</title>
117<para><command>dumpreg</command> dumps the state of the card as the
118svgalib chipset driver sees it.</para></sect3>
119
120<sect3><title>mode3</title>
121<para><command>mode3</command> sets a <acronym>VESA</acronym> mode.</para></sect3>
122
123<sect3><title>restorefont</title>
124<para><command>restorefont</command> saves or restores the
125<acronym>SVGA</acronym> font for textmode.</para></sect3>
126
127<sect3><title>restorepalette</title>
128<para><command>restorepalette</command> sets the color palette for
129textmode.</para></sect3>
130
131<sect3><title>restoretextmode</title>
132<para><command>restoretextmode</command> saves or restores the
133<acronym>SVGA</acronym> registers for textmode.</para></sect3>
134
135<sect3><title>savetextmode, textmode</title>
136<para><command>savetextmode</command> and <command>textmode</command> save or
137restore the complete <acronym>SVGA</acronym> status for textmode.</para></sect3>
138
139<sect3><title>svgakeymap</title>
140<para><command>svgakeymap</command> generates keymaps for svgalib.</para></sect3>
141
142</sect2>
143
144</sect1>
Note: See TracBrowser for help on using the repository browser.