Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319193 - media-tv/xbmc-9999: upstream made hald optional
Summary: media-tv/xbmc-9999: upstream made hald optional
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-10 18:13 UTC by hal
Modified: 2010-05-23 21:06 UTC (History)
0 users

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 hal 2010-05-10 18:13:12 UTC
xbmc doesn't require sys-apps/hal anymore. it is now optional. configure.in checks for the following:

1. udisks/(devicekit)
2. hal
3. pmount

details: http://forum.xbmc.org/showthread.php?t=61133&highlight=udisks

as udev/udisks/upower is the future way to go, we have now several possibilities.

1. drop sys-apps/hal dependency completely from the ebuild
2. make sys-apps/hal dependency optional via useflag

i think atm best would be to go for option 2 since there are some stable ebuilds that still require hal and not everybody could have udisks/upower installed on their systems.

Reproducible: Always

Steps to Reproduce:
1. emerge xbmc


Actual Results:  
xbmc pulls in hal which is not necessarily required. many systems are already "hal-free".

Expected Results:  
xbmc should not pull in hal as a dependency. at least make it optional via an useflag.
Comment 1 hal 2010-05-10 18:15:01 UTC
addition: this was fixed in r29991. so this bug report refers to the 9999 and stable future ebuilds.
Comment 2 SpanKY gentoo-dev 2010-05-23 21:01:05 UTC
i dont see any pmount/udisk logic.  ive simply added USE=hal via use_enable hal.

http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.54&r2=1.55
Comment 3 hal 2010-05-23 21:06:08 UTC
(In reply to comment #2)
> i dont see any pmount/udisk logic.  ive simply added USE=hal via use_enable
> hal.
> 
> http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.54&r2=1.55
> 

thanks. looks like it's like an automatism: http://trac.xbmc.org/ticket/9200