vmmouse driver now in CVS

Daniel Stone daniel at freedesktop.org
Mon Jan 9 17:09:19 PST 2006


On Mon, Jan 09, 2006 at 12:03:04PM -0800, Philip Langdale wrote:
> I'm pleased to announce that we finally got our act
> together and got the vmmouse driver open-sourced and
> committed to xorg cvs.
> 
> More details here: http://intr.overt.org/blog/?p=26
> 
> The only thing remaining is ensuring that the driver
> only builds on x86[-64] (it will fail anywhere else).
> 
> The build.sh and build-from-tarballs.sh scripts are
> fairly easily adapted (there is already at least
> one example of using `uname -m` to conditionalise a
> driver) but the correct course of action is unclear
> to me with respect to jhbuild. Adam suggested that
> something along the lines of xorg-sun-drivers would
> be necessary, but then the onus is on the person
> running the script to know to build the extra module.
> 
> Any suggestions?
> 
> I have attached the diff of build.sh. There's an
> identical change to build-from-tarballs.sh.
> 
> --phil

> Index: build.sh
> ===================================================================
> RCS file: /cvs/xorg/util/modular/build.sh,v
> retrieving revision 1.64
> diff -u -r1.64 build.sh
> --- build.sh	27 Dec 2005 06:37:39 -0000	1.64
> +++ build.sh	9 Jan 2006 20:02:51 -0000
> @@ -259,6 +259,7 @@
>  build_driver_input() {
>  
>      HOST_OS=`uname -s`
> +    HOST_CPU=`uname -m`
>  
>      # Some drivers are only buildable on some OS'es
>      case $HOST_OS in
> @@ -271,6 +272,15 @@
>  	    ;;
>      esac
>  
> +    # And some drivers are only buildable on some CPUs.
> +    case $HOSE_CPU in
             ^^^^
$HOST_CPU, surely ...

Cheers,
Daniel



More information about the xorg mailing list