[eba70158] | 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 gnome-online-accounts-download-http
|
---|
[52e9489] | 8 | "&gnome-download-http;/gnome-online-accounts/&gnome-minor-48;/gnome-online-accounts-&gnome-online-accounts-version;.tar.xz">
|
---|
[eba70158] | 9 | <!ENTITY gnome-online-accounts-download-ftp
|
---|
[52e9489] | 10 | "&gnome-download-ftp;/gnome-online-accounts/&gnome-minor-48;/gnome-online-accounts-&gnome-online-accounts-version;.tar.xz">
|
---|
| 11 | <!ENTITY gnome-online-accounts-md5sum "9406339e88caf9ecd11191f96b6cc10e">
|
---|
| 12 | <!ENTITY gnome-online-accounts-size "376 KB">
|
---|
| 13 | <!ENTITY gnome-online-accounts-buildsize "14 MB">
|
---|
[4693aa1f] | 14 | <!ENTITY gnome-online-accounts-time "0.2 SBU">
|
---|
[eba70158] | 15 | ]>
|
---|
| 16 |
|
---|
[51dfb3e] | 17 | <sect1 id="gnome-online-accounts" xreflabel="gnome-online-accounts-&gnome-online-accounts-version;">
|
---|
[eba70158] | 18 | <?dbhtml filename="gnome-online-accounts.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | <title>gnome-online-accounts-&gnome-online-accounts-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="gnome-online-accounts">
|
---|
| 24 | <primary sortas="a-gnome-online-accounts">gnome-online-accounts</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to GNOME Online Accounts</title>
|
---|
| 29 |
|
---|
| 30 | <para>
|
---|
| 31 | The <application>GNOME Online Accounts</application> package contains a
|
---|
| 32 | framework used to access the user's online accounts.
|
---|
| 33 | </para>
|
---|
| 34 |
|
---|
[b5c0ca3] | 35 | &lfs120_checked;
|
---|
[eba70158] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&gnome-online-accounts-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&gnome-online-accounts-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: &gnome-online-accounts-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: &gnome-online-accounts-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: &gnome-online-accounts-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: &gnome-online-accounts-time;
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">GNOME Online Accounts Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 74 | <para role="required">
|
---|
| 75 | <xref linkend="gcr"/>,
|
---|
[8558044] | 76 | <xref linkend="json-glib"/>,
|
---|
[eba70158] | 77 | <xref linkend="rest"/>,
|
---|
| 78 | <xref linkend="vala"/>, and
|
---|
| 79 | <xref linkend="webkitgtk"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
| 84 | <xref linkend="gobject-introspection"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
| 89 | <xref linkend="gtk-doc"/>,
|
---|
[cdf0106] | 90 | <xref linkend="mitkrb"/>, and
|
---|
| 91 | <xref linkend="valgrind"/>
|
---|
| 92 | <!-- <ulink url="https://gitlab.com/accounts-sso/libaccounts-glib">libaccounts-glib</ulink>, and
|
---|
| 93 | <ulink url="https://launchpad.net/account-plugins">account-plugins</ulink> -->
|
---|
[2a44f9e] | 94 |
|
---|
[eba70158] | 95 | </para>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of GNOME Online Accounts</title>
|
---|
| 101 |
|
---|
[e5c8de01] | 102 | <note>
|
---|
| 103 | <para>
|
---|
| 104 | <!-- Taken from Arch Linux - an immensely helpful link - Thanks -->
|
---|
| 105 | The Google API Key and OAuth tokens below are specific to LFS. If using
|
---|
| 106 | these instructions for another distro, or if you intend to distribute
|
---|
| 107 | binary copies of the software using these instructions, please obtain
|
---|
| 108 | your own keys following the instructions located at
|
---|
[75b1a338] | 109 | <ulink url="https://www.chromium.org/developers/how-tos/api-keys"/>.
|
---|
[e5c8de01] | 110 | <!-- BLFS Devs, register an account at Google with your
|
---|
| 111 | @linuxfromscratch.org email address, and I'll make you an administrator
|
---|
| 112 | for the 'Google APIs for LFS' project (where the API and OAuth keys
|
---|
| 113 | were created for use in the book).-->
|
---|
| 114 | </para>
|
---|
| 115 | </note>
|
---|
| 116 |
|
---|
[eba70158] | 117 | <para>
|
---|
| 118 | Install <application>GNOME Online Accounts</application> by running the following
|
---|
| 119 | commands:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
[4693aa1f] | 122 | <screen><userinput>mkdir build &&
|
---|
| 123 | cd build &&
|
---|
| 124 |
|
---|
[91318eb] | 125 | meson setup \
|
---|
| 126 | --prefix=/usr \
|
---|
[4693aa1f] | 127 | --buildtype=release \
|
---|
| 128 | -Dkerberos=false \
|
---|
| 129 | -Dgoogle_client_secret=5ntt6GbbkjnTVXx-MSxbmx5e \
|
---|
[91318eb] | 130 | -Dgoogle_client_id=595013732528-llk8trb03f0ldpqq6nprjp1s79596646.apps.googleusercontent.com \
|
---|
| 131 | .. &&
|
---|
[4693aa1f] | 132 | ninja</userinput></screen>
|
---|
[eba70158] | 133 |
|
---|
| 134 | <para>
|
---|
| 135 | This package does not come with a test suite.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
| 139 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
[4693aa1f] | 142 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[eba70158] | 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="commands">
|
---|
| 147 | <title>Command Explanations</title>
|
---|
| 148 |
|
---|
| 149 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
[4693aa1f] | 150 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
[eba70158] | 151 |
|
---|
[e5c8de01] | 152 | <para>
|
---|
[4693aa1f] | 153 | <parameter>-Dgoogle_*</parameter>: These switches set the
|
---|
[03c4924] | 154 | BLFS OAuth ID and secret for Google services.
|
---|
[e5c8de01] | 155 | </para>
|
---|
| 156 |
|
---|
[eba70158] | 157 | <para>
|
---|
[4693aa1f] | 158 | <option>-Dgtk_doc=true</option>: Use this switch if you have
|
---|
| 159 | <xref linkend="gtk-doc" role="nodep"/> installed and you wish to generate
|
---|
| 160 | the API documentation.
|
---|
[eba70158] | 161 | </para>
|
---|
| 162 |
|
---|
[4693aa1f] | 163 | <para>
|
---|
| 164 | <option>-Dkerberos=true</option>: Use this switch if you have
|
---|
| 165 | installed <xref linkend="mitkrb" role="nodep"/> and wish to use it with
|
---|
| 166 | <application>GNOME Online Accounts</application>.
|
---|
| 167 | </para>
|
---|
[eba70158] | 168 |
|
---|
| 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | <sect2 role="content">
|
---|
| 172 | <title>Contents</title>
|
---|
| 173 |
|
---|
| 174 | <segmentedlist>
|
---|
| 175 | <segtitle>Installed Programs</segtitle>
|
---|
| 176 | <segtitle>Installed Libraries</segtitle>
|
---|
| 177 | <segtitle>Installed Directories</segtitle>
|
---|
| 178 |
|
---|
| 179 | <seglistitem>
|
---|
| 180 | <seg>
|
---|
[f17355f] | 181 | goa-daemon and goa-identity-service (library executables)
|
---|
[eba70158] | 182 | </seg>
|
---|
| 183 | <seg>
|
---|
| 184 | libgoa-1.0.so and libgoa-backend-1.0.so
|
---|
| 185 | </seg>
|
---|
| 186 | <seg>
|
---|
| 187 | /usr/include/goa-1.0,
|
---|
[e130fead] | 188 | /usr/lib/goa-1.0, and
|
---|
[dda606f] | 189 | /usr/share/gtk-doc/html/goa (optional)
|
---|
[eba70158] | 190 | </seg>
|
---|
| 191 | </seglistitem>
|
---|
| 192 | </segmentedlist>
|
---|
| 193 |
|
---|
| 194 | <variablelist>
|
---|
| 195 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 196 | <?dbfo list-presentation="list"?>
|
---|
| 197 | <?dbhtml list-presentation="table"?>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="goa-daemon">
|
---|
| 200 | <term><command>goa-daemon</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
[4c24eb0a] | 203 | is the <application>GNOME Online Accounts</application> Daemon
|
---|
[eba70158] | 204 | </para>
|
---|
| 205 | <indexterm zone="gnome-online-accounts goa-daemon">
|
---|
| 206 | <primary sortas="b-goa-daemon">goa-daemon</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="libgoa-1">
|
---|
| 212 | <term><filename class="libraryfile">libgoa-1.0.so</filename></term>
|
---|
| 213 | <listitem>
|
---|
| 214 | <para>
|
---|
| 215 | contains the <application>GNOME Online Accounts</application>
|
---|
[4c24eb0a] | 216 | API functions
|
---|
[eba70158] | 217 | </para>
|
---|
| 218 | <indexterm zone="gnome-online-accounts libgoa-1">
|
---|
| 219 | <primary sortas="c-libgoa-1">libgoa-1.0.so</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="libgoa-backend-1.0">
|
---|
| 225 | <term><filename class="libraryfile">libgoa-backend-1.0.so</filename></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>
|
---|
| 228 | contains functions used by <application>GNOME Online Accounts</application>
|
---|
[4c24eb0a] | 229 | backends
|
---|
[eba70158] | 230 | </para>
|
---|
| 231 | <indexterm zone="gnome-online-accounts libgoa-backend-1.0">
|
---|
| 232 | <primary sortas="c-libgoa-backend-1.0">libgoa-backend-1.0.so</primary>
|
---|
| 233 | </indexterm>
|
---|
| 234 | </listitem>
|
---|
| 235 | </varlistentry>
|
---|
| 236 |
|
---|
| 237 | </variablelist>
|
---|
| 238 |
|
---|
| 239 | </sect2>
|
---|
| 240 |
|
---|
| 241 | </sect1>
|
---|