source: lxqt/apps/screengrab.xml@ 98452add

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 98452add was 98452add, checked in by Douglas R. Reno <renodr@…>, 12 months ago

screengrab: work around a build failure if KDE Frameworks 5 is installed
fully in /opt.

This happens because, similar to lxqt-panel, it doesn't know how to find
the headers in /opt/kf5 and assumes they'll be found in /usr. Work
around this with CXXFLAGS.

Also updated the short description for screengrab itself

  • Property mode set to 100644
File size: 4.4 KB
Line 
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 screengrab-download-http "https://github.com/lxqt/screengrab/releases/download/&screengrab-version;/screengrab-&screengrab-version;.tar.xz">
8 <!ENTITY screengrab-download-ftp " ">
9 <!ENTITY screengrab-md5sum "628db4fd51b27bb8076da7e73e72de89">
10 <!ENTITY screengrab-size "329 KB">
11 <!ENTITY screengrab-buildsize "5.0 MB">
12 <!ENTITY screengrab-time "0.3 SBU">
13]>
14
15<sect1 id="screengrab" xreflabel="screengrab-&screengrab-version;">
16 <?dbhtml filename="screengrab.html"?>
17
18
19 <title>screengrab-&screengrab-version;</title>
20
21 <indexterm zone="screengrab">
22 <primary sortas="a-screengrab">screengrab</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to screengrab</title>
27
28 <para>
29 The <application>screengrab</application> package is a cross-platform
30 tool for making screenshots quickly.
31 </para>
32
33 &lfs113_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&screengrab-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&screengrab-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &screengrab-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &screengrab-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &screengrab-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &screengrab-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">screengrab Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 (<xref linkend="lxqt-kwindowsystem"/> or
74 <xref role="nodep" linkend="kf5-frameworks"/>), and
75 <xref linkend="libqtxdg"/>
76 </para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of screengrab</title>
82
83 <para>
84 First, if you have the full <xref role="nodep" linkend="kf5-frameworks"/>
85 installed in <filename class="directory">/opt</filename>, allow the build
86 system to see some required headers:
87 </para>
88
89<screen role="nodump"><userinput>export CXXFLAGS="-I/opt/kf5/include"</userinput></screen>
90
91 <para>
92 Install <application>screengrab</application> by running the following
93 commands:
94 </para>
95
96<screen><userinput>mkdir -v build &amp;&amp;
97cd build &amp;&amp;
98
99cmake -DCMAKE_BUILD_TYPE=Release \
100 -DCMAKE_INSTALL_PREFIX=/usr \
101 .. &amp;&amp;
102
103make</userinput></screen>
104
105 <para>
106 This package does not come with a test suite.
107 </para>
108
109 <para>
110 Now, as the &root; user:
111 </para>
112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 <para>
116 If you have <xref linkend="xdg-utils"/> installed, as the &root;
117 user, run <command>xdg-icon-resource forceupdate --theme hicolor</command>.
118 </para>
119
120 </sect2>
121
122 <sect2 role="content">
123 <title>Contents</title>
124
125 <segmentedlist>
126 <segtitle>Installed Program</segtitle>
127 <segtitle>Installed Libraries</segtitle>
128 <segtitle>Installed Directory</segtitle>
129
130 <seglistitem>
131 <seg>
132 screengrab
133 </seg>
134 <seg>
135 None
136 </seg>
137 <seg>
138 None
139 </seg>
140 </seglistitem>
141 </segmentedlist>
142
143 <variablelist>
144 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
145 <?dbfo list-presentation="list"?>
146 <?dbhtml list-presentation="table"?>
147
148 <varlistentry id="screengrab-prog">
149 <term><command>screengrab</command></term>
150 <listitem>
151 <para>
152 is a cross platform tool for creating screenshots quickly
153 </para>
154 <indexterm zone="screengrab screengrab-prog">
155 <primary sortas="b-screengrab">screengrab</primary>
156 </indexterm>
157 </listitem>
158 </varlistentry>
159
160 </variablelist>
161
162 </sect2>
163
164</sect1>
Note: See TracBrowser for help on using the repository browser.