summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-06-29 04:39:01 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-06-29 04:39:01 +0000
commitb0d4bfbce7e3ccfc792b6c211c51f523fa367bf2 (patch)
tree6c3c6ecb8bf7d90341e56e7f49c56e70b454bc0a /media-tv
parentStable on x86, sec. bug #96776. (diff)
downloadgentoo-2-b0d4bfbce7e3ccfc792b6c211c51f523fa367bf2.tar.gz
gentoo-2-b0d4bfbce7e3ccfc792b6c211c51f523fa367bf2.tar.bz2
gentoo-2-b0d4bfbce7e3ccfc792b6c211c51f523fa367bf2.zip
Add mythfrontend crontab
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/mythtv/ChangeLog6
-rw-r--r--media-tv/mythtv/files/runmythfe5
-rw-r--r--media-tv/mythtv/mythtv-0.18.1-r2.ebuild10
3 files changed, 19 insertions, 2 deletions
diff --git a/media-tv/mythtv/ChangeLog b/media-tv/mythtv/ChangeLog
index ec01a27fb516..120bba325e91 100644
--- a/media-tv/mythtv/ChangeLog
+++ b/media-tv/mythtv/ChangeLog
@@ -1,11 +1,15 @@
# ChangeLog for media-tv/mythtv
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.70 2005/06/21 21:47:08 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/ChangeLog,v 1.71 2005/06/29 04:39:01 cardoe Exp $
21 Jun 2005; Herbie Hopkins <herbs@gentoo.org> mythtv-0.18.1-r1.ebuild:
Backport multilib fixes and amd64 configure patch from -r2. Mark stable on
amd64.
+ 29 Jun 2005; Doug Goldstein <cardoe@gentoo.org> +files/runmythfe,
+ mythtv-0.18.1-r2.ebuild:
+ Add crontab script for keeping mythfrontend going
+
21 Jun 2005; Doug Goldstein <cardoe@gentoo.org> mythtv-0.18.1-r2.ebuild:
fixed firewire deps
diff --git a/media-tv/mythtv/files/runmythfe b/media-tv/mythtv/files/runmythfe
new file mode 100644
index 000000000000..0bf8a7f83b4f
--- /dev/null
+++ b/media-tv/mythtv/files/runmythfe
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if ! pgrep mythfrontend >& /dev/null ; then
+ DISPLAY=":0.0" mythfrontend 2&> /dev/null &
+fi
diff --git a/media-tv/mythtv/mythtv-0.18.1-r2.ebuild b/media-tv/mythtv/mythtv-0.18.1-r2.ebuild
index b7528e1ae64f..d78ed9b925d3 100644
--- a/media-tv/mythtv/mythtv-0.18.1-r2.ebuild
+++ b/media-tv/mythtv/mythtv-0.18.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.18.1-r2.ebuild,v 1.5 2005/06/21 20:26:33 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/mythtv-0.18.1-r2.ebuild,v 1.6 2005/06/29 04:39:01 cardoe Exp $
inherit flag-o-matic eutils debug
@@ -179,6 +179,14 @@ src_install() {
newconfd ${FILESDIR}/0.18-mythbackend.conf mythbackend
fi
+ dobin ${FILESDIR}/runmythfe
+
+ ewarn "Want MythFrontend to always? Add the following to your"
+ ewarn "myth user. i.e. My user is mythtv"
+ echo "crontab -e -u mythtv"
+ echo "* * * * * /usr/bin/runmythfe &"
+ ewarn "And you're all set."
+
dodoc keys.txt docs/*.{txt,pdf}
dohtml docs/*.html