mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 09:42:12 +08:00
179 lines
4.8 KiB
XML
179 lines
4.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY snapshot-download-http "&gnome-download-http;/snapshot/&gnome-45;/snapshot-&snapshot-version;.tar.xz">
|
|
<!ENTITY snapshot-download-ftp " ">
|
|
<!ENTITY snapshot-md5sum "79665eb80c3cd8f1267493fadab5efdb">
|
|
<!ENTITY snapshot-size "33 MB">
|
|
<!ENTITY snapshot-buildsize "1.6 GB (5.3 MB installed)">
|
|
<!ENTITY snapshot-time "4.5 SBU">
|
|
]>
|
|
|
|
<sect1 id="snapshot" xreflabel="Snapshot-&snapshot-version;">
|
|
<?dbhtml filename="snapshot.html"?>
|
|
|
|
<title>Snapshot-&snapshot-version;</title>
|
|
|
|
<indexterm zone="snapshot">
|
|
<primary sortas="a-snapshot">Snapshot</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to Snapshot</title>
|
|
|
|
<para>
|
|
The <application>Snapshot</application> package contains a program that
|
|
takes pictures and videos from a Webcam.
|
|
</para>
|
|
|
|
&lfs120_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&snapshot-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&snapshot-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &snapshot-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &snapshot-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &snapshot-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &snapshot-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Snapshot Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="libadwaita1"/>,
|
|
<xref linkend="gst10-plugins-bad"/>, and
|
|
<xref linkend="rust"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Required at runtime</bridgehead>
|
|
<para role="required">
|
|
<xref role="runtime" linkend="pipewire"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Snapshot</title>
|
|
|
|
<note>
|
|
<para>
|
|
This package takes a long time to build because LTO is enabled, and the
|
|
LTO pass is not parallelized.
|
|
</para>
|
|
</note>
|
|
|
|
<para>
|
|
First, remove a check against the system <application>Pango</application>
|
|
version that is too strict:
|
|
</para>
|
|
|
|
<screen><userinput remap="pre">sed '/pango.v1_52/,+1d' -i vendor/pango-sys/Cargo.toml &&
|
|
|
|
cat >> Cargo.toml << EOF
|
|
<literal>[patch.crates-io.pango-sys]
|
|
path = "vendor/pango-sys"</literal>
|
|
EOF</userinput></screen>
|
|
|
|
<para>
|
|
Install <application>Snapshot</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir build &&
|
|
cd build &&
|
|
|
|
meson setup --prefix=/usr --buildtype=release .. &&
|
|
ninja</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue: <command>ninja test</command>.
|
|
One test is known to fail due to deprecated constructs in
|
|
appstream-1.0+
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>ninja install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/meson-buildtype-release.xml"/>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
snapshot
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
/usr/share/snapshot
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="snapshot-prog">
|
|
<term><command>snapshot</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a program used to take pictures and videos from a Webcam
|
|
</para>
|
|
<indexterm zone="snapshot snapshot-prog">
|
|
<primary sortas="b-snapshot">snapshot</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</sect2>
|
|
</sect1>
|