source: general/genlib/libgusb.xml@ b912fbb

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since b912fbb was b912fbb, checked in by Douglas R. Reno <renodr@…>, 16 months ago

Update to libgusb-0.4.5

  • Property mode set to 100644
File size: 5.7 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 libgusb-download-http "https://github.com/hughsie/libgusb/releases/download/&libgusb-version;/libgusb-&libgusb-version;.tar.xz">
8 <!ENTITY libgusb-download-ftp " ">
9 <!ENTITY libgusb-md5sum "6b8dfb57b2828562ed007fc84ab6af67">
10 <!ENTITY libgusb-size "52 KB">
11 <!ENTITY libgusb-buildsize "2.6 MB (with tests)">
12 <!ENTITY libgusb-time "less than 0.1 SBU (with tests)">
13]>
14
15<sect1 id="libgusb" xreflabel="libgusb-&libgusb-version;">
16 <?dbhtml filename="libgusb.html"?>
17
18
19 <title>libgusb-&libgusb-version;</title>
20
21 <indexterm zone="libgusb">
22 <primary sortas="a-libgusb">libgusb</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to libgusb</title>
27
28 <para>
29 The <application>libgusb</application> package contains the GObject
30 wrappers for <application>libusb-1.0</application> that makes it
31 easy to do asynchronous control, bulk and interrupt transfers with
32 proper cancellation and integration into a mainloop.
33 </para>
34
35 &lfs112_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&libgusb-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&libgusb-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &libgusb-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &libgusb-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &libgusb-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &libgusb-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">libgusb Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="json-glib"/> and
76 <xref linkend="libusb"/>
77 </para>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="gobject-introspection"/>,
82 <xref linkend="umockdev"/>,
83 <xref linkend="usbutils"/> (for <filename>usb.ids</filename> data file,
84 which is also required for the tests), and
85 <xref linkend="vala"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="gi-docgen"/>
91 </para>
92
93 <para condition="html" role="usernotes">
94 User Notes: <ulink url="&blfs-wiki;/libgusb"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of libgusb</title>
100
101 <para>
102 Install <application>libgusb</application> by running the following
103 commands:
104 </para>
105
106 <screen><userinput>mkdir build &amp;&amp;
107cd build &amp;&amp;
108
109meson --prefix=/usr --buildtype=release -Ddocs=false .. &amp;&amp;
110ninja</userinput></screen>
111
112 <para>
113 To test the results, issue: <command>ninja test</command>.
114 </para>
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>ninja install</userinput></screen>
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
127 href="../../xincludes/meson-buildtype-release.xml"/>
128
129 <para>
130 <parameter>-Ddocs=false</parameter>: building documentation needs
131 <xref linkend="gi-docgen"/>. Remove this switch if you have
132 installed <application>gi-docgen</application>, and you wish to build
133 the API documentation. If this option is used, use the following
134 command to fix the directory name of the API documentation after
135 this package is installed:
136 </para>
137
138<screen role='nodump'><userinput>mv -v /usr/share/doc/libgusb{,-&libgusb-version;}</userinput></screen>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Library</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <seglistitem>
151 <seg>
152 gusbcmd
153 </seg>
154 <seg>
155 libgusb.so
156 </seg>
157 <seg>
158 /usr/include/gusb-1 and
159 /usr/share/doc/libgusb-&libgusb-version; (if gi-docgen is used)
160 </seg>
161 </seglistitem>
162 </segmentedlist>
163
164 <variablelist>
165 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
166 <?dbfo list-presentation="list"?>
167 <?dbhtml list-presentation="table"?>
168
169 <varlistentry id="gusbcmd">
170 <term><command>gusbcmd</command></term>
171 <listitem>
172 <para>
173 is a debugging tool for the libgusb library
174 </para>
175 <indexterm zone="libgusb gusbcmd">
176 <primary sortas="b-gusbcmd">gusbcmd</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="libgusb-lib">
182 <term><filename class="libraryfile">libgusb.so</filename></term>
183 <listitem>
184 <para>
185 contains the <application>libgusb</application> API functions
186 </para>
187 <indexterm zone="libgusb libgusb-lib">
188 <primary sortas="c-libgusb">libgusb.so</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.