From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlOgG-0007D4-0o for qemu-devel@nongnu.org; Wed, 19 Dec 2012 13:47:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TlOgB-0001N7-PS for qemu-devel@nongnu.org; Wed, 19 Dec 2012 13:47:47 -0500 Received: from va3ehsobe003.messaging.microsoft.com ([216.32.180.13]:56748 helo=va3outboundpool.messaging.microsoft.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TlOgB-0001Mu-Ku for qemu-devel@nongnu.org; Wed, 19 Dec 2012 13:47:43 -0500 Date: Wed, 19 Dec 2012 12:47:33 -0600 From: Scott Wood References: <1355426208.14046.6@snotra> <50CADFC1.1050301@redhat.com> <1355511117.4740.4@snotra> <50D18295.8000509@redhat.com> In-Reply-To: <50D18295.8000509@redhat.com> (from kraxel@redhat.com on Wed Dec 19 03:02:13 2012) Message-ID: <1355942853.12062.2@snotra> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH] Allow building without graphics support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Stefan Weil , Anthony Liguori , qemu-devel@nongnu.org On 12/19/2012 03:02:13 AM, Gerd Hoffmann wrote: > On 12/14/12 19:51, Scott Wood wrote: > > On 12/14/2012 02:13:53 AM, Gerd Hoffmann wrote: > >> Hi, > >> > >> > Yes, I could manually install it, though then I get to deal with > >> telling > >> > the pixman build exactly where to install itself, and repeating =20 > the > >> > process for each toolchain and multilib-variant thereof. > >> > >> That part is easy too. You just need ${cross_prefix}-pkg-config. > >> A simple two-liner script which sets PKG_CONFIG_PATH, then calls > >> /usr/bin/pkg-config. That will not only work for pixman, but all > >> libraries detected via pkg-config by configure. > > > > I already have that (though I can't just use ${cross_prefx} because =20 > I > > have multilib variants to account for, so I set PKG_CONFIG=3D... when > > running configure), due to the glib dependency. >=20 > That works too. >=20 > > That just lets pixman > > (and other libraries) be found in the QEMU build; it doesn't reduce =20 > the > > burden of building and installing pixman for all targets. >=20 > Yep. Pixman isn't different from all other build dependencies though. It's different in that I don't actually need any of the functionality =20 that depends on it. :-P > Once you have pkg-config working for your cross-build setup it should =20 > do > fine for all packages qemu depends on. Again, pkg-config isn't the issue. -Scott=