libgdata-0.18.1

Introduction to libgdata

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.

This package is known to build and work properly using an LFS 12.1 platform.

Package Information

libgdata Dependencies

Required

libsoup-2.74.3, gnome-online-accounts-3.48.0, GTK+-3.24.41, JSON-GLib-1.8.0, and Vala-0.56.14

Recommended

Optional

GTK-Doc-1.33.2 (for documentation), liboauth-1.0.3 (for OAuth v1 support), and uhttpmock-0.5.3 (required for tests)

Installation of libgdata

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

Command Explanations

--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.

Contents

Installed Programs: None
Installed Libraries: libgdata.so
Installed Directories: /usr/include/libgdata and /usr/share/gtk-doc/html/gdata

Short Descriptions

libgdata.so

contains the libgdata API functions