summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-11-10 11:38:10 +0100
committerIñigo Martínez <inigomartinez@gmail.com>2017-11-11 20:37:07 +0100
commiteb190f2ce7414a731e04e8270e81b4e0f3e526ab (patch)
tree800a28f51c4981945d873a1c0222304e0cb6269a
parent0ecdbcad1ce1c9dca72b9a44bcbcc42696f078e2 (diff)
downloadeog-wip/inigomartinez/meson.tar.gz
build: Remove conditional EXIF documentationwip/inigomartinez/meson
EXIF support in Eye of GNOME is conditional and it can be enabled by using an option. When shuch option is disabled, documentation generation with GtkDoc should exclude EXIF. This patch disables this behaviour also including EXIF when documentation is generated, however a blank page will be presented. https://bugzilla.gnome.org/show_bug.cgi?id=784354
-rw-r--r--doc/reference/eog-docs.xml2
-rw-r--r--doc/reference/meson.build24
2 files changed, 0 insertions, 26 deletions
diff --git a/doc/reference/eog-docs.xml b/doc/reference/eog-docs.xml
index 967a5f04..8aeccf24 100644
--- a/doc/reference/eog-docs.xml
+++ b/doc/reference/eog-docs.xml
@@ -60,9 +60,7 @@
<xi:include href="xml/eog-debug.xml"/>
<xi:include href="xml/eog-uri-converter.xml"/>
<xi:include href="xml/eog-util.xml"/>
- <!--
<xi:include href="xml/eog-exif-util.xml"/>
- -->
<xi:include href="xml/eog-pixbuf-util.xml"/>
<xi:include href="xml/zoom.xml"/>
</chapter>
diff --git a/doc/reference/meson.build b/doc/reference/meson.build
index 921298c3..83f80f0a 100644
--- a/doc/reference/meson.build
+++ b/doc/reference/meson.build
@@ -32,30 +32,6 @@ configure_file(
configuration: version_conf
)
-# FIXME: gtkdoc is not able to get a configure_object as main_xml file.
-# https://github.com/mesonbuild/meson/issues/2271
-# https://github.com/mesonbuild/meson/issues/1875
-# https://github.com/mesonbuild/meson/issues/550
-'''
-# Build EXIF-related documentation if we really have support for it
-doc_conf = configuration_data()
-if have_exif or have_exempi
- doc_conf.set('EOG_DOC_EXIF_START', '')
- doc_conf.set('EOG_DOC_EXIF_STOP', '')
-else
- doc_conf.set('EOG_DOC_EXIF_START', '<!--')
- doc_conf.set('EOG_DOC_EXIF_STOP', '-->')
-endif
-
-docs_xml = meson.project_name() + '-docs.xml'
-
-main_xml = configure_file(
- input: docs_xml + '.in',
- output: docs_xml,
- configuration: doc_conf
-)
-'''
-
doc_path = join_paths(eog_datadir, 'gtk-doc', 'html', meson.project_name())
gnome.gtkdoc(