[gvfs] build: Use ITS rules for polkit in meson



commit 5694afe2d3b185b1eee4219f4807049aeb06749f
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Sat Nov 11 11:38:17 2017 +0100

    build: Use ITS rules for polkit in meson
    
    In a previous change polkit ITS rules were included to be used
    when merging translations with gettext. However, the use of this
    files is missing when using meson.
    
    This patch restores the use of those files.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=786149

 daemon/meson.build |    1 +
 meson.build        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/daemon/meson.build b/daemon/meson.build
index 6dda4d6..ba3ef52 100644
--- a/daemon/meson.build
+++ b/daemon/meson.build
@@ -386,6 +386,7 @@ if enable_admin
     input: policy_in,
     output: policy,
     po_dir: po_dir,
+    data_dirs: its_dir,
     install: true,
     install_dir: join_paths(gvfs_datadir, 'polkit-1', 'actions')
   )
diff --git a/meson.build b/meson.build
index e12a4c3..cb40275 100644
--- a/meson.build
+++ b/meson.build
@@ -481,6 +481,7 @@ pkg = import('pkgconfig')
 service_conf = configuration_data()
 service_conf.set('libexecdir', gvfs_libexecdir)
 
+its_dir = join_paths(meson.source_root(), 'gettext')
 po_dir = join_paths(meson.source_root(), 'po')
 
 top_inc = include_directories('.')


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