[OE-core] [PATCH 1/2] hicolor-icon-theme: keep inherited dependencies

Eric Bénard eric at eukrea.com
Thu May 30 11:11:42 UTC 2013


Le Thu, 30 May 2013 11:49:00 +0100,
Richard Purdie <richard.purdie at linuxfoundation.org> a écrit :

> On Thu, 2013-05-30 at 12:32 +0200, Eric Bénard wrote:
> > Le Thu, 30 May 2013 09:32:38 +0100,
> > "Burton, Ross" <ross.burton at intel.com> a écrit :
> > 
> > > On 30 May 2013 09:09, Martin Jansa <martin.jansa at gmail.com> wrote:
> > > > Doesn't it depend now on something which isn't allarch? IIRC gnome.bbclass
> > > > brings gconf.
> > > 
> > > gnome.bbclass is an abomination and should be gutted.  Yes, this will
> > > mean the build dependencies are massive, and I can't see why this
> > > recipe needs gnome.bbclass.  Then again it doesn't need gtk-icon-cache
> > > either as it doesn't actually have any icons in.  I'd be interested in
> > > seeing a buildhistory-diff between the current recipe and one with
> > > both inherit gnome and DEPENDS=""DEPENDS="" removed.
> > > 
> > when  removing gnome I get the following error at install :
> > DEBUG: Executing shell function do_install
> > install: cannot create regular file
> > `/scratch/setup-scripts/build/tmp-defaultsetup-eglibc-eglibc/work/all-oe-li\
> > nux/hicolor-icon-theme/0.12-r1/image//usr/share/icons/hicolor': No such
> > file or directory
> 
> I have a suspicion we really want a gnomebase inherit in the recipe
> instead of gnome and that might solve serveral issues in one.
> 
inherit gnomebase and remove DEPENDS=""
seems to work fine (the postinst and postrm scripts are removed).
removing DEPENDS="" is not a big issue as it only brings native
packages :
DEPENDS = autoconf-native automake-native gnome-common-native
gnu-config-native libtool-native pkgconfig-native

Eric



More information about the Openembedded-core mailing list