msgraph-0.3.3

Introduction to msgraph

The msgraph package contains a shared library for accessing the Microsoft Graph API. This is useful for adding support for OneDrive into gvfs, which is becoming more important for students and remote workers.

msgraph Dependencies

Required

gnome-online-accounts

Optional

uhttpmock (for tests)

Installation of msgraph

Install msgraph by running the following commands:

mkdir build &&
cd    build &&

meson setup --prefix=/usr --buildtype=release -D tests=false .. &&
ninja

This package does come with a test suite, but it requires the external program uhttpmock. If you want to run the tests, install uhttpmock and remove the -D tests=false parameter, and then run ninja test.

Now, as the root user:

ninja install

Using msgraph

To configure msgraph to allow access to Microsoft OneDrive with packages that use gvfs, you should rebuild gvfs in BLFS without the -D onedrive=false option. After doing this, you should go to GNOME Control Center/GNOME Settings and link your Microsoft account through the Online Accounts section, and you should be able to mount your OneDrive file storage account in Nautilus.

Contents

Installed Programs: None
Installed Libraries: libmsgraph-1
Installed Directories: /usr/include/msg and /usr/share/doc/msgraph-0.3.3

Short Descriptions

libmsgraph-1

contains functions that allow applications to interact with the Microsoft Graph API.