[pango/for-master: 2/4] build: Generate the correct introspection symbols
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/for-master: 2/4] build: Generate the correct introspection symbols
- Date: Tue, 14 Apr 2020 17:24:40 +0000 (UTC)
commit 113b6ae6e4d7315d2c02f1e083b1d98c59c16a3e
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Apr 14 17:42:12 2020 +0100
build: Generate the correct introspection symbols
The prefix for the Pango sub-libraries is still Pango, so we need to
ensure that the symbols and identifiers are correctly matched.
This partially reverts !175, as Pango does not have separate pkg-config
files for pango-ot and pango-fc.
pango/meson.build | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/pango/meson.build b/pango/meson.build
index 738bd36c..dd259c55 100644
--- a/pango/meson.build
+++ b/pango/meson.build
@@ -235,9 +235,9 @@ if build_pangoft2
dependencies: [ libpango_dep, pango_gir_dep ],
namespace: 'PangoFc',
nsversion: pango_api_version,
- identifier_prefix: 'PangoFc',
- symbol_prefix: 'pango_fc',
- export_packages: 'pangofc',
+ identifier_prefix: 'Pango',
+ symbol_prefix: 'pango',
+ export_packages: 'pangoft2',
includes: [ pango_gir[0], 'fontconfig-2.0', ],
header: 'pango/pangofc-fontmap.h',
install: true,
@@ -253,9 +253,9 @@ if build_pangoft2
dependencies: [ libpango_dep, pango_gir_dep, pangofc_gir_dep ],
namespace: 'PangoOT',
nsversion: pango_api_version,
- identifier_prefix: 'PangoOT',
- symbol_prefix: 'pango_ot',
- export_packages: 'pangoot',
+ identifier_prefix: 'Pango',
+ symbol_prefix: 'pango',
+ export_packages: 'pangoft2',
includes: [ pangofc_gir[0], 'freetype2-2.0', ],
header: 'pango/pango-ot.h',
install: true,
@@ -270,8 +270,8 @@ if build_pangoft2
dependencies: [ libpango_dep, pango_gir_dep, pangofc_gir_dep, pangoot_gir_dep ],
namespace: 'PangoFT2',
nsversion: pango_api_version,
- identifier_prefix: 'PangoFT2',
- symbol_prefix: 'pango_ft2',
+ identifier_prefix: 'Pango',
+ symbol_prefix: 'pango',
export_packages: 'pangoft2',
includes: [ pangofc_gir[0], 'freetype2-2.0', ],
header: 'pango/pangoft2.h',
@@ -344,8 +344,8 @@ if xft_dep.found() and fontconfig_dep.found()
dependencies: [ libpango_dep, libpangoft2_dep, pango_gir_dep, pangoot_gir_dep, pangoft2_gir_dep ],
namespace: 'PangoXft',
nsversion: pango_api_version,
- identifier_prefix: 'PangoXft',
- symbol_prefix: 'pango_xft',
+ identifier_prefix: 'Pango',
+ symbol_prefix: 'pango',
export_packages: 'pangoxft',
includes: [ pango_gir[0], pangoot_gir[0], pangoft2_gir[0], 'GObject-2.0', 'xft-2.0', 'xlib-2.0' ],
header: 'pango/pangoxft.h',
@@ -513,8 +513,8 @@ if cairo_dep.found()
dependencies: [ pangocairo_deps, pango_gir_dep ],
namespace: 'PangoCairo',
nsversion: pango_api_version,
- identifier_prefix: 'PangoCairo',
- symbol_prefix: 'pango_cairo',
+ identifier_prefix: 'Pango',
+ symbol_prefix: 'pango',
export_packages: 'pangocairo',
includes: [ pango_gir[0], 'GObject-2.0', 'cairo-1.0' ],
header: 'pango/pangocairo.h',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]