[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 |
|
---|
[7af46e61] | 7 | <!ENTITY gcr-download-http "&gnome-download-http;/gcr/&gnome-minor-36;/gcr-&gcr-version;.tar.xz">
|
---|
| 8 | <!ENTITY gcr-download-ftp "&gnome-download-ftp;/gcr/&gnome-minor-36;/gcr-&gcr-version;.tar.xz">
|
---|
| 9 | <!ENTITY gcr-md5sum "adc65563b6b458507b9a578a8b68fb61">
|
---|
| 10 | <!ENTITY gcr-size "1.0 MB">
|
---|
| 11 | <!ENTITY gcr-buildsize "47 MB (with tests)">
|
---|
| 12 | <!ENTITY gcr-time "0.5 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 |
|
---|
[34fe2633] | 39 | &lfs91_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 |
|
---|
[b0480ef] | 120 | <screen><userinput>sed -i -r 's:"(/desktop):"/org/gnome\1:' schema/*.xml &&
|
---|
| 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 |
|
---|
[f6962ed] | 149 | <para>
|
---|
[7af46e61] | 150 | <option>-Dgtk=false</option>: Use this switch if you
|
---|
[9a363500] | 151 | haven't installed <xref linkend="gtk3"/>. Note that
|
---|
| 152 | <application>gcr-viewer</application> will not be installed
|
---|
| 153 | if this is passed to configure.
|
---|
[f6962ed] | 154 | </para>
|
---|
| 155 |
|
---|
[7af46e61] | 156 | <para>
|
---|
| 157 | <option>-Dgtk_doc=true</option>: Use this switch if you wish
|
---|
| 158 | to generate the API reference documentation. Note that you must
|
---|
| 159 | have <application>GTK-Doc</application> installed.
|
---|
| 160 | </para>
|
---|
| 161 |
|
---|
| 162 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 163 | href="../../xincludes/gtk-doc-rebuild.xml"/>-->
|
---|
[dabe4b0] | 164 |
|
---|
| 165 | </sect2>
|
---|
| 166 |
|
---|
| 167 | <sect2 role="content">
|
---|
| 168 | <title>Contents</title>
|
---|
| 169 |
|
---|
| 170 | <segmentedlist>
|
---|
| 171 | <segtitle>Installed Program</segtitle>
|
---|
| 172 | <segtitle>Installed Libraries</segtitle>
|
---|
| 173 | <segtitle>Installed Directories</segtitle>
|
---|
| 174 |
|
---|
| 175 | <seglistitem>
|
---|
| 176 | <seg>
|
---|
[b230e27] | 177 | gcr-viewer
|
---|
[dabe4b0] | 178 | </seg>
|
---|
| 179 | <seg>
|
---|
[2377fb3] | 180 | libgck-1.so, libgcr-3.so, libgcr-base-3.so and libgcr-ui-3.so
|
---|
[dabe4b0] | 181 | </seg>
|
---|
| 182 | <seg>
|
---|
| 183 | /usr/include/gck-1,
|
---|
[7af46e61] | 184 | /usr/include/gcr-3, and
|
---|
| 185 | /usr/share/gtk-doc/html/{gcr,gck}
|
---|
[dabe4b0] | 186 | </seg>
|
---|
| 187 | </seglistitem>
|
---|
| 188 | </segmentedlist>
|
---|
| 189 |
|
---|
| 190 | <variablelist>
|
---|
| 191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 192 | <?dbfo list-presentation="list"?>
|
---|
| 193 | <?dbhtml list-presentation="table"?>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="gcr-viewer">
|
---|
| 196 | <term><command>gcr-viewer</command></term>
|
---|
| 197 | <listitem>
|
---|
| 198 | <para>
|
---|
[560b86d] | 199 | is used to view certificates and key files.
|
---|
[dabe4b0] | 200 | </para>
|
---|
| 201 | <indexterm zone="gcr gcr-viewer">
|
---|
| 202 | <primary sortas="b-gcr-viewer">gcr-viewer</primary>
|
---|
| 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | <varlistentry id="libgck-1">
|
---|
| 208 | <term><filename class="libraryfile">libgck-1.so</filename></term>
|
---|
| 209 | <listitem>
|
---|
| 210 | <para>
|
---|
| 211 | contains GObject bindings for PKCS#11.
|
---|
| 212 | </para>
|
---|
| 213 | <indexterm zone="gcr libgck-1">
|
---|
| 214 | <primary sortas="c-libgck-1">libgck-1.so</primary>
|
---|
| 215 | </indexterm>
|
---|
| 216 | </listitem>
|
---|
| 217 | </varlistentry>
|
---|
| 218 |
|
---|
| 219 | <varlistentry id="libgcr-3">
|
---|
| 220 | <term><filename class="libraryfile">libgcr-3.so</filename></term>
|
---|
| 221 | <listitem>
|
---|
| 222 | <para>
|
---|
| 223 | contains functions for high level crypto parsing.
|
---|
| 224 | </para>
|
---|
| 225 | <indexterm zone="gcr libgcr-3">
|
---|
| 226 | <primary sortas="c-libgcr-3">libgcr-3.so</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | </variablelist>
|
---|
| 232 |
|
---|
| 233 | </sect2>
|
---|
| 234 |
|
---|
| 235 | </sect1>
|
---|