glfs/lxqt/apps/screengrab.xml
Bruce Dubbs 78d568a17c Help some lxqt find kf5 headers.
If installing lxqt after the full kf5 libraries, and kf5 was not
installed in /usr (typically /opt/kf5), two packages need help
finding the needed headers.  Add the appropriate environment
variables to the instructions for those packages (lxqt-panel and
screengrab).
2023-08-24 22:27:56 -05:00

165 lines
4.3 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 screengrab-download-http "https://github.com/lxqt/screengrab/releases/download/&screengrab-version;/screengrab-&screengrab-version;.tar.xz">
<!ENTITY screengrab-download-ftp " ">
<!ENTITY screengrab-md5sum "628db4fd51b27bb8076da7e73e72de89">
<!ENTITY screengrab-size "329 KB">
<!ENTITY screengrab-buildsize "5.0 MB">
<!ENTITY screengrab-time "0.3 SBU">
]>
<sect1 id="screengrab" xreflabel="screengrab-&screengrab-version;">
<?dbhtml filename="screengrab.html"?>
<title>screengrab-&screengrab-version;</title>
<indexterm zone="screengrab">
<primary sortas="a-screengrab">screengrab</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to screengrab</title>
<para>
The <application>screengrab</application> package is a cross-platform
tool for making screenshots quickly.
</para>
&lfs113_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&screengrab-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&screengrab-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &screengrab-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &screengrab-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &screengrab-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &screengrab-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">screengrab Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
(<xref linkend="lxqt-kwindowsystem"/> or
<xref role="nodep" linkend="kf5-frameworks"/>), and
<xref linkend="libqtxdg"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of screengrab</title>
<para>
If <xref linkend="kf5"/> was not installed in /usr, help the code
find needed headers:
</para>
<screen role="pre"><userinput>export CXXFLAGS+="-I $KF5_PREFIX/include"
export CFLAGS+="-I $KF5_PREFIX/include"</userinput></screen>
<para>
Install <application>screengrab</application> by running the following
commands:
</para>
<screen><userinput>mkdir -v build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
.. &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the &root; user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>
If you have <xref linkend="xdg-utils"/> installed, as the &root;
user, run <command>xdg-icon-resource forceupdate --theme hicolor</command>.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>
screengrab
</seg>
<seg>
None
</seg>
<seg>
None
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="screengrab-prog">
<term><command>screengrab</command></term>
<listitem>
<para>
is a cross platform tool for creating screenshots quickly
</para>
<indexterm zone="screengrab screengrab-prog">
<primary sortas="b-screengrab">screengrab</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>