summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2005-12-26 09:15:30 +0000
committerDoug Goldstein <cardoe@gentoo.org>2005-12-26 09:15:30 +0000
commitdef2197d4a4419a3041d46abe8111e788ec527c0 (patch)
tree2f04a242cab55f0e7d438bd269e2dc01f73bef3e /media-tv/mythtv/files
parentAdded development version of MythTV (diff)
downloadgentoo-2-def2197d4a4419a3041d46abe8111e788ec527c0.tar.gz
gentoo-2-def2197d4a4419a3041d46abe8111e788ec527c0.tar.bz2
gentoo-2-def2197d4a4419a3041d46abe8111e788ec527c0.zip
snapshot of the 0-18-fixes branch including some additional patches from bug reports
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-tv/mythtv/files')
-rw-r--r--media-tv/mythtv/files/digest-mythtv-0.18.2_pre78821
-rw-r--r--media-tv/mythtv/files/mythbackend-0.18.2.conf9
-rw-r--r--media-tv/mythtv/files/mythbackend-0.18.2.rc37
3 files changed, 47 insertions, 0 deletions
diff --git a/media-tv/mythtv/files/digest-mythtv-0.18.2_pre7882 b/media-tv/mythtv/files/digest-mythtv-0.18.2_pre7882
new file mode 100644
index 000000000000..1a6260ca46d3
--- /dev/null
+++ b/media-tv/mythtv/files/digest-mythtv-0.18.2_pre7882
@@ -0,0 +1 @@
+MD5 eb570ff72128f475df2ed62747d6640b mythtv-0.18.2_pre7882.tar.bz2 17170015
diff --git a/media-tv/mythtv/files/mythbackend-0.18.2.conf b/media-tv/mythtv/files/mythbackend-0.18.2.conf
new file mode 100644
index 000000000000..df35a7784ee8
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend-0.18.2.conf
@@ -0,0 +1,9 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend-0.18.2.conf,v 1.1 2005/12/26 09:15:30 cardoe Exp $
+
+# Specify debug-level in log.
+# Accepts any combination (separated by comma) of:
+# all,none,quiet,record,playback,channel,osd,file,
+# schedule,network,commflag,audio,libav,jobqueue
+#MYTH_VERBOSE="none"
diff --git a/media-tv/mythtv/files/mythbackend-0.18.2.rc b/media-tv/mythtv/files/mythbackend-0.18.2.rc
new file mode 100644
index 000000000000..9861f04299d2
--- /dev/null
+++ b/media-tv/mythtv/files/mythbackend-0.18.2.rc
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-tv/mythtv/files/mythbackend-0.18.2.rc,v 1.1 2005/12/26 09:15:30 cardoe Exp $
+
+depend() {
+ need net
+ use mysql
+}
+
+start() {
+ [[ -z "${MYTH_VERBOSE}" ]] && MYTH_VERBOSE="none"
+
+ QTDIR=/usr/qt/3
+
+ #fixes for bug #101308
+ unset DISPLAY
+ unset SESSION_MANAGER
+
+ # Work around any strange permissions that may be on these files.
+ chown -R mythtv /var/log/mythtv/
+ chown -R mythtv /etc/mythtv/
+
+ ebegin "Starting MythTV Backend"
+ start-stop-daemon --start --quiet --chuid mythtv \
+ --exec /usr/bin/mythbackend \
+ --make-pidfile --pidfile /var/run/mythbackend.pid \
+ --background -- --verbose ${MYTH_VERBOSE} \
+ --logfile /var/log/mythtv/mythbackend.log
+ eend $?
+}
+
+stop () {
+ ebegin "Stopping MythTV Backend"
+ start-stop-daemon --stop --quiet --pidfile=/var/run/mythbackend.pid
+ eend $?
+}