2015-07-21 04:20:31 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2015-10-12 04:28:40 +08:00
|
|
|
<!ENTITY juffed-download-http "&sources-anduin-http;/juffed/juffed-&juffed-version;.tar.xz">
|
2015-07-21 04:20:31 +08:00
|
|
|
<!ENTITY juffed-download-ftp " ">
|
|
|
|
<!ENTITY juffed-md5sum "5d211f5aadcb3d7365b5a6127d3d275f">
|
|
|
|
<!ENTITY juffed-size "1.3 MB">
|
|
|
|
<!ENTITY juffed-buildsize "22 MB">
|
|
|
|
<!ENTITY juffed-time "0.8 SBU">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="juffed" xreflabel="juffed-&juffed-version;">
|
|
|
|
<?dbhtml filename="juffed.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>juffed-&juffed-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="juffed">
|
|
|
|
<primary sortas="a-juffed">juffed</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
2015-08-03 01:27:34 +08:00
|
|
|
<title>Introduction to JuffEd</title>
|
2015-07-21 04:20:31 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
The <application>JuffEd</application> package is a Qt based editor with
|
|
|
|
support for multiple tabs. It is simple and clear, but very powerful.
|
2015-07-29 04:37:42 +08:00
|
|
|
It supports language syntax highlighting, auto-indents in accordance with
|
2015-08-13 09:50:44 +08:00
|
|
|
file type, code blocks folding, matching braces highlighting with instant
|
2015-07-21 04:20:31 +08:00
|
|
|
jumps between them, powerful search and replacing text using regular
|
|
|
|
expressions (including multiline ones) with the opportunity to use
|
|
|
|
matches \1, \2, … in substitutions, a terminal emulator, saving
|
|
|
|
named sessions and many other features.
|
|
|
|
</para>
|
|
|
|
|
2018-02-28 05:47:47 +08:00
|
|
|
&lfs82_checked;
|
2015-07-21 04:20:31 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&juffed-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&juffed-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download MD5 sum: &juffed-md5sum;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download size: &juffed-size;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated disk space required: &juffed-buildsize;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Estimated build time: &juffed-time;
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
The source tarball shown above was created by the BLFS team by cloning
|
|
|
|
the source code repository, finding the correct version to rename
|
|
|
|
accordingly the source code directory, removing <filename
|
|
|
|
class="directory">.git</filename> directory and <filename
|
|
|
|
class="directory">.gitignore</filename> file, and finally making the
|
|
|
|
compressed tarball. No other modification has been made.
|
|
|
|
</para>
|
|
|
|
|
2015-08-03 01:27:34 +08:00
|
|
|
<bridgehead renderas="sect3">JuffEd Dependencies</bridgehead>
|
2015-07-21 04:20:31 +08:00
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
|
|
<para role="required">
|
2015-08-03 01:27:34 +08:00
|
|
|
<xref linkend="qscintilla"/>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="qtermwidget"/> (for the terminal)
|
2015-07-21 04:20:31 +08:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
|
|
<para role="optional">
|
|
|
|
<xref linkend="desktop-file-utils"/> and
|
|
|
|
<ulink url="http://cihar.com/software/enca/">Enca</ulink>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para condition="html" role="usernotes">
|
|
|
|
User Notes: <ulink url="&blfs-wiki;/juffed"/>
|
|
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
2015-08-03 01:27:34 +08:00
|
|
|
<title>Installation of JuffEd</title>
|
2015-07-21 04:20:31 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
For compilation with <application>Qt4</application>, see <quote>Command
|
2015-07-29 04:37:42 +08:00
|
|
|
Explanations</quote> below. Install
|
2015-08-03 01:27:34 +08:00
|
|
|
<application>JuffEd</application> by running the following commands:
|
2015-07-21 04:20:31 +08:00
|
|
|
</para>
|
|
|
|
|
2017-11-26 06:17:03 +08:00
|
|
|
<screen><userinput>sed -i 's/"64"/""/' cmake/LibSuffix.cmake &&
|
|
|
|
sed -i '/JUFFED_LIBRARY/s/)$/ qtermwidget5)/' plugins/terminal/CMakeLists.txt &&
|
2017-02-22 04:13:57 +08:00
|
|
|
|
|
|
|
mkdir -v build &&
|
2015-07-21 04:20:31 +08:00
|
|
|
cd build &&
|
|
|
|
|
2017-02-22 04:13:57 +08:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DBUILD_TERMINAL=ON \
|
|
|
|
-DUSE_QT5=true \
|
2015-07-21 04:20:31 +08:00
|
|
|
.. &&
|
|
|
|
|
2017-02-22 04:13:57 +08:00
|
|
|
LIBRARY_PATH=$LXQT_PREFIX/lib make</userinput></screen>
|
2015-07-21 04:20:31 +08:00
|
|
|
|
|
|
|
<para>
|
|
|
|
The choice of <filename class="directory">/usr</filename> prefix is due
|
|
|
|
to the general characteristics of this program, which can be used
|
|
|
|
without <application>LXQt</application>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
2017-02-22 04:13:57 +08:00
|
|
|
<para>
|
|
|
|
<command>sed ... LibSuffix.cmake</command>: Removes the 64 from /lib64.
|
|
|
|
</para>
|
|
|
|
|
2017-11-26 06:17:03 +08:00
|
|
|
<para>
|
|
|
|
<command>sed -i '/JUFFED_LIBRARY/s/)$/ qtermwidget5)/'</command>: Allows this
|
|
|
|
package to build against current <xref linkend="qtermwidget"/>.
|
|
|
|
</para>
|
|
|
|
|
2017-02-22 04:13:57 +08:00
|
|
|
<para>
|
|
|
|
<envar>LIBRARY_PATH=$LXQT_PREFIX/lib</envar>: This environment
|
|
|
|
variable is needed for the linker to find a required library.
|
|
|
|
</para>
|
|
|
|
|
2015-08-03 01:27:34 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DBUILD_TERMINAL=ON</parameter>: This switch is used in order
|
|
|
|
to enable building the terminal. Toggle to <quote>OFF</quote> or remove
|
|
|
|
the switch, if you do not wish it.
|
|
|
|
</para>
|
|
|
|
|
2015-07-21 04:20:31 +08:00
|
|
|
<para>
|
|
|
|
<parameter>-DUSE_QT5=true</parameter>: This switch is used in order to
|
|
|
|
build this application linked to <application>Qt5</application>. Toggle
|
|
|
|
to <quote>false</quote>, if you prefer to use
|
|
|
|
<application>Qt4</application>.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Program</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
juffed
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
libjuff.so,
|
|
|
|
libjuffed-engine-qsci.so and
|
|
|
|
plugins under /usr/lib/juffed/plugins
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/{include,lib,share}/juffed
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="juffed-prog">
|
|
|
|
<term><command>juffed</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
2015-07-29 04:37:42 +08:00
|
|
|
is a <application>Qt</application> based text editor.
|
2015-07-21 04:20:31 +08:00
|
|
|
</para>
|
|
|
|
<indexterm zone="juffed juffed-prog">
|
|
|
|
<primary sortas="b-juffed">juffed</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libjuff">
|
|
|
|
<term><filename class="libraryfile">libjuff.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains the <application>JuffEd</application> API functions.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="juffed libjuff">
|
|
|
|
<primary sortas="c-libjuff">libjuff.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="libjuffed-engine-qsci">
|
|
|
|
<term><filename class="libraryfile">libjuffed-engine-qsci.so</filename></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
contains the <application>QScintilla</application> bindings.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="juffed libjuffed-engine-qsci">
|
|
|
|
<primary sortas="c-libjuffed-engine-qsci">libjuffed-engine-qsci.so</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|