[411e760] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY librest-download-http "&gnome-download-http;/rest/0.7/rest-&librest-version;.tar.xz">
|
---|
| 8 | <!ENTITY librest-download-ftp "&gnome-download-ftp;/rest/0.7/rest-&librest-version;.tar.xz">
|
---|
| 9 | <!ENTITY librest-md5sum "639d51e9e9276726db93b1b4c46887f2">
|
---|
| 10 | <!ENTITY librest-size "300 KB">
|
---|
| 11 | <!ENTITY librest-buildsize "7.0 MB">
|
---|
| 12 | <!ENTITY librest-time "0.2 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="librest" xreflabel="librest-&librest-version;">
|
---|
| 16 | <?dbhtml filename="librest.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>librest-&librest-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="librest">
|
---|
| 22 | <primary sortas="a-librest">librest</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to librest</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>librest</application> was designed to make it easier to access
|
---|
| 30 | web services that claim to be "RESTful". It includes convenience wrappers
|
---|
| 31 | for libsoup and libxml to ease remote use of the RESTful API.
|
---|
| 32 | </para>
|
---|
| 33 |
|
---|
| 34 | &lfs72_checked;
|
---|
| 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&librest-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&librest-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &librest-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &librest-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &librest-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &librest-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">librest Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
| 74 | <xref linkend="cacerts"/> and
|
---|
| 75 | <xref linkend="libsoup"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 79 | <para role="recommended">
|
---|
| 80 | <xref linkend="gobject-introspection"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
| 85 | <xref linkend="gtk-doc"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <para condition="html" role="usernotes">User Notes:
|
---|
| 89 | <ulink url="&blfs-wiki;/librest"/>
|
---|
| 90 | </para>
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of librest</title>
|
---|
| 95 |
|
---|
| 96 | <para>
|
---|
| 97 | Install <application>librest</application> by running the following
|
---|
| 98 | commands:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 102 | --with-ca-certificates=/etc/ssl/ca-bundle.crt &&
|
---|
| 103 | make</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | <para>
|
---|
| 106 | To test the results, issue: <command>make check</command>.
|
---|
| 107 | </para>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="commands">
|
---|
| 118 | <title>Command Explanations</title>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | <parameter>--with-ca-certificates=/etc/ssl/ca-bundle.crt</parameter>:
|
---|
| 122 | The configure script needs to be pointed to the certificates.
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
| 131 | <segtitle>Installed Programs</segtitle>
|
---|
| 132 | <segtitle>Installed Libraries</segtitle>
|
---|
| 133 | <segtitle>Installed Directories</segtitle>
|
---|
| 134 |
|
---|
| 135 | <seglistitem>
|
---|
| 136 | <seg>
|
---|
| 137 | None
|
---|
| 138 | </seg>
|
---|
| 139 | <seg>
|
---|
| 140 | librest-0.7.so and librest-extras-0.7.so
|
---|
| 141 | </seg>
|
---|
| 142 | <seg>
|
---|
| 143 | /usr/include/rest-0.7 and
|
---|
| 144 | /usr/share/gtk-doc/html/rest-0.7
|
---|
| 145 | </seg>
|
---|
| 146 | </seglistitem>
|
---|
| 147 | </segmentedlist>
|
---|
| 148 |
|
---|
| 149 | <variablelist>
|
---|
| 150 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 151 | <?dbfo list-presentation="list"?>
|
---|
| 152 | <?dbhtml list-presentation="table"?>
|
---|
| 153 |
|
---|
| 154 | <varlistentry id="librest-0">
|
---|
| 155 | <term><filename class="libraryfile">librest-0.7.so</filename></term>
|
---|
| 156 | <listitem>
|
---|
| 157 | <para>
|
---|
| 158 | contains the RESTful Web API Query functions.
|
---|
| 159 | </para>
|
---|
| 160 | <indexterm zone="librest librest-0">
|
---|
| 161 | <primary sortas="c-librest-0">librest-0.7.so</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="librest-extras-0">
|
---|
| 167 | <term><filename class="libraryfile">librest-extras-0.7.so</filename></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>
|
---|
| 170 | contains extra RESTful Web API Query functions.
|
---|
| 171 | </para>
|
---|
| 172 | <indexterm zone="librest librest-extras-0">
|
---|
| 173 | <primary sortas="c-librest-extras-0">librest-extras-0.7.so</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | </variablelist>
|
---|
| 179 |
|
---|
| 180 | </sect2>
|
---|
| 181 |
|
---|
| 182 | </sect1>
|
---|