rest-0.8.1

#### Beyond Linux® From Scratch (systemd Edition) - Version 9.0

### Chapter 33. GNOME Libraries and Desktop

- Prev

  libsecret-0.18.8

- Next

  totem-pl-parser-3.26.3

- Up
- Home

# rest-0.8.1

## Introduction to rest

The rest package contains a library that was designed to make it easier to access web services that claim to be "RESTful". It includes convenience wrappers for libsoup and libxml to ease remote use of the RESTful API.

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

### Package Information

- Download (HTTP): http://ftp.gnome.org/pub/gnome/sources/rest/0.8/rest-0.8.1.tar.xz

- Download (FTP): ftp://ftp.gnome.org/pub/gnome/sources/rest/0.8/rest-0.8.1.tar.xz

- Download MD5 sum: ece4547298a81105f307369d73c21b9d

- Download size: 332 KB

- Estimated disk space required: 12.5 MB (with tests)

- Estimated build time: 0.2 SBU (with tests)

### rest Dependencies

#### Required

make-ca-1.4 and libsoup-2.66.2

#### Recommended

gobject-introspection-1.60.2

#### Optional

GTK-Doc-1.32 and LCOV

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/rest

## Installation of rest

Install rest by running the following commands:

    ./configure --prefix=/usr \
        --with-ca-certificates=/etc/pki/tls/certs/ca-bundle.crt &&
    make

To test the results, issue: make check. The flickr test will fail due to Public API changes on their site. The OAuth tests will fail because the website that it uses to test connectivity via OAuth no longer exists.

Now, as the `root` user:

    make install

## Command Explanations

`--with-ca-certificates=/etc/pki/tls/certs/ca-bundle.crt`: This switch sets the location of the BLFS certificate authority bundle.

`--enable-gtk-doc`: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

## Contents

Installed Programs: None
Installed Libraries: librest-0.7.so and librest-extras-0.7.so
Installed Directories: /usr/include/rest-0.7 and /usr/share/gtk-doc/html/rest-0.7

### Short Descriptions

`librest-0.7.so` | contains the RESTful Web API Query functions.
`librest-extras-0.7.so` | contains extra RESTful Web API Query functions.

Last updated on 2019-08-19 22:59:27 -0700

- Prev

  libsecret-0.18.8

- Next

  totem-pl-parser-3.26.3

- Up
- Home