[0facdac] | 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 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Gcr-&gcr4-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="gcr4">
|
---|
| 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 |
|
---|
| 38 | &lfs112_checked;
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&gcr4-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&gcr4-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &gcr4-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &gcr4-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &gcr4-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &gcr4-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">
|
---|
| 78 | <xref linkend="glib2"/>,
|
---|
| 79 | <xref linkend="libgcrypt"/>, and
|
---|
| 80 | <xref linkend="p11-kit"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
| 85 | <xref linkend="gnupg2"/>,
|
---|
| 86 | <xref linkend="gobject-introspection"/>,
|
---|
| 87 | <xref linkend="gtk4"/>,
|
---|
| 88 | <xref linkend="libsecret"/>,
|
---|
| 89 | <xref linkend="libxslt"/>, and
|
---|
| 90 | <xref linkend="vala"/>
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
| 95 | <xref linkend="valgrind"/> and
|
---|
| 96 | <ulink url="https://gnome.pages.gitlab.gnome.org/gi-docgen/">gi-docgen</ulink>
|
---|
| 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 |
|
---|
[4a8f53ed] | 107 | <note>
|
---|
| 108 | <para>Both gcr-3 and gcr-4 are coinstallable. This version of the package is
|
---|
| 109 | used to support GTK-4 applications, such as
|
---|
| 110 | <xref linkend="gnome-shell" role="nodep"/>.</para>
|
---|
| 111 | </note>
|
---|
| 112 |
|
---|
[0facdac] | 113 | <para>
|
---|
| 114 | Install <application>Gcr</application> by running the following
|
---|
| 115 | commands:
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <screen><userinput>mkdir build &&
|
---|
| 119 | cd build &&
|
---|
| 120 |
|
---|
| 121 | meson --prefix=/usr --buildtype=release -Dgtk_doc=false .. &&
|
---|
| 122 | ninja</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | To test the results, issue: <command>ninja test</command>.
|
---|
| 126 | The tests must be run from an X Terminal or similar.
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <para>
|
---|
| 130 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
| 133 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="commands">
|
---|
| 137 | <title>Command Explanations</title>
|
---|
| 138 |
|
---|
| 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 140 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 141 |
|
---|
| 142 | <para>
|
---|
| 143 | <option>-Dgtk=false</option>: Use this switch if you
|
---|
| 144 | haven't installed <xref linkend="gtk4"/>. Note that
|
---|
| 145 | <application>gcr-viewer</application> will not be installed
|
---|
| 146 | if this is passed to meson.
|
---|
| 147 | </para>
|
---|
| 148 |
|
---|
| 149 | <para>
|
---|
| 150 | <option>-Dgtk_doc=true</option>: Use this switch if you wish
|
---|
| 151 | to generate the API reference documentation. Note that you must
|
---|
| 152 | have <application>GTK-Doc</application> installed.
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <!--<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 156 | href="../../xincludes/gtk-doc-rebuild.xml"/>-->
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | <sect2 role="content">
|
---|
| 161 | <title>Contents</title>
|
---|
| 162 |
|
---|
| 163 | <segmentedlist>
|
---|
| 164 | <segtitle>Installed Program</segtitle>
|
---|
| 165 | <segtitle>Installed Libraries</segtitle>
|
---|
| 166 | <segtitle>Installed Directories</segtitle>
|
---|
| 167 |
|
---|
| 168 | <seglistitem>
|
---|
| 169 | <seg>
|
---|
| 170 | gcr-viewer-gtk4
|
---|
| 171 | </seg>
|
---|
| 172 | <seg>
|
---|
| 173 | libgck-2.so, libgcr-4.so
|
---|
| 174 | </seg>
|
---|
| 175 | <seg>
|
---|
| 176 | /usr/include/gck-2,
|
---|
| 177 | /usr/include/gcr-4, and
|
---|
| 178 | /usr/share/gtk-doc/html/{gcr,gck}
|
---|
| 179 | </seg>
|
---|
| 180 | </seglistitem>
|
---|
| 181 | </segmentedlist>
|
---|
| 182 |
|
---|
| 183 | <variablelist>
|
---|
| 184 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 185 | <?dbfo list-presentation="list"?>
|
---|
| 186 | <?dbhtml list-presentation="table"?>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="gcr-viewer-gtk4">
|
---|
| 189 | <term><command>gcr-viewer-gtk4</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>
|
---|
| 192 | is used to view certificates and key files
|
---|
| 193 | </para>
|
---|
| 194 | <indexterm zone="gcr4 gcr-viewer-gtk4">
|
---|
| 195 | <primary sortas="b-gcr-viewer-gtk4">gcr-viewer-gtk4</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="libgck-2">
|
---|
| 201 | <term><filename class="libraryfile">libgck-2.so</filename></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>
|
---|
| 204 | contains GObject bindings for PKCS#11
|
---|
| 205 | </para>
|
---|
| 206 | <indexterm zone="gcr4 libgck-2">
|
---|
| 207 | <primary sortas="c-libgck-2">libgck-2.so</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="libgcr-4">
|
---|
| 213 | <term><filename class="libraryfile">libgcr-4.so</filename></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>
|
---|
| 216 | contains functions for accessing key stores and displaying
|
---|
| 217 | certificates
|
---|
| 218 | </para>
|
---|
| 219 | <indexterm zone="gcr4 libgcr-4">
|
---|
| 220 | <primary sortas="c-libgcr-4">libgcr-4.so</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 | </variablelist>
|
---|
| 225 |
|
---|
| 226 | </sect2>
|
---|
| 227 |
|
---|
| 228 | </sect1>
|
---|