[tracker-miners/wip/piotrdrag/kill-intltool: 2/3] Remove intltool for good



commit ef51162046fac26efa92a589e06e84ce4c52cdb8
Author: Piotr Drąg <piotrdrag gmail com>
Date:   Thu Sep 27 23:50:07 2018 +0200

    Remove intltool for good
    
    Fixes https://gitlab.gnome.org/GNOME/tracker/issues/36

 .gitignore                                         |  3 -
 meson.build                                        |  2 +
 po/.gitignore                                      |  1 -
 po/POTFILES.in                                     |  6 +-
 src/miners/apps/meson.build                        |  7 +-
 src/miners/apps/tracker-miner-apps.desktop.in.in   |  9 +--
 src/miners/fs/.gitignore                           |  1 -
 src/miners/fs/meson.build                          | 13 ++--
 ...rg.freedesktop.Tracker.Miner.Files.gschema.xml} | 84 +++++++++++-----------
 src/miners/fs/tracker-miner-fs.desktop.in.in       |  9 +--
 src/miners/rss/meson.build                         |  7 +-
 src/miners/rss/tracker-miner-rss.desktop.in.in     |  9 +--
 src/tracker-extract/.gitignore                     |  1 -
 src/tracker-extract/meson.build                    | 13 ++--
 ...=> org.freedesktop.Tracker.Extract.gschema.xml} | 22 +++---
 src/tracker-extract/tracker-extract.desktop.in.in  |  9 +--
 src/tracker-writeback/.gitignore                   |  1 -
 src/tracker-writeback/meson.build                  |  6 +-
 ... org.freedesktop.Tracker.Writeback.gschema.xml} |  4 +-
 19 files changed, 87 insertions(+), 120 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f7c26f2cc..c02b11952 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,9 +30,6 @@ depcomp
 gtk-doc.make
 install-sh
 install.rdf
-intltool-extract.in
-intltool-merge.in
-intltool-update.in
 libtool
 ltmain.sh
 missing
diff --git a/meson.build b/meson.build
index 262f829ca..ba857ca86 100644
--- a/meson.build
+++ b/meson.build
@@ -388,7 +388,9 @@ tracker_writeback_modules_dir = join_paths(get_option('prefix'), get_option('lib
 tracker_uninstalled_extract_rules_dir = join_paths(meson.current_build_dir(), 'src', 'tracker-extract')
 
 gsettings_schema_dir = join_paths(get_option('prefix'), get_option('datadir'), 'glib-2.0', 'schemas')
+po_dir = join_paths(meson.current_source_dir(), 'po')
 vapi_dir = join_paths(get_option('prefix'), get_option('datadir'), 'vala', 'vapi')
+xdg_autostart_dir = join_paths(get_option('sysconfdir'), 'xdg', 'autostart')
 
 glib_mkenums = find_program('glib-mkenums')
 
diff --git a/po/.gitignore b/po/.gitignore
index 0b80cf88e..40a4430ab 100644
--- a/po/.gitignore
+++ b/po/.gitignore
@@ -1,7 +1,6 @@
 *.gmo
 *.header
 *.pot
-.intltool-merge-cache
 boldquot.sed
 insert-header.sin
 Makefile.in.in
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2cb9f8255..279b537e5 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -6,7 +6,7 @@ src/miners/apps/org.freedesktop.Tracker1.Miner.Applications.service.in.in
 src/miners/apps/tracker-main.c
 src/miners/apps/tracker-miner-apps.desktop.in.in
 src/miners/fs/org.freedesktop.Tracker1.Miner.Files.service.in.in
-src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
+src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml
 src/miners/fs/tracker-main.c
 src/miners/fs/tracker-miner-files.c
 src/miners/fs/tracker-miner-fs.desktop.in.in
@@ -15,9 +15,9 @@ src/miners/rss/tracker-main.c
 src/miners/rss/tracker-miner-rss.c
 src/miners/rss/tracker-miner-rss.desktop.in.in
 src/tracker-extract/org.freedesktop.Tracker1.Miner.Extract.service.in.in
-src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml.in
+src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml
 src/tracker-extract/tracker-extract.c
 src/tracker-extract/tracker-main.c
 src/tracker-extract/tracker-extract.desktop.in.in
 src/tracker-writeback/tracker-main.c
-src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml.in
+src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml
diff --git a/src/miners/apps/meson.build b/src/miners/apps/meson.build
index ce58f5cea..f90c3d7c0 100644
--- a/src/miners/apps/meson.build
+++ b/src/miners/apps/meson.build
@@ -28,12 +28,13 @@ desktop_file_untranslated = configure_file(
     output: 'tracker-miner-apps.desktop.in',
     configuration: conf)
 
-desktop_file = custom_target('tracker-miner-apps-desktop-file',
+i18n.merge_file('tracker-miner-apps-desktop-file',
+    type: 'desktop',
     input: desktop_file_untranslated,
     output: 'tracker-miner-apps.desktop',
-    command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 
'po'), '@INPUT@', '@OUTPUT@'],
+    po_dir: po_dir,
     install: true,
-    install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
+    install_dir: xdg_autostart_dir)
 
 if install_systemd_user_services
   configure_file(
diff --git a/src/miners/apps/tracker-miner-apps.desktop.in.in 
b/src/miners/apps/tracker-miner-apps.desktop.in.in
index 12b49ea5f..1028b8a9e 100644
--- a/src/miners/apps/tracker-miner-apps.desktop.in.in
+++ b/src/miners/apps/tracker-miner-apps.desktop.in.in
@@ -1,7 +1,6 @@
 [Desktop Entry]
-_Name=Tracker Application Miner
-_Comment=Indexes information about applications installed
-Icon=
+Name=Tracker Application Miner
+Comment=Indexes information about applications installed
 Exec=@libexecdir@/tracker-miner-apps
 Terminal=false
 Type=Application
@@ -12,7 +11,3 @@ X-KDE-StartupNotify=false
 X-KDE-UniqueApplet=true
 NoDisplay=true
 OnlyShowIn=GNOME;KDE;XFCE;X-IVI;Unity;
-X-GNOME-Bugzilla-Bugzilla=GNOME
-X-GNOME-Bugzilla-Product=tracker
-X-GNOME-Bugzilla-Component=Miners
-X-GNOME-Bugzilla-Version=@VERSION@
diff --git a/src/miners/fs/.gitignore b/src/miners/fs/.gitignore
index 019715094..f821defd5 100644
--- a/src/miners/fs/.gitignore
+++ b/src/miners/fs/.gitignore
@@ -1,5 +1,4 @@
 tracker-miner-fs
 *.service
-*.xml
 *.valid
 *.cfg.5
diff --git a/src/miners/fs/meson.build b/src/miners/fs/meson.build
index 288610b97..7b5dd7124 100644
--- a/src/miners/fs/meson.build
+++ b/src/miners/fs/meson.build
@@ -51,18 +51,15 @@ desktop_file_untranslated = configure_file(
     output: 'tracker-miner-fs.desktop.in',
     configuration: conf)
 
-desktop_file = custom_target('tracker-miner-fs-desktop-file',
+i18n.merge_file('tracker-miner-fs-desktop-file',
+    type: 'desktop',
     input: desktop_file_untranslated,
     output: 'tracker-miner-fs.desktop',
-    command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 
'po'), '@INPUT@', '@OUTPUT@'],
+    po_dir: po_dir,
     install: true,
-    install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
+    install_dir: xdg_autostart_dir)
 
-custom_target('tracker-miner-fs-settings-schema',
-    input: 'org.freedesktop.Tracker.Miner.Files.gschema.xml.in',
-    output: 'org.freedesktop.Tracker.Miner.Files.gschema.xml',
-    command: ['intltool-merge', '--quiet', '--xml-style', '--utf8', join_paths(meson.source_root(), 'po'), 
'@INPUT@', '@OUTPUT@'],
-    install: true,
+install_data('org.freedesktop.Tracker.Miner.Files.gschema.xml',
     install_dir: gsettings_schema_dir)
 
 if install_systemd_user_services
diff --git a/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in 
b/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml
similarity index 68%
rename from src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
rename to src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml
index a96e5194e..15b1e3619 100644
--- a/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
+++ b/src/miners/fs/org.freedesktop.Tracker.Miner.Files.gschema.xml
@@ -21,141 +21,141 @@ Boston, MA  02110-1301, USA.
   <schema id="org.freedesktop.Tracker.Miner.Files" path="/org/freedesktop/tracker/miner/files/" 
gettext-domain="tracker-miners">
     <key name="verbosity" enum="org.freedesktop.TrackerMiners.TrackerVerbosity">
       <default>'errors'</default>
-      <_summary>Log verbosity</_summary>
-      <_description>Log verbosity.</_description>
+      <summary>Log verbosity</summary>
+      <description>Log verbosity.</description>
     </key>
 
     <key name="initial-sleep" type="i">
-      <_summary>Initial sleep</_summary>
-      <_description>Initial sleep time, in seconds.</_description>
+      <summary>Initial sleep</summary>
+      <description>Initial sleep time, in seconds.</description>
       <range min="0" max="1000"/>
       <default>15</default>
     </key>
 
     <key name="sched-idle" enum="org.freedesktop.TrackerMiners.TrackerSchedIdle">
       <default>'first-index'</default>
-      <_summary>Scheduler priority when idle</_summary>
-      <_description>
+      <summary>Scheduler priority when idle</summary>
+      <description>
        The scheduler is the kernel component that decides which
        runnable application will be executed by the CPU next. Each
        application has an associated scheduling policy and priority.
-      </_description>
+      </description>
     </key>
 
     <key name="throttle" type="i">
-      <_summary>Throttle</_summary>
-      <_description>Indexing speed, the higher the slower.</_description>
+      <summary>Throttle</summary>
+      <description>Indexing speed, the higher the slower.</description>
       <range min="0" max="20"/>
       <default>0</default>
     </key>
 
     <key name="low-disk-space-limit" type="i">
-      <_summary>Low disk space limit</_summary>
-      <_description>Disk space threshold in percent at which to pause indexing, or -1 to 
disable.</_description>
+      <summary>Low disk space limit</summary>
+      <description>Disk space threshold in percent at which to pause indexing, or -1 to 
disable.</description>
       <range min="-1" max="100"/>
       <default>-1</default>
     </key>
 
     <key name="crawling-interval" type="i">
-      <_summary>Crawling interval</_summary>
-      <_description>
+      <summary>Crawling interval</summary>
+      <description>
         Interval in days to check whether the filesystem is up to date in the database.
        0 forces crawling anytime, -1 forces it only after unclean shutdowns, and -2
        disables it entirely.
-      </_description>
+      </description>
       <range min="-2" max="365"/>
       <default>-1</default>
     </key>
 
     <key name="removable-days-threshold" type="i">
-      <_summary>Removable devices’ data permanence threshold</_summary>
-      <_description>
+      <summary>Removable devices’ data permanence threshold</summary>
+      <description>
        Threshold in days after which files from removables devices
        will be removed from database if not mounted. 0 means never,
        maximum is 365.
-      </_description>
+      </description>
       <range min="0" max="365"/>
       <default>3</default>
     </key>
 
     <key name="enable-monitors" type="b">
-      <_summary>Enable monitors</_summary>
-      <_description>Set to false to completely disable any file monitoring</_description>
+      <summary>Enable monitors</summary>
+      <description>Set to false to completely disable any file monitoring</description>
       <default>true</default>
     </key>
 
     <key name="enable-writeback" type="b">
-      <_summary>Enable writeback</_summary>
-      <_description>Set to false to completely disable any file writeback</_description>
+      <summary>Enable writeback</summary>
+      <description>Set to false to completely disable any file writeback</description>
       <default>true</default>
     </key>
 
     <key name="index-removable-devices" type="b">
-      <_summary>Index removable devices</_summary>
-      <_description>Set to true to enable indexing mounted directories for removable devices.</_description>
+      <summary>Index removable devices</summary>
+      <description>Set to true to enable indexing mounted directories for removable devices.</description>
       <default>false</default>
     </key>
 
     <key name="index-optical-discs" type="b">
-      <_summary>Index optical discs</_summary>
-      <_description>
+      <summary>Index optical discs</summary>
+      <description>
        Set to true to enable indexing CDs, DVDs, and generally optical media
        (if removable devices are not indexed, optical discs won’t be either)
-      </_description>
+      </description>
       <default>false</default>
     </key>
 
     <key name="index-on-battery" type="b">
-      <_summary>Index when running on battery</_summary>
-      <_description>Set to true to index while running on battery</_description>
+      <summary>Index when running on battery</summary>
+      <description>Set to true to index while running on battery</description>
       <default>true</default>
     </key>
 
     <key name="index-on-battery-first-time" type="b">
-      <_summary>Perform initial indexing when running on battery</_summary>
-      <_description>Set to true to index while running on battery for the first time only</_description>
+      <summary>Perform initial indexing when running on battery</summary>
+      <description>Set to true to index while running on battery for the first time only</description>
       <default>true</default>
     </key>
 
     <key name="index-recursive-directories" type="as">
-      <_summary>Directories to index recursively</_summary>
-      <_description>
+      <summary>Directories to index recursively</summary>
+      <description>
        List of directories to index recursively, Special values include:
        &amp;DESKTOP, &amp;DOCUMENTS, &amp;DOWNLOAD, &amp;MUSIC, &amp;PICTURES,
        &amp;PUBLIC_SHARE, &amp;TEMPLATES, &amp;VIDEOS.
 
        See /etc/xdg/user-dirs.defaults and $HOME/.config/user-dirs.default
-      </_description>
+      </description>
       <default>[ '&amp;DESKTOP', '&amp;DOCUMENTS', '&amp;DOWNLOAD', '&amp;MUSIC', '&amp;PICTURES', 
'&amp;VIDEOS' ]</default>
     </key>
 
     <key name="index-single-directories" type="as">
-      <_summary>Directories to index non-recursively</_summary>
-      <_description>
+      <summary>Directories to index non-recursively</summary>
+      <description>
        List of directories to index without inspecting subfolders, Special values include:
        &amp;DESKTOP, &amp;DOCUMENTS, &amp;DOWNLOAD, &amp;MUSIC, &amp;PICTURES,
        &amp;PUBLIC_SHARE, &amp;TEMPLATES, &amp;VIDEOS.
 
        See /etc/xdg/user-dirs.defaults and $HOME/.config/user-dirs.default
-      </_description>
+      </description>
       <default>[ '$HOME' ]</default>
     </key>
 
     <key name="ignored-files" type="as">
-      <_summary>Ignored files</_summary>
-      <_description>List of file patterns to avoid</_description>
+      <summary>Ignored files</summary>
+      <description>List of file patterns to avoid</description>
       <default>[ '*~', '*.o', '*.la', '*.lo' , '*.loT', '*.in', '*.csproj', '*.m4', '*.rej', '*.gmo', 
'*.orig', '*.pc', '*.omf', '*.aux', '*.tmp', '*.vmdk', '*.vm*', '*.nvram', '*.part', '*.rcore', '*.lzo', 
'autom4te', 'conftest', 'confstat', 'Makefile', 'SCCS', 'ltmain.sh', 'libtool', 'config.status', 
'confdefs.h', 'configure', '#*#', '~$*.doc?', '~$*.dot?', '~$*.xls?', '~$*.xlt?', '~$*.xlam', '~$*.ppt?', 
'~$*.pot?', '~$*.ppam', '~$*.ppsm', '~$*.ppsx', '~$*.vsd?', '~$*.vss?', '~$*.vst?', '*.desktop', 
'*.directory' ]</default>
     </key>
 
     <key name="ignored-directories" type="as">
-      <_summary>Ignored directories</_summary>
-      <_description>List of directories to avoid</_description>
+      <summary>Ignored directories</summary>
+      <description>List of directories to avoid</description>
       <default>[ 'po', 'CVS', 'core-dumps', 'lost+found' ]</default>
     </key>
 
     <key name="ignored-directories-with-content" type="as">
-      <_summary>Ignored directories with content</_summary>
-      <_description>Avoid any directory containing a file blacklisted here</_description>
+      <summary>Ignored directories with content</summary>
+      <description>Avoid any directory containing a file blacklisted here</description>
       <default>[ '.trackerignore', '.git', '.hg' ]</default>
     </key>
   </schema>
diff --git a/src/miners/fs/tracker-miner-fs.desktop.in.in b/src/miners/fs/tracker-miner-fs.desktop.in.in
index 29d5364c6..d8bc8d4e6 100644
--- a/src/miners/fs/tracker-miner-fs.desktop.in.in
+++ b/src/miners/fs/tracker-miner-fs.desktop.in.in
@@ -1,7 +1,6 @@
 [Desktop Entry]
-_Name=Tracker File System Miner
-_Comment=Crawls and processes files on the file system
-Icon=
+Name=Tracker File System Miner
+Comment=Crawls and processes files on the file system
 Exec=@libexecdir@/tracker-miner-fs
 Terminal=false
 Type=Application
@@ -12,7 +11,3 @@ X-KDE-StartupNotify=false
 X-KDE-UniqueApplet=true
 NoDisplay=true
 OnlyShowIn=GNOME;KDE;XFCE;X-IVI;Unity;
-X-GNOME-Bugzilla-Bugzilla=GNOME
-X-GNOME-Bugzilla-Product=tracker
-X-GNOME-Bugzilla-Component=Miners
-X-GNOME-Bugzilla-Version=@VERSION@
diff --git a/src/miners/rss/meson.build b/src/miners/rss/meson.build
index 38949eca1..037d74a9f 100644
--- a/src/miners/rss/meson.build
+++ b/src/miners/rss/meson.build
@@ -28,12 +28,13 @@ desktop_file_untranslated = configure_file(
     output: 'tracker-miner-rss.desktop.in',
     configuration: conf)
 
-desktop_file = custom_target('tracker-miner-rss-desktop-file',
+i18n.merge_file('tracker-miner-rss-desktop-file',
+    type: 'desktop',
     input: desktop_file_untranslated,
     output: 'tracker-miner-rss.desktop',
-    command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 
'po'), '@INPUT@', '@OUTPUT@'],
+    po_dir: po_dir,
     install: true,
-    install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
+    install_dir: xdg_autostart_dir)
 
 if install_systemd_user_services
   configure_file(
diff --git a/src/miners/rss/tracker-miner-rss.desktop.in.in b/src/miners/rss/tracker-miner-rss.desktop.in.in
index 49be40191..4bf5394d2 100644
--- a/src/miners/rss/tracker-miner-rss.desktop.in.in
+++ b/src/miners/rss/tracker-miner-rss.desktop.in.in
@@ -1,7 +1,6 @@
 [Desktop Entry]
-_Name=Tracker RSS/ATOM Feeds Miner
-_Comment=Fetch RSS/ATOM feeds
-Icon=
+Name=Tracker RSS/ATOM Feeds Miner
+Comment=Fetch RSS/ATOM feeds
 Exec=@libexecdir@/tracker-miner-rss
 Terminal=false
 Type=Application
@@ -12,7 +11,3 @@ X-KDE-StartupNotify=false
 X-KDE-UniqueApplet=true
 NoDisplay=true
 OnlyShowIn=GNOME;KDE;XFCE;Unity;
-X-GNOME-Bugzilla-Bugzilla=GNOME
-X-GNOME-Bugzilla-Product=tracker
-X-GNOME-Bugzilla-Component=Miners
-X-GNOME-Bugzilla-Version=@VERSION@
diff --git a/src/tracker-extract/.gitignore b/src/tracker-extract/.gitignore
index 7681b5af5..97cdfd3b4 100644
--- a/src/tracker-extract/.gitignore
+++ b/src/tracker-extract/.gitignore
@@ -3,6 +3,5 @@ tracker-extract-priority-dbus-stamp
 tracker-extract-priority-dbus.c
 tracker-extract-priority-dbus.h
 *.service
-*.xml
 *.valid
 *.cfg.5
diff --git a/src/tracker-extract/meson.build b/src/tracker-extract/meson.build
index bf19f8bac..78cae54e7 100644
--- a/src/tracker-extract/meson.build
+++ b/src/tracker-extract/meson.build
@@ -191,18 +191,15 @@ desktop_file_untranslated = configure_file(
   output: 'tracker-extract.desktop.in',
   configuration: conf)
 
-desktop_file = custom_target('tracker-extract-desktop-file',
+i18n.merge_file('tracker-extract-desktop-file',
+  type: 'desktop',
   input: desktop_file_untranslated,
   output: 'tracker-extract.desktop',
-  command: ['intltool-merge', '--quiet', '--desktop-style', '--utf8', join_paths(meson.source_root(), 'po'), 
'@INPUT@', '@OUTPUT@'],
+  po_dir: po_dir,
   install: true,
-  install_dir: join_paths(get_option('sysconfdir'), 'xdg/autostart'))
+  install_dir: xdg_autostart_dir)
 
-custom_target('tracker-extract-settings-schema',
-  input: 'org.freedesktop.Tracker.Extract.gschema.xml.in',
-  output: 'org.freedesktop.Tracker.Extract.gschema.xml',
-  command: ['intltool-merge', '--quiet', '--xml-style', '--utf8', join_paths(meson.source_root(), 'po'), 
'@INPUT@', '@OUTPUT@'],
-  install: true,
+install_data('org.freedesktop.Tracker.Extract.gschema.xml',
   install_dir: gsettings_schema_dir)
 
 if install_systemd_user_services
diff --git a/src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml.in 
b/src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml
similarity index 64%
rename from src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml.in
rename to src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml
index 591194f2b..e1449e747 100644
--- a/src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml.in
+++ b/src/tracker-extract/org.freedesktop.Tracker.Extract.gschema.xml
@@ -21,37 +21,37 @@ Boston, MA  02110-1301, USA.
   <schema id="org.freedesktop.Tracker.Extract" path="/org/freedesktop/tracker/extract/" 
gettext-domain="tracker-miners">
     <key name="verbosity" enum="org.freedesktop.TrackerMiners.TrackerVerbosity">
       <default>'errors'</default>
-      <_summary>Log verbosity</_summary>
-      <_description>Log verbosity.</_description>
+      <summary>Log verbosity</summary>
+      <description>Log verbosity.</description>
     </key>
 
     <key name="sched-idle" enum="org.freedesktop.TrackerMiners.TrackerSchedIdle">
       <default>'first-index'</default>
-      <_summary>Scheduler priority when idle</_summary>
-      <_description>
+      <summary>Scheduler priority when idle</summary>
+      <description>
        The scheduler is the kernel component that decides which
        runnable application will be executed by the CPU next. Each
        application has an associated scheduling policy and priority.
-      </_description>
+      </description>
     </key>
 
     <key name="max-bytes" type="i">
-      <_summary>Max bytes to extract</_summary>
-      <_description>Maximum number of UTF-8 bytes to extract.</_description>
+      <summary>Max bytes to extract</summary>
+      <description>Maximum number of UTF-8 bytes to extract.</description>
       <range min="0" max="10485760"/>
       <default>1048576</default>
     </key>
 
     <key name="max-media-art-width" type="i">
-      <_summary>Max media art width</_summary>
-      <_description>Maximum width in pixels for any media art extracted. Anything bigger is resized. Set to 
-1 to disable saving media art from files. Setting to 0 sets no limit on the media art width.</_description>
+      <summary>Max media art width</summary>
+      <description>Maximum width in pixels for any media art extracted. Anything bigger is resized. Set to 
-1 to disable saving media art from files. Setting to 0 sets no limit on the media art width.</description>
       <range min="-1" max="2048"/>
       <default>0</default>
     </key>
 
     <key name="wait-for-miner-fs" type="b">
-      <_summary>Wait for FS miner to be done before extracting</_summary>
-      <_description>When true, tracker-extract will wait for tracker-miner-fs to be done crawling before 
extracting meta-data. This option is useful on constrained environment where it is important to list files as 
fast as possible and can wait to get meta-data later.</_description>
+      <summary>Wait for FS miner to be done before extracting</summary>
+      <description>When true, tracker-extract will wait for tracker-miner-fs to be done crawling before 
extracting meta-data. This option is useful on constrained environment where it is important to list files as 
fast as possible and can wait to get meta-data later.</description>
       <default>false</default>
     </key>
   </schema>
diff --git a/src/tracker-extract/tracker-extract.desktop.in.in 
b/src/tracker-extract/tracker-extract.desktop.in.in
index 59fc0af2e..426ee824e 100644
--- a/src/tracker-extract/tracker-extract.desktop.in.in
+++ b/src/tracker-extract/tracker-extract.desktop.in.in
@@ -1,7 +1,6 @@
 [Desktop Entry]
-_Name=Tracker Metadata Extractor
-_Comment=Extracts metadata from local files
-Icon=
+Name=Tracker Metadata Extractor
+Comment=Extracts metadata from local files
 Exec=@libexecdir@/tracker-extract
 Terminal=false
 Type=Application
@@ -12,7 +11,3 @@ X-KDE-StartupNotify=false
 X-KDE-UniqueApplet=true
 NoDisplay=true
 OnlyShowIn=GNOME;KDE;XFCE;X-IVI;Unity;
-X-GNOME-Bugzilla-Bugzilla=GNOME
-X-GNOME-Bugzilla-Product=tracker
-X-GNOME-Bugzilla-Component=Extractor
-X-GNOME-Bugzilla-Version=@VERSION@
diff --git a/src/tracker-writeback/.gitignore b/src/tracker-writeback/.gitignore
index 6e569e743..7a773210d 100644
--- a/src/tracker-writeback/.gitignore
+++ b/src/tracker-writeback/.gitignore
@@ -1,5 +1,4 @@
 tracker-writeback
 *.service
-*.xml
 *.valid
 *.cfg.5
diff --git a/src/tracker-writeback/meson.build b/src/tracker-writeback/meson.build
index f84eab579..367c9dcc5 100644
--- a/src/tracker-writeback/meson.build
+++ b/src/tracker-writeback/meson.build
@@ -56,11 +56,7 @@ dbus_service_file = configure_file(
   install: true,
   install_dir: dbus_services_dir)
 
-custom_target('tracker-writeback-settings-schema',
-  input: 'org.freedesktop.Tracker.Writeback.gschema.xml.in',
-  output: 'org.freedesktop.Tracker.Writeback.gschema.xml',
-  command: ['intltool-merge', '--quiet', '--xml-style', '--utf8', join_paths(meson.source_root(), 'po'), 
'@INPUT@', '@OUTPUT@'],
-  install: true,
+install_data('org.freedesktop.Tracker.Writeback.gschema.xml',
   install_dir: gsettings_schema_dir)
 
 if install_systemd_user_services
diff --git a/src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml.in 
b/src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml
similarity index 92%
rename from src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml.in
rename to src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml
index ba6b0e143..597bd8df4 100644
--- a/src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml.in
+++ b/src/tracker-writeback/org.freedesktop.Tracker.Writeback.gschema.xml
@@ -21,8 +21,8 @@ Boston, MA  02110-1301, USA.
   <schema id="org.freedesktop.Tracker.Writeback" path="/org/freedesktop/tracker/writeback/" 
gettext-domain="tracker-miners">
     <key name="verbosity" enum="org.freedesktop.TrackerMiners.TrackerVerbosity">
       <default>'errors'</default>
-      <_summary>Log verbosity</_summary>
-      <_description>Log verbosity.</_description>
+      <summary>Log verbosity</summary>
+      <description>Log verbosity.</description>
     </key>
   </schema>
 </schemalist>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]