source: gnome/platform/libgdata.xml

trunk
Last change on this file was c0bc0a9, checked in by Xi Ruoyao <xry111@…>, 7 weeks ago

Update to glib-2.80.0 and gobject-introspection-1.80.0

Merge gobject-introspection into glib page to better handle a circular
dependency between these two packages.

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 " ">
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
19 <title>libgdata-&libgdata-version;</title>
20
21 <indexterm zone="libgdata">
22 <primary sortas="a-libgdata">libgdata</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libgdata</title>
27
28 <para>
29 The <application>libgdata</application> package is a GLib-based
30 library for accessing online service APIs using the GData protocol, most
31 notably, Google's services. It provides APIs to access the common Google
32 services and has full asynchronous support.
33 </para>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&libgdata-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&libgdata-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &libgdata-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &libgdata-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &libgdata-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &libgdata-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">libgdata Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="libsoup"/>,
76 <xref linkend="gnome-online-accounts"/>,
77 <xref linkend="gtk3"/>,
78 <xref linkend="json-glib"/>, and
79 <xref linkend="vala"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="gcr"/> and
85 &gobject-introspection;
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="gtk-doc"/> (for documentation),
91 <xref linkend="liboauth"/> (for OAuth v1 support), and
92 <xref linkend="uhttpmock"/> (required for tests)
93 </para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of libgdata</title>
99
100 <para>
101 Install <application>libgdata</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>mkdir build &amp;&amp;
106cd build &amp;&amp;
107
108meson setup --prefix=/usr \
109 --buildtype=release \
110 -Dgtk_doc=false \
111 -Dalways_build_tests=false \
112 .. &amp;&amp;
113ninja</userinput></screen>
114
115 <para>
116 If you wish to run the test suite, make sure
117 <xref linkend="uhttpmock"/> is installed and remove
118 <parameter>-Dalways_build_tests=false</parameter> in the
119 <command>meson</command> command line. To test the results,
120 issue: <command>ninja test</command>. Note that
121 the tests need network access.
122 </para>
123
124 <para>
125 Now, as the <systemitem class="username">root</systemitem> user:
126 </para>
127
128<screen role="root"><userinput>ninja install</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
135 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
136 href="../../xincludes/meson-buildtype-release.xml"/>
137
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 and
168 /usr/share/gtk-doc/html/gdata
169 </seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="libgdata-lib">
179 <term><filename class="libraryfile">libgdata.so</filename></term>
180 <listitem>
181 <para>
182 contains the <application>libgdata</application> API functions
183 </para>
184 <indexterm zone="libgdata libgdata-lib">
185 <primary sortas="c-libgdata">libgdata.so</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 </variablelist>
191
192 </sect2>
193
194</sect1>
Note: See TracBrowser for help on using the repository browser.