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