source: gnome/platform/gcr.xml@ 261bdae

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 261bdae was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 9 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

  • Property mode set to 100644
File size: 7.1 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">
[e1e58be]8 <!ENTITY gcr-download-ftp " ">
[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
[6e45f2f]35 &lfs120_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"/>,
[7af46e6]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">
[f56d2e7]92 <xref linkend="gi-docgen"/> and
93 <xref linkend="valgrind"/>
[dabe4b0]94 </para>
95
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of Gcr</title>
100
[3b339ddc]101 <!--
[7af46e6]102 <caution>
103 <para>
104 If you are upgrading from a version of gcr prior to 3.36.0, you must
105 run the <filename>remove-la-files.sh</filename> script from the
106 <xref linkend="la-files"/> after installing gcr.
107 </para>
108 </caution>
[3b339ddc]109 -->
[7af46e6]110
[6ddb21a]111<!--
[8f16a204]112 <para>
113 First apply a fix for building with newer versions of
114 <application>meson</application>:
115 </para>
116
117<screen><userinput>find . -name meson.build | xargs sed -i /packages.\*deps/d</userinput></screen>
[6ddb21a]118-->
[8f16a204]119
[dabe4b0]120 <para>
121 Install <application>Gcr</application> by running the following
122 commands:
123 </para>
124
[51695fd]125<screen><userinput>sed -i 's:"/desktop:"/org:' schema/*.xml &amp;&amp;
[b0480ef]126
[92f5d53]127mkdir build &amp;&amp;
128cd build &amp;&amp;
[7af46e6]129
[91318eb]130meson setup --prefix=/usr \
131 --buildtype=release \
132 -Dgtk_doc=false \
133 .. &amp;&amp;
[3a7d81ba]134ninja</userinput></screen>
135
136 <para>
137 If you have <xref linkend='gi-docgen'/> installed and wish to build
138 the API documentation for this package, issue:
139 </para>
140
141<screen role='nodump'><userinput>sed -e "/install_dir/s@,\$@ / 'gcr-&gcr-version;'&amp;@" \
142 -e "/fatal-warnings/d" \
143 -i ../docs/*/meson.build &amp;&amp;
144meson configure -Dgtk_doc=true &amp;&amp;
[7af46e6]145ninja</userinput></screen>
[dabe4b0]146
147 <para>
[7af46e6]148 To test the results, issue: <command>ninja test</command>.
[88d8c967]149 The tests must be run from an X Terminal or similar. <!-- One test,
150 "test-openssl 3", is known to fail. -->
[dabe4b0]151 </para>
152
153 <para>
154 Now, as the <systemitem class="username">root</systemitem> user:
155 </para>
156
[7af46e6]157<screen role="root"><userinput>ninja install</userinput></screen>
[dabe4b0]158 </sect2>
159
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
[adf17153]163 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
164 href="../../xincludes/meson-buildtype-release.xml"/>
165
[6ddb21a]166<!--
[b0480ef]167 <para>
168 <command>sed ... schema/*.xml</command>: This command fixes a
169 deprecated entry in the schema template.
170 </para>
171
[65d85668]172 <para>
173 <command>sed ... ui/meson.build</command>: This command fixes a
174 problem when building with meson-0.59.0.
175 </para>
[6ddb21a]176-->
[65d85668]177
[8252e757]178 <!--
[82a9ecf]179 <para>
[8252e757]180 <!- - https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/52/ - ->
[82a9ecf]181 <command>sed ... gck/gck-slot.c</command>: This command fixes a bug
182 (usage of uninitialized value) identified by upstream.
183 </para>
[8252e757]184 -->
[82a9ecf]185
[f6962ed]186 <para>
[7af46e6]187 <option>-Dgtk=false</option>: Use this switch if you
[9a363500]188 haven't installed <xref linkend="gtk3"/>. Note that
189 <application>gcr-viewer</application> will not be installed
[ff40dcf]190 if this is passed to meson.
[f6962ed]191 </para>
192
[7af46e6]193 <para>
[3a7d81ba]194 <option>-Dgtk_doc=true</option>: &gi-doc-disable;
[7af46e6]195 </para>
196
197 <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
198 href="../../xincludes/gtk-doc-rebuild.xml"/>-->
[dabe4b0]199
200 </sect2>
201
202 <sect2 role="content">
203 <title>Contents</title>
204
205 <segmentedlist>
206 <segtitle>Installed Program</segtitle>
207 <segtitle>Installed Libraries</segtitle>
208 <segtitle>Installed Directories</segtitle>
209
210 <seglistitem>
211 <seg>
[b230e27]212 gcr-viewer
[dabe4b0]213 </seg>
214 <seg>
[8252e757]215 libgck-1.so, libgcr-base-3.so and libgcr-ui-3.so
[dabe4b0]216 </seg>
217 <seg>
218 /usr/include/gck-1,
[7af46e6]219 /usr/include/gcr-3, and
220 /usr/share/gtk-doc/html/{gcr,gck}
[dabe4b0]221 </seg>
222 </seglistitem>
223 </segmentedlist>
224
225 <variablelist>
226 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
227 <?dbfo list-presentation="list"?>
228 <?dbhtml list-presentation="table"?>
229
230 <varlistentry id="gcr-viewer">
231 <term><command>gcr-viewer</command></term>
232 <listitem>
233 <para>
[4c24eb0a]234 is used to view certificates and key files
[dabe4b0]235 </para>
236 <indexterm zone="gcr gcr-viewer">
237 <primary sortas="b-gcr-viewer">gcr-viewer</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
242 <varlistentry id="libgck-1">
243 <term><filename class="libraryfile">libgck-1.so</filename></term>
244 <listitem>
245 <para>
[4c24eb0a]246 contains GObject bindings for PKCS#11
[dabe4b0]247 </para>
248 <indexterm zone="gcr libgck-1">
249 <primary sortas="c-libgck-1">libgck-1.so</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 </variablelist>
255
256 </sect2>
257
258</sect1>
Note: See TracBrowser for help on using the repository browser.