source: gnome/platform/gcr4.xml@ 6d655be

11.3 12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 6d655be was 0b863fa, checked in by Xi Ruoyao <xry111@…>, 20 months ago

gcr4: Add sed to fix doc generation and install location if enabled

  • Property mode set to 100644
File size: 6.7 KB
Line 
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
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 &lfs112_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"/>,
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="gobject-introspection"/>,
84 <xref linkend="gtk4"/>,
85 <xref linkend="libsecret"/>,
86 <xref linkend="libxslt"/>, 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 <para condition="html" role="usernotes">
97 User Notes: <ulink url="&blfs-wiki;/gcr"/>
98 </para>
99 </sect2>
100
101 <sect2 role="installation">
102 <title>Installation of Gcr</title>
103
104 <note>
105 <para>Both gcr-3 and gcr-4 are coinstallable. This version of the package is
106 used to support GTK-4 applications, such as
107 <xref linkend="gnome-shell" role="nodep"/>.</para>
108 </note>
109
110 <para>
111 Install <application>Gcr</application> by running the following
112 commands:
113 </para>
114
115<screen><userinput>mkdir build &amp;&amp;
116cd build &amp;&amp;
117
118meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &amp;&amp;
119ninja</userinput></screen>
120
121 <para>
122 To test the results, issue: <command>ninja test</command>.
123 The tests must be run from an X Terminal or similar.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>ninja install</userinput></screen>
131 </sect2>
132
133 <sect2 role="commands">
134 <title>Command Explanations</title>
135
136 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
137 href="../../xincludes/meson-buildtype-release.xml"/>
138
139 <para>
140 <option>-Dgtk=false</option>: Use this switch if you
141 haven't installed <xref linkend="gtk4"/>. Note that
142 <application>gcr-viewer</application> will not be installed
143 if this is passed to meson.
144 </para>
145
146 <para>
147 <option>-Dgtk_doc=true</option>: Use this switch if you wish
148 to generate the API reference documentation. Note that you must
149 have <xref linkend='gi-docgen'/> installed, and use the following
150 command to fix an issue in the build system before running
151 <command>cd build</command>:
152 </para>
153
154<screen role='nodump'><userinput>
155sed -e "/install_dir/s@,\$@ / 'gcr-&gcr4-version;'&amp;@" \
156 -e "/fatal-warnings/d" -i docs/*/meson.build</userinput></screen>
157
158 <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
159 href="../../xincludes/gtk-doc-rebuild.xml"/>-->
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Program</segtitle>
168 <segtitle>Installed Libraries</segtitle>
169 <segtitle>Installed Directories</segtitle>
170
171 <seglistitem>
172 <seg>
173 gcr-viewer-gtk4
174 </seg>
175 <seg>
176 libgck-2.so, libgcr-4.so
177 </seg>
178 <seg>
179 /usr/include/gck-2,
180 /usr/include/gcr-4, and
181 /usr/share/gtk-doc/html/{gcr,gck}
182 </seg>
183 </seglistitem>
184 </segmentedlist>
185
186 <variablelist>
187 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
188 <?dbfo list-presentation="list"?>
189 <?dbhtml list-presentation="table"?>
190
191 <varlistentry id="gcr-viewer-gtk4">
192 <term><command>gcr-viewer-gtk4</command></term>
193 <listitem>
194 <para>
195 is used to view certificates and key files
196 </para>
197 <indexterm zone="gcr4 gcr-viewer-gtk4">
198 <primary sortas="b-gcr-viewer-gtk4">gcr-viewer-gtk4</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="libgck-2">
204 <term><filename class="libraryfile">libgck-2.so</filename></term>
205 <listitem>
206 <para>
207 contains GObject bindings for PKCS#11
208 </para>
209 <indexterm zone="gcr4 libgck-2">
210 <primary sortas="c-libgck-2">libgck-2.so</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="libgcr-4">
216 <term><filename class="libraryfile">libgcr-4.so</filename></term>
217 <listitem>
218 <para>
219 contains functions for accessing key stores and displaying
220 certificates
221 </para>
222 <indexterm zone="gcr4 libgcr-4">
223 <primary sortas="c-libgcr-4">libgcr-4.so</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227 </variablelist>
228
229 </sect2>
230
231</sect1>
Note: See TracBrowser for help on using the repository browser.