1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY x7legacy-download-http "&xorg-download-http;/">
|
---|
8 | <!ENTITY x7legacy-download-ftp " ">
|
---|
9 | <!ENTITY x7legacy-size "4.2 MB">
|
---|
10 | <!ENTITY x7legacy-buildsize "30 MB"> <!-- daewoo is largest build dir -->
|
---|
11 | <!ENTITY x7legacy-time "0.3 SBU">
|
---|
12 |
|
---|
13 | <!ENTITY bdftopcf-version "1.1.1">
|
---|
14 | <!ENTITY bdftopcf-md5sum "e09b61567ab4a4d534119bba24eddfb1">
|
---|
15 |
|
---|
16 | <!ENTITY font-adobe-100dpi-version "1.0.4">
|
---|
17 | <!ENTITY font-adobe-100dpi-md5sum "20239f6f99ac586f10360b0759f73361">
|
---|
18 |
|
---|
19 | <!ENTITY font-adobe-75dpi-version "1.0.4">
|
---|
20 | <!ENTITY font-adobe-75dpi-md5sum "2dc044f693ee8e0836f718c2699628b9">
|
---|
21 |
|
---|
22 | <!ENTITY font-jis-misc-version "1.0.4">
|
---|
23 | <!ENTITY font-jis-misc-md5sum "2c939d5bd4609d8e284be9bef4b8b330">
|
---|
24 |
|
---|
25 | <!ENTITY font-daewoo-misc-version "1.0.4">
|
---|
26 | <!ENTITY font-daewoo-misc-md5sum "6300bc99a1e45fbbe6075b3de728c27f">
|
---|
27 |
|
---|
28 | <!ENTITY font-isas-misc-version "1.0.4">
|
---|
29 | <!ENTITY font-isas-misc-md5sum "fe2c44307639062d07c6e9f75f4d6a13">
|
---|
30 |
|
---|
31 | <!ENTITY font-misc-misc-version "1.1.3">
|
---|
32 | <!ENTITY font-misc-misc-md5sum "145128c4b5f7820c974c8c5b9f6ffe94">
|
---|
33 | ]>
|
---|
34 |
|
---|
35 | <sect1 id="xorg7-legacy" xreflabel="Xorg Legacy Fonts">
|
---|
36 | <?dbhtml filename="x7legacy.html"?>
|
---|
37 |
|
---|
38 |
|
---|
39 | <title>Xorg Legacy</title>
|
---|
40 |
|
---|
41 | <indexterm zone="xorg7-legacy">
|
---|
42 | <primary sortas="a-xorg7-legacy">Xorg Legacy</primary>
|
---|
43 | </indexterm>
|
---|
44 |
|
---|
45 | <sect2 role="package">
|
---|
46 | <title>Introduction to Xorg Legacy</title>
|
---|
47 |
|
---|
48 | <para>
|
---|
49 | <application>Xorg</application>'s ancestor (X11R1, in 1987) at
|
---|
50 | first only provided bitmap fonts, with a tool
|
---|
51 | (<command>bdftopcf</command>) to assist in their installation. With the
|
---|
52 | introduction of <application>xorg-server-1.19.0</application> and
|
---|
53 | <application>libXfont2</application> many people will not need them.
|
---|
54 | There are still a few old packages which might require, or benefit from,
|
---|
55 | these deprecated fonts and so the following packages are shown here.
|
---|
56 | </para>
|
---|
57 |
|
---|
58 | <note>
|
---|
59 | <para>
|
---|
60 | The font-adobe-100dpi package installs 100 dots per inch versions of
|
---|
61 | Courier, Helvetica, New Century Schoolbook and Times fonts.
|
---|
62 | </para>
|
---|
63 |
|
---|
64 | <para>
|
---|
65 | The remaining font packages here provide 75dpi versions of those fonts,
|
---|
66 | and various miscellaneous fonts - mostly for legacy encodings. Those are
|
---|
67 | primarily to silence warnings when testing Xorg. In previous versions
|
---|
68 | of BLFS a lot more legacy fonts were installed.
|
---|
69 | </para>
|
---|
70 |
|
---|
71 | <para revision="sysv">
|
---|
72 | Please consult the BLFS-7.10 book at <ulink
|
---|
73 | url="https://www.linuxfromscratch.org/blfs/view/7.10/x/x7font.html"/>
|
---|
74 | if you wish to install any of those other fonts.
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | <para revision="systemd">
|
---|
78 | Please consult the BLFS-7.10 systemd book at <ulink url=
|
---|
79 | "https://www.linuxfromscratch.org/blfs/view/7.10-systemd/x/x7font.html"/>
|
---|
80 | if you wish to install any of those other fonts.
|
---|
81 | </para>
|
---|
82 | </note>
|
---|
83 |
|
---|
84 | &lfs122_checked;
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
87 | <itemizedlist spacing="compact">
|
---|
88 | <listitem>
|
---|
89 | <para>
|
---|
90 | Download (HTTP): <ulink url="&x7legacy-download-http;"/>
|
---|
91 | </para>
|
---|
92 | </listitem>
|
---|
93 | <listitem>
|
---|
94 | <para>
|
---|
95 | Download (FTP): <ulink url="&x7legacy-download-ftp;"/>
|
---|
96 | </para>
|
---|
97 | </listitem>
|
---|
98 | <listitem>
|
---|
99 | <para>
|
---|
100 | Download size: &x7legacy-size;
|
---|
101 | </para>
|
---|
102 | </listitem>
|
---|
103 | <listitem>
|
---|
104 | <para>
|
---|
105 | Estimated disk space required: &x7legacy-buildsize;
|
---|
106 | </para>
|
---|
107 | </listitem>
|
---|
108 | <listitem>
|
---|
109 | <para>
|
---|
110 | Estimated build time: &x7legacy-time;
|
---|
111 | </para>
|
---|
112 | </listitem>
|
---|
113 | </itemizedlist>
|
---|
114 |
|
---|
115 | <bridgehead renderas="sect3">Xorg Legacy Dependencies</bridgehead>
|
---|
116 |
|
---|
117 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
118 | <para role="required">
|
---|
119 | <xref linkend="xorg7-font"/>
|
---|
120 | </para>
|
---|
121 |
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2>
|
---|
126 | <title>Downloading Xorg Legacy</title>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | First, create a list of files to be downloaded. This file will also
|
---|
130 | be used to verify the integrity of the downloads when complete:
|
---|
131 | </para>
|
---|
132 |
|
---|
133 | <screen><userinput>cat > legacy.dat << "EOF"
|
---|
134 | <literal>&bdftopcf-md5sum; util/ bdftopcf-&bdftopcf-version;.tar.xz
|
---|
135 | &font-adobe-100dpi-md5sum; font/ font-adobe-100dpi-&font-adobe-100dpi-version;.tar.xz
|
---|
136 | &font-adobe-75dpi-md5sum; font/ font-adobe-75dpi-&font-adobe-75dpi-version;.tar.xz
|
---|
137 | &font-jis-misc-md5sum; font/ font-jis-misc-&font-jis-misc-version;.tar.xz
|
---|
138 | &font-daewoo-misc-md5sum; font/ font-daewoo-misc-&font-daewoo-misc-version;.tar.xz
|
---|
139 | &font-isas-misc-md5sum; font/ font-isas-misc-&font-isas-misc-version;.tar.xz
|
---|
140 | &font-misc-misc-md5sum; font/ font-misc-misc-&font-misc-misc-version;.tar.xz</literal>
|
---|
141 | EOF</userinput></screen>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | To download the needed files using <xref linkend='wget'/>,
|
---|
145 | use the following commands:
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <screen><userinput>mkdir legacy &&
|
---|
149 | cd legacy &&
|
---|
150 | grep -v '^#' ../legacy.dat | awk '{print $2$3}' | wget -i- -c \
|
---|
151 | -B &xorg-download-http;/ &&
|
---|
152 | grep -v '^#' ../legacy.dat | awk '{print $1 " " $3}' > ../legacy.md5 &&
|
---|
153 | md5sum -c ../legacy.md5</userinput></screen>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | <sect2 role="installation">
|
---|
158 | <title>Installation of Xorg Legacy</title>
|
---|
159 |
|
---|
160 | &as_root;
|
---|
161 |
|
---|
162 | <para>
|
---|
163 | First, start a subshell that will exit on error:
|
---|
164 | </para>
|
---|
165 |
|
---|
166 | <screen><userinput>bash -e</userinput></screen>
|
---|
167 |
|
---|
168 | <para>
|
---|
169 | Install all of the packages by running the following commands:
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <screen><userinput>for package in $(grep -v '^#' ../legacy.md5 | awk '{print $2}')
|
---|
173 | do
|
---|
174 | packagedir=${package%.tar.?z*}
|
---|
175 | tar -xf $package
|
---|
176 | pushd $packagedir
|
---|
177 | ./configure $XORG_CONFIG
|
---|
178 | make
|
---|
179 | as_root make install
|
---|
180 | popd
|
---|
181 | rm -rf $packagedir
|
---|
182 | as_root /sbin/ldconfig
|
---|
183 | done</userinput></screen>
|
---|
184 |
|
---|
185 | <para>
|
---|
186 | Finally, exit the shell that was started earlier:
|
---|
187 | </para>
|
---|
188 |
|
---|
189 | <screen><userinput>exit</userinput></screen>
|
---|
190 |
|
---|
191 | </sect2>
|
---|
192 |
|
---|
193 | <sect2 role="content">
|
---|
194 | <title>Contents</title>
|
---|
195 |
|
---|
196 | <segmentedlist>
|
---|
197 | <segtitle>Installed Programs</segtitle>
|
---|
198 | <segtitle>Installed Libraries</segtitle>
|
---|
199 | <segtitle>Installed Directories</segtitle>
|
---|
200 |
|
---|
201 | <seglistitem>
|
---|
202 | <seg>bdftopcf</seg>
|
---|
203 | <seg>None</seg>
|
---|
204 | <seg><envar>$XORG_PREFIX</envar>/share/fonts/100dpi,
|
---|
205 | <envar>$XORG_PREFIX</envar>/share/fonts/75dpi,
|
---|
206 | <envar>$XORG_PREFIX</envar>/share/fonts/misc</seg>
|
---|
207 | </seglistitem>
|
---|
208 | </segmentedlist>
|
---|
209 |
|
---|
210 | <variablelist>
|
---|
211 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
212 | <?dbfo list-presentation="list"?>
|
---|
213 | <?dbhtml list-presentation="table"?>
|
---|
214 |
|
---|
215 | <varlistentry id="bdftopcf-x7">
|
---|
216 | <term><command>bdftopcf</command></term>
|
---|
217 | <listitem>
|
---|
218 | <para>
|
---|
219 | converts an X font from Bitmap Distribution Format to Portable
|
---|
220 | Compiled Format
|
---|
221 | </para>
|
---|
222 | <indexterm zone="xorg7-legacy bdftopcf-x7">
|
---|
223 | <primary sortas="b-bdftopcf">bdftopcf</primary>
|
---|
224 | </indexterm>
|
---|
225 | </listitem>
|
---|
226 | </varlistentry>
|
---|
227 |
|
---|
228 | </variablelist>
|
---|
229 |
|
---|
230 | </sect2>
|
---|
231 |
|
---|
232 | </sect1>
|
---|