Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500166 - media-tv/xbmc should install a systemd unit
Summary: media-tv/xbmc should install a systemd unit
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords: PATCH
: 519542 (view as bug list)
Depends on:
Blocks: install-systemd-unit
  Show dependency tree
 
Reported: 2014-02-03 10:56 UTC by Wojciech Myrda
Modified: 2014-08-10 07:56 UTC (History)
2 users (show)

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


Attachments
xbmc.service (xbmc.service,282 bytes, text/plain)
2014-02-03 10:56 UTC, Wojciech Myrda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Myrda 2014-02-03 10:56:26 UTC
Created attachment 369428 [details]
xbmc.service

XBMC upstream does not ship with init script to start XBMC directly in systemd yet some distros such as Arch add it for faster startup of machines where XBMC starts as an dedicated application

https://www.archlinux.org/packages/community/i686/xbmc/

Such a file could be placed in the Portage as well. I attach their file which does work for me, but might need alteration if lets say user builds XBMC without lirc
Comment 1 Pacho Ramos gentoo-dev 2014-02-15 12:26:52 UTC
Looks like we neither provide an init.d openRC script to allow this way to start xbmc (that would add a dependency on xinit), would prefer to know if our package maintainers agree with this way to start it
Comment 2 SpanKY gentoo-dev 2014-02-17 19:18:21 UTC
not at this time.  that unit utilizes users/groups that the ebuild doesn't create and otherwise don't make sense.

at this time, you can accomplish largely the same thing with any login manager and configuring it to autologin for any user you want, and having that user launch xbmc as their session.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-10 07:56:44 UTC
*** Bug 519542 has been marked as a duplicate of this bug. ***