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