source: general/genlib/libgusb.xml@ 3f2db3a6

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 xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3f2db3a6 was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 5.2 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://people.freedesktop.org/~hughsient/releases/libgusb-&libgusb-version;.tar.xz">
8 <!ENTITY libgusb-download-ftp " ">
9 <!ENTITY libgusb-md5sum "32367173c06f1837e9cb943e778764cd">
10 <!ENTITY libgusb-size "48 KB">
11 <!ENTITY libgusb-buildsize "2.0 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 <!-- broken, needs gtkdoc-scan which is not in recent versions
82 <xref linkend="gtk-doc"/>,
83--> <xref linkend="gobject-introspection"/>,
84 <xref linkend="usbutils"/> (for <filename>usb.ids</filename> data file,
85 which is also required for the tests), and
86 <xref linkend="vala"/>
87 </para>
88
89 <para condition="html" role="usernotes">
90 User Notes: <ulink url="&blfs-wiki;/libgusb"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of libgusb</title>
96
97 <para>
98 Install <application>libgusb</application> by running the following
99 commands:
100 </para>
101
102 <screen><userinput>mkdir build &amp;&amp;
103cd build &amp;&amp;
104
105meson --prefix=/usr --buildtype=release -Ddocs=false .. &amp;&amp;
106ninja</userinput></screen>
107
108 <para>
109 To test the results, issue: <command>ninja test</command>.
110 </para>
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>ninja install</userinput></screen>
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
123 href="../../xincludes/meson-buildtype-release.xml"/>
124
125 <para>
126 <parameter>-Ddocs=false</parameter>: building documentation needs an old
127 version of <application>GTK-Doc</application>, so it has to be disabled.
128 </para>
129
130 </sect2>
131
132 <sect2 role="content">
133 <title>Contents</title>
134
135 <segmentedlist>
136 <segtitle>Installed Programs</segtitle>
137 <segtitle>Installed Library</segtitle>
138 <segtitle>Installed Directories</segtitle>
139
140 <seglistitem>
141 <seg>
142 gusbcmd
143 </seg>
144 <seg>
145 libgusb.so
146 </seg>
147 <seg>
148 /usr/include/gusb-1 and
149 /usr/share/gtk-doc/html/gusb (if gtk-doc is used)
150 </seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="gusbcmd">
160 <term><command>gusbcmd</command></term>
161 <listitem>
162 <para>
163 is a debugging tool for the libgusb library
164 </para>
165 <indexterm zone="libgusb gusbcmd">
166 <primary sortas="b-gusbcmd">gusbcmd</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 <varlistentry id="libgusb-lib">
172 <term><filename class="libraryfile">libgusb.so</filename></term>
173 <listitem>
174 <para>
175 contains the <application>libgusb</application> API functions
176 </para>
177 <indexterm zone="libgusb libgusb-lib">
178 <primary sortas="c-libgusb">libgusb.so</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 </variablelist>
184
185 </sect2>
186
187</sect1>
Note: See TracBrowser for help on using the repository browser.