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 uhttpmock-download-http "http://tecnocode.co.uk/downloads/uhttpmock/uhttpmock-&uhttpmock-version;.tar.xz">
|
---|
8 | <!ENTITY uhttpmock-download-ftp " ">
|
---|
9 | <!ENTITY uhttpmock-md5sum "0c6aa414cfddada4e6d0ae292cbaa667">
|
---|
10 | <!ENTITY uhttpmock-size "284 KB">
|
---|
11 | <!ENTITY uhttpmock-buildsize "50 MB">
|
---|
12 | <!ENTITY uhttpmock-time "1.0 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="uhttpmock" xreflabel="uhttpmock-&uhttpmock-version;">
|
---|
16 | <?dbhtml filename="uhttpmock.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>uhttpmock-&uhttpmock-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="uhttpmock">
|
---|
26 | <primary sortas="a-uhttpmock">uhttpmock</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to uhttpmock</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>uhttpmock</application> is a HTTP web service mocking project for projects which use libsoup.
|
---|
34 | It is used by applications like libgdata for unit testing. This project is still in its infancy.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs75_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&uhttpmock-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&uhttpmock-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &uhttpmock-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &uhttpmock-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &uhttpmock-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &uhttpmock-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">uhttpmock Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="glib2"/>, and
|
---|
78 | <xref linkend="libsoup"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
82 | <para role="recommended">
|
---|
83 | <xref linkend="gobject-introspection"/>
|
---|
84 | </para>
|
---|
85 |
|
---|
86 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
87 | <para role="optional">
|
---|
88 | <xref linkend="gtk-doc"/>, and
|
---|
89 | <xref linkend="vala"/>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <para condition="html" role="usernotes">User Notes:
|
---|
93 | <ulink url="&blfs-wiki;/uhttpmock"/>
|
---|
94 | </para>
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
98 | <title>Installation of uhttpmock</title>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Install <application>uhttpmock</application> by running the following
|
---|
102 | commands:
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <screen><userinput>./configure --prefix=/usr \
|
---|
106 | --sysconfdir=/etc &&
|
---|
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 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
125 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="content">
|
---|
130 | <title>Contents</title>
|
---|
131 |
|
---|
132 | <segmentedlist>
|
---|
133 | <segtitle>Installed Programs</segtitle>
|
---|
134 | <segtitle>Installed Directories</segtitle>
|
---|
135 |
|
---|
136 | <seglistitem>
|
---|
137 | <seg>
|
---|
138 | uhttpmock and uhttpmock-preferences
|
---|
139 | </seg>
|
---|
140 | <seg>
|
---|
141 | /usr/include/uhttpmock-1.0,
|
---|
142 | /usr/lib/uhttpmock-1.0 and
|
---|
143 | /usr/share/uhttpmock
|
---|
144 | </seg>
|
---|
145 | </seglistitem>
|
---|
146 | </segmentedlist>
|
---|
147 |
|
---|
148 | <variablelist>
|
---|
149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
150 | <?dbfo list-presentation="list"?>
|
---|
151 | <?dbhtml list-presentation="table"?>
|
---|
152 |
|
---|
153 | <varlistentry id="uhttpmock-prog">
|
---|
154 | <term><command>uhttpmock</command></term>
|
---|
155 | <listitem>
|
---|
156 | <para>
|
---|
157 | is the media server.
|
---|
158 | </para>
|
---|
159 | <indexterm zone="uhttpmock uhttpmock-prog">
|
---|
160 | <primary sortas="b-uhttpmock">uhttpmock</primary>
|
---|
161 | </indexterm>
|
---|
162 | </listitem>
|
---|
163 | </varlistentry>
|
---|
164 |
|
---|
165 | </variablelist>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | </sect1>
|
---|