Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348813 - appvirtualbox-guest-additions sort of depend on xf86-input-mouse
Summary: appvirtualbox-guest-additions sort of depend on xf86-input-mouse
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High minor
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-15 21:48 UTC by Dima Tisnek
Modified: 2011-01-05 13:57 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dima Tisnek 2010-12-15 21:48:53 UTC
According to http://www.virtualbox.org/ticket/3213
xf86-input-virtualbox needs xf86-input-mouse to function as user expects

without input-mouse, pointer can be moved, but buttons cannot be clicked.

currently virtualbox-guest-additions rdepend's on input-virtualbox only

also, /etc/X11/xorg.conf needs these lines for proper mouse integration:
Section "InputDevice"
   Identifier   "Configured Mouse"
   Driver       "vboxmouse"
   Option       "CorePointer"
EndSection

without these lines, pointer works but is not synchronized with host screen.

version info:
kasang ~ # ls /var/db/pkg/* |grep virtualbox
virtualbox-guest-additions-3.2.12
xf86-input-virtualbox-3.2.12
xf86-video-virtualbox-3.2.12
kasang ~ # ls /var/db/pkg/* |grep xorg
xorg-drivers-1.7
xorg-server-1.7.7-r1



Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-12-31 12:21:51 UTC
I've added this as runtime dependency to x11-drivers/xf86-input-virtualbox (only latest version at the moment).

+  31 Dec 2010; Lars Wendler <polynomial-c@gentoo.org>                          
+  xf86-input-virtualbox-3.2.12.ebuild:                                         
+  Added x11-drivers/xf86-input-mouse to RDEPEND. Thanks to Dima Tisnek for     
+  reporting this in bug #348813.                                               
+

(In reply to comment #0)
> also, /etc/X11/xorg.conf needs these lines for proper mouse integration:
> Section "InputDevice"
>    Identifier   "Configured Mouse"
>    Driver       "vboxmouse"
>    Option       "CorePointer"
> EndSection

This is already part of the sample xorg.conf which can be found in the /usr/share/doc/virtualbox-guest-additions-${VERSION} directory.
Comment 2 Jochen Trumpf 2011-01-01 01:59:10 UTC
Hm, I am not sure if I agree with this fix. I for my part do not use xf86-input-mouse but xf86-input-evdev. This works perfectly. Your fix would now force me to also install xf86-input-mouse which creates potential conflicts. 

I believe a better fix would be to tell the user that they additionally need a full mouse driver (like e.g. xf86-input-mouse OR xf86-input-evdev) for things to work as expected and not to prescribe a particular one.

Just my 2 cents.

(Side note: The whole thing is a bit messy at the moment since xorg-server stopped supporting hal in newer versions. This means the pointer to the .fdi file is useless for these versions. While/if you edit the postinst message, you may want to clarify that users should use the xorg.conf OR the .fdi depending on their xorg-server version.)
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-05 13:57:18 UTC
I've added x11-drivers/xf86-input-evdev as RDEPEND, too. So now each of these two packages satisfy the dependency. 

As soon as I am at my dev machine again I will look into your suggestion regarding the .fdi file.