[OE-core] [RFC][PATCH 0/5] drop dependency on GNOME if x11 is disabled

Andreas Oberritter obi at opendreambox.org
Wed Feb 22 11:26:42 UTC 2012


I'd like to stop various GNOME packages from being built in a
distro which doesn't use x11. For me, this fixes many unwanted
dependencies, e.g. librsvg -> gconf -> polkit -> systemd -> udev-systemd
on a system with an old kernel (2.6.18), which cannot use a recent
udev. Of course, it saves some build time, too.

I guess, additional PR bumps for all users of gconf, gnomebase and
gtk-icon-cache bbclasses are required in order to pick up this change,
right? Does someone already have a script to automatically generate
a list of affected recipes? Is the PR bump required, considering that
this change mainly reduces build-time dependencies? It also disables
some preinst and postrm hooks, but they don't really hurt on existing
images. I suppose there aren't many images using GNOME packages
without x11. Any opinions?

Is it OK to use the 'x11' flag for this purpose? Is anybody using
GNOME with a different backend? Would it be better to introduce
a 'gnome' (and 'gconf'?) distro feature flag?

Regards,
Andreas

Andreas Oberritter (5):
  libsoup-2.4: don't depend on libgnome-keyring unless x11 is defined
  libproxy: don't depend on gconf unless x11 is defined
  gconf.bbclass: don't add dependencies or hooks unless x11 is defined
  gtk-icon-cache.bbclass: don't add dependencies or hooks unless x11 is
    defined
  gnomebase.bbclass: skip packages inheriting gnomebase unless x11 is
    defined

 meta/classes/gconf.bbclass                         |    5 ++++-
 meta/classes/gnomebase.bbclass                     |    7 ++++++-
 meta/classes/gtk-icon-cache.bbclass                |    5 ++++-
 meta/recipes-support/libproxy/libproxy_0.4.7.bb    |    4 ++--
 meta/recipes-support/libsoup/libsoup-2.4_2.36.1.bb |    4 ++--
 5 files changed, 18 insertions(+), 7 deletions(-)

-- 
1.7.5.4





More information about the Openembedded-core mailing list