[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 |
|
---|
[3b339ddc] | 7 | <!ENTITY gcr-download-http "&gnome-download-http;/gcr/&gnome-minor-40;/gcr-&gcr-version;.tar.xz">
|
---|
| 8 | <!ENTITY gcr-download-ftp "&gnome-download-ftp;/gcr/&gnome-minor-40;/gcr-&gcr-version;.tar.xz">
|
---|
| 9 | <!ENTITY gcr-md5sum "fa34048b5562f80587a71d11931a7c29">
|
---|
| 10 | <!ENTITY gcr-size "998 KB">
|
---|
[8252e757] | 11 | <!ENTITY gcr-buildsize "39 MB (with tests)">
|
---|
| 12 | <!ENTITY gcr-time "0.4 SBU (with tests)">
|
---|
[dabe4b0] | 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 |
|
---|
[2b7420b] | 38 | &lfs101_checked;
|
---|
[dabe4b0] | 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">
|
---|
[f6962ed] | 78 | <xref linkend="glib2"/>,
|
---|
[7af46e6] | 79 | <xref linkend="libgcrypt"/>, and
|
---|
[dabe4b0] | 80 | <xref linkend="p11-kit"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
[f6962ed] | 85 | <xref linkend="gnupg2"/>,
|
---|
[2377fb3] | 86 | <xref linkend="gobject-introspection"/>,
|
---|
| 87 | <xref linkend="gtk3"/>,
|
---|
| 88 | <xref linkend="libxslt"/>, and
|
---|
| 89 | <xref linkend="vala"/>
|
---|
[dabe4b0] | 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 93 | <para role="optional">
|
---|
| 94 | <xref linkend="gtk-doc"/> and
|
---|
[f1607a4] | 95 | <xref linkend="valgrind"/>
|
---|
[dabe4b0] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">
|
---|
| 99 | User Notes: <ulink url="&blfs-wiki;/gcr"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of Gcr</title>
|
---|
| 105 |
|
---|
[3b339ddc] | 106 | <!--
|
---|
[7af46e6] | 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>
|
---|
[3b339ddc] | 114 | -->
|
---|
[7af46e6] | 115 |
|
---|
[dabe4b0] | 116 | <para>
|
---|
| 117 | Install <application>Gcr</application> by running the following
|
---|
| 118 | commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
[51695fd] | 121 | <screen><userinput>sed -i 's:"/desktop:"/org:' schema/*.xml &&
|
---|
[b0480ef] | 122 |
|
---|
[92f5d53] | 123 | mkdir build &&
|
---|
| 124 | cd build &&
|
---|
[7af46e6] | 125 |
|
---|
[adf17153] | 126 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
[7af46e6] | 127 | ninja</userinput></screen>
|
---|
[dabe4b0] | 128 |
|
---|
| 129 | <para>
|
---|
[7af46e6] | 130 | To test the results, issue: <command>ninja test</command>.
|
---|
[88d8c967] | 131 | The tests must be run from an X Terminal or similar. <!-- One test,
|
---|
| 132 | "test-openssl 3", is known to fail. -->
|
---|
[dabe4b0] | 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
[7af46e6] | 139 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[dabe4b0] | 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
[adf17153] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 146 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 147 |
|
---|
[b0480ef] | 148 | <para>
|
---|
| 149 | <command>sed ... schema/*.xml</command>: This command fixes a
|
---|
| 150 | deprecated entry in the schema template.
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
[8252e757] | 153 | <!--
|
---|
[82a9ecf] | 154 | <para>
|
---|
[8252e757] | 155 | <!- - https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/52/ - ->
|
---|
[82a9ecf] | 156 | <command>sed ... gck/gck-slot.c</command>: This command fixes a bug
|
---|
| 157 | (usage of uninitialized value) identified by upstream.
|
---|
| 158 | </para>
|
---|
[8252e757] | 159 | -->
|
---|
[82a9ecf] | 160 |
|
---|
[f6962ed] | 161 | <para>
|
---|
[7af46e6] | 162 | <option>-Dgtk=false</option>: Use this switch if you
|
---|
[9a363500] | 163 | haven't installed <xref linkend="gtk3"/>. Note that
|
---|
| 164 | <application>gcr-viewer</application> will not be installed
|
---|
[ff40dcf] | 165 | if this is passed to meson.
|
---|
[f6962ed] | 166 | </para>
|
---|
| 167 |
|
---|
[7af46e6] | 168 | <para>
|
---|
| 169 | <option>-Dgtk_doc=true</option>: Use this switch if you wish
|
---|
| 170 | to generate the API reference documentation. Note that you must
|
---|
| 171 | have <application>GTK-Doc</application> installed.
|
---|
| 172 | </para>
|
---|
| 173 |
|
---|
| 174 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 175 | href="../../xincludes/gtk-doc-rebuild.xml"/>-->
|
---|
[dabe4b0] | 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | <sect2 role="content">
|
---|
| 180 | <title>Contents</title>
|
---|
| 181 |
|
---|
| 182 | <segmentedlist>
|
---|
| 183 | <segtitle>Installed Program</segtitle>
|
---|
| 184 | <segtitle>Installed Libraries</segtitle>
|
---|
| 185 | <segtitle>Installed Directories</segtitle>
|
---|
| 186 |
|
---|
| 187 | <seglistitem>
|
---|
| 188 | <seg>
|
---|
[b230e27] | 189 | gcr-viewer
|
---|
[dabe4b0] | 190 | </seg>
|
---|
| 191 | <seg>
|
---|
[8252e757] | 192 | libgck-1.so, libgcr-base-3.so and libgcr-ui-3.so
|
---|
[dabe4b0] | 193 | </seg>
|
---|
| 194 | <seg>
|
---|
| 195 | /usr/include/gck-1,
|
---|
[7af46e6] | 196 | /usr/include/gcr-3, and
|
---|
| 197 | /usr/share/gtk-doc/html/{gcr,gck}
|
---|
[dabe4b0] | 198 | </seg>
|
---|
| 199 | </seglistitem>
|
---|
| 200 | </segmentedlist>
|
---|
| 201 |
|
---|
| 202 | <variablelist>
|
---|
| 203 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 204 | <?dbfo list-presentation="list"?>
|
---|
| 205 | <?dbhtml list-presentation="table"?>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="gcr-viewer">
|
---|
| 208 | <term><command>gcr-viewer</command></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
[4c24eb0a] | 211 | is used to view certificates and key files
|
---|
[dabe4b0] | 212 | </para>
|
---|
| 213 | <indexterm zone="gcr gcr-viewer">
|
---|
| 214 | <primary sortas="b-gcr-viewer">gcr-viewer</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="libgck-1">
|
---|
| 220 | <term><filename class="libraryfile">libgck-1.so</filename></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
[4c24eb0a] | 223 | contains GObject bindings for PKCS#11
|
---|
[dabe4b0] | 224 | </para>
|
---|
| 225 | <indexterm zone="gcr libgck-1">
|
---|
| 226 | <primary sortas="c-libgck-1">libgck-1.so</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | </variablelist>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | </sect1>
|
---|