glfs/x/installing/x7legacy.xml
Pierre Labastie e1e58be454 Remove all ftp urls
neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...
2023-10-15 21:43:08 +02:00

233 lines
7.3 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY x7legacy-download-http "&xorg-download-http;/">
<!ENTITY x7legacy-download-ftp " ">
<!ENTITY x7legacy-size "4.2 MB">
<!ENTITY x7legacy-buildsize "30 MB"> <!-- daewoo is largest build dir -->
<!ENTITY x7legacy-time "0.3 SBU">
<!ENTITY bdftopcf-version "1.1.1">
<!ENTITY bdftopcf-md5sum "e09b61567ab4a4d534119bba24eddfb1">
<!ENTITY font-adobe-100dpi-version "1.0.4">
<!ENTITY font-adobe-100dpi-md5sum "20239f6f99ac586f10360b0759f73361">
<!ENTITY font-adobe-75dpi-version "1.0.4">
<!ENTITY font-adobe-75dpi-md5sum "2dc044f693ee8e0836f718c2699628b9">
<!ENTITY font-jis-misc-version "1.0.4">
<!ENTITY font-jis-misc-md5sum "2c939d5bd4609d8e284be9bef4b8b330">
<!ENTITY font-daewoo-misc-version "1.0.4">
<!ENTITY font-daewoo-misc-md5sum "6300bc99a1e45fbbe6075b3de728c27f">
<!ENTITY font-isas-misc-version "1.0.4">
<!ENTITY font-isas-misc-md5sum "fe2c44307639062d07c6e9f75f4d6a13">
<!ENTITY font-misc-misc-version "1.1.3">
<!ENTITY font-misc-misc-md5sum "145128c4b5f7820c974c8c5b9f6ffe94">
]>
<sect1 id="xorg7-legacy" xreflabel="Xorg Legacy Fonts">
<?dbhtml filename="x7legacy.html"?>
<title>Xorg Legacy</title>
<indexterm zone="xorg7-legacy">
<primary sortas="a-xorg7-legacy">Xorg Legacy</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Xorg Legacy</title>
<para>
<application>Xorg</application>&apos;s ancestor (X11R1, in 1987) at
first only provided bitmap fonts, with a tool
(<command>bdftopcf</command>) to assist in their installation. With the
introduction of <application>xorg-server-1.19.0</application> and
<application>libXfont2</application> many people will not need them.
There are still a few old packages which might require, or benefit from,
these deprecated fonts and so the following packages are shown here.
</para>
<note>
<para>
The font-adobe-100dpi package installs 100 dots per inch versions of
Courier, Helvetica, New Century Schoolbook and Times fonts.
</para>
<para>
The remaining font packages here provide 75dpi versions of those fonts,
and various miscellaneous fonts - mostly for legacy encodings. Those are
primarily to silence warnings when testing Xorg. In previous versions
of BLFS a lot more legacy fonts were installed.
</para>
<para revision="sysv">
Please consult the BLFS-7.10 book at <ulink
url="https://www.linuxfromscratch.org/blfs/view/7.10/x/x7font.html"/>
if you wish to install any of those other fonts.
</para>
<para revision="systemd">
Please consult the BLFS-7.10 systemd book at <ulink url=
"https://www.linuxfromscratch.org/blfs/view/7.10-systemd/x/x7font.html"/>
if you wish to install any of those other fonts.
</para>
</note>
&lfs120_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&x7legacy-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&x7legacy-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download size: &x7legacy-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &x7legacy-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &x7legacy-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Xorg Legacy Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="xorg7-font"/>
</para>
</sect2>
<sect2>
<title>Downloading Xorg Legacy</title>
<para>
First, create a list of files to be downloaded. This file will also
be used to verify the integrity of the downloads when complete:
</para>
<screen><userinput>cat &gt; legacy.dat &lt;&lt; "EOF"
<literal>&bdftopcf-md5sum; util/ bdftopcf-&bdftopcf-version;.tar.xz
&font-adobe-100dpi-md5sum; font/ font-adobe-100dpi-&font-adobe-100dpi-version;.tar.xz
&font-adobe-75dpi-md5sum; font/ font-adobe-75dpi-&font-adobe-75dpi-version;.tar.xz
&font-jis-misc-md5sum; font/ font-jis-misc-&font-jis-misc-version;.tar.xz
&font-daewoo-misc-md5sum; font/ font-daewoo-misc-&font-daewoo-misc-version;.tar.xz
&font-isas-misc-md5sum; font/ font-isas-misc-&font-isas-misc-version;.tar.xz
&font-misc-misc-md5sum; font/ font-misc-misc-&font-misc-misc-version;.tar.xz</literal>
EOF</userinput></screen>
<para>
To download the needed files using <xref linkend='wget'/>,
use the following commands:
</para>
<screen><userinput>mkdir legacy &amp;&amp;
cd legacy &amp;&amp;
grep -v '^#' ../legacy.dat | awk '{print $2$3}' | wget -i- -c \
-B &xorg-download-http;/ &amp;&amp;
grep -v '^#' ../legacy.dat | awk '{print $1 " " $3}' > ../legacy.md5 &amp;&amp;
md5sum -c ../legacy.md5</userinput></screen>
</sect2>
<sect2 role="installation">
<title>Installation of Xorg Legacy</title>
&as_root;
<para>
First, start a subshell that will exit on error:
</para>
<screen><userinput>bash -e</userinput></screen>
<para>
Install all of the packages by running the following commands:
</para>
<screen><userinput>for package in $(grep -v '^#' ../legacy.md5 | awk '{print $2}')
do
packagedir=${package%.tar.?z*}
tar -xf $package
pushd $packagedir
./configure $XORG_CONFIG
make
as_root make install
popd
rm -rf $packagedir
as_root /sbin/ldconfig
done</userinput></screen>
<para>
Finally, exit the shell that was started earlier:
</para>
<screen><userinput>exit</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>bdftopcf</seg>
<seg>None</seg>
<seg><envar>$XORG_PREFIX</envar>/share/fonts/100dpi,
<envar>$XORG_PREFIX</envar>/share/fonts/75dpi,
<envar>$XORG_PREFIX</envar>/share/fonts/misc</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="bdftopcf-x7">
<term><command>bdftopcf</command></term>
<listitem>
<para>
converts an X font from Bitmap Distribution Format to Portable
Compiled Format
</para>
<indexterm zone="xorg7-legacy bdftopcf-x7">
<primary sortas="b-bdftopcf">bdftopcf</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>