source: networking/netlibs/uhttpmock.xml

trunk
Last change on this file was c0bc0a9, checked in by Xi Ruoyao <xry111@…>, 6 weeks ago

Update to glib-2.80.0 and gobject-introspection-1.80.0

Merge gobject-introspection into glib page to better handle a circular
dependency between these two packages.

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 uhttpmock-download-http "https://tecnocode.co.uk/downloads/uhttpmock/uhttpmock-&uhttpmock-version;.tar.xz">
8 <!ENTITY uhttpmock-download-ftp " ">
9 <!ENTITY uhttpmock-md5sum "ff303049fb20538f3558164f04986c79">
10 <!ENTITY uhttpmock-size "48 KB">
11 <!ENTITY uhttpmock-buildsize "2.1 MB">
12 <!ENTITY uhttpmock-time "less than 0.1 SBU (with tests)">
13]>
14
15<sect1 id="uhttpmock" xreflabel="uhttpmock-&uhttpmock-version;">
16 <?dbhtml filename="uhttpmock.html"?>
17
18
19 <title>uhttpmock-&uhttpmock-version;</title>
20
21 <indexterm zone="uhttpmock">
22 <primary sortas="a-uhttpmock">uhttpmock</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to uhttpmock</title>
27
28 <para>
29 The <application>uhttpmock</application> package contains a library
30 for mocking web service APIs which use HTTP or HTTPS.
31 </para>
32
33 &lfs121_checked;
34
35 <bridgehead renderas="sect3">Package Information</bridgehead>
36 <itemizedlist spacing="compact">
37 <listitem>
38 <para>
39 Download (HTTP): <ulink url="&uhttpmock-download-http;"/>
40 </para>
41 </listitem>
42 <listitem>
43 <para>
44 Download (FTP): <ulink url="&uhttpmock-download-ftp;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download MD5 sum: &uhttpmock-md5sum;
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download size: &uhttpmock-size;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Estimated disk space required: &uhttpmock-buildsize;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated build time: &uhttpmock-time;
65 </para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">uhttpmock Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="libsoup3"/>
74 </para>
75
76 <bridgehead renderas="sect4">Recommended</bridgehead>
77 <para role="recommended">
78 &gobject-introspection; and
79 <xref linkend="vala"/>
80 </para>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <xref linkend="gtk-doc"/>
85 </para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of uhttpmock</title>
91
92 <para>
93 Install <application>uhttpmock</application> by running the following
94 commands:
95 </para>
96
97<screen><userinput>mkdir build &amp;&amp;
98cd build &amp;&amp;
99
100meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
101ninja</userinput></screen>
102
103 <para>
104 To test the results, issue: <command>ninja test</command>.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>ninja install</userinput></screen>
112
113 </sect2>
114
115 <sect2 role="commands">
116 <title>Command Explanations</title>
117
118 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
119 href="../../xincludes/meson-buildtype-release.xml"/>
120
121 </sect2>
122
123 <sect2 role="content">
124 <title>Contents</title>
125
126 <segmentedlist>
127 <segtitle>Installed Programs</segtitle>
128 <segtitle>Installed Libraries</segtitle>
129 <segtitle>Installed Directories</segtitle>
130
131 <seglistitem>
132 <seg>
133 None
134 </seg>
135 <seg>
136 libuhttpmock-1.0.so
137 </seg>
138 <seg>
139 /usr/include/libuhttpmock-1.0 and
140 /usr/share/gtk-doc/html/libuhttpmock-1.0
141 </seg>
142 </seglistitem>
143 </segmentedlist>
144
145 <variablelist>
146 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
147 <?dbfo list-presentation="list"?>
148 <?dbhtml list-presentation="table"?>
149
150 <varlistentry id="libuhttpmock-1.0">
151 <term><filename class="libraryfile">libuhttpmock-1.0.so</filename></term>
152 <listitem>
153 <para>
154 contains the <application>uhttpmock</application> API functions
155 </para>
156 <indexterm zone="uhttpmock libuhttpmock-1.0">
157 <primary sortas="c-libuhttpmock-1.0">libuhttpmock-1.0.so</primary>
158 </indexterm>
159 </listitem>
160 </varlistentry>
161
162 </variablelist>
163
164 </sect2>
165
166</sect1>
Note: See TracBrowser for help on using the repository browser.