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 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 " ">
|
---|
9 | <!ENTITY sgml-common-md5sum "103c9828f24820df86e55e7862e28974">
|
---|
10 | <!ENTITY sgml-common-size "75 KB">
|
---|
11 | <!ENTITY sgml-common-buildsize "1.5 MB">
|
---|
12 | <!ENTITY sgml-common-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="sgml-common" xreflabel="sgml-common-&sgml-common-version;">
|
---|
16 | <?dbhtml filename="sgml-common.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>sgml-common-&sgml-common-version;</title>
|
---|
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 |
|
---|
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>
|
---|
33 |
|
---|
34 | &lfs122_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url="&sgml-common-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url="&sgml-common-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: &sgml-common-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: &sgml-common-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: &sgml-common-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: &sgml-common-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
71 | <itemizedlist spacing='compact'>
|
---|
72 | <listitem>
|
---|
73 | <para>
|
---|
74 | Required patch: <ulink url=
|
---|
75 | "&patch-root;/sgml-common-&sgml-common-version;-manpage-1.patch"/>
|
---|
76 | </para>
|
---|
77 | </listitem>
|
---|
78 | </itemizedlist>
|
---|
79 |
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="installation">
|
---|
84 | <title>Installation of SGML Common</title>
|
---|
85 |
|
---|
86 | <para>
|
---|
87 | Instead of the normal convention of including the autotools files
|
---|
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
|
---|
97 | required to fix the syntax.
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen><userinput>patch -Np1 -i ../sgml-common-0.6.3-manpage-1.patch &&
|
---|
101 | autoreconf -f -i</userinput></screen>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Install <application>SGML Common</application> by
|
---|
105 | running the following commands:
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | This package does not come with a test suite.
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>make docdir=/usr/share/doc install &&
|
---|
120 |
|
---|
121 | install-catalog --add /etc/sgml/sgml-ent.cat \
|
---|
122 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
123 |
|
---|
124 | install-catalog --add /etc/sgml/sgml-docbook.cat \
|
---|
125 | /etc/sgml/sgml-ent.cat</userinput></screen>
|
---|
126 |
|
---|
127 | <tip>
|
---|
128 | <title>Update Hint</title>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | Remove the above catalog items prior to upgrading (as the
|
---|
132 | <systemitem class='username'>root</systemitem> user) with:
|
---|
133 | </para>
|
---|
134 |
|
---|
135 | <screen role="nodump"><userinput>install-catalog --remove /etc/sgml/sgml-ent.cat \
|
---|
136 | /usr/share/sgml/sgml-iso-entities-8879.1986/catalog &&
|
---|
137 |
|
---|
138 | install-catalog --remove /etc/sgml/sgml-docbook.cat \
|
---|
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 |
|
---|
151 | <para>
|
---|
152 | <filename>/etc/sgml/sgml.conf</filename>
|
---|
153 | </para>
|
---|
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 |
|
---|
164 | <para>
|
---|
165 | No change in this file is necessary.
|
---|
166 | </para>
|
---|
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>
|
---|
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
|
---|
202 | tree
|
---|
203 | </para>
|
---|
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>
|
---|
213 | <para>
|
---|
214 | prints to standard output the name of the main configuration file
|
---|
215 | </para>
|
---|
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>
|
---|
225 | <para>
|
---|
226 | contains the basic character entities defined with SDATA entries
|
---|
227 | </para>
|
---|
228 | <indexterm zone="sgml-common SGML-entities">
|
---|
229 | <primary sortas="g-SGML-ENT-files">SGML entity files</primary>
|
---|
230 | </indexterm>
|
---|
231 | </listitem>
|
---|
232 | </varlistentry>
|
---|
233 |
|
---|
234 | <varlistentry id="XML-entities">
|
---|
235 | <term><filename>XML entities files</filename></term>
|
---|
236 | <listitem>
|
---|
237 | <para>
|
---|
238 | contains the basic character entities defined by a hexadecimal
|
---|
239 | representation of the Unicode character number
|
---|
240 | </para>
|
---|
241 | <indexterm zone="sgml-common XML-entities">
|
---|
242 | <primary sortas="g-XML-ENT-files">XML entity files</primary>
|
---|
243 | </indexterm>
|
---|
244 | </listitem>
|
---|
245 | </varlistentry>
|
---|
246 |
|
---|
247 | </variablelist>
|
---|
248 |
|
---|
249 | </sect2>
|
---|
250 |
|
---|
251 | </sect1>
|
---|