Commit c184f694 authored by Sam Thursfield's avatar Sam Thursfield

Set log domain to Tracker

This fixes a regression introduced by the Meson port, where this package
didn't declare a GLib log domain. Fixing this means that you can once
again use the environment variable `G_MESSAGES_DEBUG=Tracker` combined
with `TRACKER_VERBOSITY` to show debug messages only from Tracker.
Without this fix, `G_MESSAGES_DEBUG=all` is needed to enable the
messages to be printed, but this may enable output from other packages
too.
parent 569259fe
......@@ -118,7 +118,9 @@ add_project_arguments('-Wformat', '-Wformat-security', language: 'c')
# There are various gchar vs. unsigned char warnings that occur in extract
# modules, it's not worth adding casts everywhere so we disable the warning.
add_project_arguments('-Wno-pointer-sign', language: 'c')
add_project_arguments('-DTRACKER_COMPILATION', language: 'c')
add_project_arguments('-DG_LOG_DOMAIN="Tracker"', language: 'c')
##################################################################
# Check for libtracker-common: battery/mains power detection
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment