diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-04-25 16:28:30 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-04-25 16:36:24 +0100 |
commit | 67152e533f8cea3788b667eda42bd1f80bbe5ef5 (patch) | |
tree | bc6a206719ad76ff9f35d0e5038de2f9a7d8f26d | |
parent | 4142b7ffe72a597f7f321dfec0d25b15e4582f1a (diff) | |
download | gdk-pixbuf-67152e533f8cea3788b667eda42bd1f80bbe5ef5.tar.gz |
meson: Fix building the API reference
We need to re-generate the gdk-pixbuf.types in order to include all
public types; this requires fixing the list of ignored headers.
-rw-r--r-- | docs/reference/gdk-pixbuf/meson.build | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/docs/reference/gdk-pixbuf/meson.build b/docs/reference/gdk-pixbuf/meson.build index 88e737d7c..4a40cf1e8 100644 --- a/docs/reference/gdk-pixbuf/meson.build +++ b/docs/reference/gdk-pixbuf/meson.build @@ -10,23 +10,29 @@ docpath = join_paths(gdk_pixbuf_datadir, 'gtk-doc', 'html') private_headers = [ 'pixops', + 'gdk-pixbuf.h', 'gdk-pixbuf-alias.h', + 'gdk-pixbuf-autocleanups.h', + 'gdk-pixbuf-buffer-queue-private.h', 'gdk-pixbuf-marshal.h', 'gdk-pixbuf-private.h', + 'gdk-pixbuf-scaled-anim.h', 'gdk-pixbuf-xlib-private.h', - 'io-gif-animation.h', 'io-ani-animation.h', + 'io-gdip-animation.h', + 'io-gdip-native.h', + 'io-gdip-propertytags.h', + 'io-gdip-utils.h', + 'io-gif-animation.h', 'xpm-color-table.h', 'test-images.h', ] -if get_option('docs') - # This should not be needed, but gnome.gtkdoc() does not copy the - # .types file into the builddir, if one is found - configure_file(input: 'gdk-pixbuf.types', - output: 'gdk-pixbuf.types', - configuration: configuration_data()) +if not get_option('x11') + private_headers += 'contrib' +endif +if get_option('docs') gnome.gtkdoc('gdk-pixbuf', main_xml: 'gdk-pixbuf.xml', src_dir: [ @@ -36,6 +42,7 @@ if get_option('docs') dependencies: gdkpixbuf_dep, gobject_typesfile: 'gdk-pixbuf.types', scan_args: [ + '--rebuild-types', '--deprecated-guards="GDK_PIXBUF_ENABLE_BROKEN|GDK_PIXBUF_DISABLE_DEPRECATED"', '--ignore-headers=' + ' '.join(private_headers), ], |