source: general/genutils/highlight.xml@ ec0f2a5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since ec0f2a5 was ec0f2a5, checked in by Xi Ruoyao <xry111@…>, 4 years ago

various docdir fix

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23578 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
RevLine 
[bb535118]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 " ">
[8f3e8197]9 <!ENTITY highlight-md5sum "cc41b4ff98577e25a0d6a0025d4b1ead">
[4dc9669]10 <!ENTITY highlight-size "1.3 MB">
[8f3e8197]11 <!ENTITY highlight-buildsize "22 MB (with gui)">
[ba31c2b]12 <!ENTITY highlight-time "0.3 SBU (Using paralllelism=4; with gui)">
[bb535118]13]>
14
[da0d3ddb]15<sect1 id="highlight" xreflabel="Highlight-&highlight-version;">
[bb535118]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
[78af2ee]37 &lfs10_checked;
[bb535118]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">
[0639bb6]83 <!-- make apidocs fails because there is no Doxyfile
[7d35a9d2]84 <xref linkend="doxygen"/> (to build the API documentation) and -->
85 <xref linkend="qt5"/> (to build the GUI front-end)
[bb535118]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
[ba31c2b]96 <para>
97 For consistency, do not compress man pages.
98 </para>
99
100<screen><userinput>sed -i '/GZIP/s/^/#/' makefile</userinput></screen>
101
[bb535118]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>
[7d35a9d2]110 To build the <application>Qt5</application> GUI front-end, run the
[bb535118]111 following command:
112 </para>
113
[ec0f2a5]114<screen><userinput>make gui doc_dir=/usr/share/doc/highlight-&highlight-version;/</userinput></screen>
[7d35a9d2]115<!--
[bb535118]116 <para>
117 To build the API documentation, run the following command:
118 </para>
119
120<screen><userinput>make apidocs</userinput></screen>
[7d35a9d2]121-->
[bb535118]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
[ec0f2a5]132<screen role="root"><userinput>make install doc_dir=/usr/share/doc/highlight-&highlight-version;/</userinput></screen>
[bb535118]133
[7d35a9d2]134 <para>
[bb535118]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>
[7d35a9d2]140<!--
[bb535118]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>
[7d35a9d2]147-->
[bb535118]148 </sect2>
149
[ec0f2a5]150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <para>
154 <parameter>doc_dir=/usr/share/doc/highlight-&highlight-version;</parameter>:
155 install highlight documentation into a versioned directory. This
156 parameter is also needed for <command>make gui</command>, because
157 its value would be hardcoded into the gui executable.
158 </para>
159 </sect2>
160
[bb535118]161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>
[55e8f78]171 highlight
[bb535118]172 </seg>
173 <seg>
174 None
175 </seg>
176 <seg>
[ac61d9b]177 /etc/highlight,
[ec0f2a5]178 /usr/share/doc/highlight/&highlight-version;, and
[bb535118]179 /usr/share/highlight
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="highlight-prog">
190 <term><command>highlight</command></term>
191 <listitem>
192 <para>
193 is a universal source code to formatted text converter.
194 </para>
195 <indexterm zone="highlight highlight-prog">
196 <primary sortas="b-highlight">highlight</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
[55e8f78]201<!--
[bb535118]202 <varlistentry id="highlight-gui">
203 <term><command>highlight-gui</command></term>
204 <listitem>
205 <para>
206 is the <application>Qt4</application> interface to
207 <command>highlight</command>.
208 </para>
209 <indexterm zone="highlight highlight-gui">
210 <primary sortas="b-highlight-gui">highlight-gui</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
[55e8f78]214-->
[bb535118]215
216 </variablelist>
217
218 </sect2>
219
220</sect1>
Note: See TracBrowser for help on using the repository browser.