summaryrefslogtreecommitdiff
path: root/gegl04-gtk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gegl04-gtk.patch')
-rw-r--r--gegl04-gtk.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/gegl04-gtk.patch b/gegl04-gtk.patch
new file mode 100644
index 0000000..3ea14a9
--- /dev/null
+++ b/gegl04-gtk.patch
@@ -0,0 +1,30 @@
+From cf7e328c931a46997fbc4a40540afccd2da8f1e9 Mon Sep 17 00:00:00 2001
+From: Simon McVittie <smcv@debian.org>
+Date: Thu, 9 Sep 2021 13:00:36 +0100
+Subject: [PATCH] docs: Don't scan ctx.h with gtk-doc
+
+ctx.h contains both declarations and implementation, causing gtk-doc to
+fail. It isn't part of GEGL's public API anyway, so don't try to
+document it as such.
+
+Signed-off-by: Simon McVittie <smcv@debian.org>
+---
+ docs/reference/meson.build | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/docs/reference/meson.build b/docs/reference/meson.build
+index 8193a25ba..2348cec92 100644
+--- a/docs/reference/meson.build
++++ b/docs/reference/meson.build
+@@ -12,6 +12,7 @@ if gtkdoc_scan.found()
+ project_source_root / 'gegl',
+ project_build_root / 'gegl',
+ ],
++ ignore_headers: ['ctx.h'],
+ fixxref_args: [
+ '--html-dir=@0@'.format(gegl_gtk_docdir),
+ '--extra-dir=@0@'.format(glib_gtk_docdir),
+--
+GitLab
+
+