Hello community, here is the log from the commit of package sax2 checked in at Thu Feb 21 02:00:29 CET 2008. -------- --- sax2/sax2.changes 2008-02-18 12:18:29.000000000 +0100 +++ /mounts/work_src_done/STABLE/sax2/sax2.changes 2008-02-20 16:12:34.642662000 +0100 @@ -1,0 +2,6 @@ +Wed Feb 20 09:57:37 CET 2008 - ms@suse.de + +- added dynamic xen-mouse.pl profile to use the RealDevice for + the Xen Virtual Pointer VID 0x0210 DID 0x0018 (bnc #359500) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sax2.spec ++++++ --- /var/tmp/diff_new_pack.kC3749/_old 2008-02-21 02:00:12.000000000 +0100 +++ /var/tmp/diff_new_pack.kC3749/_new 2008-02-21 02:00:12.000000000 +0100 @@ -39,7 +39,7 @@ PreReq: /bin/rm /bin/mkdir /usr/bin/chroot %fillup_prereq %insserv_prereq Summary: SuSE advanced X Window System-configuration Version: 8.1 -Release: 355 +Release: 356 Group: System/X11/Utilities License: GPL v2 or later Source: sax2.tar.bz2 @@ -482,6 +482,9 @@ %endif %changelog +* Wed Feb 20 2008 ms@suse.de +- added dynamic xen-mouse.pl profile to use the RealDevice for + the Xen Virtual Pointer VID 0x0210 DID 0x0018 (bnc #359500) * Mon Feb 18 2008 ms@suse.de - cleanup spec file, avoid java to be part of the buildsystem if it is not requested with the macro build_java ++++++ sax2.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sax/api/data/cdb/Pointers new/sax/api/data/cdb/Pointers --- old/sax/api/data/cdb/Pointers 2008-02-17 17:04:23.000000000 +0100 +++ new/sax/api/data/cdb/Pointers 2008-02-20 15:58:25.000000000 +0100 @@ -467,7 +467,6 @@ Xen:Virtual Pointer { Driver = evdev Protocol = ExplorerPS/2 - Device = /dev/input/xenmouse ZAxisMapping = 4 5 Buttons = 5 } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sax/profile/automatic/input/xen-mouse new/sax/profile/automatic/input/xen-mouse --- old/sax/profile/automatic/input/xen-mouse 2008-02-08 12:16:13.000000000 +0100 +++ new/sax/profile/automatic/input/xen-mouse 2008-02-20 15:58:24.000000000 +0100 @@ -1,7 +1,11 @@ # Xen mouse -# Normally no device should be needed, but because of bug #359500 -# we leave the device as part of the configuration for now -# !remove InputDevice -> [X] -> Option -> Device +# dynamic profile which enables the Xen pointer. The Xen pointer +# requires the real input device to be set as device node. Therefore +# the dynamic part replaces the static multiplexer device +#==================================== +# Variables +#------------------------------------ +$Device = /dev/input/mice InputDevice -> [X] -> Identifier = Mouse[[X]] InputDevice -> [X] -> Driver = evdev @@ -9,4 +13,4 @@ InputDevice -> [X] -> Option -> Name = Xen Virtual Pointer InputDevice -> [X] -> Option -> Pass = 3 InputDevice -> [X] -> Option -> Buttons = 5 - +InputDevice -> [X] -> Option -> Device = ${Device} diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sax/profile/script/xen-mouse.pl new/sax/profile/script/xen-mouse.pl --- old/sax/profile/script/xen-mouse.pl 1970-01-01 01:00:00.000000000 +0100 +++ new/sax/profile/script/xen-mouse.pl 2008-02-20 09:57:45.000000000 +0100 @@ -0,0 +1,31 @@ +#!/usr/bin/perl + +use lib '/usr/share/sax/profile'; + +use strict; +use Profile; + +#==================================== +# Init profile script +#------------------------------------ +my $profile = ProfileInitScript(); + +#==================================== +# Get RealDevice from sysp +#------------------------------------ +my $card = ($ARGV[0] - 1) / 2; +my $device = ProfileGetRealMouseDevice ($card); + +#==================================== +# Adapt profile device +#------------------------------------ +local $/; +open (FD,"<",$profile) || + die "xen-mouse: Can't open $profile: $!"; +my $profileData = <FD>; +$profileData =~ s/\/dev\/input\/mice/$device/; +close FD; +open (FD,">",$profile) || + die "xen-mouse: Can't open $profile: $!"; +print FD $profileData; +close FD; diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/sax/svnbuild new/sax/svnbuild --- old/sax/svnbuild 2008-02-18 12:14:17.000000000 +0100 +++ new/sax/svnbuild 2008-02-20 16:12:10.000000000 +0100 @@ -1 +1 @@ -1518 +1523 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org