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-11.1 platform.
Download (HTTP): https://download.gnome.org/sources/libgdata/0.18/libgdata-0.18.1.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/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.2, gnome-online-accounts-3.40.1, GTK+-3.24.31, JSON-GLib-1.6.6, and Vala-0.54.7
Gcr-3.40.0, git-2.35.1, and gobject-introspection-1.70.0
GTK-Doc-1.33.2 (for documentation), liboauth-1.0.3 (for OAuth v1 support), and uhttpmock-0.5.3 (required for tests)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/libgdata
Install libgdata by running the following commands:
mkdir build && cd build && meson --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.
Last updated on