[3bef2f0] | 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 |
|
---|
[f4f11ec4] | 7 | <!ENTITY cheese-download-http "&gnome-download-http;/cheese/&gnome-43;/cheese-&cheese-version;.tar.xz">
|
---|
| 8 | <!ENTITY cheese-download-ftp "&gnome-download-ftp;/cheese/&gnome-43;/cheese-&cheese-version;.tar.xz">
|
---|
| 9 | <!ENTITY cheese-md5sum "176f154ef15bed6df77fe69e2c308879">
|
---|
[4184d4d] | 10 | <!ENTITY cheese-size "1.0 MB">
|
---|
[f4f11ec4] | 11 | <!ENTITY cheese-buildsize "19 MB">
|
---|
[5a82b26f] | 12 | <!ENTITY cheese-time "0.2 SBU">
|
---|
[3bef2f0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="cheese" xreflabel="Cheese-&cheese-version;">
|
---|
| 16 | <?dbhtml filename="cheese.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Cheese-&cheese-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="cheese">
|
---|
| 22 | <primary sortas="a-Cheese">Cheese</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Cheese</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
[1ca1a68f] | 29 | <application>Cheese</application> is used to take
|
---|
| 30 | photos and videos with fun graphical effects.
|
---|
[3bef2f0] | 31 | </para>
|
---|
| 32 |
|
---|
[58ebeee] | 33 | &lfs113_checked;
|
---|
[3bef2f0] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&cheese-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&cheese-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &cheese-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &cheese-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &cheese-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &cheese-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
[eb305e7b] | 68 |
|
---|
[3bef2f0] | 69 | <bridgehead renderas="sect3">Cheese Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[2927f48] | 73 | <xref linkend="clutter-gst"/>,
|
---|
[3bef2f0] | 74 | <xref linkend="clutter-gtk"/>,
|
---|
| 75 | <xref linkend="gnome-desktop"/>,
|
---|
[1ca1a68f] | 76 | <xref linkend="gst10-plugins-bad"/>,
|
---|
[80dbc4c8] | 77 | <xref linkend="gst10-plugins-good"/> (built with <xref linkend="v4l-utils"/>),
|
---|
[948f91a1] | 78 | <xref linkend="libcanberra"/>, and
|
---|
| 79 | <xref linkend="libgudev"/>
|
---|
[3bef2f0] | 80 | </para>
|
---|
| 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 83 | <para role="recommended">
|
---|
[0c48142] | 84 | <xref role="runtime" linkend="gnome-video-effects"/> (at runtime, for video effects),
|
---|
[843c02a9] | 85 | <xref linkend="gobject-introspection"/> and
|
---|
[1ca1a68f] | 86 | <xref linkend="vala"/>
|
---|
[3bef2f0] | 87 | </para>
|
---|
| 88 |
|
---|
| 89 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 90 | <para role="optional">
|
---|
[30712eb] | 91 | <xref linkend="gtk-doc"/>,
|
---|
[4f5369a] | 92 | <xref linkend="libxslt"/>,
|
---|
[827ba01c] | 93 | <ulink url="&appstream-glib-url;">appstream-glib</ulink>,
|
---|
[17aa21c] | 94 | <ulink url="https://ltp.sourceforge.net/coverage/lcov.php"> LCOV </ulink>, and
|
---|
[8e16ba1] | 95 | <ulink url="&gnome-download-http;/nautilus-sendto/">Nautilus SendTo</ulink>
|
---|
[3bef2f0] | 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">User Notes:
|
---|
| 99 | <ulink url="&blfs-wiki;/cheese"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
[9b175e27] | 103 | <sect2 role="kernel" id="cheese-kernel">
|
---|
| 104 | <title>Kernel Configuration</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Depending on your camera, enable the appropriate options and recompile the
|
---|
| 108 | kernel if necessary:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen><literal>Device Drivers --->
|
---|
| 112 | Multimedia support --->
|
---|
[ec047148] | 113 | <*> Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends) [CONFIG_MEDIA_SUBDRV_AUTOSELECT]
|
---|
[8558044] | 114 | Media device types --->
|
---|
[ec047148] | 115 | <*> Cameras/video grabbers support [CONFIG_MEDIA_CAMERA_SUPPORT]
|
---|
| 116 | Media drivers --->
|
---|
| 117 | <*> Media USB Adapters ---> [CONFIG_MEDIA_USB_SUPPORT]
|
---|
| 118 | Select device(s) as needed</literal></screen>
|
---|
[9b175e27] | 119 |
|
---|
| 120 | <indexterm zone="cheese cheese-kernel">
|
---|
| 121 | <primary sortas="d-cheese">cheese</primary>
|
---|
| 122 | </indexterm>
|
---|
| 123 | </sect2>
|
---|
[a78d8510] | 124 |
|
---|
[3bef2f0] | 125 | <sect2 role="installation">
|
---|
| 126 | <title>Installation of Cheese</title>
|
---|
| 127 |
|
---|
[4184d4d] | 128 | <para>
|
---|
[3bef2f0] | 129 | Install <application>Cheese</application> by running the following
|
---|
| 130 | commands:
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
[4184d4d] | 133 | <screen><userinput>mkdir build &&
|
---|
| 134 | cd build &&
|
---|
[bf259cfe] | 135 |
|
---|
[f4f11ec4] | 136 | meson --prefix=/usr \
|
---|
| 137 | --buildtype=release \
|
---|
| 138 | -Dgtk_doc=false \
|
---|
| 139 | -Dtests=true .. &&
|
---|
[4184d4d] | 140 | ninja</userinput></screen>
|
---|
[3bef2f0] | 141 |
|
---|
[f4f11ec4] | 142 | <para>
|
---|
| 143 | To test the results, issue: <command>ninja test</command>
|
---|
[3eb09b31] | 144 | </para>
|
---|
| 145 |
|
---|
[3bef2f0] | 146 | <para>
|
---|
| 147 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 148 | </para>
|
---|
| 149 |
|
---|
[4184d4d] | 150 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[3bef2f0] | 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
[ec047148] | 154 | <sect2 role="commands">
|
---|
| 155 | <title>Command Explanations</title>
|
---|
| 156 |
|
---|
[adf17153] | 157 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 158 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 159 |
|
---|
[ec047148] | 160 | <para>
|
---|
| 161 | <parameter>-Dgtk_doc=false</parameter>: This switch prevents the build
|
---|
| 162 | system from generating and installing the API documentation. Omit this
|
---|
| 163 | switch if you have <xref linkend="gtk-doc" role="nodep"/> installed
|
---|
[2a8945c4] | 164 | and wish to generate and install the API documentation. Building the
|
---|
| 165 | documentation is broken due to an incompatibility with gtk-doc.
|
---|
[ec047148] | 166 | </para>
|
---|
[f4f11ec4] | 167 |
|
---|
| 168 | <para>
|
---|
| 169 | <parameter>-Dtests=true</parameter>: This switch allows building the
|
---|
| 170 | tests so that the test suite can be run. Remove this switch if you are
|
---|
| 171 | not going to run the tests.
|
---|
| 172 | </para>
|
---|
[ec047148] | 173 | </sect2>
|
---|
| 174 |
|
---|
[3bef2f0] | 175 | <sect2 role="content">
|
---|
| 176 | <title>Contents</title>
|
---|
| 177 |
|
---|
| 178 | <segmentedlist>
|
---|
| 179 | <segtitle>Installed Program</segtitle>
|
---|
| 180 | <segtitle>Installed Library</segtitle>
|
---|
| 181 | <segtitle>Installed Directories</segtitle>
|
---|
| 182 |
|
---|
| 183 | <seglistitem>
|
---|
| 184 | <seg>
|
---|
| 185 | cheese
|
---|
| 186 | </seg>
|
---|
| 187 | <seg>
|
---|
| 188 | libcheese.so and libcheese-gtk.so
|
---|
| 189 | </seg>
|
---|
| 190 | <seg>
|
---|
[a78d8510] | 191 | /usr/{include,share/gtk-doc/html,share/help/*}/cheese
|
---|
[3bef2f0] | 192 | </seg>
|
---|
| 193 | </seglistitem>
|
---|
| 194 | </segmentedlist>
|
---|
| 195 |
|
---|
| 196 | <variablelist>
|
---|
| 197 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 198 | <?dbfo list-presentation="list"?>
|
---|
| 199 | <?dbhtml list-presentation="table"?>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="cheese-prog">
|
---|
| 202 | <term><command>cheese</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>
|
---|
[4c24eb0a] | 205 | is a webcam tool with graphical effects
|
---|
[3bef2f0] | 206 | </para>
|
---|
| 207 | <indexterm zone="cheese cheese-prog">
|
---|
| 208 | <primary sortas="b-cheese">cheese</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="libcheese">
|
---|
[6208859] | 214 | <term><filename class="libraryfile">libcheese.so</filename></term>
|
---|
[3bef2f0] | 215 | <listitem>
|
---|
| 216 | <para>
|
---|
[4c24eb0a] | 217 | contains the <application>Cheese</application> API functions
|
---|
[3bef2f0] | 218 | </para>
|
---|
| 219 | <indexterm zone="cheese libcheese">
|
---|
| 220 | <primary sortas="c-libcheese">libcheese.so</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
| 225 | <varlistentry id="libcheese-gtk">
|
---|
[6208859] | 226 | <term><filename class="libraryfile">libcheese-gtk.so</filename></term>
|
---|
[3bef2f0] | 227 | <listitem>
|
---|
| 228 | <para>
|
---|
[6208859] | 229 | contains the <application>Cheese</application>
|
---|
[4c24eb0a] | 230 | <application>GTK+</application> widgets
|
---|
[3bef2f0] | 231 | </para>
|
---|
| 232 | <indexterm zone="cheese libcheese-gtk">
|
---|
| 233 | <primary sortas="c-libcheese-gtk">libcheese-gtk.so</primary>
|
---|
| 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | </variablelist>
|
---|
| 239 |
|
---|
| 240 | </sect2>
|
---|
| 241 |
|
---|
| 242 | </sect1>
|
---|