1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 highlight-download-http "http://www.andre-simon.de/zip/highlight-&highlight-version;.tar.bz2">
|
---|
8 | <!ENTITY highlight-download-ftp " ">
|
---|
9 | <!ENTITY highlight-md5sum "cb6f5678455200d28dcdbc1028d35693">
|
---|
10 | <!ENTITY highlight-size "1.2 MB">
|
---|
11 | <!ENTITY highlight-buildsize "17 MB (with gui)">
|
---|
12 | <!ENTITY highlight-time "0.9 SBU (with gui)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="highlight" xreflabel="Highlight-&highlight-version;">
|
---|
16 | <?dbhtml filename="highlight.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Highlight-&highlight-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="highlight">
|
---|
26 | <primary sortas="a-Highlight">Highlight</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Highlight</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>Highlight</application> is an utility that converts
|
---|
34 | source code to formatted text with syntax highlighting.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs80_checked;
|
---|
38 | &gcc7_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&highlight-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&highlight-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &highlight-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &highlight-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &highlight-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &highlight-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">Highlight Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="boost"/> and
|
---|
79 | <xref linkend="lua"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
83 | <para role="optional">
|
---|
84 | <!-- make apidocs fails because there is no Doxyfile
|
---|
85 | <xref linkend="doxygen"/> (to build the API documentation) and -->
|
---|
86 | <xref linkend="qt5"/> (to build the GUI front-end)
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <para condition="html" role="usernotes">
|
---|
90 | User Notes: <ulink url="&blfs-wiki;/highlight"/>
|
---|
91 | </para>
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of Highlight</title>
|
---|
96 |
|
---|
97 | <para>
|
---|
98 | To build <application>Highlight</application> run the following
|
---|
99 | command:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen><userinput>make</userinput></screen>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | To build the <application>Qt5</application> GUI front-end, run the
|
---|
106 | following command:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen><userinput>make gui</userinput></screen>
|
---|
110 | <!--
|
---|
111 | <para>
|
---|
112 | To build the API documentation, run the following command:
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <screen><userinput>make apidocs</userinput></screen>
|
---|
116 | -->
|
---|
117 | <para>
|
---|
118 | This package does not come with a test suite.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | To install <application>Highlight</application>, run the
|
---|
123 | following command as the
|
---|
124 | <systemitem class="username">root</systemitem> user:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | To install the GUI program, run the following command as the
|
---|
131 | <systemitem class="username">root</systemitem> user:
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <screen role="root"><userinput>make install-gui</userinput></screen>
|
---|
135 | <!--
|
---|
136 | <para>
|
---|
137 | To install the API documentation, run the following command
|
---|
138 | as the <systemitem class="username">root</systemitem> user:
|
---|
139 | </para>
|
---|
140 |
|
---|
141 | <screen role="root"><userinput>cp -rv apidocs/html /usr/share/doc/highlight/apidocs</userinput></screen>
|
---|
142 | -->
|
---|
143 | </sect2>
|
---|
144 |
|
---|
145 | <sect2 role="content">
|
---|
146 | <title>Contents</title>
|
---|
147 |
|
---|
148 | <segmentedlist>
|
---|
149 | <segtitle>Installed Programs</segtitle>
|
---|
150 | <segtitle>Installed Libraries</segtitle>
|
---|
151 | <segtitle>Installed Directories</segtitle>
|
---|
152 |
|
---|
153 | <seglistitem>
|
---|
154 | <seg>
|
---|
155 | highlight
|
---|
156 | </seg>
|
---|
157 | <seg>
|
---|
158 | None
|
---|
159 | </seg>
|
---|
160 | <seg>
|
---|
161 | /etc/highlight,
|
---|
162 | /usr/share/doc/highlight, and
|
---|
163 | /usr/share/highlight
|
---|
164 | </seg>
|
---|
165 | </seglistitem>
|
---|
166 | </segmentedlist>
|
---|
167 |
|
---|
168 | <variablelist>
|
---|
169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
170 | <?dbfo list-presentation="list"?>
|
---|
171 | <?dbhtml list-presentation="table"?>
|
---|
172 |
|
---|
173 | <varlistentry id="highlight-prog">
|
---|
174 | <term><command>highlight</command></term>
|
---|
175 | <listitem>
|
---|
176 | <para>
|
---|
177 | is a universal source code to formatted text converter.
|
---|
178 | </para>
|
---|
179 | <indexterm zone="highlight highlight-prog">
|
---|
180 | <primary sortas="b-highlight">highlight</primary>
|
---|
181 | </indexterm>
|
---|
182 | </listitem>
|
---|
183 | </varlistentry>
|
---|
184 |
|
---|
185 | <!--
|
---|
186 | <varlistentry id="highlight-gui">
|
---|
187 | <term><command>highlight-gui</command></term>
|
---|
188 | <listitem>
|
---|
189 | <para>
|
---|
190 | is the <application>Qt4</application> interface to
|
---|
191 | <command>highlight</command>.
|
---|
192 | </para>
|
---|
193 | <indexterm zone="highlight highlight-gui">
|
---|
194 | <primary sortas="b-highlight-gui">highlight-gui</primary>
|
---|
195 | </indexterm>
|
---|
196 | </listitem>
|
---|
197 | </varlistentry>
|
---|
198 | -->
|
---|
199 |
|
---|
200 | </variablelist>
|
---|
201 |
|
---|
202 | </sect2>
|
---|
203 |
|
---|
204 | </sect1>
|
---|