[20e1589] | 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 lximage-qt-download-http "http://downloads.lxqt.org/lximage-qt/&lximage-qt-version;/lximage-qt-&lximage-qt-version;.tar.xz">
|
---|
| 8 | <!ENTITY lximage-qt-download-ftp " ">
|
---|
| 9 | <!ENTITY lximage-qt-md5sum "0bd2c6474d8d9c73b606e81647e777f0">
|
---|
| 10 | <!ENTITY lximage-qt-size "44 KB">
|
---|
| 11 | <!ENTITY lximage-qt-buildsize "3 MB">
|
---|
| 12 | <!ENTITY lximage-qt-time "0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="lximage-qt" xreflabel="lximage-qt-&lximage-qt-version;">
|
---|
| 16 | <?dbhtml filename="lximage-qt.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>lximage-qt-&lximage-qt-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="lximage-qt">
|
---|
| 26 | <primary sortas="a-lximage-qt">lximage-qt</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to lximage-qt</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>lximage-qt</application> package contains a lightweight
|
---|
| 34 | image viewer and screenshot program.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[e6441b2] | 37 | &lfs78_checked;
|
---|
[20e1589] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&lximage-qt-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&lximage-qt-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &lximage-qt-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &lximage-qt-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &lximage-qt-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &lximage-qt-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">lximage-qt Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="libexif"/> and
|
---|
| 78 | <xref linkend="pcmanfm-qt"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <para condition="html" role="usernotes">
|
---|
| 82 | User Notes: <ulink url="&blfs-wiki;/lximage-qt"/>
|
---|
| 83 | </para>
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of lximage-qt</title>
|
---|
| 88 |
|
---|
| 89 | <para>
|
---|
| 90 | Install <application>lximage-qt</application> by running the following
|
---|
| 91 | commands:
|
---|
| 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <screen><userinput>sed -i 's/1%/%1/' src/translations/lximage-qt_pt_BR.ts &&
|
---|
| 95 |
|
---|
| 96 | sed -i 's/Utility;//' data/lximage-qt.desktop.in &&
|
---|
| 97 |
|
---|
| 98 | mkdir -v build &&
|
---|
| 99 | cd build &&
|
---|
| 100 |
|
---|
[6073ef0] | 101 | cmake -DCMAKE_BUILD_TYPE=Release \
|
---|
| 102 | -DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
|
---|
[20e1589] | 103 | .. &&
|
---|
| 104 |
|
---|
[6073ef0] | 105 | LIBRARY_PATH=/opt/qt5/lib:$LXQT_PREFIX/lib make</userinput></screen>
|
---|
[20e1589] | 106 |
|
---|
| 107 | <para>
|
---|
| 108 | This package does not come with a test suite.
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>make install &&
|
---|
| 116 |
|
---|
[6073ef0] | 117 | ln -svf $LXQT_PREFIX/share/applications/lximage-qt.desktop \
|
---|
[20e1589] | 118 | /usr/share/applications &&
|
---|
| 119 |
|
---|
[6073ef0] | 120 | ln -svf $LXQT_PREFIX/share/applications/lximage-qt-screenshot.desktop \
|
---|
[20e1589] | 121 | /usr/share/applications</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | If you have <xref linkend="xdg-utils"/> installed, as the <systemitem
|
---|
| 125 | class="username">root</systemitem> user, run <command>xdg-icon-resource
|
---|
| 126 | forceupdate --theme hicolor</command>.
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | <command>sed -i ... src/translations/lximage-qt_pt_BR.t</command>: Fixes
|
---|
| 136 | a bug introduced by the translation. If you will never use pt_BR as the
|
---|
[8137b30] | 137 | prefix of your locale, this fix can be safely ignored.
|
---|
[20e1589] | 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <para>
|
---|
| 141 | <command>sed -i ... data/lximage-qt.desktop.in</command>: Fixes submenu
|
---|
| 142 | for <application>lximage-qt</application>.
|
---|
| 143 | </para>
|
---|
| 144 |
|
---|
| 145 | <para>
|
---|
[6073ef0] | 146 | <envar>LIBRARY_PATH=/opt/qt5/lib:$LXQT_PREFIX/lib</envar>: Fixes for the
|
---|
[20e1589] | 147 | linker to find three libraries.
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
| 152 | <sect2 role="content">
|
---|
| 153 | <title>Contents</title>
|
---|
| 154 |
|
---|
| 155 | <segmentedlist>
|
---|
| 156 | <segtitle>Installed Program</segtitle>
|
---|
| 157 | <segtitle>Installed Libraries</segtitle>
|
---|
| 158 | <segtitle>Installed Directory</segtitle>
|
---|
| 159 |
|
---|
| 160 | <seglistitem>
|
---|
| 161 | <seg>
|
---|
| 162 | lximage-qt
|
---|
| 163 | </seg>
|
---|
| 164 | <seg>
|
---|
| 165 | None
|
---|
| 166 | </seg>
|
---|
| 167 | <seg>
|
---|
[6073ef0] | 168 | $LXQT_PREFIX/share/lximage-qt
|
---|
[20e1589] | 169 | </seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="lximage-qt-prog">
|
---|
| 179 | <term><command>lximage-qt</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>
|
---|
| 182 | is a lightweight image viewer and screenshot program. There is a
|
---|
| 183 | menu entry at Utilities for the screenshot program. From command
|
---|
| 184 | line, obtain a full screen or window shot by running
|
---|
[f3429309] | 185 | <command>lximage-qt --screenshot</command>.
|
---|
[20e1589] | 186 | </para>
|
---|
| 187 | <indexterm zone="lximage-qt lximage-qt-prog">
|
---|
| 188 | <primary sortas="b-lximage-qt">lximage-qt</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
| 192 |
|
---|
| 193 | </variablelist>
|
---|
| 194 |
|
---|
| 195 | </sect2>
|
---|
| 196 |
|
---|
| 197 | </sect1>
|
---|