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 juffed-download-http "&sources-anduin-http;/juffed/juffed-&juffed-version;.tar.xz">
|
---|
8 | <!ENTITY juffed-download-ftp " ">
|
---|
9 | <!ENTITY juffed-md5sum "5d211f5aadcb3d7365b5a6127d3d275f">
|
---|
10 | <!ENTITY juffed-size "1.3 MB">
|
---|
11 | <!ENTITY juffed-buildsize "22 MB">
|
---|
12 | <!ENTITY juffed-time "0.8 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="juffed" xreflabel="juffed-&juffed-version;">
|
---|
16 | <?dbhtml filename="juffed.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>juffed-&juffed-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="juffed">
|
---|
22 | <primary sortas="a-juffed">juffed</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to JuffEd</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>JuffEd</application> package is a Qt based editor with
|
---|
30 | support for multiple tabs. It is simple and clear, but very powerful.
|
---|
31 | It supports language syntax highlighting, auto-indents in accordance with
|
---|
32 | file type, code blocks folding, matching braces highlighting with instant
|
---|
33 | jumps between them, powerful search and replacing text using regular
|
---|
34 | expressions (including multiline ones) with the opportunity to use
|
---|
35 | matches \1, \2, … in substitutions, a terminal emulator, saving
|
---|
36 | named sessions and many other features.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs82_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&juffed-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&juffed-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &juffed-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &juffed-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &juffed-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &juffed-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <para>
|
---|
76 | The source tarball shown above was created by the BLFS team by cloning
|
---|
77 | the source code repository, finding the correct version to rename
|
---|
78 | accordingly the source code directory, removing <filename
|
---|
79 | class="directory">.git</filename> directory and <filename
|
---|
80 | class="directory">.gitignore</filename> file, and finally making the
|
---|
81 | compressed tarball. No other modification has been made.
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect3">JuffEd Dependencies</bridgehead>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
87 | <para role="required">
|
---|
88 | <xref linkend="qscintilla"/>
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
92 | <para role="recommended">
|
---|
93 | <xref linkend="qtermwidget"/> (for the terminal)
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
97 | <para role="optional">
|
---|
98 | <xref linkend="desktop-file-utils"/> and
|
---|
99 | <ulink url="http://cihar.com/software/enca/">Enca</ulink>
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <para condition="html" role="usernotes">
|
---|
103 | User Notes: <ulink url="&blfs-wiki;/juffed"/>
|
---|
104 | </para>
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2 role="installation">
|
---|
108 | <title>Installation of JuffEd</title>
|
---|
109 |
|
---|
110 | <para>
|
---|
111 | For compilation with <application>Qt4</application>, see <quote>Command
|
---|
112 | Explanations</quote> below. Install
|
---|
113 | <application>JuffEd</application> by running the following commands:
|
---|
114 | </para>
|
---|
115 |
|
---|
116 | <screen><userinput>sed -i 's/"64"/""/' cmake/LibSuffix.cmake &&
|
---|
117 | sed -i '/JUFFED_LIBRARY/s/)$/ qtermwidget5)/' plugins/terminal/CMakeLists.txt &&
|
---|
118 |
|
---|
119 | mkdir -v build &&
|
---|
120 | cd build &&
|
---|
121 |
|
---|
122 | cmake -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
|
---|
123 | -DCMAKE_BUILD_TYPE=Release \
|
---|
124 | -DBUILD_TERMINAL=ON \
|
---|
125 | -DUSE_QT5=true \
|
---|
126 | .. &&
|
---|
127 |
|
---|
128 | LIBRARY_PATH=$LXQT_PREFIX/lib make</userinput></screen>
|
---|
129 |
|
---|
130 | <para>
|
---|
131 | The choice of <filename class="directory">/usr</filename> prefix is due
|
---|
132 | to the general characteristics of this program, which can be used
|
---|
133 | without <application>LXQt</application>.
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | This package does not come with a test suite.
|
---|
138 | </para>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
142 | </para>
|
---|
143 |
|
---|
144 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | <sect2 role="commands">
|
---|
149 | <title>Command Explanations</title>
|
---|
150 |
|
---|
151 | <para>
|
---|
152 | <command>sed ... LibSuffix.cmake</command>: Removes the 64 from /lib64.
|
---|
153 | </para>
|
---|
154 |
|
---|
155 | <para>
|
---|
156 | <command>sed -i '/JUFFED_LIBRARY/s/)$/ qtermwidget5)/'</command>: Allows this
|
---|
157 | package to build against current <xref linkend="qtermwidget"/>.
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | <envar>LIBRARY_PATH=$LXQT_PREFIX/lib</envar>: This environment
|
---|
162 | variable is needed for the linker to find a required library.
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | <parameter>-DBUILD_TERMINAL=ON</parameter>: This switch is used in order
|
---|
167 | to enable building the terminal. Toggle to <quote>OFF</quote> or remove
|
---|
168 | the switch, if you do not wish it.
|
---|
169 | </para>
|
---|
170 |
|
---|
171 | <para>
|
---|
172 | <parameter>-DUSE_QT5=true</parameter>: This switch is used in order to
|
---|
173 | build this application linked to <application>Qt5</application>. Toggle
|
---|
174 | to <quote>false</quote>, if you prefer to use
|
---|
175 | <application>Qt4</application>.
|
---|
176 | </para>
|
---|
177 |
|
---|
178 | </sect2>
|
---|
179 |
|
---|
180 | <sect2 role="content">
|
---|
181 | <title>Contents</title>
|
---|
182 |
|
---|
183 | <segmentedlist>
|
---|
184 | <segtitle>Installed Program</segtitle>
|
---|
185 | <segtitle>Installed Libraries</segtitle>
|
---|
186 | <segtitle>Installed Directory</segtitle>
|
---|
187 |
|
---|
188 | <seglistitem>
|
---|
189 | <seg>
|
---|
190 | juffed
|
---|
191 | </seg>
|
---|
192 | <seg>
|
---|
193 | libjuff.so,
|
---|
194 | libjuffed-engine-qsci.so and
|
---|
195 | plugins under /usr/lib/juffed/plugins
|
---|
196 | </seg>
|
---|
197 | <seg>
|
---|
198 | /usr/{include,lib,share}/juffed
|
---|
199 | </seg>
|
---|
200 | </seglistitem>
|
---|
201 | </segmentedlist>
|
---|
202 |
|
---|
203 | <variablelist>
|
---|
204 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
205 | <?dbfo list-presentation="list"?>
|
---|
206 | <?dbhtml list-presentation="table"?>
|
---|
207 |
|
---|
208 | <varlistentry id="juffed-prog">
|
---|
209 | <term><command>juffed</command></term>
|
---|
210 | <listitem>
|
---|
211 | <para>
|
---|
212 | is a <application>Qt</application> based text editor.
|
---|
213 | </para>
|
---|
214 | <indexterm zone="juffed juffed-prog">
|
---|
215 | <primary sortas="b-juffed">juffed</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | <varlistentry id="libjuff">
|
---|
221 | <term><filename class="libraryfile">libjuff.so</filename></term>
|
---|
222 | <listitem>
|
---|
223 | <para>
|
---|
224 | contains the <application>JuffEd</application> API functions.
|
---|
225 | </para>
|
---|
226 | <indexterm zone="juffed libjuff">
|
---|
227 | <primary sortas="c-libjuff">libjuff.so</primary>
|
---|
228 | </indexterm>
|
---|
229 | </listitem>
|
---|
230 | </varlistentry>
|
---|
231 |
|
---|
232 | <varlistentry id="libjuffed-engine-qsci">
|
---|
233 | <term><filename class="libraryfile">libjuffed-engine-qsci.so</filename></term>
|
---|
234 | <listitem>
|
---|
235 | <para>
|
---|
236 | contains the <application>QScintilla</application> bindings.
|
---|
237 | </para>
|
---|
238 | <indexterm zone="juffed libjuffed-engine-qsci">
|
---|
239 | <primary sortas="c-libjuffed-engine-qsci">libjuffed-engine-qsci.so</primary>
|
---|
240 | </indexterm>
|
---|
241 | </listitem>
|
---|
242 | </varlistentry>
|
---|
243 |
|
---|
244 | </variablelist>
|
---|
245 |
|
---|
246 | </sect2>
|
---|
247 |
|
---|
248 | </sect1>
|
---|