[igt-dev] [PATCH v8 08/16] igt: Make pixman mandatory
Maxime Ripard
maxime.ripard at bootlin.com
Thu Oct 4 12:39:01 UTC 2018
So far, pixman was used exclusively when the Chamelium support was enabled.
However, since we're going to use it as one of the backend to do the
igt_fb conversions between formats, we'll need it all the time. Make
that explicit.
Signed-off-by: Maxime Ripard <maxime.ripard at bootlin.com>
---
README | 2 +-
meson.build | 9 +++------
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/README b/README
index f8ba5c710e81..78d14060dccd 100644
--- a/README
+++ b/README
@@ -145,6 +145,7 @@ the default configuration (package names may vary):
libcairo2-dev
libdrm-dev
libkmod-dev
+ libpixman-1-dev
libpciaccess-dev
libprocps-dev
libunwind-dev
@@ -157,7 +158,6 @@ The following dependencies are required for building chamelium support
(package names may vary):
libxmlrpc-core-c3-dev
- libpixman-1-dev
libudev-dev
libglib2.0-dev
libgsl-dev
diff --git a/meson.build b/meson.build
index faf1b764d69d..eff35585f619 100644
--- a/meson.build
+++ b/meson.build
@@ -105,6 +105,7 @@ libprocps = dependency('libprocps', required : true)
libunwind = dependency('libunwind', required : true)
libdw = dependency('libdw', required : true)
ssl = dependency('openssl', required : true)
+pixman = dependency('pixman-1', required : true)
valgrind = null_dep
valgrindinfo = 'No'
@@ -123,16 +124,12 @@ glib = dependency('glib-2.0', required : true)
gsl = null_dep
alsa = null_dep
-pixman = null_dep
if _build_audio or _build_chamelium
gsl = dependency('gsl', required : _audio_required or _chamelium_required)
endif
if _build_audio
alsa = dependency('alsa', required : _audio_required)
endif
-if _build_chamelium
- pixman = dependency('pixman-1', required : _chamelium_required)
-endif
audioinfo = 'No'
if _build_audio and alsa.found() and gsl.found()
@@ -164,8 +161,8 @@ endif
chamelium = null_dep
chameliuminfo = 'No'
-if _build_chamelium and pixman.found() and gsl.found() and xmlrpc.found() and xmlrpc_util.found() and xmlrpc_client.found()
- chamelium = declare_dependency(dependencies : [ pixman, xmlrpc,
+if _build_chamelium and gsl.found() and xmlrpc.found() and xmlrpc_util.found() and xmlrpc_client.found()
+ chamelium = declare_dependency(dependencies : [ xmlrpc,
xmlrpc_util, xmlrpc_client])
config.set('HAVE_CHAMELIUM', 1)
chameliuminfo = 'Yes'
--
git-series 0.9.1
More information about the igt-dev
mailing list