[PATCH modular 1/3 (v2)] jhbuild: Pass --enable-nouveau-experimental-api to libdrm.

Dan Nicholson dbn.lists at gmail.com
Sun Mar 6 08:16:42 PST 2011


On Sun, Nov 14, 2010 at 11:43:14PM +0100, 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 at debian.org>
> ---
>  jhbuildrc |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/jhbuildrc b/jhbuildrc
> index de6a037..e10c8bf 100644
> --- a/jhbuildrc
> +++ b/jhbuildrc
> @@ -23,3 +23,6 @@ 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'] = autogenargs + ' --enable-nouveau-experimental-api'

Would this be more appropriate to put in the module definition so that
we don't have to depend on people's jhbuildrc?

@@ -527,7 +527,7 @@
     </dependencies>
   </autotools>
 
-  <autotools id="libdrm">
+  <autotools id="libdrm" autogenargs="-enable-nouveau-experimental-api">
     <branch repo="git.freedesktop.org" module="mesa/drm"/>
     <dependencies>
       <dep package="macros"/>

--
Dan


More information about the xorg-devel mailing list