[8615350] | 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 rest-download-http "&gnome-download-http;/rest/0.8/rest-&rest-version;.tar.xz">
|
---|
| 8 | <!ENTITY rest-download-ftp "&gnome-download-ftp;/rest/0.8/rest-&rest-version;.tar.xz">
|
---|
[ee9107e] | 9 | <!ENTITY rest-md5sum "ece4547298a81105f307369d73c21b9d">
|
---|
| 10 | <!ENTITY rest-size "332 KB">
|
---|
[262a108] | 11 | <!ENTITY rest-buildsize "12.5 MB (with tests)">
|
---|
| 12 | <!ENTITY rest-time "0.2 SBU (with tests)">
|
---|
[8615350] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="rest" xreflabel="rest-&rest-version;" revision="systemd">
|
---|
| 16 | <?dbhtml filename="rest.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>rest-&rest-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="rest">
|
---|
| 26 | <primary sortas="a-rest">rest</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to rest</title>
|
---|
| 31 |
|
---|
| 32 | <para>
|
---|
| 33 | The <application>rest</application> package contains a library
|
---|
| 34 | that was designed to make it easier to access web services that
|
---|
| 35 | claim to be "RESTful". It includes convenience wrappers for
|
---|
| 36 | libsoup and libxml to ease remote use of the RESTful API.
|
---|
| 37 | </para>
|
---|
| 38 |
|
---|
[c503e811] | 39 | &lfs83_checked;
|
---|
[8615350] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&rest-download-http;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&rest-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download MD5 sum: &rest-md5sum;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Download size: &rest-size;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated disk space required: &rest-buildsize;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Estimated build time: &rest-time;
|
---|
| 71 | </para>
|
---|
| 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">rest Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
[2198a32] | 79 | <xref linkend="make-ca"/> and
|
---|
[8615350] | 80 | <xref linkend="libsoup"/>
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
| 85 | <xref linkend="gobject-introspection"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
[9a363500] | 90 | <xref linkend="gtk-doc"/> and
|
---|
| 91 | <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>
|
---|
[8615350] | 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <para condition="html" role="usernotes">User Notes:
|
---|
| 95 | <ulink url="&blfs-wiki;/rest"/>
|
---|
| 96 | </para>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of rest</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Install <application>rest</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[92245989] | 107 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5c3f3856] | 108 | --with-ca-certificates=/etc/pki/tls/certs/ca-bundle.crt &&
|
---|
[8615350] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
[9a363500] | 112 | To test the results, issue: <command>make check</command>.
|
---|
[8615350] | 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <para>
|
---|
| 116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
| 122 |
|
---|
[d278ced] | 123 | <sect2 role="commands">
|
---|
| 124 | <title>Command Explanations</title>
|
---|
| 125 |
|
---|
[30b7db74] | 126 | <para>
|
---|
[5c3f3856] | 127 | <parameter>--with-ca-certificates=/etc/pki/tls/certs/ca-bundle.crt</parameter>:
|
---|
| 128 | This switch sets the location of the BLFS certificate authority bundle.
|
---|
[30b7db74] | 129 | </para>
|
---|
| 130 |
|
---|
[9a363500] | 131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 132 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 133 |
|
---|
[d278ced] | 134 | </sect2>
|
---|
| 135 |
|
---|
[8615350] | 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
| 140 | <segtitle>Installed Programs</segtitle>
|
---|
| 141 | <segtitle>Installed Libraries</segtitle>
|
---|
| 142 | <segtitle>Installed Directories</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>
|
---|
| 146 | None
|
---|
| 147 | </seg>
|
---|
| 148 | <seg>
|
---|
| 149 | librest-0.7.so and librest-extras-0.7.so
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
| 152 | /usr/include/rest-0.7 and
|
---|
| 153 | /usr/share/gtk-doc/html/rest-0.7
|
---|
| 154 | </seg>
|
---|
| 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="librest-0.7">
|
---|
| 164 | <term><filename class="libraryfile">librest-0.7.so</filename></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
| 167 | contains the RESTful Web API Query functions.
|
---|
| 168 | </para>
|
---|
| 169 | <indexterm zone="rest librest-0.7">
|
---|
| 170 | <primary sortas="c-librest-0.7">librest-0.7.so</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="librest-extras-0.7">
|
---|
| 176 | <term><filename class="libraryfile">librest-extras-0.7.so</filename></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>
|
---|
| 179 | contains extra RESTful Web API Query functions.
|
---|
| 180 | </para>
|
---|
| 181 | <indexterm zone="rest librest-extras-0.7">
|
---|
| 182 | <primary sortas="c-librest-extras-0.7">librest-extras-0.7.so</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
| 186 |
|
---|
| 187 | </variablelist>
|
---|
| 188 |
|
---|
| 189 | </sect2>
|
---|
| 190 |
|
---|
| 191 | </sect1>
|
---|