glfs/lxqt/apps/lximage-qt.xml
Fernando de Oliveira 18d6eae29d • Add chrpath-0.16.
• Add QScintilla-gpl-2.9.
• Add juffed-0.10.r71.gc3c1a3f.
• Fixes for lximage-qt-0.4.0 and obconf-qt-0.9.0.8.g1ce85f1.
• Replace "_" by "-" in lximage-qt-0.4.0 and obconf-qt-0.9.0.8.g1ce85f1
  file names.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16267 af4574ff-66df-0310-9fd7-8a98e5e911e0
2015-07-20 20:20:31 +00:00

198 lines
5.5 KiB
XML

<?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;
<!ENTITY lximage-qt-download-http "http://downloads.lxqt.org/lximage-qt/&lximage-qt-version;/lximage-qt-&lximage-qt-version;.tar.xz">
<!ENTITY lximage-qt-download-ftp " ">
<!ENTITY lximage-qt-md5sum "0bd2c6474d8d9c73b606e81647e777f0">
<!ENTITY lximage-qt-size "44 KB">
<!ENTITY lximage-qt-buildsize "3 MB">
<!ENTITY lximage-qt-time "0.1 SBU">
]>
<sect1 id="lximage-qt" xreflabel="lximage-qt-&lximage-qt-version;">
<?dbhtml filename="lximage-qt.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>lximage-qt-&lximage-qt-version;</title>
<indexterm zone="lximage-qt">
<primary sortas="a-lximage-qt">lximage-qt</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to lximage-qt</title>
<para>
The <application>lximage-qt</application> package contains a lightweight
image viewer and screenshot program.
</para>
&lfs77_checked; &gcc5_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&lximage-qt-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&lximage-qt-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &lximage-qt-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &lximage-qt-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &lximage-qt-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &lximage-qt-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">lximage-qt Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libexif"/> and
<xref linkend="pcmanfm-qt"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/lximage-qt"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of lximage-qt</title>
<para>
Install <application>lximage-qt</application> by running the following
commands:
</para>
<screen><userinput>sed -i 's/1%/%1/' src/translations/lximage-qt_pt_BR.ts &amp;&amp;
sed -i 's/Utility;//' data/lximage-qt.desktop.in &amp;&amp;
mkdir -v build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/lxqt \
.. &amp;&amp;
LIBRARY_PATH=/opt/qt5/lib:/opt/lxqt/lib make</userinput></screen>
<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 &amp;&amp;
ln -svf /opt/lxqt/share/applications/lximage-qt.desktop \
/usr/share/applications &amp;&amp;
ln -svf /opt/lxqt/share/applications/lximage-qt-screenshot.desktop \
/usr/share/applications</userinput></screen>
<para>
If you have <xref linkend="xdg-utils"/> installed, as the <systemitem
class="username">root</systemitem> user, run <command>xdg-icon-resource
forceupdate --theme hicolor</command>.
</para>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>sed -i ... src/translations/lximage-qt_pt_BR.t</command>: Fixes
a bug introduced by the translation. If you will never use pt_BR as the
prefix of your locale, this fix can be safely ignored.
</para>
<para>
<command>sed -i ... data/lximage-qt.desktop.in</command>: Fixes submenu
for <application>lximage-qt</application>.
</para>
<para>
<envar>LIBRARY_PATH=/opt/qt5/lib:/opt/lxqt/lib</envar>: Fixes for the
linker to find three libraries.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
lximage-qt
</seg>
<seg>
None
</seg>
<seg>
/opt/lxqt/share/lximage-qt
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="lximage-qt-prog">
<term><command>lximage-qt</command></term>
<listitem>
<para>
is a lightweight image viewer and screenshot program. There is a
menu entry at Utilities for the screenshot program. From command
line, obtain a full screen or window shot by running
<command>lximage-qt --screenshot</command>.
</para>
<indexterm zone="lximage-qt lximage-qt-prog">
<primary sortas="b-lximage-qt">lximage-qt</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>