mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Add screengrab-2.6.0 (lxqt app)
This is a fast screenshooter with Qt UI
This commit is contained in:
parent
9726117e9c
commit
0da32a20d4
@ -60,6 +60,7 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pavucontrol-qt.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qps.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qtermwidget.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="screengrab.xml"/>
|
||||
<!-- group IV -->
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lximage-qt.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lxqt-about.xml"/>
|
||||
|
191
lxqt/desktop/screengrab.xml
Normal file
191
lxqt/desktop/screengrab.xml
Normal file
@ -0,0 +1,191 @@
|
||||
<?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>
|
@ -964,6 +964,7 @@ to avoid building libxml2 twice, which is slow with all deps -->
|
||||
<!ENTITY muparser-version "2.3.4">
|
||||
<!ENTITY obconf-qt-version "0.16.2">
|
||||
<!ENTITY qps-version "2.7.0">
|
||||
<!ENTITY screengrab-version "2.6.0">
|
||||
|
||||
<!-- Part XI -->
|
||||
<!-- Chapter 39 -->
|
||||
|
Loading…
Reference in New Issue
Block a user