* [PATCH] tools: require at least pixman 0.21.8 for qemu-xen
@ 2015-02-11 15:00 Olaf Hering
2015-02-19 17:19 ` Ian Campbell
0 siblings, 1 reply; 2+ messages in thread
From: Olaf Hering @ 2015-02-11 15:00 UTC (permalink / raw)
To: xen-devel
Cc: Wei Liu, Olaf Hering, Ian Jackson, Ian Campbell, Stefano Stabellini
Avoid late build failure in openSUSE 11.4, it has just pixman-0.20:
....
[ 211s] ERROR: pixman >= 0.21.8 not present. Your options:
[ 211s] (1) Preferred: Install the pixman devel package (any recent
[ 211s] distro should have packages as Xorg needs pixman too).
[ 211s] (2) Fetch the pixman submodule, using:
[ 211s] git submodule update --init pixman
....
Please run autogen.sh after applying this patch.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
---
tools/configure | 18 +++++++++---------
tools/configure.ac | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/tools/configure b/tools/configure
index e7dac75..035ce5b 100755
--- a/tools/configure
+++ b/tools/configure
@@ -7724,12 +7724,12 @@ if test -n "$pixman_CFLAGS"; then
pkg_cv_pixman_CFLAGS="$pixman_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
- ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.21.8\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.21.8") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_pixman_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
+ pkg_cv_pixman_CFLAGS=`$PKG_CONFIG --cflags "pixman-1 >= 0.21.8" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -7741,12 +7741,12 @@ if test -n "$pixman_LIBS"; then
pkg_cv_pixman_LIBS="$pixman_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
- ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1 >= 0.21.8\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "pixman-1 >= 0.21.8") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_pixman_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
+ pkg_cv_pixman_LIBS=`$PKG_CONFIG --libs "pixman-1 >= 0.21.8" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -7767,14 +7767,14 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- pixman_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1`
+ pixman_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1 >= 0.21.8" 2>&1`
else
- pixman_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1`
+ pixman_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1 >= 0.21.8" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$pixman_PKG_ERRORS" >&5
- as_fn_error $? "Package requirements (pixman-1) were not met:
+ as_fn_error $? "Package requirements (pixman-1 >= 0.21.8) were not met:
$pixman_PKG_ERRORS
diff --git a/tools/configure.ac b/tools/configure.ac
index 03dadd7..4e0abdb 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -320,7 +320,7 @@ esac
dnl The following are only required when upstream QEMU is built
AS_IF([test "x$qemu_xen" = "xy"], [
PKG_CHECK_MODULES(glib, [glib-2.0 >= 2.12])
-PKG_CHECK_MODULES(pixman, pixman-1)
+PKG_CHECK_MODULES(pixman, [pixman-1 >= 0.21.8])
])
AX_CHECK_FETCHER
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools: require at least pixman 0.21.8 for qemu-xen
2015-02-11 15:00 [PATCH] tools: require at least pixman 0.21.8 for qemu-xen Olaf Hering
@ 2015-02-19 17:19 ` Ian Campbell
0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2015-02-19 17:19 UTC (permalink / raw)
To: Olaf Hering; +Cc: Wei Liu, Stefano Stabellini, Ian Jackson, xen-devel
On Wed, 2015-02-11 at 16:00 +0100, Olaf Hering wrote:
> Avoid late build failure in openSUSE 11.4, it has just pixman-0.20:
>
> ....
> [ 211s] ERROR: pixman >= 0.21.8 not present. Your options:
> [ 211s] (1) Preferred: Install the pixman devel package (any recent
> [ 211s] distro should have packages as Xorg needs pixman too).
> [ 211s] (2) Fetch the pixman submodule, using:
> [ 211s] git submodule update --init pixman
> ....
>
> Please run autogen.sh after applying this patch.
>
> Signed-off-by: Olaf Hering <olaf@aepfle.de>
> Cc: Ian Jackson <ian.jackson@eu.citrix.com>
> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Wei Liu <wei.liu2@citrix.com>
Acked + applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-19 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-11 15:00 [PATCH] tools: require at least pixman 0.21.8 for qemu-xen Olaf Hering
2015-02-19 17:19 ` Ian Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.