From: Ross Burton <ross.burton@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] change gtk-doc.bbclass to pull in depends and oeconf
Date: Thu, 19 Jul 2012 19:47:34 +0100 [thread overview]
Message-ID: <1342723654-9443-2-git-send-email-ross.burton@intel.com> (raw)
In-Reply-To: <1342723654-9443-1-git-send-email-ross.burton@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/classes/gtk-doc.bbclass | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/meta/classes/gtk-doc.bbclass b/meta/classes/gtk-doc.bbclass
index 58daaf3..603b191 100644
--- a/meta/classes/gtk-doc.bbclass
+++ b/meta/classes/gtk-doc.bbclass
@@ -1,4 +1,16 @@
-# We don't have gtk-doc so disable it
-do_configure_prepend() {
- echo "EXTRA_DIST=">> ${S}/gtk-doc.make
-}
+# Helper class to pull in the right gtk-doc dependencies and disable
+# gtk-doc.
+#
+# Long-term it would be great if this class could be toggled between
+# gtk-doc-stub-native and the real gtk-doc-native, which would enable
+# re-generation of documentation. For now, we'll make do with this which
+# packages up any existing documentation (so from tarball builds).
+
+DEPENDS_append = " gtk-doc-stub-native"
+DEPENDS_virtclass-native_append = " gtk-doc-stub-native"
+
+EXTRA_OECONF_append = "\
+ --disable-gtk-doc \
+ --disable-gtk-doc-html \
+ --disable-gtk-doc-pdf \
+"
--
1.7.10
next prev parent reply other threads:[~2012-07-19 18:59 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 16:10 [PATCH 00/26] Use gtk-doc-stub Ross Burton
2012-07-19 16:10 ` [PATCH 01/26] Add gtk-doc-stub Ross Burton
2012-07-19 16:10 ` [PATCH 02/26] change gtk-doc.bbclass to pull in depends and oeconf Ross Burton
2012-07-19 16:43 ` Richard Purdie
2012-07-19 18:47 ` Ross Burton
2012-07-19 18:47 ` Ross Burton [this message]
2012-07-19 16:10 ` [PATCH 03/26] glib-2.0: cleanup thanks to new gtk-doc.bbclass Ross Burton
2012-07-19 16:10 ` [PATCH 04/26] gconf: " Ross Burton
2012-07-19 16:10 ` [PATCH 05/26] gobject-introspection: " Ross Burton
2012-07-19 16:10 ` [PATCH 06/26] cogl: " Ross Burton
2012-07-19 16:10 ` [PATCH 07/26] gypsy: inherit gtk-doc Ross Burton
2012-07-19 16:10 ` [PATCH 08/26] gconf: cleanup thanks to new gtk-doc.bbclass Ross Burton
2012-07-19 16:10 ` [PATCH 09/26] connman: " Ross Burton
2012-07-19 16:10 ` [PATCH 10/26] polkit: " Ross Burton
2012-07-19 16:10 ` [PATCH 11/26] polkit-gnome: " Ross Burton
2012-07-19 16:10 ` [PATCH 12/26] gail: " Ross Burton
2012-07-19 16:11 ` [PATCH 13/26] gnome-keyring: " Ross Burton
2012-07-19 16:11 ` [PATCH 14/26] libart_lgpl: " Ross Burton
2012-07-19 16:11 ` [PATCH 15/26] libgnome-keyring: " Ross Burton
2012-07-19 16:11 ` [PATCH 16/26] gtk+: " Ross Burton
2012-07-19 16:11 ` [PATCH 17/26] libglade: " Ross Burton
2012-07-19 16:11 ` [PATCH 18/26] librsvg: " Ross Burton
2012-07-19 16:11 ` [PATCH 19/26] clutter: " Ross Burton
2012-07-19 16:11 ` [PATCH 20/26] pango: " Ross Burton
2012-07-19 16:11 ` [PATCH 21/26] kmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you were looking for Ross Burton
2012-07-19 16:11 ` [PATCH 22/26] evolution-data-server: cleanup thanks to new gtk-doc.bbclass Ross Burton
2012-07-19 16:11 ` [PATCH 23/26] webkit-gtk: " Ross Burton
2012-07-19 16:11 ` [PATCH 24/26] atk: " Ross Burton
2012-07-19 16:11 ` [PATCH 25/26] vte: " Ross Burton
2012-07-19 16:11 ` [PATCH 26/26] Remove gtk-doc Ross Burton
2012-07-20 4:42 ` [PATCH 00/26] Use gtk-doc-stub Saul Wold
2012-07-20 7:03 ` Ross Burton
2012-07-20 9:28 ` Burton, Ross
2012-07-23 18:12 ` Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1342723654-9443-2-git-send-email-ross.burton@intel.com \
--to=ross.burton@intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox