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