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 "cc41b4ff98577e25a0d6a0025d4b1ead">
|
---|
10 | <!ENTITY highlight-size "1.3 MB">
|
---|
11 | <!ENTITY highlight-buildsize "22 MB (with gui)">
|
---|
12 | <!ENTITY highlight-time "0.3 SBU (Using paralllelism=4; 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 | &lfs91_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&highlight-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&highlight-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &highlight-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &highlight-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &highlight-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &highlight-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">Highlight Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="boost"/> and
|
---|
78 | <xref linkend="lua"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <!-- make apidocs fails because there is no Doxyfile
|
---|
84 | <xref linkend="doxygen"/> (to build the API documentation) and -->
|
---|
85 | <xref linkend="qt5"/> (to build the GUI front-end)
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <para condition="html" role="usernotes">
|
---|
89 | User Notes: <ulink url="&blfs-wiki;/highlight"/>
|
---|
90 | </para>
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="installation">
|
---|
94 | <title>Installation of Highlight</title>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | For consistency, do not compress man pages.
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen><userinput>sed -i '/GZIP/s/^/#/' makefile</userinput></screen>
|
---|
101 |
|
---|
102 | <para>
|
---|
103 | To build <application>Highlight</application> run the following
|
---|
104 | command:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen><userinput>make</userinput></screen>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | To build the <application>Qt5</application> GUI front-end, run the
|
---|
111 | following command:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen><userinput>make gui</userinput></screen>
|
---|
115 | <!--
|
---|
116 | <para>
|
---|
117 | To build the API documentation, run the following command:
|
---|
118 | </para>
|
---|
119 |
|
---|
120 | <screen><userinput>make apidocs</userinput></screen>
|
---|
121 | -->
|
---|
122 | <para>
|
---|
123 | This package does not come with a test suite.
|
---|
124 | </para>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | To install <application>Highlight</application>, run the
|
---|
128 | following command as the
|
---|
129 | <systemitem class="username">root</systemitem> user:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
133 |
|
---|
134 | <para>
|
---|
135 | To install the GUI program, run the following command as the
|
---|
136 | <systemitem class="username">root</systemitem> user:
|
---|
137 | </para>
|
---|
138 |
|
---|
139 | <screen role="root"><userinput>make install-gui</userinput></screen>
|
---|
140 | <!--
|
---|
141 | <para>
|
---|
142 | To install the API documentation, run the following command
|
---|
143 | as the <systemitem class="username">root</systemitem> user:
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <screen role="root"><userinput>cp -rv apidocs/html /usr/share/doc/highlight/apidocs</userinput></screen>
|
---|
147 | -->
|
---|
148 | </sect2>
|
---|
149 |
|
---|
150 | <sect2 role="content">
|
---|
151 | <title>Contents</title>
|
---|
152 |
|
---|
153 | <segmentedlist>
|
---|
154 | <segtitle>Installed Programs</segtitle>
|
---|
155 | <segtitle>Installed Libraries</segtitle>
|
---|
156 | <segtitle>Installed Directories</segtitle>
|
---|
157 |
|
---|
158 | <seglistitem>
|
---|
159 | <seg>
|
---|
160 | highlight
|
---|
161 | </seg>
|
---|
162 | <seg>
|
---|
163 | None
|
---|
164 | </seg>
|
---|
165 | <seg>
|
---|
166 | /etc/highlight,
|
---|
167 | /usr/share/doc/highlight, and
|
---|
168 | /usr/share/highlight
|
---|
169 | </seg>
|
---|
170 | </seglistitem>
|
---|
171 | </segmentedlist>
|
---|
172 |
|
---|
173 | <variablelist>
|
---|
174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
175 | <?dbfo list-presentation="list"?>
|
---|
176 | <?dbhtml list-presentation="table"?>
|
---|
177 |
|
---|
178 | <varlistentry id="highlight-prog">
|
---|
179 | <term><command>highlight</command></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | is a universal source code to formatted text converter.
|
---|
183 | </para>
|
---|
184 | <indexterm zone="highlight highlight-prog">
|
---|
185 | <primary sortas="b-highlight">highlight</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | <!--
|
---|
191 | <varlistentry id="highlight-gui">
|
---|
192 | <term><command>highlight-gui</command></term>
|
---|
193 | <listitem>
|
---|
194 | <para>
|
---|
195 | is the <application>Qt4</application> interface to
|
---|
196 | <command>highlight</command>.
|
---|
197 | </para>
|
---|
198 | <indexterm zone="highlight highlight-gui">
|
---|
199 | <primary sortas="b-highlight-gui">highlight-gui</primary>
|
---|
200 | </indexterm>
|
---|
201 | </listitem>
|
---|
202 | </varlistentry>
|
---|
203 | -->
|
---|
204 |
|
---|
205 | </variablelist>
|
---|
206 |
|
---|
207 | </sect2>
|
---|
208 |
|
---|
209 | </sect1>
|
---|