[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 |
|
---|
[4828d4c] | 7 | <!ENTITY snapshot-download-http "&gnome-download-http;/snapshot/&gnome-46;/snapshot-&snapshot-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY snapshot-download-ftp " ">
|
---|
[83b3540] | 9 | <!ENTITY snapshot-md5sum "25f97e88005b933c382e5a0c2193599c">
|
---|
[f6bb68f] | 10 | <!ENTITY snapshot-size "22 MB">
|
---|
| 11 | <!ENTITY snapshot-buildsize "1.1 GB (2.9 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"/>,
|
---|
| 73 | <xref linkend="gst10-plugins-bad"/>, and
|
---|
| 74 | <xref linkend="rust"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required at runtime</bridgehead>
|
---|
| 78 | <para role="required">
|
---|
| 79 | <xref role="runtime" linkend="pipewire"/>
|
---|
| 80 | </para>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="installation">
|
---|
| 85 | <title>Installation of Snapshot</title>
|
---|
| 86 |
|
---|
| 87 | <note>
|
---|
| 88 | <para>
|
---|
| 89 | This package takes a long time to build because LTO is enabled, and the
|
---|
| 90 | LTO pass is not parallelized.
|
---|
| 91 | </para>
|
---|
| 92 | </note>
|
---|
[807423b] | 93 |
|
---|
| 94 | <!-- No longer needed with pango-1.51.0
|
---|
[ed1c737] | 95 | <para>
|
---|
| 96 | First, remove a check against the system <application>Pango</application>
|
---|
| 97 | version that is too strict:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput remap="pre">sed '/pango.v1_52/,+1d' -i vendor/pango-sys/Cargo.toml &&
|
---|
| 101 |
|
---|
| 102 | cat >> Cargo.toml << EOF
|
---|
| 103 | <literal>[patch.crates-io.pango-sys]
|
---|
| 104 | path = "vendor/pango-sys"</literal>
|
---|
| 105 | EOF</userinput></screen>
|
---|
[807423b] | 106 | -->
|
---|
[ed1c737] | 107 |
|
---|
| 108 | <para>
|
---|
| 109 | Install <application>Snapshot</application> by running the following
|
---|
| 110 | commands:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen><userinput>mkdir build &&
|
---|
| 114 | cd build &&
|
---|
| 115 |
|
---|
| 116 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
| 117 | ninja</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | <para>
|
---|
| 120 | To test the results, issue: <command>ninja test</command>.
|
---|
[fccc863c] | 121 | <!--One test is known to fail due to deprecated constructs in
|
---|
| 122 | appstream-1.0+-->
|
---|
[ed1c737] | 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 127 | </para>
|
---|
| 128 |
|
---|
| 129 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="commands">
|
---|
| 134 | <title>Command Explanations</title>
|
---|
| 135 |
|
---|
| 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 137 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Libraries</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
| 150 | <seg>
|
---|
| 151 | snapshot
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | None
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | /usr/share/snapshot
|
---|
| 158 | </seg>
|
---|
| 159 | </seglistitem>
|
---|
| 160 | </segmentedlist>
|
---|
| 161 |
|
---|
| 162 | <variablelist>
|
---|
| 163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 164 | <?dbfo list-presentation="list"?>
|
---|
| 165 | <?dbhtml list-presentation="table"?>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="snapshot-prog">
|
---|
| 168 | <term><command>snapshot</command></term>
|
---|
| 169 | <listitem>
|
---|
| 170 | <para>
|
---|
| 171 | is a program used to take pictures and videos from a Webcam
|
---|
| 172 | </para>
|
---|
| 173 | <indexterm zone="snapshot snapshot-prog">
|
---|
| 174 | <primary sortas="b-snapshot">snapshot</primary>
|
---|
| 175 | </indexterm>
|
---|
| 176 | </listitem>
|
---|
| 177 | </varlistentry>
|
---|
| 178 | </variablelist>
|
---|
| 179 | </sect2>
|
---|
| 180 | </sect1>
|
---|