[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 |
|
---|
[8252e757] | 7 | <!ENTITY gcr-download-http "&gnome-download-http;/gcr/&gnome-minor-38;/gcr-&gcr-version;.tar.xz">
|
---|
| 8 | <!ENTITY gcr-download-ftp "&gnome-download-ftp;/gcr/&gnome-minor-38;/gcr-&gcr-version;.tar.xz">
|
---|
| 9 | <!ENTITY gcr-md5sum "0748cfa7ed7b9ea36bea047353f3fa00">
|
---|
[7af46e61] | 10 | <!ENTITY gcr-size "1.0 MB">
|
---|
[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 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Gcr-&gcr-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gcr">
|
---|
| 26 | <primary sortas="a-Gcr">Gcr</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Gcr</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>Gcr</application> package contains libraries used
|
---|
| 34 | for displaying certificates and accessing key stores. It also
|
---|
| 35 | provides the viewer for crypto files on the
|
---|
| 36 | <application>GNOME</application> Desktop.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[62c0ce6] | 39 | &lfs10_checked;
|
---|
[dabe4b0] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&gcr-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&gcr-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &gcr-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &gcr-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &gcr-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &gcr-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">Gcr Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
[f6962ed] | 79 | <xref linkend="glib2"/>,
|
---|
[7af46e61] | 80 | <xref linkend="libgcrypt"/>, and
|
---|
[dabe4b0] | 81 | <xref linkend="p11-kit"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 85 | <para role="recommended">
|
---|
[f6962ed] | 86 | <xref linkend="gnupg2"/>,
|
---|
[2377fb3] | 87 | <xref linkend="gobject-introspection"/>,
|
---|
| 88 | <xref linkend="gtk3"/>,
|
---|
| 89 | <xref linkend="libxslt"/>, and
|
---|
| 90 | <xref linkend="vala"/>
|
---|
[dabe4b0] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
| 95 | <xref linkend="gtk-doc"/> and
|
---|
[f1607a4] | 96 | <xref linkend="valgrind"/>
|
---|
[dabe4b0] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <para condition="html" role="usernotes">
|
---|
| 100 | User Notes: <ulink url="&blfs-wiki;/gcr"/>
|
---|
| 101 | </para>
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
| 105 | <title>Installation of Gcr</title>
|
---|
| 106 |
|
---|
[7af46e61] | 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>
|
---|
| 114 |
|
---|
[dabe4b0] | 115 | <para>
|
---|
| 116 | Install <application>Gcr</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
[51695fd0] | 120 | <screen><userinput>sed -i 's:"/desktop:"/org:' schema/*.xml &&
|
---|
[b0480ef] | 121 |
|
---|
[7af46e61] | 122 | mkdir gcr-build &&
|
---|
| 123 | cd gcr-build &&
|
---|
| 124 |
|
---|
| 125 | meson --prefix=/usr -Dgtk_doc=false .. &&
|
---|
| 126 | ninja</userinput></screen>
|
---|
[dabe4b0] | 127 |
|
---|
| 128 | <para>
|
---|
[7af46e61] | 129 | To test the results, issue: <command>ninja test</command>.
|
---|
[88d8c967] | 130 | The tests must be run from an X Terminal or similar. <!-- One test,
|
---|
| 131 | "test-openssl 3", is known to fail. -->
|
---|
[dabe4b0] | 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
[7af46e61] | 138 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[dabe4b0] | 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
[b0480ef] | 144 | <para>
|
---|
| 145 | <command>sed ... schema/*.xml</command>: This command fixes a
|
---|
| 146 | deprecated entry in the schema template.
|
---|
| 147 | </para>
|
---|
| 148 |
|
---|
[8252e757] | 149 | <!--
|
---|
[82a9ecf] | 150 | <para>
|
---|
[8252e757] | 151 | <!- - https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/52/ - ->
|
---|
[82a9ecf] | 152 | <command>sed ... gck/gck-slot.c</command>: This command fixes a bug
|
---|
| 153 | (usage of uninitialized value) identified by upstream.
|
---|
| 154 | </para>
|
---|
[8252e757] | 155 | -->
|
---|
[82a9ecf] | 156 |
|
---|
[f6962ed] | 157 | <para>
|
---|
[7af46e61] | 158 | <option>-Dgtk=false</option>: Use this switch if you
|
---|
[9a363500] | 159 | haven't installed <xref linkend="gtk3"/>. Note that
|
---|
| 160 | <application>gcr-viewer</application> will not be installed
|
---|
| 161 | if this is passed to configure.
|
---|
[f6962ed] | 162 | </para>
|
---|
| 163 |
|
---|
[7af46e61] | 164 | <para>
|
---|
| 165 | <option>-Dgtk_doc=true</option>: Use this switch if you wish
|
---|
| 166 | to generate the API reference documentation. Note that you must
|
---|
| 167 | have <application>GTK-Doc</application> installed.
|
---|
| 168 | </para>
|
---|
| 169 |
|
---|
| 170 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 171 | href="../../xincludes/gtk-doc-rebuild.xml"/>-->
|
---|
[dabe4b0] | 172 |
|
---|
| 173 | </sect2>
|
---|
| 174 |
|
---|
| 175 | <sect2 role="content">
|
---|
| 176 | <title>Contents</title>
|
---|
| 177 |
|
---|
| 178 | <segmentedlist>
|
---|
| 179 | <segtitle>Installed Program</segtitle>
|
---|
| 180 | <segtitle>Installed Libraries</segtitle>
|
---|
| 181 | <segtitle>Installed Directories</segtitle>
|
---|
| 182 |
|
---|
| 183 | <seglistitem>
|
---|
| 184 | <seg>
|
---|
[b230e27] | 185 | gcr-viewer
|
---|
[dabe4b0] | 186 | </seg>
|
---|
| 187 | <seg>
|
---|
[8252e757] | 188 | libgck-1.so, libgcr-base-3.so and libgcr-ui-3.so
|
---|
[dabe4b0] | 189 | </seg>
|
---|
| 190 | <seg>
|
---|
| 191 | /usr/include/gck-1,
|
---|
[7af46e61] | 192 | /usr/include/gcr-3, and
|
---|
| 193 | /usr/share/gtk-doc/html/{gcr,gck}
|
---|
[dabe4b0] | 194 | </seg>
|
---|
| 195 | </seglistitem>
|
---|
| 196 | </segmentedlist>
|
---|
| 197 |
|
---|
| 198 | <variablelist>
|
---|
| 199 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 200 | <?dbfo list-presentation="list"?>
|
---|
| 201 | <?dbhtml list-presentation="table"?>
|
---|
| 202 |
|
---|
| 203 | <varlistentry id="gcr-viewer">
|
---|
| 204 | <term><command>gcr-viewer</command></term>
|
---|
| 205 | <listitem>
|
---|
| 206 | <para>
|
---|
[560b86d] | 207 | is used to view certificates and key files.
|
---|
[dabe4b0] | 208 | </para>
|
---|
| 209 | <indexterm zone="gcr gcr-viewer">
|
---|
| 210 | <primary sortas="b-gcr-viewer">gcr-viewer</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
| 215 | <varlistentry id="libgck-1">
|
---|
| 216 | <term><filename class="libraryfile">libgck-1.so</filename></term>
|
---|
| 217 | <listitem>
|
---|
| 218 | <para>
|
---|
| 219 | contains GObject bindings for PKCS#11.
|
---|
| 220 | </para>
|
---|
| 221 | <indexterm zone="gcr libgck-1">
|
---|
| 222 | <primary sortas="c-libgck-1">libgck-1.so</primary>
|
---|
| 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
| 226 |
|
---|
| 227 | </variablelist>
|
---|
| 228 |
|
---|
| 229 | </sect2>
|
---|
| 230 |
|
---|
| 231 | </sect1>
|
---|