[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 |
|
---|
[976c15a] | 7 | <!ENTITY cheese-download-http "&gnome-download-http;/cheese/&gnome-44;/cheese-&cheese-version;.tar.xz">
|
---|
| 8 | <!ENTITY cheese-download-ftp "&gnome-download-ftp;/cheese/&gnome-44;/cheese-&cheese-version;.tar.xz">
|
---|
[733abec] | 9 | <!ENTITY cheese-md5sum "99d2a400a8876956a0c378e1ce172a40">
|
---|
[4184d4d] | 10 | <!ENTITY cheese-size "1.0 MB">
|
---|
[733abec] | 11 | <!ENTITY cheese-buildsize "14 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 | </sect2>
|
---|
| 99 |
|
---|
[9b175e27] | 100 | <sect2 role="kernel" id="cheese-kernel">
|
---|
| 101 | <title>Kernel Configuration</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Depending on your camera, enable the appropriate options and recompile the
|
---|
| 105 | kernel if necessary:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen><literal>Device Drivers --->
|
---|
[b3da3b7e] | 109 | <*> Multimedia support ---> [CONFIG_MEDIA_SUPPORT]
|
---|
| 110 | [*] Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends) [CONFIG_MEDIA_SUBDRV_AUTOSELECT]
|
---|
| 111 | Media device types --->
|
---|
| 112 | [*] Cameras and video grabbers [CONFIG_MEDIA_CAMERA_SUPPORT]
|
---|
| 113 | Media drivers --->
|
---|
| 114 | [*] Media USB Adapters ---> [CONFIG_MEDIA_USB_SUPPORT]
|
---|
[ec047148] | 115 | Select device(s) as needed</literal></screen>
|
---|
[9b175e27] | 116 |
|
---|
| 117 | <indexterm zone="cheese cheese-kernel">
|
---|
| 118 | <primary sortas="d-cheese">cheese</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </sect2>
|
---|
[a78d8510] | 121 |
|
---|
[3bef2f0] | 122 | <sect2 role="installation">
|
---|
| 123 | <title>Installation of Cheese</title>
|
---|
| 124 |
|
---|
[4184d4d] | 125 | <para>
|
---|
[3bef2f0] | 126 | Install <application>Cheese</application> by running the following
|
---|
| 127 | commands:
|
---|
| 128 | </para>
|
---|
| 129 |
|
---|
[4184d4d] | 130 | <screen><userinput>mkdir build &&
|
---|
| 131 | cd build &&
|
---|
[bf259cf] | 132 |
|
---|
[91318eb] | 133 | meson setup --prefix=/usr \
|
---|
| 134 | --buildtype=release \
|
---|
| 135 | -Dgtk_doc=false \
|
---|
| 136 | -Dtests=true \
|
---|
| 137 | .. &&
|
---|
[4184d4d] | 138 | ninja</userinput></screen>
|
---|
[3bef2f0] | 139 |
|
---|
[f4f11ec4] | 140 | <para>
|
---|
| 141 | To test the results, issue: <command>ninja test</command>
|
---|
[3eb09b31] | 142 | </para>
|
---|
| 143 |
|
---|
[3bef2f0] | 144 | <para>
|
---|
| 145 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
[4184d4d] | 148 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[3bef2f0] | 149 |
|
---|
| 150 | </sect2>
|
---|
| 151 |
|
---|
[ec047148] | 152 | <sect2 role="commands">
|
---|
| 153 | <title>Command Explanations</title>
|
---|
| 154 |
|
---|
[adf17153] | 155 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 156 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 157 |
|
---|
[ec047148] | 158 | <para>
|
---|
| 159 | <parameter>-Dgtk_doc=false</parameter>: This switch prevents the build
|
---|
| 160 | system from generating and installing the API documentation. Omit this
|
---|
| 161 | switch if you have <xref linkend="gtk-doc" role="nodep"/> installed
|
---|
[2a8945c4] | 162 | and wish to generate and install the API documentation. Building the
|
---|
| 163 | documentation is broken due to an incompatibility with gtk-doc.
|
---|
[ec047148] | 164 | </para>
|
---|
[f4f11ec4] | 165 |
|
---|
| 166 | <para>
|
---|
| 167 | <parameter>-Dtests=true</parameter>: This switch allows building the
|
---|
| 168 | tests so that the test suite can be run. Remove this switch if you are
|
---|
| 169 | not going to run the tests.
|
---|
| 170 | </para>
|
---|
[ec047148] | 171 | </sect2>
|
---|
| 172 |
|
---|
[3bef2f0] | 173 | <sect2 role="content">
|
---|
| 174 | <title>Contents</title>
|
---|
| 175 |
|
---|
| 176 | <segmentedlist>
|
---|
| 177 | <segtitle>Installed Program</segtitle>
|
---|
| 178 | <segtitle>Installed Library</segtitle>
|
---|
| 179 | <segtitle>Installed Directories</segtitle>
|
---|
| 180 |
|
---|
| 181 | <seglistitem>
|
---|
| 182 | <seg>
|
---|
| 183 | cheese
|
---|
| 184 | </seg>
|
---|
| 185 | <seg>
|
---|
| 186 | libcheese.so and libcheese-gtk.so
|
---|
| 187 | </seg>
|
---|
| 188 | <seg>
|
---|
[a78d8510] | 189 | /usr/{include,share/gtk-doc/html,share/help/*}/cheese
|
---|
[3bef2f0] | 190 | </seg>
|
---|
| 191 | </seglistitem>
|
---|
| 192 | </segmentedlist>
|
---|
| 193 |
|
---|
| 194 | <variablelist>
|
---|
| 195 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 196 | <?dbfo list-presentation="list"?>
|
---|
| 197 | <?dbhtml list-presentation="table"?>
|
---|
| 198 |
|
---|
| 199 | <varlistentry id="cheese-prog">
|
---|
| 200 | <term><command>cheese</command></term>
|
---|
| 201 | <listitem>
|
---|
| 202 | <para>
|
---|
[4c24eb0a] | 203 | is a webcam tool with graphical effects
|
---|
[3bef2f0] | 204 | </para>
|
---|
| 205 | <indexterm zone="cheese cheese-prog">
|
---|
| 206 | <primary sortas="b-cheese">cheese</primary>
|
---|
| 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="libcheese">
|
---|
[6208859] | 212 | <term><filename class="libraryfile">libcheese.so</filename></term>
|
---|
[3bef2f0] | 213 | <listitem>
|
---|
| 214 | <para>
|
---|
[4c24eb0a] | 215 | contains the <application>Cheese</application> API functions
|
---|
[3bef2f0] | 216 | </para>
|
---|
| 217 | <indexterm zone="cheese libcheese">
|
---|
| 218 | <primary sortas="c-libcheese">libcheese.so</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="libcheese-gtk">
|
---|
[6208859] | 224 | <term><filename class="libraryfile">libcheese-gtk.so</filename></term>
|
---|
[3bef2f0] | 225 | <listitem>
|
---|
| 226 | <para>
|
---|
[6208859] | 227 | contains the <application>Cheese</application>
|
---|
[4c24eb0a] | 228 | <application>GTK+</application> widgets
|
---|
[3bef2f0] | 229 | </para>
|
---|
| 230 | <indexterm zone="cheese libcheese-gtk">
|
---|
| 231 | <primary sortas="c-libcheese-gtk">libcheese-gtk.so</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | </variablelist>
|
---|
| 237 |
|
---|
| 238 | </sect2>
|
---|
| 239 |
|
---|
| 240 | </sect1>
|
---|