source: general/genlib/umockdev.xml@ 3609a85

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3609a85 was 3609a85, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to gnome-settings-daemon-3.36.0
Add umockdev to the book
Adjust libgudev so that the test suite is present
Change the umockdev reference from external to internal in gnome-settings-daemon and upower
Move notification-daemon to System Utilities
Move polkit-gnome to Security

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22934 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.1 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 umockdev-download-http "https://github.com/martinpitt/umockdev/releases/download/&umockdev-version;/umockdev-&umockdev-version;.tar.xz">
8 <!ENTITY umockdev-download-ftp " ">
9 <!ENTITY umockdev-md5sum "6c8c200017986aba95e8ee756ccef88a">
10 <!ENTITY umockdev-size "744 KB">
11 <!ENTITY umockdev-buildsize "13 MB">
12 <!ENTITY umockdev-time "0.2 SBU">
13
14]>
15
16<sect1 id="umockdev" xreflabel="umockdev-&umockdev-version;">
17 <?dbhtml filename="umockdev.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Umockdev-&umockdev-version;</title>
25
26 <indexterm zone="umockdev">
27 <primary sortas="a-umockdev">umockdev</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Umockdev</title>
32
33 <para>
34 The <application>Umockdev</application> package contains a framework
35 that allows a developer to mock devices for use in unit testing.
36 </para>
37
38 &lfs91_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&umockdev-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&umockdev-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &umockdev-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &umockdev-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &umockdev-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &umockdev-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Umockdev Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="libgudev"/> and
79 <xref linkend="vala"/>
80 </para>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <ulink url="http://www.gphoto.org/">libgphoto2</ulink> (optional for tests)
85 </para>
86
87 <para condition="html" role="usernotes">
88 User Notes: <ulink url="&blfs-wiki;/umockdev"/>
89 </para>
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of Umockdev</title>
94
95 <para>
96 Install <application>Umockdev</application> by running the following
97 commands:
98 </para>
99
100<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 To test the results, issue: <command>make check</command>.
105 </para>
106
107 <para>
108 Now, as the <systemitem class="username">root</systemitem> user:
109 </para>
110
111<screen role="root"><userinput>make install</userinput></screen>
112 </sect2>
113
114 <sect2 role="commands">
115 <title>Command Explanations</title>
116
117 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
118 href="../../xincludes/static-libraries.xml"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
121 href="../../xincludes/gtk-doc-rebuild.xml"/>
122
123 </sect2>
124
125 <sect2 role="content">
126 <title>Contents</title>
127
128 <segmentedlist>
129 <segtitle>Installed Programs</segtitle>
130 <segtitle>Installed Libraries</segtitle>
131 <segtitle>Installed Directories</segtitle>
132
133 <seglistitem>
134 <seg>
135 umockdev-record,
136 umockdev-run, and
137 umockdev-wrapper
138 </seg>
139 <seg>
140 libumockdev-preload.so.0 <!-- Only intended for use by
141 umockdev-wrapper. Don't put in a short description for this--> and
142 libumockdev.so
143 </seg>
144 <seg>
145 /usr/include/umockdev-1.0 and
146 /usr/share/doc/umockdev
147 </seg>
148 </seglistitem>
149 </segmentedlist>
150
151 <variablelist>
152 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
153 <?dbfo list-presentation="list"?>
154 <?dbhtml list-presentation="table"?>
155
156 <varlistentry id="umockdev-record">
157 <term><command>umockdev-record</command></term>
158 <listitem>
159 <para>
160 records Linux devices and their ancestors from sysfs/udev or
161 records ioctls for a device.
162 </para>
163 <indexterm zone="umockdev umockdev-record">
164 <primary sortas="b-umockdev-record">umockdev-record</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 <varlistentry id="umockdev-run">
170 <term><command>umockdev-run</command></term>
171 <listitem>
172 <para>
173 runs a program under an <application>umockdev</application>
174 testbed.
175 </para>
176 <indexterm zone="umockdev umockdev-run">
177 <primary sortas="b-umockdev-run">umockdev-run</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 <varlistentry id="umockdev-wrapper">
183 <term><command>umockdev-wrapper</command></term>
184 <listitem>
185 <para>
186 wraps a program around
187 <filename class="libraryfile">libumockdev-preload.so.0</filename>
188 through LD_PRELOAD.
189 </para>
190 <indexterm zone="umockdev umockdev-wrapper">
191 <primary sortas="b-umockdev-wrapper">umockdev-wrapper</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="libumockdev">
197 <term><filename class="libraryfile">libumockdev.so</filename></term>
198 <listitem>
199 <para>
200 provides API functions that allow mocking hardware devices for unit
201 testing.
202 </para>
203 <indexterm zone="umockdev libumockdev">
204 <primary sortas="c-libumockdev">libumockdev.so</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208 </variablelist>
209 </sect2>
210</sect1>
Note: See TracBrowser for help on using the repository browser.