source: gnome/platform/gcr.xml@ 8f4ea2be

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 8f4ea2be was c5408a2, checked in by Douglas R. Reno <renodr@…>, 19 months ago

Add an entity for the gi-docgen URL and change several packages to use
it.

This should make the different URLs we had previously consistent with
one another, and ease maintenance burden.

This is only temporary though since eventually gi-docgen will become
part of the book, when Pierre's python-modules branch is brought into
trunk.

  • Property mode set to 100644
File size: 6.9 KB
RevLine 
[dabe4b0]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;
[ee9107e]6
[1b99e99]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">
[6ddb21a]9 <!ENTITY gcr-md5sum "c1e98af977236255006e11e8f8cfbaca">
10 <!ENTITY gcr-size "1008 KB">
11 <!ENTITY gcr-buildsize "33 MB (with tests)">
[e43d52d]12 <!ENTITY gcr-time "0.2 SBU (with tests; both using parallelism=4)">
[dabe4b0]13]>
14
15<sect1 id="gcr" xreflabel="Gcr-&gcr-version;">
16 <?dbhtml filename="gcr.html"?>
17
18
19 <title>Gcr-&gcr-version;</title>
20
21 <indexterm zone="gcr">
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
[cce66dc4]35 &lfs112_checked;
[dabe4b0]36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&gcr-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&gcr-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &gcr-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &gcr-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &gcr-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &gcr-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">
[f6962ed]75 <xref linkend="glib2"/>,
[7af46e61]76 <xref linkend="libgcrypt"/>, and
[dabe4b0]77 <xref linkend="p11-kit"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
[f6962ed]82 <xref linkend="gnupg2"/>,
[2377fb3]83 <xref linkend="gobject-introspection"/>,
84 <xref linkend="gtk3"/>,
[bee8bad]85 <xref linkend="libsecret"/>,
[2377fb3]86 <xref linkend="libxslt"/>, and
87 <xref linkend="vala"/>
[dabe4b0]88 </para>
89
90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
[6ddb21a]92 <!--<xref linkend="gtk-doc"/> and-->
93 <xref linkend="valgrind"/> and
[c5408a2]94 <ulink url="&gi-docgen-url;">gi-docgen</ulink>
[dabe4b0]95 </para>
96
97 <para condition="html" role="usernotes">
98 User Notes: <ulink url="&blfs-wiki;/gcr"/>
99 </para>
100 </sect2>
101
102 <sect2 role="installation">
103 <title>Installation of Gcr</title>
104
[3b339ddc]105 <!--
[7af46e61]106 <caution>
107 <para>
108 If you are upgrading from a version of gcr prior to 3.36.0, you must
109 run the <filename>remove-la-files.sh</filename> script from the
110 <xref linkend="la-files"/> after installing gcr.
111 </para>
112 </caution>
[3b339ddc]113 -->
[7af46e61]114
[6ddb21a]115<!--
[8f16a204]116 <para>
117 First apply a fix for building with newer versions of
118 <application>meson</application>:
119 </para>
120
121<screen><userinput>find . -name meson.build | xargs sed -i /packages.\*deps/d</userinput></screen>
[6ddb21a]122-->
[8f16a204]123
[dabe4b0]124 <para>
125 Install <application>Gcr</application> by running the following
126 commands:
127 </para>
128
[51695fd]129<screen><userinput>sed -i 's:"/desktop:"/org:' schema/*.xml &amp;&amp;
[b0480ef]130
[92f5d53]131mkdir build &amp;&amp;
132cd build &amp;&amp;
[7af46e61]133
[adf17153]134meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &amp;&amp;
[7af46e61]135ninja</userinput></screen>
[dabe4b0]136
137 <para>
[7af46e61]138 To test the results, issue: <command>ninja test</command>.
[88d8c967]139 The tests must be run from an X Terminal or similar. <!-- One test,
140 "test-openssl 3", is known to fail. -->
[dabe4b0]141 </para>
142
143 <para>
144 Now, as the <systemitem class="username">root</systemitem> user:
145 </para>
146
[7af46e61]147<screen role="root"><userinput>ninja install</userinput></screen>
[dabe4b0]148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
[adf17153]153 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154 href="../../xincludes/meson-buildtype-release.xml"/>
155
[6ddb21a]156<!--
[b0480ef]157 <para>
158 <command>sed ... schema/*.xml</command>: This command fixes a
159 deprecated entry in the schema template.
160 </para>
161
[65d85668]162 <para>
163 <command>sed ... ui/meson.build</command>: This command fixes a
164 problem when building with meson-0.59.0.
165 </para>
[6ddb21a]166-->
[65d85668]167
[8252e757]168 <!--
[82a9ecf]169 <para>
[8252e757]170 <!- - https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/52/ - ->
[82a9ecf]171 <command>sed ... gck/gck-slot.c</command>: This command fixes a bug
172 (usage of uninitialized value) identified by upstream.
173 </para>
[8252e757]174 -->
[82a9ecf]175
[f6962ed]176 <para>
[7af46e61]177 <option>-Dgtk=false</option>: Use this switch if you
[9a363500]178 haven't installed <xref linkend="gtk3"/>. Note that
179 <application>gcr-viewer</application> will not be installed
[ff40dcf]180 if this is passed to meson.
[f6962ed]181 </para>
182
[7af46e61]183 <para>
184 <option>-Dgtk_doc=true</option>: Use this switch if you wish
185 to generate the API reference documentation. Note that you must
186 have <application>GTK-Doc</application> installed.
187 </para>
188
189 <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
190 href="../../xincludes/gtk-doc-rebuild.xml"/>-->
[dabe4b0]191
192 </sect2>
193
194 <sect2 role="content">
195 <title>Contents</title>
196
197 <segmentedlist>
198 <segtitle>Installed Program</segtitle>
199 <segtitle>Installed Libraries</segtitle>
200 <segtitle>Installed Directories</segtitle>
201
202 <seglistitem>
203 <seg>
[b230e27]204 gcr-viewer
[dabe4b0]205 </seg>
206 <seg>
[8252e757]207 libgck-1.so, libgcr-base-3.so and libgcr-ui-3.so
[dabe4b0]208 </seg>
209 <seg>
210 /usr/include/gck-1,
[7af46e61]211 /usr/include/gcr-3, and
212 /usr/share/gtk-doc/html/{gcr,gck}
[dabe4b0]213 </seg>
214 </seglistitem>
215 </segmentedlist>
216
217 <variablelist>
218 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
219 <?dbfo list-presentation="list"?>
220 <?dbhtml list-presentation="table"?>
221
222 <varlistentry id="gcr-viewer">
223 <term><command>gcr-viewer</command></term>
224 <listitem>
225 <para>
[4c24eb0a]226 is used to view certificates and key files
[dabe4b0]227 </para>
228 <indexterm zone="gcr gcr-viewer">
229 <primary sortas="b-gcr-viewer">gcr-viewer</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="libgck-1">
235 <term><filename class="libraryfile">libgck-1.so</filename></term>
236 <listitem>
237 <para>
[4c24eb0a]238 contains GObject bindings for PKCS#11
[dabe4b0]239 </para>
240 <indexterm zone="gcr libgck-1">
241 <primary sortas="c-libgck-1">libgck-1.so</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 </variablelist>
247
248 </sect2>
249
250</sect1>
Note: See TracBrowser for help on using the repository browser.