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