[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[ed1c737] | 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 |
|
---|
[23d6b8f1] | 7 | <!ENTITY snapshot-download-http "&gnome-download-http;/snapshot/&gnome-47;/snapshot-&snapshot-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY snapshot-download-ftp " ">
|
---|
[23d6b8f1] | 9 | <!ENTITY snapshot-md5sum "cfae2acf42f18677e6cd7bd716571bd7">
|
---|
| 10 | <!ENTITY snapshot-size "8.3 MB">
|
---|
| 11 | <!ENTITY snapshot-buildsize "1.2 GB (6.1 MB installed)">
|
---|
[ed1c737] | 12 | <!ENTITY snapshot-time "4.5 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="snapshot" xreflabel="Snapshot-&snapshot-version;">
|
---|
| 16 | <?dbhtml filename="snapshot.html"?>
|
---|
| 17 |
|
---|
| 18 | <title>Snapshot-&snapshot-version;</title>
|
---|
| 19 |
|
---|
| 20 | <indexterm zone="snapshot">
|
---|
| 21 | <primary sortas="a-snapshot">Snapshot</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="package">
|
---|
| 25 | <title>Introduction to Snapshot</title>
|
---|
| 26 |
|
---|
| 27 | <para>
|
---|
| 28 | The <application>Snapshot</application> package contains a program that
|
---|
| 29 | takes pictures and videos from a Webcam.
|
---|
| 30 | </para>
|
---|
| 31 |
|
---|
[1cd77c3] | 32 | &lfs122_checked;
|
---|
[ed1c737] | 33 |
|
---|
| 34 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 35 | <itemizedlist spacing="compact">
|
---|
| 36 | <listitem>
|
---|
| 37 | <para>
|
---|
| 38 | Download (HTTP): <ulink url="&snapshot-download-http;"/>
|
---|
| 39 | </para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (FTP): <ulink url="&snapshot-download-ftp;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download MD5 sum: &snapshot-md5sum;
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download size: &snapshot-size;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Estimated disk space required: &snapshot-buildsize;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated build time: &snapshot-time;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 |
|
---|
| 68 | <bridgehead renderas="sect3">Snapshot Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 71 | <para role="required">
|
---|
| 72 | <xref linkend="libadwaita1"/>,
|
---|
[23d6b8f1] | 73 | <xref linkend="libgstgtk4"/>,
|
---|
[ed1c737] | 74 | <xref linkend="gst10-plugins-bad"/>, and
|
---|
| 75 | <xref linkend="rust"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Required at runtime</bridgehead>
|
---|
| 79 | <para role="required">
|
---|
[23d6b8f1] | 80 | <xref role="runtime" linkend="pipewire"/> and
|
---|
| 81 | <xref role="runtime" linkend="xdg-desktop-portal-gnome"/>
|
---|
[ed1c737] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of Snapshot</title>
|
---|
| 88 |
|
---|
| 89 | <note>
|
---|
| 90 | <para>
|
---|
| 91 | This package takes a long time to build because LTO is enabled, and the
|
---|
| 92 | LTO pass is not parallelized.
|
---|
| 93 | </para>
|
---|
| 94 | </note>
|
---|
[807423b] | 95 |
|
---|
[ed1c737] | 96 | <para>
|
---|
| 97 | Install <application>Snapshot</application> by running the following
|
---|
| 98 | commands:
|
---|
| 99 | </para>
|
---|
| 100 |
|
---|
| 101 | <screen><userinput>mkdir build &&
|
---|
| 102 | cd build &&
|
---|
| 103 |
|
---|
| 104 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
| 105 | ninja</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | To test the results, issue: <command>ninja test</command>.
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 116 |
|
---|
| 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 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="content">
|
---|
| 128 | <title>Contents</title>
|
---|
| 129 |
|
---|
| 130 | <segmentedlist>
|
---|
| 131 | <segtitle>Installed Programs</segtitle>
|
---|
| 132 | <segtitle>Installed Libraries</segtitle>
|
---|
| 133 | <segtitle>Installed Directories</segtitle>
|
---|
| 134 |
|
---|
| 135 | <seglistitem>
|
---|
| 136 | <seg>
|
---|
| 137 | snapshot
|
---|
| 138 | </seg>
|
---|
| 139 | <seg>
|
---|
| 140 | None
|
---|
| 141 | </seg>
|
---|
| 142 | <seg>
|
---|
| 143 | /usr/share/snapshot
|
---|
| 144 | </seg>
|
---|
| 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
| 147 |
|
---|
| 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 150 | <?dbfo list-presentation="list"?>
|
---|
| 151 | <?dbhtml list-presentation="table"?>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="snapshot-prog">
|
---|
| 154 | <term><command>snapshot</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>
|
---|
| 157 | is a program used to take pictures and videos from a Webcam
|
---|
| 158 | </para>
|
---|
| 159 | <indexterm zone="snapshot snapshot-prog">
|
---|
| 160 | <primary sortas="b-snapshot">snapshot</primary>
|
---|
| 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 | </variablelist>
|
---|
| 165 | </sect2>
|
---|
| 166 | </sect1>
|
---|