The Snapshot package contains a program that takes pictures and videos from a Webcam.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://download.gnome.org/sources/snapshot/45/snapshot-45.0.tar.xz
Download MD5 sum: 78fa5172e9939aa224d1c0e31fb71414
Download size: 33 MB
Estimated disk space required: 1.7 GB (5.4 MB installed)
Estimated build time: 4.5 SBU
libadwaita-1.4.0, gst-plugins-bad-1.22.7, and rustc-1.74.0
This package takes a long time to build because LTO is enabled, and the LTO pass is not parallelized.
First, remove a check against the system Pango version that is too strict:
sed '/pango.v1_52/,+1d' -i vendor/pango-sys/Cargo.toml &&
cat >> Cargo.toml << EOF
[patch.crates-io.pango-sys]
path = "vendor/pango-sys"
EOF
Install Snapshot by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
To test the results, issue: ninja test.
Now, as the root
user:
ninja install
--buildtype=release
: Specify a buildtype
suitable for stable releases of the package, as the default may
produce unoptimized binaries.