[ed1c737] | 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 |
|
---|
| 7 | <!ENTITY snapshot-download-http "&gnome-download-http;/snapshot/&gnome-45;/snapshot-&snapshot-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY snapshot-download-ftp " ">
|
---|
[02f7dee] | 9 | <!ENTITY snapshot-md5sum "f95c3a9d081d9670d01b7fe1309fddd2">
|
---|
[ed1c737] | 10 | <!ENTITY snapshot-size "33 MB">
|
---|
[02f7dee] | 11 | <!ENTITY snapshot-buildsize "1.6 GB (5.3 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 |
|
---|
| 32 | &lfs120_checked;
|
---|
| 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>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
| 95 | First, remove a check against the system <application>Pango</application>
|
---|
| 96 | version that is too strict:
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <screen><userinput remap="pre">sed '/pango.v1_52/,+1d' -i vendor/pango-sys/Cargo.toml &&
|
---|
| 100 |
|
---|
| 101 | cat >> Cargo.toml << EOF
|
---|
| 102 | <literal>[patch.crates-io.pango-sys]
|
---|
| 103 | path = "vendor/pango-sys"</literal>
|
---|
| 104 | EOF</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Install <application>Snapshot</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen><userinput>mkdir build &&
|
---|
| 112 | cd build &&
|
---|
| 113 |
|
---|
| 114 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
| 115 | ninja</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | To test the results, issue: <command>ninja test</command>.
|
---|
[02f7dee] | 119 | One test is known to fail due to deprecated constructs in
|
---|
| 120 | appstream-1.0+
|
---|
[ed1c737] | 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
| 133 |
|
---|
| 134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 135 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>
|
---|
| 149 | snapshot
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
| 152 | None
|
---|
| 153 | </seg>
|
---|
| 154 | <seg>
|
---|
| 155 | /usr/share/snapshot
|
---|
| 156 | </seg>
|
---|
| 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="snapshot-prog">
|
---|
| 166 | <term><command>snapshot</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>
|
---|
| 169 | is a program used to take pictures and videos from a Webcam
|
---|
| 170 | </para>
|
---|
| 171 | <indexterm zone="snapshot snapshot-prog">
|
---|
| 172 | <primary sortas="b-snapshot">snapshot</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 | </variablelist>
|
---|
| 177 | </sect2>
|
---|
| 178 | </sect1>
|
---|