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">
|
---|
9 | <!ENTITY rest-md5sum "07ae736561aab03ee9bdd451445926ba">
|
---|
10 | <!ENTITY rest-size "328 KB">
|
---|
11 | <!ENTITY rest-buildsize "14 MB (with tests)">
|
---|
12 | <!ENTITY rest-time "0.4 SBU (with tests)">
|
---|
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 |
|
---|
39 | &lfs81_checked;
|
---|
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">
|
---|
79 | <xref linkend="cacerts"/> and
|
---|
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">
|
---|
90 | <xref linkend="gtk-doc"/> and
|
---|
91 | <ulink url="http://ltp.sourceforge.net/coverage/lcov.php">LCOV</ulink>
|
---|
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 |
|
---|
107 | <screen><userinput>./configure --prefix=/usr \
|
---|
108 | --with-ca-certificates=/etc/ssl/ca-bundle.crt &&
|
---|
109 | make</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | To test the results, issue: <command>make check</command>.
|
---|
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 |
|
---|
123 | <sect2 role="commands">
|
---|
124 | <title>Command Explanations</title>
|
---|
125 |
|
---|
126 | <para>
|
---|
127 | <parameter>--with-ca-certificates=/etc/ssl/ca-bundle.crt</parameter>: This
|
---|
128 | switch sets the location of the BLFS <xref linkend="cacerts"/> bundle.
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
132 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
133 |
|
---|
134 | </sect2>
|
---|
135 |
|
---|
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>
|
---|