source: gnome-systemd/applications/highlight.xml@ 7af97ed5

7.6-blfs 7.6-systemd kde5-14269 kde5-14686 systemd-13485
Last change on this file since 7af97ed5 was 8ed8f6e, checked in by Christopher Gregory <cjg@…>, 10 years ago

completed hightlight page.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@13662 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
Line 
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 "085d7639a7e05a0d41923a889dc801c9">
10 <!ENTITY highlight-size "608 KB">
11 <!ENTITY highlight-buildsize "25 MB">
12 <!ENTITY highlight-time "0.8 SBU">
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> converts source code to formatted text with syntax highlighting.
34 </para>
35
36 &lfs75_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&highlight-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&highlight-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &highlight-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &highlight-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &highlight-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &highlight-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">highlight Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Required</bridgehead>
75 <para role="required">
76 <xref linkend="lua"/>, and
77 <xref linkend="boost"/>
78 </para>
79
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="optional">
83 <xref linkend="doxygen"/>, (to build documentation)
84 <xref linkend="qt4"/> (to build gui), or
85 <xref linkend="qt5"/>
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>First fix an incorrect file name in the makefile
97 that causes qmake to not to be found:
98 </para>
99
100<screen><userinput>sed -i "s:qmake-qt4:qmake:g" -i makefile src/makefile</userinput></screen>
101
102 <para>
103 Install <application>highlight</application> by running the following
104 command:
105 </para>
106
107<screen><userinput>make</userinput></screen>
108
109 <para>
110 This application does not have a test suite.
111 </para>
112
113 <para>
114 Now, as the <systemitem class="username">root</systemitem> user:
115 </para>
116
117<screen role="root"><userinput>make install</userinput></screen>
118
119 <para>
120 In order to build both <application>Qt4</application>
121 and <application>Qt5</application>Gui's, you need to
122 run the install commands twice, because although
123 both are detected, only wrapper for the first
124 <application>Qt</application> version in PATH is built. Either can be
125 built first, but to facilitate the explanation, we choose first the
126 <application>Qt4</application> library. You can do this using
127 <command>source setqt4</command> (script from <xref linkend="qt4"/>).
128 </para>
129
130<screen><userinput>make gui</userinput></screen>
131
132 <para>
133 To install the GUI as the <systemitem class="username">root</systemitem>
134 user issue the following command:
135 </para>
136
137<screen role="root"><userinput>make install-gui</userinput></screen>
138
139 </sect2>
140
141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
144 <para>
145 <option>make lib-static</option>: This option will
146 compile only the static library.
147 </para>
148
149 <para>
150 <option>make lib-shared</option>: This option will
151 compile only the shared library.
152 </para>
153
154 <para>
155 <option>make gui</option>: This option will
156 compile static library and the Qt 4.x or Qt 5.x
157 GUI
158 </para>
159
160 <para>
161 <option>make apidocs</option>: This option will
162 build the documentation if <application>doxygen</application>
163 is installed.
164 </para>
165
166 </sect2>
167
168 <sect2 role="content">
169 <title>Contents</title>
170
171 <segmentedlist>
172 <segtitle>Installed Programs</segtitle>
173 <segtitle>Installed Library</segtitle>
174 <segtitle>Installed Directories</segtitle>
175
176 <seglistitem>
177 <seg>
178 highlight, and highlight-gui
179 </seg>
180 <seg>
181 None
182 </seg>
183 <seg>
184 /etc/highlight
185 /usr/share/doc/highlight, and
186 /usr/share/highlight
187 </seg>
188 </seglistitem>
189 </segmentedlist>
190
191 <variablelist>
192 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
193 <?dbfo list-presentation="list"?>
194 <?dbhtml list-presentation="table"?>
195
196 <varlistentry id="highlight-prog">
197 <term><command>highlight</command></term>
198 <listitem>
199 <para>
200 is the highlight program.
201 </para>
202 <indexterm zone="highlight highlight-prog">
203 <primary sortas="b-highlight-prog">highlight</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="highlight-gui">
209 <term><command>highlight-gui</command></term>
210 <listitem>
211 <para>
212 is the <application>Quick Time</application> program used to configure
213 <command>highlight</command>.
214 </para>
215 <indexterm zone="highlight highlight-gui">
216 <primary sortas="b-highlight-gui">highlight-gui</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 </variablelist>
222
223 </sect2>
224
225</sect1>
Note: See TracBrowser for help on using the repository browser.