All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ross Burton <ross.burton@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 00/26] Use gtk-doc-stub
Date: Thu, 19 Jul 2012 17:10:47 +0100	[thread overview]
Message-ID: <cover.1342713965.git.ross.burton@intel.com> (raw)

That nice Colin Walters had the same problem in ostree that we have in Poky
- gtk-doc and modules that autoregen.  He solved it in a cleaner manner and
created gtk-doc-stub, which has the external interface of gtk-doc but
(obviously) does nothing.

This patch series:
- packages gtk-doc-stub
- changes the gtk-doc class to depend on gtk-doc-stub-native and pass
  --disable-gtk-doc to the configure script
- updates every recipe in oe-core that mentions gtk-doc

One question: is the dependency addition in gtk-doc.bbclass correct? 
Different recipies have different way of adding dependencies, and I'm not
sure if the native line is required.

For packages in other layers, you can:
- inherit gtk-doc
- remove gtk-doc from your DEPENDS
- remove --disable-gtk-doc from your OECONF
- stop creating gtk-doc.make in do_configure_prepend

I've compared buildhistory before and after this series, the only change was
that glib-2.0-doc packaged the existing documentation in the tarball.  I'm
not sure why it didn't do this before, but that's a bug fixed for free.

Ross

The following changes since commit 2665be9dd5730c3f1135b92d7d91de479c397a29:

  buildhistory.bbclass: Fix python whitespace (2012-07-19 12:33:20 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib ross/gtkdoc

for you to fetch changes up to 7c586b3b9b06e0f9f50f085419083c63830b7900:

  Remove gtk-doc (2012-07-19 17:05:54 +0100)

----------------------------------------------------------------
Ross Burton (26):
      Add gtk-doc-stub
      change gtk-doc.bbclass to pull in depends and oeconf
      glib-2.0: cleanup thanks to new gtk-doc.bbclass
      gconf: cleanup thanks to new gtk-doc.bbclass
      gobject-introspection: cleanup thanks to new gtk-doc.bbclass
      cogl: cleanup thanks to new gtk-doc.bbclass
      gypsy: inherit gtk-doc
      gconf: cleanup thanks to new gtk-doc.bbclass
      connman: cleanup thanks to new gtk-doc.bbclass
      polkit: cleanup thanks to new gtk-doc.bbclass
      polkit-gnome: cleanup thanks to new gtk-doc.bbclass
      gail: cleanup thanks to new gtk-doc.bbclass
      gnome-keyring: cleanup thanks to new gtk-doc.bbclass
      libart_lgpl: cleanup thanks to new gtk-doc.bbclass
      libgnome-keyring: cleanup thanks to new gtk-doc.bbclass
      gtk+: cleanup thanks to new gtk-doc.bbclass
      libglade: cleanup thanks to new gtk-doc.bbclass
      librsvg: cleanup thanks to new gtk-doc.bbclass
      clutter: cleanup thanks to new gtk-doc.bbclass
      pango: cleanup thanks to new gtk-doc.bbclass
      kmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you were looking for
      evolution-data-server: cleanup thanks to new gtk-doc.bbclass
      webkit-gtk: cleanup thanks to new gtk-doc.bbclass
      atk: cleanup thanks to new gtk-doc.bbclass
      vte: cleanup thanks to new gtk-doc.bbclass
      Remove gtk-doc

 meta/classes/gtk-doc.bbclass                       |   20 +++++--
 meta/recipes-connectivity/connman/connman.inc      |    5 +-
 meta/recipes-connectivity/gypsy/gypsy.inc          |    6 +-
 meta/recipes-connectivity/gypsy/gypsy_0.8.bb       |    2 +-
 meta/recipes-connectivity/gypsy/gypsy_git.bb       |    2 +
 meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb      |    5 +-
 meta/recipes-core/glib-2.0/glib.inc                |    6 +-
 meta/recipes-extended/polkit/polkit-gnome_0.102.bb |    5 +-
 meta/recipes-extended/polkit/polkit_0.104.bb       |    6 +-
 meta/recipes-gnome/gnome/gail_1.20.2.bb            |    6 +-
 meta/recipes-gnome/gnome/gconf_3.2.3.bb            |   10 +---
 meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb   |    6 +-
 .../gnome/gobject-introspection_1.32.1.bb          |   11 ++--
 .../gnome/gobject-introspection_git.bb             |   11 +---
 meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb     |    7 +--
 .../recipes-gnome/gnome/libgnome-keyring_2.32.0.bb |    6 +-
 meta/recipes-gnome/gtk+/gtk+.inc                   |    4 +-
 meta/recipes-gnome/gtk+/gtk+_2.12.7.bb             |    2 +-
 meta/recipes-gnome/gtk+/gtk+_2.16.6.bb             |    2 +-
 meta/recipes-gnome/gtk+/gtk+_2.24.8.bb             |    2 +-
 .../recipes-gnome/gtk-doc-stub/gtk-doc-stub_git.bb |   19 ++++++
 meta/recipes-gnome/gtk-doc/gtk-doc.bb              |   19 ------
 meta/recipes-gnome/gtk-doc/gtk-doc.m4              |   61 --------------------
 meta/recipes-gnome/libglade/libglade_2.6.4.bb      |    6 +-
 meta/recipes-gnome/librsvg/librsvg_2.32.1.bb       |    5 +-
 meta/recipes-graphics/clutter/clutter-1.8_1.8.4.bb |    2 +
 meta/recipes-graphics/clutter/clutter-1.8_git.bb   |    2 +-
 meta/recipes-graphics/clutter/clutter.inc          |    4 +-
 meta/recipes-graphics/clutter/cogl.inc             |    4 +-
 meta/recipes-graphics/clutter/cogl_1.8.2.bb        |    2 +-
 meta/recipes-graphics/clutter/cogl_git.bb          |    2 +-
 meta/recipes-graphics/pango/pango.inc              |    4 +-
 meta/recipes-graphics/pango/pango_1.28.4.bb        |    2 +-
 meta/recipes-kernel/kmod/kmod.inc                  |    6 +-
 meta/recipes-sato/eds/evolution-data-server_git.bb |   10 +---
 meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb       |    5 +-
 meta/recipes-support/atk/atk_2.2.0.bb              |    6 +-
 meta/recipes-support/vte/vte.inc                   |    4 +-
 meta/recipes-support/vte/vte_0.28.2.bb             |    2 +-
 39 files changed, 106 insertions(+), 183 deletions(-)
 create mode 100644 meta/recipes-gnome/gtk-doc-stub/gtk-doc-stub_git.bb
 delete mode 100644 meta/recipes-gnome/gtk-doc/gtk-doc.bb
 delete mode 100644 meta/recipes-gnome/gtk-doc/gtk-doc.m4

Ross Burton (26):
  Add gtk-doc-stub
  change gtk-doc.bbclass to pull in depends and oeconf
  glib-2.0: cleanup thanks to new gtk-doc.bbclass
  gconf: cleanup thanks to new gtk-doc.bbclass
  gobject-introspection: cleanup thanks to new gtk-doc.bbclass
  cogl: cleanup thanks to new gtk-doc.bbclass
  gypsy: inherit gtk-doc
  gconf: cleanup thanks to new gtk-doc.bbclass
  connman: cleanup thanks to new gtk-doc.bbclass
  polkit: cleanup thanks to new gtk-doc.bbclass
  polkit-gnome: cleanup thanks to new gtk-doc.bbclass
  gail: cleanup thanks to new gtk-doc.bbclass
  gnome-keyring: cleanup thanks to new gtk-doc.bbclass
  libart_lgpl: cleanup thanks to new gtk-doc.bbclass
  libgnome-keyring: cleanup thanks to new gtk-doc.bbclass
  gtk+: cleanup thanks to new gtk-doc.bbclass
  libglade: cleanup thanks to new gtk-doc.bbclass
  librsvg: cleanup thanks to new gtk-doc.bbclass
  clutter: cleanup thanks to new gtk-doc.bbclass
  pango: cleanup thanks to new gtk-doc.bbclass
  kmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you
    were looking for
  evolution-data-server: cleanup thanks to new gtk-doc.bbclass
  webkit-gtk: cleanup thanks to new gtk-doc.bbclass
  atk: cleanup thanks to new gtk-doc.bbclass
  vte: cleanup thanks to new gtk-doc.bbclass
  Remove gtk-doc

 meta/classes/gtk-doc.bbclass                       |   20 +++++--
 meta/recipes-connectivity/connman/connman.inc      |    5 +-
 meta/recipes-connectivity/gypsy/gypsy.inc          |    6 +-
 meta/recipes-connectivity/gypsy/gypsy_0.8.bb       |    2 +-
 meta/recipes-connectivity/gypsy/gypsy_git.bb       |    2 +
 meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb      |    5 +-
 meta/recipes-core/glib-2.0/glib.inc                |    6 +-
 meta/recipes-extended/polkit/polkit-gnome_0.102.bb |    5 +-
 meta/recipes-extended/polkit/polkit_0.104.bb       |    6 +-
 meta/recipes-gnome/gnome/gail_1.20.2.bb            |    6 +-
 meta/recipes-gnome/gnome/gconf_3.2.3.bb            |   10 +---
 meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb   |    6 +-
 .../gnome/gobject-introspection_1.32.1.bb          |   11 ++--
 .../gnome/gobject-introspection_git.bb             |   11 +---
 meta/recipes-gnome/gnome/libart-lgpl_2.3.21.bb     |    7 +--
 .../recipes-gnome/gnome/libgnome-keyring_2.32.0.bb |    6 +-
 meta/recipes-gnome/gtk+/gtk+.inc                   |    4 +-
 meta/recipes-gnome/gtk+/gtk+_2.12.7.bb             |    2 +-
 meta/recipes-gnome/gtk+/gtk+_2.16.6.bb             |    2 +-
 meta/recipes-gnome/gtk+/gtk+_2.24.8.bb             |    2 +-
 .../recipes-gnome/gtk-doc-stub/gtk-doc-stub_git.bb |   19 ++++++
 meta/recipes-gnome/gtk-doc/gtk-doc.bb              |   19 ------
 meta/recipes-gnome/gtk-doc/gtk-doc.m4              |   61 --------------------
 meta/recipes-gnome/libglade/libglade_2.6.4.bb      |    6 +-
 meta/recipes-gnome/librsvg/librsvg_2.32.1.bb       |    5 +-
 meta/recipes-graphics/clutter/clutter-1.8_1.8.4.bb |    2 +
 meta/recipes-graphics/clutter/clutter-1.8_git.bb   |    2 +-
 meta/recipes-graphics/clutter/clutter.inc          |    4 +-
 meta/recipes-graphics/clutter/cogl.inc             |    4 +-
 meta/recipes-graphics/clutter/cogl_1.8.2.bb        |    2 +-
 meta/recipes-graphics/clutter/cogl_git.bb          |    2 +-
 meta/recipes-graphics/pango/pango.inc              |    4 +-
 meta/recipes-graphics/pango/pango_1.28.4.bb        |    2 +-
 meta/recipes-kernel/kmod/kmod.inc                  |    6 +-
 meta/recipes-sato/eds/evolution-data-server_git.bb |   10 +---
 meta/recipes-sato/webkit/webkit-gtk_1.8.1.bb       |    5 +-
 meta/recipes-support/atk/atk_2.2.0.bb              |    6 +-
 meta/recipes-support/vte/vte.inc                   |    4 +-
 meta/recipes-support/vte/vte_0.28.2.bb             |    2 +-
 39 files changed, 106 insertions(+), 183 deletions(-)
 create mode 100644 meta/recipes-gnome/gtk-doc-stub/gtk-doc-stub_git.bb
 delete mode 100644 meta/recipes-gnome/gtk-doc/gtk-doc.bb
 delete mode 100644 meta/recipes-gnome/gtk-doc/gtk-doc.m4

-- 
1.7.10




             reply	other threads:[~2012-07-19 16:22 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 16:10 Ross Burton [this message]
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       ` [PATCH] " Ross Burton
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=cover.1342713965.git.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.