Bug 666678 — g_str_has_prefix() called on a NULL string…

Fix g_str_has_prefix() being called on a NULL string with the
tracker_config_file_new() constructor.

Closes: bgo#666678
tracker-extract, pdf: Timeout content extraction after 10s

Fixes NB#290406.
tracker-extract, pdf: Swapped close of the file descriptors

Previous commit had a bug: the close call on the file descriptors
of pipe were swapped between client and parent's code blocks. Oeps.

Fixes NB#290406.
tracker-extract, msoffice: Add debugging aid for when opening file fails

Related: NB#296009.
build: Depend on gmodule for libtracker-extract

Since glib 2.31.4, gio does not depend on gmodule, so detecting on gmodule for
LIBTRACKER_EXTRACT is required.

Fixes GB#666410
libtracker-common: Error isn't set and yet reply is NULL

The g_dbus_connection_call_sync claims not to return NULL
unless error is set. Yet we check for error being set and
have seen situations where reply was NULL nonetheless.

Test for reply being NULL and don't unref in that case.

Fixes NB#289635.
Updated Japanese translation
tests/libtracker-extract: Do not use tracker_coalesce_strip on constant strings.
miners/fs: Fix crash when SIGTERM happens before mainloop is available

Fixes NB#296488.
libtracker-common: Add new function tracker_file_open_fd()

Add a new function to open fds in a portable way

open(2) with the NOATIME flag is only available on Linux. Instead of
duplicating the same code all over with ifdef, factorize into a function
that opens file descriptors in a portable way.

Fixes GB#666654.
tests: Fix tracker-file-notifier-test

We need to use the TRACKER_DIRECTORY_FLAG_CHECK_MTIME flag to ensure the notifier
actually picks up on the changes.

Fixes GB#667787.
tests: Fix compile warning in tracker-file-notifier-test

Fixes GB#667786.
ttl2sgml: Do not call fclose if file is NULL
libtracker-data: Fix dead code with disabled journal
tracker-store: Print warning if unable to initialize statistics
tracker-extract: Add missing includes
tracker-needle: Fix build with GLib 2.31
build: Set _REQUIRED versions for giff, jpeg and tiff

We actually don't have a requirement, but if they're not installed, the error
message doesn't make sense.
libtracker-miner: Improve logging

Use tracker_info() for higher level tasks so logs are easier to read
tracker-miner-fs: Don't index removable media on initial index if disabled