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