[PATCH modular 1/3] jhbuildrc: Pass --enable-nouveau-experimental-api to libdrm.

Jon TURNEY jon.turney at dronecode.org.uk
Sun Nov 14 09:37:51 PST 2010


On 14/11/2010 00:50, Cyril Brulebois wrote:
> This option is needed to build xf86-video-nouveau, but is disabled by
> default in libdrm. Let's make jhbuild able to build xf86-video-nouveau
> by default.
> 
> Signed-off-by: Cyril Brulebois <kibi-8fiUuRrzOP0dnm+yROfE0A at public.gmane.org>
> ---
>  jhbuildrc |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/jhbuildrc b/jhbuildrc
> index de6a037..d178dcd 100644
> --- a/jhbuildrc
> +++ b/jhbuildrc
> @@ -23,3 +23,8 @@ os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib', 'pkgconfig') \
>  
>  #autogenargs='--cache-file=/usr/src/jhmodular/configure-cache --disable-static'
>  #os.environ['INSTALL'] = os.path.join(os.environ['HOME'], 'bin', 'install-check')
> +
> +# Needed to configure libdrm for xf86-video-nouveau:
> +module_autogenargs = {
> +  'libdrm': '--enable-nouveau-experimental-api',
> +}

Might I suggest the alternate syntax to be consistent with the style of the
reset of the file, and I believe we need to take steps to appply any setting
of autogenargs (e.g. setting --cache-file), e.g.

module_autogenargs['libdrm'] = autogenargs + ' --enable-nouveau-experimental-api'


More information about the xorg-devel mailing list