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