source: gnome/platform/gcr4.xml@ 42e8764

lazarus trunk
Last change on this file since 42e8764 was 9e3d8219, checked in by Xi Ruoyao <xry111@…>, 2 months ago

gcr4: Fix a typo

  • Property mode set to 100644
File size: 6.8 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 gcr4-download-http "&gnome-download-http;/gcr/&gcr4-minor;/gcr-&gcr4-version;.tar.xz">
8 <!ENTITY gcr4-download-ftp " ">
9 <!ENTITY gcr4-md5sum "100f015cd1e4b02894b393c879e8ab9a">
10 <!ENTITY gcr4-size "704 KB">
11 <!ENTITY gcr4-buildsize "29 MB (with tests)">
12 <!ENTITY gcr4-time "0.1 SBU (with tests; both using parallelism=4)">
13]>
14
15<sect1 id="gcr4" xreflabel="Gcr-&gcr4-version;">
16 <?dbhtml filename="gcr4.html"?>
17
18
19 <title>Gcr-&gcr4-version;</title>
20
21 <indexterm zone="gcr4">
22 <primary sortas="a-Gcr">Gcr</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Gcr</title>
27
28 <para>
29 The <application>Gcr</application> package contains libraries used
30 for displaying certificates and accessing key stores. It also
31 provides the viewer for crypto files on the
32 <application>GNOME</application> Desktop.
33 </para>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&gcr4-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&gcr4-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &gcr4-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &gcr4-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &gcr4-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &gcr4-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">Gcr Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="glib2"/> (GObject Introspection recommended),
76 <xref linkend="libgcrypt"/>, and
77 <xref linkend="p11-kit"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="gnupg2"/>,
83 <xref linkend="gtk4"/>,
84 <xref linkend="libsecret"/>,
85 <xref linkend="libxslt"/>,
86 <xref linkend="openssh"/>, and
87 <xref linkend="vala"/>
88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="gi-docgen"/> and
93 <xref linkend="valgrind"/>
94 </para>
95
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of Gcr</title>
100
101 <note>
102 <para>Both gcr-3 and gcr-4 are coinstallable. This version of the package is
103 used to support GTK-4 applications, such as
104 <xref linkend="gnome-shell" role="nodep"/> and
105 <xref linkend="epiphany" role="nodep"/>.</para>
106 </note>
107
108 <para>
109 Install <application>Gcr</application> by running the following
110 commands:
111 </para>
112
113<screen><userinput>mkdir build &amp;&amp;
114cd build &amp;&amp;
115
116meson setup --prefix=/usr \
117 --buildtype=release \
118 -Dgtk_doc=false \
119 .. &amp;&amp;
120ninja</userinput></screen>
121
122 <para>
123 If you have <xref linkend='gi-docgen'/> installed and wish to build
124 the API documentation for this package, issue:
125 </para>
126
127<screen remap='doc'><userinput>sed -e "/install_dir/s@,\$@ / 'gcr-&gcr4-version;'&amp;@" \
128 -i ../docs/*/meson.build &amp;&amp;
129meson configure -Dgtk_doc=true &amp;&amp;
130ninja</userinput></screen>
131
132 <para>
133 To test the results, issue: <command>ninja test</command>.
134 The tests must be run from an X Terminal or similar.
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>ninja install</userinput></screen>
142 </sect2>
143
144 <sect2 role="commands">
145 <title>Command Explanations</title>
146
147 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
148 href="../../xincludes/meson-buildtype-release.xml"/>
149
150 <para>
151 <option>-Dgtk4=false</option>: Use this switch if you
152 haven't installed <xref linkend="gtk4"/>. Note that
153 <application>gcr-viewer</application> will not be installed
154 if this is passed to meson.
155 </para>
156
157 <para>
158 <option>-Dssh_agent=false</option>: Use this switch if you
159 haven't installed <xref linkend="openssh"/>, and wish to disable
160 ssh compatibility.
161 </para>
162
163 <para>
164 <option>-Dgtk_doc=true</option>: &gi-doc-disable;
165 </para>
166 <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
167 href="../../xincludes/gtk-doc-rebuild.xml"/>-->
168
169 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173
174 <segmentedlist>
175 <segtitle>Installed Program</segtitle>
176 <segtitle>Installed Libraries</segtitle>
177 <segtitle>Installed Directories</segtitle>
178
179 <seglistitem>
180 <seg>
181 gcr-viewer-gtk4
182 </seg>
183 <seg>
184 libgck-2.so, libgcr-4.so
185 </seg>
186 <seg>
187 /usr/include/gck-2,
188 /usr/include/gcr-4, and
189 /usr/share/gtk-doc/html/{gcr,gck}
190 </seg>
191 </seglistitem>
192 </segmentedlist>
193
194 <variablelist>
195 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
196 <?dbfo list-presentation="list"?>
197 <?dbhtml list-presentation="table"?>
198
199 <varlistentry id="gcr-viewer-gtk4">
200 <term><command>gcr-viewer-gtk4</command></term>
201 <listitem>
202 <para>
203 is used to view certificates and key files
204 </para>
205 <indexterm zone="gcr4 gcr-viewer-gtk4">
206 <primary sortas="b-gcr-viewer-gtk4">gcr-viewer-gtk4</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libgck-2">
212 <term><filename class="libraryfile">libgck-2.so</filename></term>
213 <listitem>
214 <para>
215 contains GObject bindings for PKCS#11
216 </para>
217 <indexterm zone="gcr4 libgck-2">
218 <primary sortas="c-libgck-2">libgck-2.so</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="libgcr-4">
224 <term><filename class="libraryfile">libgcr-4.so</filename></term>
225 <listitem>
226 <para>
227 contains functions for accessing key stores and displaying
228 certificates
229 </para>
230 <indexterm zone="gcr4 libgcr-4">
231 <primary sortas="c-libgcr-4">libgcr-4.so</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235 </variablelist>
236
237 </sect2>
238
239</sect1>
Note: See TracBrowser for help on using the repository browser.