source: gnome/platform/rest.xml@ b5c0ca3

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since b5c0ca3 was b5c0ca3, checked in by Douglas R. Reno <renodr@…>, 9 months ago

Tag GNOME Libraries

  • Property mode set to 100644
File size: 6.4 KB
Line 
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.9/rest-&rest-version;.tar.xz">
8 <!ENTITY rest-download-ftp "&gnome-download-ftp;/rest/0.9/rest-&rest-version;.tar.xz">
9 <!ENTITY rest-md5sum "b997b83232be3814a1b78530c5700df9">
10 <!ENTITY rest-size "72 KB">
11 <!ENTITY rest-buildsize "3.2 MB (with tests)">
12 <!ENTITY rest-time "0.1 SBU (with tests)">
13]>
14
15<sect1 id="rest" xreflabel="rest-&rest-version;">
16 <?dbhtml filename="rest.html"?>
17
18
19 <title>rest-&rest-version;</title>
20
21 <indexterm zone="rest">
22 <primary sortas="a-rest">rest</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to rest</title>
27
28 <para>
29 The <application>rest</application> package contains a library
30 that was designed to make it easier to access web services that
31 claim to be "RESTful". It includes convenience wrappers for
32 libsoup and libxml to ease remote use of the RESTful API.
33 </para>
34
35 &lfs120_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&rest-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&rest-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &rest-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &rest-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &rest-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &rest-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">rest Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="json-glib"/>,
76 <xref linkend="libsoup3"/>, and
77 <xref linkend="make-ca"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="gobject-introspection"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="gi-docgen"/>,
88 <xref linkend="libadwaita1"/> and
89 <xref linkend="gtksourceview5"/> (to build the demo), and
90 <xref linkend="vala"/>
91 </para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of rest</title>
97
98 <para>
99 Install <application>rest</application> by running the following
100 commands:
101 </para>
102
103<screen><userinput>mkdir build &amp;&amp;
104cd build &amp;&amp;
105
106meson setup --prefix=/usr \
107 --buildtype=release \
108 -Dexamples=false \
109 -Dgtk_doc=false \
110 .. &amp;&amp;
111ninja</userinput></screen>
112
113 <para>
114 If you have <xref linkend='gi-docgen'/> installed and wish to build
115 the API documentation for this package, issue:
116 </para>
117
118<screen role='nodump'><userinput>sed "/output/s/librest-1.0/rest-&rest-version;/" -i ../docs/meson.build &amp;&amp;
119meson configure -Dgtk_doc=true &amp;&amp;
120ninja</userinput></screen>
121
122 <para>
123 To test the results, issue: <command>ninja test</command>.
124 </para>
125
126 <para>
127 Now, as the <systemitem class="username">root</systemitem> user:
128 </para>
129
130<screen role="root"><userinput>ninja install</userinput></screen>
131
132 </sect2>
133
134 <sect2 role="commands">
135 <title>Command Explanations</title>
136
137 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
138 href="../../xincludes/meson-buildtype-release.xml"/>
139
140 <para>
141 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
142 </para>
143
144 <para>
145 <parameter>-Dexamples=false</parameter>: Remove this option if
146 <xref linkend="libadwaita1"/> and <xref linkend="gtksourceview5"/> are
147 installed and you wish to build the demonstration application provided
148 by this package.
149 </para>
150
151 <para>
152 <option>-Dvapi=true</option>: Use this switch if <xref linkend="vala"/>
153 is installed and you wish to build the Vala bindings provided by this
154 package.
155 </para>
156 </sect2>
157
158 <sect2 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Programs</segtitle>
163 <segtitle>Installed Libraries</segtitle>
164 <segtitle>Installed Directories</segtitle>
165
166 <seglistitem>
167 <seg>
168 librest-demo (optional)
169 </seg>
170 <seg>
171 librest-1.0.so and librest-extras-1.0.so
172 </seg>
173 <seg>
174 /usr/include/rest-1.0 and
175 /usr/share/gtk-doc/html/rest-1.0
176 </seg>
177 </seglistitem>
178 </segmentedlist>
179
180 <variablelist>
181 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
182 <?dbfo list-presentation="list"?>
183 <?dbhtml list-presentation="table"?>
184
185 <varlistentry id="librest-demo">
186 <term><command>librest-demo</command></term>
187 <listitem>
188 <para>
189 provides an example of how to use the RESTful Web API Query
190 functions
191 </para>
192 <indexterm zone="rest librest-demo">
193 <primary sortas="b-librest-demo">librest-demo</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="librest-1.0">
199 <term><filename class="libraryfile">librest-1.0.so</filename></term>
200 <listitem>
201 <para>
202 contains the RESTful Web API Query functions
203 </para>
204 <indexterm zone="rest librest-1.0">
205 <primary sortas="c-librest-1.0">librest-1.0.so</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="librest-extras-1.0">
211 <term><filename class="libraryfile">librest-extras-1.0.so</filename></term>
212 <listitem>
213 <para>
214 contains extra RESTful Web API Query functions
215 </para>
216 <indexterm zone="rest librest-extras-1.0">
217 <primary sortas="c-librest-extras-1.0">librest-extras-1.0.so</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 </variablelist>
223
224 </sect2>
225
226</sect1>
Note: See TracBrowser for help on using the repository browser.