v4l-utils: several tweaks to the page

- Change the formatting for the meson command to be standard with other
  pages in the book
- Fix the commands for installing the contrib files (no sdlcam since we
  don't have SDL_Image in the book, remove $DESTDIR, etc)
- Add command explanations for the two contrib utilities
- Remove extraneous spaces in between commands
This commit is contained in:
Douglas R. Reno 2023-12-18 12:13:56 -06:00
parent d5ffede8db
commit 372c4ce3d7

View File

@ -122,9 +122,11 @@
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup --prefix=/usr -Ddoxygen-doc=disabled \
-Dgconv=disabled --buildtype=release ..
meson setup --prefix=/usr \
-Ddoxygen-doc=disabled \
-Dgconv=disabled \
--buildtype=release .. &amp;&amp;
ninja</userinput></screen>
@ -136,15 +138,15 @@ ninja</userinput></screen>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
<screen role="root"><userinput>ninja install</userinput></screen>
<para>
If you also wish to install the contrib programs, add:
</para>
<screen role="root"><userinput>for prog in sdlcam v4l2gl v4l2grab
<screen role="root"><userinput>for prog in v4l2gl v4l2grab
do
cp -v contrib/test/$prog $DESTDIR/usr/bin/.
cp -v contrib/test/$prog /usr/bin
done</userinput></screen>
@ -190,7 +192,9 @@ done</userinput></screen>
rds-ctl,
v4l2-compliance,
v4l2-ctl,
v4l2-dbg, and
v4l2-dbg,
v4l2gl,
v4l2grab, and
v4l2-sysfs-path
</seg>
<seg>
@ -404,6 +408,32 @@ done</userinput></screen>
</listitem>
</varlistentry>
<varlistentry id="v4l2gl">
<term><command>v4l2gl</command></term>
<listitem>
<para>
captures images using libv4l and stores them as PPM files
</para>
<indexterm zone="v4l-utils v4l2gl">
<primary sortas="b-v4l2gl">v4l2gl</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="v4l2grab">
<term><command>v4l2grab</command></term>
<listitem>
<para>
captures images using libv4l and stores them as PPM files, while
also allowing for additonal options such as setting the amount of
frames captured and saving the file as a RAW file
</para>
<indexterm zone="v4l-utils v4l2grab">
<primary sortas="b-v4l2grab">v4l2grab</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="v4l2-sysfs-path">
<term><command>v4l2-sysfs-path</command></term>
<listitem>