From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by mail.openembedded.org (Postfix) with ESMTP id C21C160991 for ; Thu, 30 May 2013 07:36:11 +0000 (UTC) Received: from e6520eb (pac33-2-82-240-38-71.fbx.proxad.net [82.240.38.71]) (Authenticated sender: eukrea) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 7D64D4B0015; Thu, 30 May 2013 09:36:06 +0200 (CEST) Date: Thu, 30 May 2013 09:36:04 +0200 From: Eric =?UTF-8?B?QsOpbmFyZA==?= To: Richard Purdie Message-ID: <20130530093604.79d1817b@e6520eb> In-Reply-To: <20130530090055.5495d737@e6520eb> References: <1369863047-3105-1-git-send-email-eric@eukrea.com> <1369864411.14887.255.camel@ted> <20130530090055.5495d737@e6520eb> Organization: =?UTF-8?B?RXVrcsOpYQ==?= Electromatique X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.18; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH] image.bbclass: depend on gdk-pixbuf-native X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 07:36:13 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le Thu, 30 May 2013 09:00:55 +0200, Eric B=C3=A9nard a =C3=A9crit : > Le Wed, 29 May 2013 22:53:31 +0100, > Richard Purdie a =C3=A9crit : >=20 > > On Wed, 2013-05-29 at 23:30 +0200, Eric B=C3=A9nard wrote: > > > it's using scripts from scripts/postinst-intercepts/ which contain > > > gdk-pixbuf-query-loaders so it should depend on gdk-pixbuf-native > > > else the host binary will be used and it will try to update the > > > host's cache > > >=20 > > > [YOCTO #4572] > > >=20 > > > Signed-off-by: Eric B=C3=A9nard > > > --- > > > fix the same problem in dylan > > >=20 > > > meta/classes/image.bbclass | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > >=20 > > > diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass > > > index 04db533..6c16a1a 100644 > > > --- a/meta/classes/image.bbclass > > > +++ b/meta/classes/image.bbclass > > > @@ -10,7 +10,7 @@ inherit gzipnative > > > =20 > > > LICENSE =3D "MIT" > > > PACKAGES =3D "" > > > -DEPENDS +=3D "${MLPREFIX}qemuwrapper-cross ${MLPREFIX}depmodwrapper-= cross" > > > +DEPENDS +=3D "${MLPREFIX}qemuwrapper-cross ${MLPREFIX}depmodwrapper-= cross gdk-pixbuf-native" > > > RDEPENDS +=3D "${IMAGE_INSTALL} ${LINGUAS_INSTALL} ${NORMAL_FEATURE_= INSTALL} ${ROOTFS_BOOTSTRAP_INSTALL}" > > > RRECOMMENDS +=3D "${NORMAL_FEATURE_INSTALL_OPTIONAL}" > >=20 > > Ah, this has made me realise what the real problem is and that there is > > a better way to fix this. We need to add > >=20 > > DEPENDS +=3D "gdk-pixbuf-native" > >=20 > > to pixbufcache.bbclass and gtk-icon-cache.bbclass then people not using > > those things don't get the dependency added. > >=20 > I tried on gtk-icon-cache and that didn't work ... seems I missed > pixbufcache.bbclass ;-) >=20 OK that was not the real problem. The real problem is that my image installs hicolor-icon-theme which has : inherit gnome allarch DEPENDS =3D "" so despite the classes that this recipe inherit have the correct dependencies, it won't have any dependency so if you install this package without any gnome package that will fail ... Patch is following. Eric