The libgdata package is a GLib-based library for accessing online service APIs using the GData protocol, most notably, Google's services. It provides APIs to access the common Google services and has full asynchronous support.
![[Note]](../images/note.png)
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/libgdata/0.18/libgdata-0.18.1.tar.xz
Download MD5 sum: 92b058d1a0af5d1b96c86c21820f1eff
Download size: 832 KB
Estimated disk space required: 54 MB (with tests)
Estimated build time: 0.5 SBU (with tests)
libsoup-2.74.3, gnome-online-accounts-3.48.0, GTK+-3.24.38, JSON-GLib-1.8.0, and Vala-0.56.14
Gcr-3.41.1 and gobject-introspection-1.78.1
GTK-Doc-1.33.2 (for documentation), liboauth-1.0.3 (for OAuth v1 support), and uhttpmock-0.5.3 (required for tests)
Install libgdata by running the following commands:
mkdir build &&
cd build &&
meson setup --prefix=/usr \
--buildtype=release \
-Dgtk_doc=false \
-Dalways_build_tests=false \
.. &&
ninja
If you wish to run the test suite, make sure
uhttpmock-0.5.3 is installed and remove
-Dalways_build_tests=false in the
meson command line. To test the results,
issue: ninja test. Note that
the tests need network access.
Now, as the root user:
ninja install
--buildtype=release: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.
-Dgtk_doc=false: Remove this if you have
GTK-Doc-1.33.2 installed and want to rebuild the
documentation with it.
-Doauth1=enabled: Use this option if you wish to build
in support for OAuth v1. Note that you must have
liboauth-1.0.3 installed in order to enable this option.