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 <[email protected]>
> ---
>  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'
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to