[04677b5] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[50d3491a] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[c2a37a6] | 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY sgml-common-download-http "https://sourceware.org/ftp/docbook-tools/new-trials/SOURCES/sgml-common-&sgml-common-version;.tgz">
|
---|
| 8 | <!ENTITY sgml-common-download-ftp "ftp://sourceware.org/pub/docbook-tools/new-trials/SOURCES/sgml-common-&sgml-common-version;.tgz">
|
---|
[c2a37a6] | 9 | <!ENTITY sgml-common-md5sum "103c9828f24820df86e55e7862e28974">
|
---|
[50d3491a] | 10 | <!ENTITY sgml-common-size "75 KB">
|
---|
[1af6dcf9] | 11 | <!ENTITY sgml-common-buildsize "1.5 MB">
|
---|
[ea92fe5] | 12 | <!ENTITY sgml-common-time "less than 0.1 SBU">
|
---|
[50d3491a] | 13 | ]>
|
---|
| 14 |
|
---|
[a027d7d3] | 15 | <sect1 id="sgml-common" xreflabel="sgml-common-&sgml-common-version;">
|
---|
[04677b5] | 16 | <?dbhtml filename="sgml-common.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[a027d7d3] | 23 | <title>sgml-common-&sgml-common-version;</title>
|
---|
[04677b5] | 24 |
|
---|
| 25 | <indexterm zone="sgml-common">
|
---|
| 26 | <primary sortas="a-SGML-Common">SGML Common</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to SGML Common</title>
|
---|
| 31 |
|
---|
[fa3edfef] | 32 | <para>
|
---|
| 33 | The <application>SGML Common</application> package contains
|
---|
| 34 | <command>install-catalog</command>. This is useful for creating and
|
---|
| 35 | maintaining centralized SGML catalogs.
|
---|
| 36 | </para>
|
---|
[04677b5] | 37 |
|
---|
[9029db2] | 38 | &lfs101_checked;
|
---|
[1c65bfd] | 39 |
|
---|
[04677b5] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[fa3edfef] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&sgml-common-download-http;"/>
|
---|
| 45 | </para>
|
---|
[04677b5] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[fa3edfef] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&sgml-common-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[04677b5] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[fa3edfef] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &sgml-common-md5sum;
|
---|
| 55 | </para>
|
---|
[04677b5] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[fa3edfef] | 58 | <para>
|
---|
| 59 | Download size: &sgml-common-size;
|
---|
| 60 | </para>
|
---|
[04677b5] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[fa3edfef] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &sgml-common-buildsize;
|
---|
| 65 | </para>
|
---|
[04677b5] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[fa3edfef] | 68 | <para>
|
---|
| 69 | Estimated build time: &sgml-common-time;
|
---|
| 70 | </para>
|
---|
[04677b5] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 75 | <itemizedlist spacing='compact'>
|
---|
| 76 | <listitem>
|
---|
[fa3edfef] | 77 | <para>
|
---|
| 78 | Required patch: <ulink url=
|
---|
| 79 | "&patch-root;/sgml-common-&sgml-common-version;-manpage-1.patch"/>
|
---|
| 80 | </para>
|
---|
[04677b5] | 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[977061b0] | 84 | <para condition="html" role="usernotes">User Notes:
|
---|
| 85 | <ulink url="&blfs-wiki;/sgml-common"/></para>
|
---|
| 86 |
|
---|
[04677b5] | 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of SGML Common</title>
|
---|
| 91 |
|
---|
[fa3edfef] | 92 | <para>
|
---|
| 93 | Instead of the normal convention of including the autotools files
|
---|
[323d61c] | 94 | in the package, the maintainers included symlinks to the files in
|
---|
| 95 | <filename class="directory">/usr/share/automake</filename>. For previous
|
---|
| 96 | versions of <application>Automake</application> this convention is
|
---|
| 97 | correct, but recent versions of <application>Automake</application>
|
---|
| 98 | install the internal files in version specific directories. This causes
|
---|
| 99 | the <command>configure</command> script to abort. To fix this error, the
|
---|
| 100 | autotools are regenerated. Since the included
|
---|
| 101 | <filename>Makefile.am</filename> file uses a syntax not supported by
|
---|
| 102 | current versions of <application>Automake</application>, a patch is
|
---|
[fa3edfef] | 103 | required to fix the syntax.
|
---|
| 104 | </para>
|
---|
[bccbdaea] | 105 |
|
---|
[2ee51e6] | 106 | <screen><userinput>patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch &&
|
---|
| 107 | autoreconf -f -i</userinput></screen>
|
---|
[50d3491a] | 108 |
|
---|
[fa3edfef] | 109 | <para>
|
---|
| 110 | Install <application>SGML Common</application> by
|
---|
| 111 | running the following commands:
|
---|
| 112 | </para>
|
---|
[50d3491a] | 113 |
|
---|
[04677b5] | 114 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 115 | make</userinput></screen>
|
---|
[1af6dcf9] | 116 |
|
---|
[fa3edfef] | 117 | <para>
|
---|
| 118 | This package does not come with a test suite.
|
---|
| 119 | </para>
|
---|
[ea92fe5] | 120 |
|
---|
[fa3edfef] | 121 | <para>
|
---|
| 122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 123 | </para>
|
---|
[1af6dcf9] | 124 |
|
---|
[cf67717] | 125 | <screen role="root"><userinput>make docdir=/usr/share/doc install &&
|
---|
| 126 |
|
---|
[50d3491a] | 127 | install-catalog --add /etc/sgml/sgml-ent.cat \
|
---|
| 128 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
[cf67717] | 129 |
|
---|
[50d3491a] | 130 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
[04677b5] | 131 | /etc/sgml/sgml-ent.cat</userinput></screen>
|
---|
[50d3491a] | 132 |
|
---|
[04677b5] | 133 | <tip>
|
---|
| 134 | <title>Update Hint</title>
|
---|
[c2a37a6] | 135 |
|
---|
[fa3edfef] | 136 | <para>
|
---|
| 137 | Remove the above catalog items prior to upgrading (as the
|
---|
| 138 | <systemitem class='username'>root</systemitem> user) with:
|
---|
| 139 | </para>
|
---|
[04677b5] | 140 |
|
---|
[5b56c213] | 141 | <screen role="nodump"><userinput>install-catalog --remove /etc/sgml/sgml-ent.cat \
|
---|
[50d3491a] | 142 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
[cf67717] | 143 |
|
---|
[50d3491a] | 144 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
[04677b5] | 145 | /etc/sgml/sgml-ent.cat</userinput></screen>
|
---|
| 146 |
|
---|
| 147 | </tip>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="configuration">
|
---|
| 152 | <title>Configuring SGML Common</title>
|
---|
| 153 |
|
---|
| 154 | <sect3 id="sgml-common-config">
|
---|
| 155 | <title>Config Files</title>
|
---|
| 156 |
|
---|
[fa3edfef] | 157 | <para>
|
---|
| 158 | <filename>/etc/sgml/sgml.conf</filename>
|
---|
| 159 | </para>
|
---|
[04677b5] | 160 |
|
---|
| 161 | <indexterm zone="sgml-common sgml-common-config">
|
---|
| 162 | <primary sortas="e-etc-sgml-sgml.conf">/etc/sgml/sgml.conf</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 |
|
---|
| 165 | </sect3>
|
---|
| 166 |
|
---|
| 167 | <sect3>
|
---|
| 168 | <title>Configuration Information</title>
|
---|
| 169 |
|
---|
[fa3edfef] | 170 | <para>
|
---|
| 171 | No change in this file is necessary.
|
---|
| 172 | </para>
|
---|
[04677b5] | 173 |
|
---|
| 174 | </sect3>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
| 182 | <segtitle>Installed Programs</segtitle>
|
---|
| 183 | <segtitle>Installed Libraries</segtitle>
|
---|
| 184 | <segtitle>Installed Files</segtitle>
|
---|
| 185 | <segtitle>Installed Directories</segtitle>
|
---|
| 186 |
|
---|
| 187 | <seglistitem>
|
---|
| 188 | <seg>install-catalog and sgmlwhich</seg>
|
---|
| 189 | <seg>None</seg>
|
---|
| 190 | <seg>SGML and XML DocBook entity files</seg>
|
---|
| 191 | <seg>/etc/sgml, /usr/share/doc/sgml-common-&sgml-common-version;, and
|
---|
| 192 | /usr/share/sgml</seg>
|
---|
| 193 | </seglistitem>
|
---|
| 194 | </segmentedlist>
|
---|
| 195 |
|
---|
| 196 | <variablelist>
|
---|
| 197 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 198 | <?dbfo list-presentation="list"?>
|
---|
| 199 | <?dbhtml list-presentation="table"?>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="install-catalog">
|
---|
| 202 | <term><command>install-catalog</command></term>
|
---|
| 203 | <listitem>
|
---|
[fa3edfef] | 204 | <para>
|
---|
| 205 | creates a centralized catalog that maintains references to
|
---|
| 206 | catalogs scattered throughout the
|
---|
| 207 | <filename class="directory">/usr/share/sgml</filename> directory
|
---|
[4c24eb0a] | 208 | tree
|
---|
[fa3edfef] | 209 | </para>
|
---|
[04677b5] | 210 | <indexterm zone="sgml-common install-catalog">
|
---|
| 211 | <primary sortas="b-install-catalog">install-catalog</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="sgmlwhich">
|
---|
| 217 | <term><command>sgmlwhich</command></term>
|
---|
| 218 | <listitem>
|
---|
[fa3edfef] | 219 | <para>
|
---|
[4c24eb0a] | 220 | prints to standard output the name of the main configuration file
|
---|
[fa3edfef] | 221 | </para>
|
---|
[04677b5] | 222 | <indexterm zone="sgml-common sgmlwhich">
|
---|
| 223 | <primary sortas="b-sgmlwhich">sgmlwhich</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="SGML-entities">
|
---|
| 229 | <term><filename>SGML entities files</filename></term>
|
---|
| 230 | <listitem>
|
---|
[fa3edfef] | 231 | <para>
|
---|
[4c24eb0a] | 232 | contains the basic character entities defined with SDATA entries
|
---|
[fa3edfef] | 233 | </para>
|
---|
[04677b5] | 234 | <indexterm zone="sgml-common SGML-entities">
|
---|
[f6be42d] | 235 | <primary sortas="g-SGML-ENT-files">SGML entity files</primary>
|
---|
[04677b5] | 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | <varlistentry id="XML-entities">
|
---|
| 241 | <term><filename>XML entities files</filename></term>
|
---|
| 242 | <listitem>
|
---|
[fa3edfef] | 243 | <para>
|
---|
| 244 | contains the basic character entities defined by a hexadecimal
|
---|
[4c24eb0a] | 245 | representation of the Unicode character number
|
---|
[fa3edfef] | 246 | </para>
|
---|
[04677b5] | 247 | <indexterm zone="sgml-common XML-entities">
|
---|
[f6be42d] | 248 | <primary sortas="g-XML-ENT-files">XML entity files</primary>
|
---|
[04677b5] | 249 | </indexterm>
|
---|
| 250 | </listitem>
|
---|
| 251 | </varlistentry>
|
---|
| 252 |
|
---|
| 253 | </variablelist>
|
---|
| 254 |
|
---|
| 255 | </sect2>
|
---|
[ea42dfb] | 256 |
|
---|
| 257 | </sect1>
|
---|