The Tracker-miners package contains a set of data extractors for Tracker.
LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。
ダウンロード (HTTP): https://download.gnome.org/sources/tracker-miners/3.6/tracker-miners-3.6.2.tar.xz
ダウンロード MD5 sum: 36b1149a9b10ee3db3e3aa6d8a95c5dc
ダウンロードサイズ: 7.2 MB
必要ディスク容量: 85 MB (テスト込み)
概算ビルド時間: 0.3 SBU (with parallelism=4; add as much as 1.0 SBU for tests, dependent on disk speed)
gst-plugins-base-1.22.7, Tracker-3.6.0, Exempi-2.6.4, gexiv2-0.14.2
giflib-5.2.1, gst-plugins-good-1.22.7 (実行時), gst-libav-1.22.7 (実行時), ICU-74.1, libexif-0.6.24, libgrss-0.7.0, libgxps-0.3.2, libseccomp-2.5.5, Poppler-23.12.0
asciidoc-10.2.0, CMake-3.28.1, DConf-0.40.0, FFmpeg-6.1, libgsf-1.14.51, NetworkManager-1.44.2, taglib-1.13.1, totem-pl-parser-3.26.6, UPower-1.90.2, libcue, libitpcdata, libosinfo, gupnp
If you plan to run the tests, some timeouts are too short when
using spinning disks. There are two places where timeouts are
used: first, individual tests inside a group of tests have a
default timeout of 10s. This can be changed by setting the
environment variable TRACKER_TESTS_AWAIT_TIMEOUT
to the desired value
when running the tests (see below). Second, a global timeout for
a group of tests is fixed at configuration time. The default
value in the functional-tests
directory (other directories have only short lived tests) may be
increased with the following command (replace 200 with a value
suitable for your machine):
sed -i s/120/200
/ tests/functional-tests/meson.build
以下のコマンドを実行して Tracker-miners をビルドします。
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -Dsystemd_user_services=false \ -Dman=false \ .. && ninja
To test the results, issue (adjust the individual test timeout to a value suitable for your machine, see the note above):
dbus-run-session env TRACKER_TESTS_AWAIT_TIMEOUT=20
ninja test &&
rm -rf ~/tracker-tests
The tests create files in the user directory (up to 24 MB), so they have to be removed afterwards.
root
になって以下を実行します。
ninja install
--buildtype=release
:
本パッケージの安定版リリース向けに適したビルドタイプを指定します。
デフォルトにしていると、最適化されていないバイナリを生成する場合があるためです。
-Dman=false
: This switch
prevents the build process from generating man pages. Omit this
switch if you have asciidoc-10.2.0 installed and wish to
generate and install the man pages.
-Dsystemd_user_services=false
: This
switch prevents the build process from installing systemd units
since they are useless on SysV systems.
-Dseccomp=false
: This option disables
the seccomp system call filter. On some architectures, such as i686
and ARM, the functions that tracker-miners uses are not guarded
properly, and tracker-miners will get killed with a SIGSYS as a
result.
-Dminer_rss=false
: Use this option if
you have not installed the recommended dependency libgrss.