Am 10.09.2017 um 11:45 schrieb Michael Biebl:
> So the trivial fix is as simple as the attached patch.
> That said, it's unfortunate that gnome-photos redefines localedir when
> meson already provides the localedir variable, see meson --help →
> --localedir

Just in case it wasn't obvious, I think a better solution is to use
localedir like this

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff --git a/meson.build b/meson.build
index 7c87e26..a4a49cc 100644
--- a/meson.build
+++ b/meson.build
@@ -41,7 +41,7 @@ conf.set_quoted('PACKAGE_VERSION', meson.project_version())
 conf.set_quoted('VERSION', meson.project_version())
 conf.set_quoted('GETTEXT_PACKAGE', meson.project_name())
 conf.set_quoted('DATADIR', join_paths(get_option('prefix'), get_option('datadir')))
-conf.set_quoted('GNOMELOCALEDIR', join_paths(get_option('prefix'), get_option('datadir'), '/locale'))
+conf.set_quoted('GNOMELOCALEDIR', join_paths(get_option('prefix'), get_option('localedir')))
 if have_first_weekday
   conf.set('HAVE__NL_TIME_FIRST_WEEKDAY', '1')
 endif

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to