source: general/graphlib/svgalib.xml@ d4e57f76

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 d4e57f76 was 85c254f, checked in by Randy McMurchy <randy@…>, 20 years ago

Updated GCC patch in SVGAlib instructions

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

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