diff options
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch b/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch deleted file mode 100644 index 8e6598fbef..0000000000 --- a/meta/recipes-core/glib-2.0/glib-2.0/0001-Do-not-write-bindir-into-pkg-config-files.patch +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | From e7077aa23bfcd31a8e72e39dc93ce4f854678376 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 15 Feb 2019 11:17:27 +0100 | ||
4 | Subject: [PATCH] Do not write $bindir into pkg-config files | ||
5 | |||
6 | This would otherwise break when using the files to build other target | ||
7 | components (we need to rely on PATH containing the paths to utilities, | ||
8 | rather than use target paths). | ||
9 | |||
10 | Upstream-Status: Inappropriate [upstream wants the paths in .pc files] | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | --- | ||
13 | gio/meson.build | 16 ++++++++-------- | ||
14 | glib/meson.build | 6 +++--- | ||
15 | 2 files changed, 11 insertions(+), 11 deletions(-) | ||
16 | |||
17 | diff --git a/gio/meson.build b/gio/meson.build | ||
18 | index 5f91586..1a95f4f 100644 | ||
19 | --- a/gio/meson.build | ||
20 | +++ b/gio/meson.build | ||
21 | @@ -884,14 +884,14 @@ pkg.generate(libgio, | ||
22 | 'dtdsdir=' + '${datadir}' / dtds_subdir, | ||
23 | 'bindir=' + '${prefix}' / get_option('bindir'), | ||
24 | 'giomoduledir=' + pkgconfig_giomodulesdir, | ||
25 | - 'gio=' + '${bindir}' / 'gio', | ||
26 | - 'gio_querymodules=' + pkgconfig_multiarch_bindir / 'gio-querymodules', | ||
27 | - 'glib_compile_schemas=' + pkgconfig_multiarch_bindir / 'glib-compile-schemas', | ||
28 | - 'glib_compile_resources=' + '${bindir}' / 'glib-compile-resources', | ||
29 | - 'gdbus=' + '${bindir}' /'gdbus', | ||
30 | - 'gdbus_codegen=' + '${bindir}' / 'gdbus-codegen', | ||
31 | - 'gresource=' + '${bindir}' / 'gresource', | ||
32 | - 'gsettings=' + '${bindir}' / 'gsettings', | ||
33 | + 'gio=gio', | ||
34 | + 'gio_querymodules=gio-querymodules', | ||
35 | + 'glib_compile_schemas=glib-compile-schemas', | ||
36 | + 'glib_compile_resources=glib-compile-resources', | ||
37 | + 'gdbus=gdbus', | ||
38 | + 'gdbus_codegen=gdbus-codegen', | ||
39 | + 'gresource=gresource', | ||
40 | + 'gsettings=gsettings', | ||
41 | ], | ||
42 | version : glib_version, | ||
43 | install_dir : glib_pkgconfigreldir, | ||
44 | diff --git a/glib/meson.build b/glib/meson.build | ||
45 | index c26a35e..1d8ca6b 100644 | ||
46 | --- a/glib/meson.build | ||
47 | +++ b/glib/meson.build | ||
48 | @@ -447,9 +447,9 @@ pkg.generate(libglib, | ||
49 | variables : [ | ||
50 | 'bindir=' + '${prefix}' / get_option('bindir'), | ||
51 | 'datadir=' + '${prefix}' / get_option('datadir'), | ||
52 | - 'glib_genmarshal=' + '${bindir}' / 'glib-genmarshal', | ||
53 | - 'gobject_query=' + '${bindir}' / 'gobject-query', | ||
54 | - 'glib_mkenums=' + '${bindir}' / 'glib-mkenums', | ||
55 | + 'glib_genmarshal=glib-genmarshal', | ||
56 | + 'gobject_query=gobject-query', | ||
57 | + 'glib_mkenums=glib-mkenums', | ||
58 | 'glib_valgrind_suppressions=' + '${datadir}' / | ||
59 | valgrind_suppression_file_install_subdir / | ||
60 | fs.name(valgrind_suppression_file), | ||