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/&gcr-minor;/gcr-&gcr-version;.tar.xz">
|
---|
8 | <!ENTITY gcr-download-ftp "&gnome-download-ftp;/gcr/&gcr-minor;/gcr-&gcr-version;.tar.xz">
|
---|
9 | <!ENTITY gcr-md5sum "c1e98af977236255006e11e8f8cfbaca">
|
---|
10 | <!ENTITY gcr-size "1008 KB">
|
---|
11 | <!ENTITY gcr-buildsize "33 MB (with tests)">
|
---|
12 | <!ENTITY gcr-time "0.2 SBU (with tests; both using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gcr" xreflabel="Gcr-&gcr-version;">
|
---|
16 | <?dbhtml filename="gcr.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Gcr-&gcr-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="gcr">
|
---|
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 | &lfs111_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&gcr-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&gcr-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &gcr-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &gcr-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &gcr-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &gcr-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="gtk3"/>,
|
---|
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 | <!--
|
---|
109 | <caution>
|
---|
110 | <para>
|
---|
111 | If you are upgrading from a version of gcr prior to 3.36.0, you must
|
---|
112 | run the <filename>remove-la-files.sh</filename> script from the
|
---|
113 | <xref linkend="la-files"/> after installing gcr.
|
---|
114 | </para>
|
---|
115 | </caution>
|
---|
116 | -->
|
---|
117 |
|
---|
118 | <!--
|
---|
119 | <para>
|
---|
120 | First apply a fix for building with newer versions of
|
---|
121 | <application>meson</application>:
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <screen><userinput>find . -name meson.build | xargs sed -i /packages.\*deps/d</userinput></screen>
|
---|
125 | -->
|
---|
126 |
|
---|
127 | <para>
|
---|
128 | Install <application>Gcr</application> by running the following
|
---|
129 | commands:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen><userinput>sed -i 's:"/desktop:"/org:' schema/*.xml &&
|
---|
133 |
|
---|
134 | mkdir build &&
|
---|
135 | cd build &&
|
---|
136 |
|
---|
137 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
138 | ninja</userinput></screen>
|
---|
139 |
|
---|
140 | <para>
|
---|
141 | To test the results, issue: <command>ninja test</command>.
|
---|
142 | The tests must be run from an X Terminal or similar. <!-- One test,
|
---|
143 | "test-openssl 3", is known to fail. -->
|
---|
144 | </para>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <sect2 role="commands">
|
---|
154 | <title>Command Explanations</title>
|
---|
155 |
|
---|
156 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
157 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
158 |
|
---|
159 | <!--
|
---|
160 | <para>
|
---|
161 | <command>sed ... schema/*.xml</command>: This command fixes a
|
---|
162 | deprecated entry in the schema template.
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | <para>
|
---|
166 | <command>sed ... ui/meson.build</command>: This command fixes a
|
---|
167 | problem when building with meson-0.59.0.
|
---|
168 | </para>
|
---|
169 | -->
|
---|
170 |
|
---|
171 | <!--
|
---|
172 | <para>
|
---|
173 | <!- - https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/52/ - ->
|
---|
174 | <command>sed ... gck/gck-slot.c</command>: This command fixes a bug
|
---|
175 | (usage of uninitialized value) identified by upstream.
|
---|
176 | </para>
|
---|
177 | -->
|
---|
178 |
|
---|
179 | <para>
|
---|
180 | <option>-Dgtk=false</option>: Use this switch if you
|
---|
181 | haven't installed <xref linkend="gtk3"/>. Note that
|
---|
182 | <application>gcr-viewer</application> will not be installed
|
---|
183 | if this is passed to meson.
|
---|
184 | </para>
|
---|
185 |
|
---|
186 | <para>
|
---|
187 | <option>-Dgtk_doc=true</option>: Use this switch if you wish
|
---|
188 | to generate the API reference documentation. Note that you must
|
---|
189 | have <application>GTK-Doc</application> installed.
|
---|
190 | </para>
|
---|
191 |
|
---|
192 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
193 | href="../../xincludes/gtk-doc-rebuild.xml"/>-->
|
---|
194 |
|
---|
195 | </sect2>
|
---|
196 |
|
---|
197 | <sect2 role="content">
|
---|
198 | <title>Contents</title>
|
---|
199 |
|
---|
200 | <segmentedlist>
|
---|
201 | <segtitle>Installed Program</segtitle>
|
---|
202 | <segtitle>Installed Libraries</segtitle>
|
---|
203 | <segtitle>Installed Directories</segtitle>
|
---|
204 |
|
---|
205 | <seglistitem>
|
---|
206 | <seg>
|
---|
207 | gcr-viewer
|
---|
208 | </seg>
|
---|
209 | <seg>
|
---|
210 | libgck-1.so, libgcr-base-3.so and libgcr-ui-3.so
|
---|
211 | </seg>
|
---|
212 | <seg>
|
---|
213 | /usr/include/gck-1,
|
---|
214 | /usr/include/gcr-3, and
|
---|
215 | /usr/share/gtk-doc/html/{gcr,gck}
|
---|
216 | </seg>
|
---|
217 | </seglistitem>
|
---|
218 | </segmentedlist>
|
---|
219 |
|
---|
220 | <variablelist>
|
---|
221 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
222 | <?dbfo list-presentation="list"?>
|
---|
223 | <?dbhtml list-presentation="table"?>
|
---|
224 |
|
---|
225 | <varlistentry id="gcr-viewer">
|
---|
226 | <term><command>gcr-viewer</command></term>
|
---|
227 | <listitem>
|
---|
228 | <para>
|
---|
229 | is used to view certificates and key files
|
---|
230 | </para>
|
---|
231 | <indexterm zone="gcr gcr-viewer">
|
---|
232 | <primary sortas="b-gcr-viewer">gcr-viewer</primary>
|
---|
233 | </indexterm>
|
---|
234 | </listitem>
|
---|
235 | </varlistentry>
|
---|
236 |
|
---|
237 | <varlistentry id="libgck-1">
|
---|
238 | <term><filename class="libraryfile">libgck-1.so</filename></term>
|
---|
239 | <listitem>
|
---|
240 | <para>
|
---|
241 | contains GObject bindings for PKCS#11
|
---|
242 | </para>
|
---|
243 | <indexterm zone="gcr libgck-1">
|
---|
244 | <primary sortas="c-libgck-1">libgck-1.so</primary>
|
---|
245 | </indexterm>
|
---|
246 | </listitem>
|
---|
247 | </varlistentry>
|
---|
248 |
|
---|
249 | </variablelist>
|
---|
250 |
|
---|
251 | </sect2>
|
---|
252 |
|
---|
253 | </sect1>
|
---|