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