mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-10 04:54:44 +08:00
192 lines
5.3 KiB
XML
192 lines
5.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 fast making screenshots.
|
||
|
</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="libqtxdg"/>
|
||
|
</para>
|
||
|
<!--
|
||
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
||
|
<para role="optional">
|
||
|
<xref linkend="git"/> (to download translation files) or
|
||
|
<xref linkend="lxqt-l10n"/> (to add localization files)
|
||
|
</para>
|
||
|
|
||
|
<para condition="html" role="usernotes">
|
||
|
User Notes: <ulink url="&blfs-wiki;/screengrab"/>
|
||
|
</para>
|
||
|
-->
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 role="installation">
|
||
|
<title>Installation of screengrab</title>
|
||
|
|
||
|
<para>
|
||
|
Install <application>screengrab</application> by running the following
|
||
|
commands:
|
||
|
</para>
|
||
|
|
||
|
<screen><userinput>mkdir -v build &&
|
||
|
cd build &&
|
||
|
|
||
|
cmake -DCMAKE_BUILD_TYPE=Release \
|
||
|
-DCMAKE_INSTALL_PREFIX=$LXQT_PREFIX \
|
||
|
-DPULL_TRANSLATIONS=no \
|
||
|
.. &&
|
||
|
|
||
|
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</userinput></screen>
|
||
|
|
||
|
<para>
|
||
|
If you installed in /opt, again as the
|
||
|
<systemitem class="username">root</systemitem> user:
|
||
|
</para>
|
||
|
|
||
|
<screen role="root"><userinput>ln -svf $LXQT_PREFIX/share/applications/screengrab.desktop \
|
||
|
/usr/share/applications &&
|
||
|
|
||
|
ln -svf $LXQT_PREFIX/share/applications/screengrab-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>
|
||
|
<parameter>-DPULL_TRANSLATIONS=no</parameter>: Removes the need for
|
||
|
<xref linkend="git"/>, which would otherwise be requested to download
|
||
|
the translation files.
|
||
|
</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 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>screengrab --screenshot</command>.
|
||
|
</para>
|
||
|
<indexterm zone="screengrab screengrab-prog">
|
||
|
<primary sortas="b-screengrab">screengrab</primary>
|
||
|
</indexterm>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
</variablelist>
|
||
|
|
||
|
</sect2>
|
||
|
|
||
|
</sect1>
|