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 libgdata-download-http "&gnome-download-http;/libgdata/0.17/libgdata-&libgdata-version;.tar.xz">
|
---|
8 | <!ENTITY libgdata-download-ftp "&gnome-download-ftp;/libgdata/0.17/libgdata-&libgdata-version;.tar.xz">
|
---|
9 | <!ENTITY libgdata-md5sum "9d5692a2308bb949af801be66989e164">
|
---|
10 | <!ENTITY libgdata-size "828 KB">
|
---|
11 | <!ENTITY libgdata-buildsize "76 MB (with tests)">
|
---|
12 | <!ENTITY libgdata-time "1.0 SBU (with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="libgdata" xreflabel="libgdata-&libgdata-version;">
|
---|
16 | <?dbhtml filename="libgdata.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>libgdata-&libgdata-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="libgdata">
|
---|
26 | <primary sortas="a-libgdata">libgdata</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to libgdata</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | The <application>libgdata</application> package is a GLib-based
|
---|
34 | library for accessing online service APIs using the GData protocol, most
|
---|
35 | notably, Google's services. It provides APIs to access the common Google
|
---|
36 | services and has full asynchronous support.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs91_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&libgdata-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&libgdata-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &libgdata-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &libgdata-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &libgdata-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &libgdata-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">libgdata Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
78 | <para role="required">
|
---|
79 | <xref linkend="libsoup"/>,
|
---|
80 | <xref linkend="gnome-online-accounts"/>,
|
---|
81 | <xref linkend="gtk3"/>,
|
---|
82 | <xref linkend="json-glib"/>, and
|
---|
83 | <xref linkend="vala"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
87 | <para role="recommended">
|
---|
88 | <xref linkend="gcr"/>,
|
---|
89 | <xref linkend="git"/>, and
|
---|
90 | <xref linkend="gobject-introspection"/>
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
94 | <para role="optional">
|
---|
95 | <xref linkend="gtk-doc"/> (for documentation),
|
---|
96 | <xref linkend="liboauth"/> (for OAuth v1 support), and
|
---|
97 | <xref linkend="uhttpmock"/> (required for tests)
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <para condition="html" role="usernotes">User Notes:
|
---|
101 | <ulink url="&blfs-wiki;/libgdata"/>
|
---|
102 | </para>
|
---|
103 | </sect2>
|
---|
104 |
|
---|
105 | <sect2 role="installation">
|
---|
106 | <title>Installation of libgdata</title>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | Install <application>libgdata</application> by running the following
|
---|
110 | commands:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen><userinput>mkdir build &&
|
---|
114 | cd build &&
|
---|
115 |
|
---|
116 | meson --prefix=/usr -Dgtk_doc=false -Dalways_build_tests=false .. &&
|
---|
117 | ninja</userinput></screen>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | If you wish to run the test suite, make sure
|
---|
121 | <xref linkend="uhttpmock"/> is installed and remove
|
---|
122 | <parameter>-Dalways_build_tests=false</parameter> in the
|
---|
123 | <command>meson</command> command line. To test the results,
|
---|
124 | issue: <command>ninja test</command>. Note that
|
---|
125 | the tests need network access.
|
---|
126 | </para>
|
---|
127 |
|
---|
128 | <para>
|
---|
129 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
130 | </para>
|
---|
131 |
|
---|
132 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
133 |
|
---|
134 | </sect2>
|
---|
135 |
|
---|
136 | <sect2 role="commands">
|
---|
137 | <title>Command Explanations</title>
|
---|
138 | <para>
|
---|
139 | <parameter>-Dgtk_doc=false</parameter>: Remove this if you have
|
---|
140 | <xref linkend="gtk-doc"/> installed and want to rebuild the
|
---|
141 | documentation with it.
|
---|
142 | </para>
|
---|
143 | <para>
|
---|
144 | <option>-Doauth1=enabled</option>: Use this option if you wish to build
|
---|
145 | in support for OAuth v1. Note that you must have
|
---|
146 | <xref linkend="liboauth"/> installed in order to enable this option.
|
---|
147 | </para>
|
---|
148 |
|
---|
149 | </sect2>
|
---|
150 |
|
---|
151 | <sect2 role="content">
|
---|
152 | <title>Contents</title>
|
---|
153 |
|
---|
154 | <segmentedlist>
|
---|
155 | <segtitle>Installed Programs</segtitle>
|
---|
156 | <segtitle>Installed Libraries</segtitle>
|
---|
157 | <segtitle>Installed Directories</segtitle>
|
---|
158 |
|
---|
159 | <seglistitem>
|
---|
160 | <seg>
|
---|
161 | None
|
---|
162 | </seg>
|
---|
163 | <seg>
|
---|
164 | libgdata.so
|
---|
165 | </seg>
|
---|
166 | <seg>
|
---|
167 | /usr/include/libgdata,
|
---|
168 | /usr/libexec/installed-tests/libgdata,
|
---|
169 | /usr/share/gtk-doc/html/gdata, and
|
---|
170 | /usr/share/installed-tests/libgdata
|
---|
171 | </seg>
|
---|
172 | </seglistitem>
|
---|
173 | </segmentedlist>
|
---|
174 |
|
---|
175 | <variablelist>
|
---|
176 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
177 | <?dbfo list-presentation="list"?>
|
---|
178 | <?dbhtml list-presentation="table"?>
|
---|
179 |
|
---|
180 | <varlistentry id="libgdata-lib">
|
---|
181 | <term><filename class="libraryfile">libgdata.so</filename></term>
|
---|
182 | <listitem>
|
---|
183 | <para>
|
---|
184 | contains the <application>libgdata</application> API functions.
|
---|
185 | </para>
|
---|
186 | <indexterm zone="libgdata libgdata-lib">
|
---|
187 | <primary sortas="c-libgdata">libgdata.so</primary>
|
---|
188 | </indexterm>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | </variablelist>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | </sect1>
|
---|