Projects
Multimedia
kodi
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 16
View file
kodi-noX.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Oct 16 09:47:09 UTC 2015 - guillaume@opensuse.org + +- Add systemd *.service files + +------------------------------------------------------------------- Mon Aug 17 03:33:41 UTC 2015 - sagiben at gmail dot com - Version update to Kodi 15.1 Isengard Maintenance release
View file
kodi.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Oct 16 09:47:09 UTC 2015 - guillaume@opensuse.org + +- Add systemd *.service files + +------------------------------------------------------------------- Mon Aug 17 03:33:41 UTC 2015 - sagiben at gmail dot com - Version update to Kodi 15.1 Isengard Maintenance release
View file
kodi-noX.spec
Changed
@@ -51,6 +51,8 @@ # sh ../download_pvr.sh Source2: pvr-addons.tar.bz2 Source3: kodi-platform-054a42f66.tar.gz +Source10: kodi.service +Source11: kodi-noX.service Patch1: no-xbmc-symbolic-link.patch # Raspberry Pi (armv6): omxplayer 3D support is only available for non X11 KODI #Patch2: disable_omxplayer_3d_support.patch @@ -390,6 +392,13 @@ # SuSEfirewall service description install -D -m 644 %{_sourcedir}/kodi.SuSEFirewall2 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/kodi +# Systemd service file +%if %{noX_build} +install -m 0644 -D %{SOURCE11} %{buildroot}/%{_unitdir}/kodi-noX.service +%else +install -m 0644 -D %{SOURCE10} %{buildroot}/%{_unitdir}/kodi.service +%endif + # remove the doc files from unversioned /usr/share/doc/kodi, they should be in versioned docdir rm -r %{buildroot}/%{_datadir}/doc/ @@ -578,6 +587,11 @@ %{_libdir}/kodi/xbmc-config.cmake %dir %{_libdir}/kodi/addons/library.kodi.guilib/ %{_libdir}/kodi/addons/library.kodi.guilib/* +%if %{noX_build} +%{_unitdir}/kodi-noX.service +%else +%{_unitdir}/kodi.service +%endif %files devel %defattr(-,root,root)
View file
kodi.spec
Changed
@@ -51,6 +51,8 @@ # sh ../download_pvr.sh Source2: pvr-addons.tar.bz2 Source3: kodi-platform-054a42f66.tar.gz +Source10: kodi.service +Source11: kodi-noX.service Patch1: no-xbmc-symbolic-link.patch # Raspberry Pi (armv6): omxplayer 3D support is only available for non X11 KODI #Patch2: disable_omxplayer_3d_support.patch @@ -390,6 +392,13 @@ # SuSEfirewall service description install -D -m 644 %{_sourcedir}/kodi.SuSEFirewall2 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/kodi +# Systemd service file +%if %{noX_build} +install -m 0644 -D %{SOURCE11} %{buildroot}/%{_unitdir}/kodi-noX.service +%else +install -m 0644 -D %{SOURCE10} %{buildroot}/%{_unitdir}/kodi.service +%endif + # remove the doc files from unversioned /usr/share/doc/kodi, they should be in versioned docdir rm -r %{buildroot}/%{_datadir}/doc/ @@ -578,6 +587,11 @@ %{_libdir}/kodi/xbmc-config.cmake %dir %{_libdir}/kodi/addons/library.kodi.guilib/ %{_libdir}/kodi/addons/library.kodi.guilib/* +%if %{noX_build} +%{_unitdir}/kodi-noX.service +%else +%{_unitdir}/kodi.service +%endif %files devel %defattr(-,root,root)
View file
kodi-noX.service
Added
@@ -0,0 +1,18 @@ +[Unit] +Description = Kodi Media Center +After = systemd-user-sessions.service network.target sound.target +# if you need the MySQL DB backend, use this block instead of the previous +# After = systemd-user-sessions.service network.target sound.target mysql.service +# Wants = mysql.service + +[Service] +#User = kodi +#Group = kodi +#PAMName = login # you might want to try this one, did not work on all systems +Type = simple +ExecStart = /usr/bin/kodi-standalone +Restart = on-abort +RestartSec = 5 + +[Install] +WantedBy = multi-user.target
View file
kodi.service
Added
@@ -0,0 +1,21 @@ +[Unit] +Description = Kodi Media Center (Started with xinit) +After = systemd-user-sessions.service network.target sound.target +# if you need the MySQL DB backend, use this block instead of the previous +# After = systemd-user-sessions.service network.target sound.target mysql.service +# Wants = mysql.service +Conflicts=getty@tty7.service + +[Service] +#User = kodi +#Group = kodi +#PAMName=login # you might want to try this one, did not work on all systems +Type = simple +TTYPath=/dev/tty7 +ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone +Restart = on-abort +RestartSec = 5 +StandardInput = tty + +[Install] +WantedBy = multi-user.target
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.