Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61992 - mouseconfig-4.4 (new ebuild)
Summary: mouseconfig-4.4 (new ebuild)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-08-27 18:28 UTC by John Richard Moser
Modified: 2007-02-03 14:03 UTC (History)
0 users

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


Attachments
mouseconfig-4.4.ebuild (mouseconfig-4.4.ebuild,988 bytes, text/plain)
2004-08-27 18:28 UTC, John Richard Moser
Details
files/mouseconfig-xorg.diff (mouseconfig-xorg.diff,1.97 KB, patch)
2004-08-27 18:29 UTC, John Richard Moser
Details | Diff
files/mouseconfig-xorg.diff (mouseconfig-xorg.diff,2.30 KB, patch)
2004-08-27 20:53 UTC, John Richard Moser
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Richard Moser 2004-08-27 18:28:02 UTC
Here's a hack-job ebuild for mouseconfig-4.4 from srpm.  It's not been repoman'd, but I tested it on x86 and amd64.  It doesn't seem very useful but eh.

It also is sed'ed for python 2.3 (it wants 1.5); what we really need is a way to get the current python dir, like /usr/include/python -> python2.3

It comes with a patch to make it operate on xorg.conf instead of XF86Config.

I don't see ANYTHING in the current code that actually alters the X device.  It seems Red Hat, in their infinite wisdom, decided to make it create a symlink /dev/mouse -> appropriate/device; I prefer just /dev/input/mice myself *shrug*

Reproducible: Always
Steps to Reproduce:
Comment 1 John Richard Moser 2004-08-27 18:28:37 UTC
Created attachment 38354 [details]
mouseconfig-4.4.ebuild

The ebuild
Comment 2 John Richard Moser 2004-08-27 18:29:35 UTC
Created attachment 38355 [details, diff]
files/mouseconfig-xorg.diff

Patch for mouseconfig.c, used by the ebuild.  This keeps it from playing with
/dev, and makes it use xorg.conf
Comment 3 John Richard Moser 2004-08-27 20:49:37 UTC
aww crap this breaks X, it seems to say Protocor "IMPS/2" instead of Option "Protocol" "IMPS/2" etc etc.  I hate parsers.

guess I could update the patch.
Comment 4 John Richard Moser 2004-08-27 20:53:18 UTC
Created attachment 38361 [details, diff]
files/mouseconfig-xorg.diff

Replacement patch

Protocol "foo"

becomes

Option "Protocol"  "foo"

plus everything else.
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-08-27 22:58:46 UTC
I'm not convinced that this is needed, to be honest, but I'm open to be convinced.

Having said that, Mr. Moser, you did some decent work on this.  Your help on some other bugs assigned to x11@gentoo.org would be welcome.
Comment 6 John Richard Moser 2004-09-17 11:27:12 UTC
Kudzu tries to use mouseconfig to hack the XF86Config or xorg.conf file.  I only made the ebuild and patch for completeness, not really because 'we need it'.

I like hardware autoconfiguration.  I can hack the configs by hand; but after doing it so much, I realized that there's no glory in refusing to use the easier method :)

It's still up to you.  Honestly I don't see Gentoo's user base using this a lot.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-02-03 14:03:23 UTC
Dead...