Received: from eggs.gnu.org ([2001:4830:134:3::10]:36427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTMrw-0005rE-Cc for qemu-devel@nongnu.org; Sun, 14 Sep 2014 23:22:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTMrr-0005Ue-QC for qemu-devel@nongnu.org; Sun, 14 Sep 2014 23:22:24 -0400 Received: from [59.151.112.132] (port=39560 helo=heian.cn.fujitsu.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTMrr-0005UN-FE for qemu-devel@nongnu.org; Sun, 14 Sep 2014 23:22:19 -0400 Date: Mon, 15 Sep 2014 11:19:51 +0800 From: Hu Tao Message-ID: <20140915031951.GA30164@G08FNSTD100614.fnst.cn.fujitsu.com> References: <1410746038-10488-1-git-send-email-hutao@cn.fujitsu.com> <20140915024109.GA11056@G08FNSTD100614.fnst.cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20140915024109.GA11056@G08FNSTD100614.fnst.cn.fujitsu.com> Subject: Re: [Qemu-devel] [PATCH] configure: check for pixman-1 version List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , QEMU Developers , Gerd Hoffmann CCed Paolo On Mon, Sep 15, 2014 at 10:41:09AM +0800, Hu Tao wrote: > On Sun, Sep 14, 2014 at 07:23:20PM -0700, Peter Maydell wrote: > > On 14 September 2014 18:53, Hu Tao wrote: > > > commit a93a3af9 introduces use of PIXMAN_TYPE_RGBA, but it's only ava= ilable > > > in pixman >=3D 0.21.8. If pixman doesn't meet the version requirement= , qemu > > > will fail to build with following message: > > > > > > /home/hutao/qemu/ui/qemu-pixman.c: In function =E2=80=98qemu_pixelfor= mat_from_pixman=E2=80=99: > > > /home/hutao/qemu/ui/qemu-pixman.c:42: error: =E2=80=98PIXMAN_TYPE_RGB= A=E2=80=99 undeclared (first use in this function) > > > /home/hutao/qemu/ui/qemu-pixman.c:42: error: (Each undeclared identif= ier is reported only once > > > /home/hutao/qemu/ui/qemu-pixman.c:42: error: for each function it app= ears in.) > > > > > > This patch fixes the problem by checking the pixman version. > >=20 > > This alone is not sufficient, because the version of pixman > > we have in our submodule is only 0.18.4. We also need to > > bump that if we want to use newer versions (and to note > > the increased dependency in our release notes next time > > round). >=20 > Oh. I didn't noticed that. Should we just bump to the latest stable > pixman? or choose a best version? commit f27b2e1d bumped to pixman-0.28.2, but reverted later by 7b1b5d19 (mi= stakenly?) Regards, Hu