Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20647 - xmms now requires devfs
Summary: xmms now requires devfs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-08 15:05 UTC by Jacob
Modified: 2004-10-31 01:52 UTC (History)
2 users (show)

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


Attachments
Patch to xmms ebuild (xmms.ebuild.diff,572 bytes, patch)
2003-05-16 19:18 UTC, Jacob
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob 2003-05-08 15:05:08 UTC
[I assume] Due to the fix of bug 19461, xmms now uses hardcoded paths 
/dev/sound/dsp and /dev/sound/mixer.  I boot with gentoo=nodevfs, and my dsp and 
mixer, et ceteral,  are in /dev/. 
 
A possible fix: Detect nodevfs situation in ebuild 
A workaround: create directory /dev/sound and symlink dsp, mixer, sequencer, etc. if 
they do not exist.  Change owner/group to root.audio, adjust permissions 
appropriately. 
 
Sorry, I'm not sure what version to specify in terms of rc?. 
/etc/gentoo-release says: 
Gentoo Base System version 1.4.2.8
Comment 1 J. Ellis (RETIRED) gentoo-dev 2003-05-16 08:09:05 UTC
Do the files /dev/sound/dsp and /dev/sound/mixer don't exist on your system, them we can detect that and default to /dev/dsp and /dev/mixer.

Something like:

if [ -z /dev/sound/dsp ]
    myconf=${myconf} --with-dev-dsp=/dev/dsp
else
    myconf=${myconf} --with-dev-dsp=/dev/sound/dsp
fi

Let me know if that would work for your system. If so i'll attach an ebuild to this bug for you to test - i'm using devfs and don't really want to mess with my system by turning it off.
Comment 2 Jacob 2003-05-16 19:18:07 UTC
Created attachment 12076 [details, diff]
Patch to xmms ebuild

Patch to tell xmms to use /dev/sound/* if /dev/sound exists
Comment 3 Jacob 2003-05-16 19:21:46 UTC
The attatched patch works for me.  If it's not satisfactory, I can definitely test other 
ebuilds. 
Comment 4 J. Ellis (RETIRED) gentoo-dev 2003-05-16 22:56:23 UTC
Your approach looks good to me. I'll commit an r21 ~x86 masked in a few minutes.
Comment 5 J. Ellis (RETIRED) gentoo-dev 2003-05-16 23:18:57 UTC
Commited ~x86 masked. Let me know if there are any issues.

Thanks!
Comment 6 Jacob 2004-06-26 12:48:41 UTC
This problem is back with xmms-1.2.10-r5.ebuild.
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2004-10-31 01:52:33 UTC
fixed in cvs.