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