Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190669 - app-misc/lirc init script should provide lirc (for irtrans)
Summary: app-misc/lirc init script should provide lirc (for irtrans)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 190285 200224
  Show dependency tree
 
Reported: 2007-08-29 17:16 UTC by Mario Fetka (geos_one)
Modified: 2008-05-05 09:54 UTC (History)
0 users

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


Attachments
add provide lirc (lirc-initd-provide-lirc.patch,430 bytes, text/plain)
2007-11-24 19:38 UTC, Mario Fetka (geos_one)
Details

Note You need to log in before you can comment on or make changes to this bug.
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