source: pst/xml/xmlto.xml@ a3336db

12.2 gimp3 lazarus trunk xry111/for-12.3 xry111/spidermonkey128
Last change on this file since a3336db was a3336db, checked in by Xi Ruoyao <xry111@…>, 4 months ago

xmlto: Adapt for GCC 14

  • Property mode set to 100644
File size: 5.9 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6129b81]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
[8dfc5c3]7 <!ENTITY xmlto-download-http "https://releases.pagure.org/xmlto/xmlto-&xmlto-version;.tar.bz2">
[6129b81]8 <!ENTITY xmlto-download-ftp " ">
[791e3e7d]9 <!ENTITY xmlto-md5sum "93bab48d446c826399d130d959fe676f">
[fde30f3]10 <!ENTITY xmlto-size "128 KB">
11 <!ENTITY xmlto-buildsize "1.5 MB (with tests)">
12 <!ENTITY xmlto-time "less than 0.1 SBU (with tests)">
[6129b81]13]>
14
15<sect1 id="xmlto" xreflabel="xmlto-&xmlto-version;">
16 <?dbhtml filename="xmlto.html"?>
17
18
19 <title>xmlto-&xmlto-version;</title>
20
21 <indexterm zone="xmlto">
22 <primary sortas="a-xmlto">xmlto</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to xmlto</title>
27
[fa3edfef]28 <para>
29 The <application>xmlto</application> package is a front-end to a XSL
30 toolchain. It chooses an appropriate stylesheet for the conversion you
31 want and applies it using an external XSLT processor. It also performs
32 any necessary post-processing.
33 </para>
[6129b81]34
[1241ea19]35 &lfs121_checked;
[bd32b6fd]36
[6129b81]37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
[fa3edfef]40 <para>
41 Download (HTTP): <ulink url="&xmlto-download-http;"/>
42 </para>
[6129b81]43 </listitem>
44 <listitem>
[fa3edfef]45 <para>
46 Download (FTP): <ulink url="&xmlto-download-ftp;"/>
47 </para>
[6129b81]48 </listitem>
49 <listitem>
[fa3edfef]50 <para>
51 Download MD5 sum: &xmlto-md5sum;
52 </para>
[6129b81]53 </listitem>
54 <listitem>
[fa3edfef]55 <para>
56 Download size: &xmlto-size;
57 </para>
[6129b81]58 </listitem>
59 <listitem>
[fa3edfef]60 <para>
61 Estimated disk space required: &xmlto-buildsize;
62 </para>
[6129b81]63 </listitem>
64 <listitem>
[fa3edfef]65 <para>
66 Estimated build time: &xmlto-time;
67 </para>
[6129b81]68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">xmlto Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
[831ad76]74 <para role="required">
75 <xref linkend="DocBook"/>,
76 <xref linkend="docbook-xsl"/>, and
77 <xref linkend="libxslt"/>
78 </para>
[6129b81]79
[f1a5fd6]80 <bridgehead renderas="sect4">Optional (for DVI, PDF, and postscript
81 backend post-processing)</bridgehead>
82 <para role="optional">
[13df334]83 <xref role="runtime" linkend="fop"/>,
[17aa21c]84<!-- <ulink url="https://dblatex.sourceforge.net/">dblatex</ulink>, and -->
[c6b192c]85 <ulink url="https://sourceforge.net/projects/dblatex/files/dblatex/">dblatex</ulink>, and
[75b1a338]86 <ulink url="https://www.garshol.priv.no/download/xmltools/prod/PassiveTeX.html">
[831ad76]87 PassiveTeX</ulink>
88 </para>
[f1a5fd6]89
90 <bridgehead renderas="sect4">Optional (for text backend
91 post-processing)</bridgehead>
[831ad76]92 <para role="optional">
93 One of
[13df334]94 <xref role="runtime" linkend="Links"/>,
95 <xref role="runtime" linkend="lynx"/>,
[1eac9eb]96 <ulink url="&w3m-url;">W3m</ulink>, or
[7d5122e6]97 <ulink url="&elinks-url;">ELinks</ulink>
[831ad76]98 </para>
[f1a5fd6]99
[42ddc30]100 <para condition="html" role="usernotes">Editor Notes:
[6129b81]101 <ulink url="&blfs-wiki;/xmlto"/></para>
102
103 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of xmlto</title>
107
[a3336db]108 <!-- https://pagure.io/xmlto/c/8e34f087bf41
109 https://pagure.io/xmlto/c/1375e2df7553 -->
110 <para>
111 Fix variable and function declarations in pre-C99 style which is
112 rejected by GCC-14.1 or later:
113 </para>
114
115 <screen><userinput>sed -ri 's/ifsense;|main/int &amp;/' xmlif/xmlif.l</userinput></screen>
116
[fa3edfef]117 <para>
118 Install <application>xmlto</application> by running the following
119 commands:
120 </para>
[6129b81]121
[fde30f3]122<screen><userinput>LINKS="/usr/bin/links" \
123./configure --prefix=/usr &amp;&amp;
124
[6129b81]125make</userinput></screen>
126
[fa3edfef]127 <para>
128 To test the results, issue: <command>make check</command>.
129 </para>
[6129b81]130
[fa3edfef]131 <para>
132 Now, as the <systemitem class="username">root</systemitem> user:
133 </para>
[6129b81]134
135<screen role="root"><userinput>make install</userinput></screen>
136
137 </sect2>
138
[fde30f3]139 <sect2 role="commands">
140 <title>Command Explanations</title>
141
142 <para>
143 <envar>LINKS="/usr/bin/links"</envar>: This environment variable fixes a
144 bug causing <command>xmlto</command> to think that
145 <command>links</command> command is the same as
[262a108]146 <command>elinks</command>. Setting this variable does not cause problems
[fde30f3]147 if <xref linkend="links"/> is not installed, unless
148 you have <ulink url="http://elinks.or.cz/">ELinks</ulink> installed, and
[262a108]149 wish to use it for text backend post-processing, in which case,
[fde30f3]150 remove it.
151 </para>
152
153 </sect2>
154
[6129b81]155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Libraries</segtitle>
[f1a5fd6]161 <segtitle>Installed Directory</segtitle>
[6129b81]162
163 <seglistitem>
164 <seg>xmlif and xmlto</seg>
165 <seg>None</seg>
[f1a5fd6]166 <seg>/usr/share/xmlto</seg>
[6129b81]167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="xmlif">
176 <term><command>xmlif</command></term>
177 <listitem>
[fa3edfef]178 <para>
[4c24eb0a]179 is a conditional processing instructions for XML
[fa3edfef]180 </para>
[6129b81]181 <indexterm zone="xmlto xmlif">
182 <primary sortas="b-xmlif">xmlif</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="xmlto-prog">
188 <term><command>xmlto</command></term>
189 <listitem>
[fa3edfef]190 <para>
[4c24eb0a]191 applies an XSL stylesheet to an XML document
[fa3edfef]192 </para>
[6129b81]193 <indexterm zone="xmlto xmlto-prog">
194 <primary sortas="b-xmlto">xmlto</primary>
195 </indexterm>
196 </listitem>
197 </varlistentry>
198
199 </variablelist>
200
201 </sect2>
202
203</sect1>
Note: See TracBrowser for help on using the repository browser.