blob: f0c5d84ba7cb99181725d46c6616bacf24ee1cd9 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From abc26aed7a28678dfcc20b21726a97c7c02ea73b Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Thu, 14 Feb 2019 14:55:15 +0800
4Subject: [PATCH] Revert "Use absolute paths in pkg-config files"
5
6This reverts commit e7a7c9b97776fa2a638d18ea3a931ba84e778f80.
7
8The glib pkgconfig files now contain absolute paths, but they're
9target paths so when we used them from a sysroot it fails. Upstream
10thinks that we should be setting
11GLIB_MKENUMS=/path/to/sysroot/usr/bin/glib-mkenums but that really
12doesn't scale.
13
14For now, we just revert the change to put absolute paths into
15the sysroot. This should be re-evaluated when we move the recipe to use
16meson.
17
18Upstream-Status: Inappropriate [Revert of an upstream commit]
19Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
20---
21 gio-2.0.pc.in | 7 +++----
22 glib-2.0.pc.in | 7 +++----
23 2 files changed, 6 insertions(+), 8 deletions(-)
24
25diff --git a/gio-2.0.pc.in b/gio-2.0.pc.in
26index d67e80839..526f0daa0 100644
27--- a/gio-2.0.pc.in
28+++ b/gio-2.0.pc.in
29@@ -5,11 +5,10 @@ includedir=@includedir@
30
31 datadir=@datadir@
32 schemasdir=${datadir}/glib-2.0/schemas
33-bindir=@bindir@
34 giomoduledir=@GIO_MODULE_DIR@
35-glib_compile_schemas=${bindir}/glib-compile-schemas
36-glib_compile_resources=${bindir}/glib-compile-resources
37-gdbus_codegen=${bindir}/gdbus-codegen
38+glib_compile_schemas=glib-compile-schemas
39+glib_compile_resources=glib-compile-resources
40+gdbus_codegen=gdbus-codegen
41
42 Name: GIO
43 Description: glib I/O library
44diff --git a/glib-2.0.pc.in b/glib-2.0.pc.in
45index 3c5ea81dc..275fc0163 100644
46--- a/glib-2.0.pc.in
47+++ b/glib-2.0.pc.in
48@@ -3,10 +3,9 @@ exec_prefix=@exec_prefix@
49 libdir=@libdir@
50 includedir=@includedir@
51
52-bindir=@bindir@
53-glib_genmarshal=${bindir}/glib-genmarshal
54-gobject_query=${bindir}/gobject-query
55-glib_mkenums=${bindir}/glib-mkenums
56+glib_genmarshal=glib-genmarshal
57+gobject_query=gobject-query
58+glib_mkenums=glib-mkenums
59
60 Name: GLib
61 Description: C Utility Library
62--
632.17.1
64