Package: glib2.0 / 2.58.3-1

debian/61_glib-compile-binaries-path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
From: =?utf-8?q?Sebastian_Dr=C3=B6ge?= <slomo@debian.org>
Date: Tue, 13 Jul 2010 14:06:28 +0200
Subject: Adjust path to glib-compile-schemas in the pkg-config file

This is because gio-querymodules and glib-compile-schemas have been put in
a private, versioned directory in libglib2.0-0 to avoid a dependency loop.

Forwarded: not-needed, specific to Debian packaging
---
 gio-2.0.pc.in   | 2 +-
 gio/meson.build | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gio-2.0.pc.in b/gio-2.0.pc.in
index d67e808..768c3af 100644
--- a/gio-2.0.pc.in
+++ b/gio-2.0.pc.in
@@ -7,7 +7,7 @@ datadir=@datadir@
 schemasdir=${datadir}/glib-2.0/schemas
 bindir=@bindir@
 giomoduledir=@GIO_MODULE_DIR@
-glib_compile_schemas=${bindir}/glib-compile-schemas
+glib_compile_schemas=@libdir@/glib-2.0/glib-compile-schemas
 glib_compile_resources=${bindir}/glib-compile-resources
 gdbus_codegen=${bindir}/gdbus-codegen
 
diff --git a/gio/meson.build b/gio/meson.build
index 7f2c08e..853b2cc 100644
--- a/gio/meson.build
+++ b/gio/meson.build
@@ -823,7 +823,7 @@ pkg.generate(libraries : libgio,
                'schemasdir=' + join_paths('${datadir}', schemas_subdir),
                'bindir=' + join_paths('${prefix}', get_option('bindir')),
                'giomoduledir=' + giomodulesdir,
-               'glib_compile_schemas=' + join_paths('${bindir}', 'glib-compile-schemas'),
+               'glib_compile_schemas=' + join_paths('${libdir}', 'glib-2.0', 'glib-compile-schemas'),
                'glib_compile_resources=' + join_paths('${bindir}', 'glib-compile-resources'),
                'gdbus_codegen=' + join_paths('${bindir}', 'gdbus-codegen')],
   version : glib_version,