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