summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-08-13 10:42:31 -0400
committerMatthias Clasen <mclasen@redhat.com>2019-08-13 10:43:36 -0400
commitaceb58182019924a246e85d1b827058d50557952 (patch)
tree1ecb9ff777a9e706d3f99ec35025568491da7c6c
parent0f44a2b18d29022a5de9613feaf8cce4c6795aa3 (diff)
downloadpango-aceb58182019924a246e85d1b827058d50557952.tar.gz
Improve docs build
We want to include api docs for platform-specific apis. Avoid getting build failures for introspection by explictly generating a types file with only the linux types.
-rw-r--r--docs/meson.build25
-rw-r--r--docs/pango.types.in64
2 files changed, 67 insertions, 22 deletions
diff --git a/docs/meson.build b/docs/meson.build
index 419ab503..a99448af 100644
--- a/docs/meson.build
+++ b/docs/meson.build
@@ -36,26 +36,6 @@ private_headers = [
'pangocoretext-private.h',
]
-if host_system != 'darwin'
- private_headers += [
- 'pangocairo-coretextfont.h',
- 'pangocairo-coretext.h',
- 'pangocoretext.h',
- ]
-endif
-
-if host_system != 'windows'
- private_headers += [
- 'pangocairo-win32.h',
- 'pangowin32.h',
- ]
-else
- private_headers += [
- 'pangoxft.h',
- 'pangoxft-render.h',
- ]
-endif
-
content_files = [
'pango_markup.sgml',
'version.xml',
@@ -96,9 +76,10 @@ gnome.gtkdoc('pango',
join_paths(meson.build_root(), 'pango'),
],
dependencies: docdeps,
- gobject_typesfile: 'pango.types',
+ gobject_typesfile: configure_file(input: 'pango.types.in',
+ output: 'pango.types',
+ configuration: pango_conf),
scan_args: [
- '--rebuild-types',
'--deprecated-guards=PANGO_DISABLE_DEPRECATED',
'--ignore-decorators=_PANGO_EXTERN',
'--ignore-headers=' + ' '.join(private_headers),
diff --git a/docs/pango.types.in b/docs/pango.types.in
new file mode 100644
index 00000000..f72400ce
--- /dev/null
+++ b/docs/pango.types.in
@@ -0,0 +1,64 @@
+pango_alignment_get_type
+pango_attr_iterator_get_type
+pango_attr_list_get_type
+pango_attr_type_get_type
+pango_attribute_get_type
+pango_bidi_type_get_type
+pango_cairo_fc_font_map_get_type
+pango_cairo_font_get_type
+pango_cairo_font_map_get_type
+pango_cairo_renderer_get_type
+pango_color_get_type
+pango_context_get_type
+pango_coverage_get_type
+pango_coverage_level_get_type
+pango_direction_get_type
+pango_ellipsize_mode_get_type
+pango_engine_get_type
+pango_engine_lang_get_type
+pango_engine_shape_get_type
+pango_fc_decoder_get_type
+pango_fc_font_get_type
+pango_fc_font_map_get_type
+pango_font_description_get_type
+pango_font_face_get_type
+pango_font_family_get_type
+pango_font_get_type
+pango_font_map_get_type
+pango_font_mask_get_type
+pango_font_metrics_get_type
+pango_fontset_get_type
+pango_fontset_simple_get_type
+pango_ft2_font_get_type
+pango_ft2_font_map_get_type
+pango_ft2_renderer_get_type
+pango_glyph_item_get_type
+pango_glyph_item_iter_get_type
+pango_glyph_string_get_type
+pango_gravity_get_type
+pango_gravity_hint_get_type
+pango_item_get_type
+pango_language_get_type
+pango_layout_get_type
+pango_layout_iter_get_type
+pango_layout_line_get_type
+pango_matrix_get_type
+pango_ot_info_get_type
+pango_ot_ruleset_get_type
+pango_render_part_get_type
+pango_renderer_get_type
+pango_script_get_type
+pango_script_iter_get_type
+pango_shape_flags_get_type
+pango_show_flags_get_type
+pango_stretch_get_type
+pango_style_get_type
+pango_tab_align_get_type
+pango_tab_array_get_type
+pango_underline_get_type
+pango_variant_get_type
+pango_weight_get_type
+pango_wrap_mode_get_type
+pango_xft_font_get_type
+pango_xft_font_map_get_type
+pango_xft_renderer_get_type