Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 190669

Summary: app-misc/lirc init script should provide lirc (for irtrans)
Product: Gentoo Linux Reporter: Mario Fetka (geos_one) <mario.fetka>
Component: New packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 190285, 200224    
Attachments: add provide lirc

Description Mario Fetka (geos_one) 2007-08-29 17:16:14 UTC
Requesting for exteding the init script from lirc to add an "provide lirc"

why?

in the tree are now 2 lirc compatible servers lircd/irtrans-irserver

by adding such an entry to both would solve #190285
this way all packages like vdr/mythtv/xine/.... would only need to depend on lirc.

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2007-08-29 18:04:43 UTC
Just stick "provide lircd" in irtrans-irserver and be done with it. No special renaming or changing needing to be done. Because provide $NAME_OF_SCRIPT, is already implied. So technically, the lircd init script provides lircd.

I'll refrain from closing this until Matthias comments.
Comment 2 Mario Fetka (geos_one) 2007-08-29 19:48:28 UTC
(In reply to comment #1)
> Just stick "provide lircd" in irtrans-irserver and be done with it. No special
> renaming or changing needing to be done. Because provide $NAME_OF_SCRIPT, is
> already implied. So technically, the lircd init script provides lircd.
> 
> I'll refrain from closing this until Matthias comments.
> 

take a look at comment 3 of #190285
as it shows this (added provide lircd to irtrans-server) will result in:
"*  Cannot add provide 'lircd', as a service with the same name exists!"

i think you got it wrong:
the idea was to extend both scripts with "provide lirc" that other scripts can depend on so "no special renaming" of the lircd init script is needed
Comment 3 Mario Fetka (geos_one) 2007-11-24 19:38:13 UTC
Created attachment 136912 [details]
add provide lirc
Comment 4 Mario Fetka (geos_one) 2008-04-29 17:52:58 UTC
thx for adding provide lirc

Mario
Comment 5 Matthias Schwarzott gentoo-dev 2008-05-05 09:54:17 UTC
Added the provide to lirc-0.8.3.ebuild