public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Maxime Ripard <maxime.ripard@bootlin.com>
To: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH v8 08/16] igt: Make pixman mandatory
Date: Fri, 5 Oct 2018 17:23:59 +0200	[thread overview]
Message-ID: <20181005152359.aykjqgwc2zcvcwjk@flea> (raw)
In-Reply-To: <20181005114203.4ovcbrql3yountf2@ahiler-desk1.fi.intel.com>


[-- Attachment #1.1: Type: text/plain, Size: 4393 bytes --]

On Fri, Oct 05, 2018 at 02:42:03PM +0300, Arkadiusz Hiler wrote:
> On Thu, Oct 04, 2018 at 02:39:01PM +0200, Maxime Ripard wrote:
> > 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@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
> 
> 
> Squash this in:
> 
> diff --git a/configure.ac b/configure.ac
> index c75ef284..b80e905e 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -183,6 +183,7 @@ PKG_CHECK_MODULES(XRANDR, xrandr >= 1.3, AC_DEFINE(HAVE_XRANDR, 1, [Have libXran
>  PKG_CHECK_MODULES(CAIRO, [cairo >= 1.12.0])
>  PKG_CHECK_MODULES(LIBUDEV, [libudev])
>  PKG_CHECK_MODULES(GLIB, [glib-2.0])
> +PKG_CHECK_MODULES(PIXMAN, [pixman-1])
>  PKG_CHECK_MODULES(GSL, [gsl], [gsl=yes], [gsl=no])
>  AM_CONDITIONAL(HAVE_GSL, [test "x$gsl" = xyes])
>  
> @@ -206,8 +207,6 @@ if test "x$enable_chamelium" = xyes; then
>  			AC_MSG_ERROR([Failed to find xmlrpc, required by chamelium.])
>  		fi
>  	fi
> -	PKG_CHECK_MODULES(PIXMAN, pixman-1, [],
> -			  [AC_MSG_ERROR([Failed to find pixman, required by chamelium.])])
>  	if test x"$gsl" != xyes; then
>  		AC_MSG_ERROR([Failed to find gsl, required by chamelium.])
>  	fi
> diff --git a/lib/meson.build b/lib/meson.build
> index e60e5e02..7e2c9b7a 100644
> --- a/lib/meson.build
> +++ b/lib/meson.build
> @@ -66,6 +66,7 @@ lib_deps = [
>  	math,
>  	realtime,
>  	ssl,
> +	pixman,
>  ]
>  
>  if libdrm_intel.found()
> @@ -79,8 +80,8 @@ if valgrind.found()
>  	lib_deps += valgrind
>  endif
>  
> -if gsl.found() and pixman.found()
> -	lib_deps += [ gsl, pixman ]
> +if gsl.found()
> +	lib_deps += [ gsl ]
>  	lib_sources += [ 'igt_frame.c', 'igt_audio.c' ]
>  endif

I will, thanks!
Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

  reply	other threads:[~2018-10-05 15:24 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04 12:38 [igt-dev] [PATCH v8 00/16] chamelium: Test the plane formats Maxime Ripard
2018-10-04 12:38 ` [igt-dev] [PATCH v8 01/16] fb: Add buffer map/unmap functions Maxime Ripard
2018-10-04 12:38 ` [igt-dev] [PATCH v8 02/16] fb: Only set the GEM domain on intel platforms Maxime Ripard
2018-10-05  8:11   ` Arkadiusz Hiler
2018-10-04 12:38 ` [igt-dev] [PATCH v8 03/16] fb: Add RGB888 format Maxime Ripard
2018-10-05 15:57   ` Arkadiusz Hiler
2018-10-04 12:38 ` [igt-dev] [PATCH v8 04/16] fb: Use an igt_fb for the cairo shadow buffer Maxime Ripard
2018-10-08 13:41   ` Arkadiusz Hiler
2018-10-04 12:38 ` [igt-dev] [PATCH v8 05/16] fb: convert: Remove swizzle from the arguments Maxime Ripard
2018-10-04 12:38 ` [igt-dev] [PATCH v8 06/16] fb: Create common function to convert frame formats Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 07/16] fb: Add format conversion routine Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 08/16] igt: Make pixman mandatory Maxime Ripard
2018-10-05 11:42   ` Arkadiusz Hiler
2018-10-05 15:23     ` Maxime Ripard [this message]
2018-10-04 12:39 ` [igt-dev] [PATCH v8 09/16] tests: kms_plane: Disable XBGR8888 Maxime Ripard
2018-10-08 13:06   ` Arkadiusz Hiler
2018-10-08 13:15     ` Martin Peres
2018-10-04 12:39 ` [igt-dev] [PATCH v8 10/16] fb: Add support for conversions through pixman Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 11/16] fb: Add more formats Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 12/16] chamelium: Split CRC test function in two Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 13/16] chamelium: Change our pattern for a custom one if needed Maxime Ripard
2018-10-08 13:17   ` Arkadiusz Hiler
2018-10-04 12:39 ` [igt-dev] [PATCH v8 14/16] chamelium: Add format support Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 15/16] chamelium: Add format subtests Maxime Ripard
2018-10-04 12:39 ` [igt-dev] [PATCH v8 16/16] tests: Add chamelium formats subtests to vc4 test lists Maxime Ripard
2018-10-08 13:18   ` Arkadiusz Hiler
2018-10-05  9:46 ` [igt-dev] ✓ Fi.CI.BAT: success for chamelium: Test the plane formats (rev7) Patchwork
2018-10-05 13:21 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181005152359.aykjqgwc2zcvcwjk@flea \
    --to=maxime.ripard@bootlin.com \
    --cc=arkadiusz.hiler@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox