msgraph-0.3.4

#### Supplemental Linux® From Scratch - Version 13.0

### Chapter 2. General Libraries

- Prev

  minizip from zlib-1.3.2

- Next

  nlohmann-json-3.12.0

- Up
- Home

# msgraph-0.3.4

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

- Download: https://download.gnome.org/sources/msgraph/0.3/msgraph-0.3.4.tar.xz

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

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

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

### Short Descriptions

`libmsgraph-1` | contains functions that allow applications to interact with the Microsoft Graph API.

- Prev

  minizip from zlib-1.3.2

- Next

  nlohmann-json-3.12.0

- Up
- Home