public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/
@ 2015-09-16 14:23 Doug Goldstein
  0 siblings, 0 replies; 6+ messages in thread
From: Doug Goldstein @ 2015-09-16 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     ef4534f2b4437b8ac622413bfd4540e656d57d9d
Author:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 16 01:33:54 2015 +0000
Commit:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Wed Sep 16 14:23:24 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef4534f2

media-tv/mythtv: fix typo in user name

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>

 media-tv/mythtv/files/mythbackend.init-r2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r2 b/media-tv/mythtv/files/mythbackend.init-r2
index 43f53e8..aa7c35f 100644
--- a/media-tv/mythtv/files/mythbackend.init-r2
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -38,8 +38,8 @@ start() {
 
 	# Work around any strange permissions that may be on these files.
 	[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-		checkpath --directory --owner mythv:video --mode 0775 /var/log/mythtv
-	checkpath --directory --owner mythv:video --mode 0775 /home/mythtv
+		checkpath --directory --owner mythtv:video --mode 0775 /var/log/mythtv
+	checkpath --directory --owner mythtv:video --mode 0775 /home/mythtv
 
 	ebegin "Starting MythTV Backend"
 	start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/
@ 2015-09-16 15:31 Doug Goldstein
  0 siblings, 0 replies; 6+ messages in thread
From: Doug Goldstein @ 2015-09-16 15:31 UTC (permalink / raw
  To: gentoo-commits

commit:     5bab02093cfbe6ebcd22087520082604ae822379
Author:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 16 15:31:00 2015 +0000
Commit:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Wed Sep 16 15:31:20 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bab0209

media-tv/mythtv: more refactors of the init script

Gentoo-Bug: 560142

Package-Manager: portage-2.2.20.1
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>

 media-tv/mythtv/files/mythbackend.init-r2 | 41 +++++++++++++++++--------------
 1 file changed, 22 insertions(+), 19 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r2 b/media-tv/mythtv/files/mythbackend.init-r2
index aa7c35f..6869eb5 100644
--- a/media-tv/mythtv/files/mythbackend.init-r2
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -4,23 +4,27 @@
 # $Id$
 
 description="MythTV backend recording daemon"
-extra_commands="resched upnprebuild"
+extra_started_commands="resched upnprebuild"
 description_resched="Forces the recording scheduler to update"
 description_upnprebuild="Rebuilds the UPnP media cache"
 
+MYTHBACKEND_OPTS=${MYTHBACKEND_OPTS:-"${MYTHBACKEND_OPTS}"}
+MYTHBACKEND_VERBOSE=${MYTHBACKEND_VERBOSE:-"general"}
+MYTHBACKEND_LOGGING=${MYTHBACKEND_LOGGING:-"files"}
+
+name="MythTV backend"
+command="/usr/bin/mythbackend"
+pidfile="/run/mythtv/mythbackend.pid"
+start_stop_daemon_args="--pidfile ${pidfile} --user mythtv:video"
+command_args="--daemon --pidfile ${pidfile} --verbose ${MYTHBACKEND_VERBOSE} ${MYTHBACKEND_OPTS}"
+
 depend() {
 	# mythbackend doesn't need to run on the same machine that
 	# mysql runs on. so its use for that reason
 	use logger net.lo mysql LCDd
 }
 
-start() {
-	local logging=
-
-	[ -z "${MYTHBACKEND_VERBOSE}" ] && \
-		MYTHBACKEND_VERBOSE="general"
-	[ -z "${MYTHBACKEND_LOGGING}" ] && \
-		MYTHBACKEND_LOGGING="files"
+start_pre() {
 	case "${MYTHBACKEND_LOGGING}" in
 		database) logging="--enable-dblog" ;;
 		syslog\ *) logging="--${MYTHBACKEND_LOGGING}" ;;
@@ -40,31 +44,30 @@ start() {
 	[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
 		checkpath --directory --owner mythtv:video --mode 0775 /var/log/mythtv
 	checkpath --directory --owner mythtv:video --mode 0775 /home/mythtv
+	checkpath --directory --owner mythtv:video --mode 0750 /run/mythtv
+}
 
-	ebegin "Starting MythTV Backend"
-	start-stop-daemon --start --quiet --exec /usr/bin/mythbackend \
-                --pidfile /var/run/mythbackend.pid --user mythtv:video -- \
-		--daemon --pidfile /var/run/mythbackend.pid \
-		--verbose ${MYTHBACKEND_VERBOSE} \
-		${logging} ${MYTHBACKEND_OPTS}
+start() {
+	ebegin "Starting ${name}"
+	start-stop-daemon --start ${start_stop_daemon_args} --exec ${command} \
+		-- ${command_args} ${logging}
 	eend $?
 }
 
 stop() {
-	ebegin "Stopping MythTV Backend"
-	start-stop-daemon --stop --retry 10 --progress \
-		--pidfile=/var/run/mythbackend.pid
+	ebegin "Stopping ${name}"
+	start-stop-daemon --stop --retry 10 --progress --pidfile ${pidfile}
 	eend $?
 }
 
 resched() {
 	ebegin "Updating the recording scheduler"
-	/usr/bin/mythbackend --resched
+	${command} --resched
 	eend $?
 }
 
 upnprebuild() {
 	ebegin "Rebuilding UPnP media cache"
-	/usr/bin/mythbackend --upnprebuild
+	${command} --upnprebuild
 	eend $?
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/
@ 2015-10-09 14:14 Doug Goldstein
  0 siblings, 0 replies; 6+ messages in thread
From: Doug Goldstein @ 2015-10-09 14:14 UTC (permalink / raw
  To: gentoo-commits

commit:     e1d2a191cf7e01234b675d474486f234af1492fd
Author:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  9 14:13:09 2015 +0000
Commit:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Fri Oct  9 14:14:21 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1d2a191

media-tv/mythtv: drop group write on log directory

Drop the group write bit on the /var/log/mythtv directory in the
mythbackend initscript.

 media-tv/mythtv/files/mythbackend.init-r2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r2 b/media-tv/mythtv/files/mythbackend.init-r2
index 6869eb5..dc5e66e 100644
--- a/media-tv/mythtv/files/mythbackend.init-r2
+++ b/media-tv/mythtv/files/mythbackend.init-r2
@@ -42,7 +42,7 @@ start_pre() {
 
 	# Work around any strange permissions that may be on these files.
 	[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-		checkpath --directory --owner mythtv:video --mode 0775 /var/log/mythtv
+		checkpath --directory --owner mythtv:video --mode 0755 /var/log/mythtv
 	checkpath --directory --owner mythtv:video --mode 0775 /home/mythtv
 	checkpath --directory --owner mythtv:video --mode 0750 /run/mythtv
 }


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/
@ 2016-02-24  3:25 Doug Goldstein
  0 siblings, 0 replies; 6+ messages in thread
From: Doug Goldstein @ 2016-02-24  3:25 UTC (permalink / raw
  To: gentoo-commits

commit:     41e77a8e05b7f663c1428e8608013965ca749b5d
Author:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 24 03:25:00 2016 +0000
Commit:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Wed Feb 24 03:25:00 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41e77a8e

media-tv/mythtv: remove unused file

Package-Manager: portage-2.2.26
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>

 media-tv/mythtv/files/libdir.patch | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/media-tv/mythtv/files/libdir.patch b/media-tv/mythtv/files/libdir.patch
deleted file mode 100644
index 90fc362..0000000
--- a/media-tv/mythtv/files/libdir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- external/Makefile	2012-10-06 14:30:40.453248737 -0400
-+++ external/Makefile	2012-10-06 14:32:43.283277751 -0400
-@@ -25,7 +25,7 @@
- zeromq/Makefile:	zeromq/configure
- 	(cd zeromq ; \
- 	 ./configure --without-documentation --prefix=${PREFIX} \
--	             --includedir=${PREFIX}/include/mythtv/zeromq)
-+	             --includedir=${PREFIX}/include/mythtv/zeromq --libdir=${LIBDIR})
- 
- zeromq-install zeromq-uninstall zeromq-clean zeromq-distclean:
- 	${MAKE} -C zeromq ${@:zeromq-%=%} DESTDIR=${INSTALL_ROOT}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/
@ 2021-02-15 20:13 Conrad Kostecki
  0 siblings, 0 replies; 6+ messages in thread
From: Conrad Kostecki @ 2021-02-15 20:13 UTC (permalink / raw
  To: gentoo-commits

commit:     27afa4f1ecbbd975a3c5d90c72748ffffdaab82a
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Feb 15 16:58:58 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 20:08:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27afa4f1

media-tv/mythtv: remove unused file

Closes: https://github.com/gentoo/gentoo/pull/19475
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 media-tv/mythtv/files/mythbackend.init-r2 | 72 -------------------------------
 1 file changed, 72 deletions(-)

diff --git a/media-tv/mythtv/files/mythbackend.init-r2 b/media-tv/mythtv/files/mythbackend.init-r2
deleted file mode 100644
index dc063030d47..00000000000
--- a/media-tv/mythtv/files/mythbackend.init-r2
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="MythTV backend recording daemon"
-extra_started_commands="resched upnprebuild"
-description_resched="Forces the recording scheduler to update"
-description_upnprebuild="Rebuilds the UPnP media cache"
-
-MYTHBACKEND_OPTS=${MYTHBACKEND_OPTS:-"${MYTHBACKEND_OPTS}"}
-MYTHBACKEND_VERBOSE=${MYTHBACKEND_VERBOSE:-"general"}
-MYTHBACKEND_LOGGING=${MYTHBACKEND_LOGGING:-"files"}
-
-name="MythTV backend"
-command="/usr/bin/mythbackend"
-pidfile="/run/mythtv/mythbackend.pid"
-start_stop_daemon_args="--pidfile ${pidfile} --user mythtv:video"
-command_args="--daemon --pidfile ${pidfile} --verbose ${MYTHBACKEND_VERBOSE} ${MYTHBACKEND_OPTS}"
-
-depend() {
-	# mythbackend doesn't need to run on the same machine that
-	# mysql runs on. so its use for that reason
-	use logger net.lo mysql LCDd
-}
-
-start_pre() {
-	case "${MYTHBACKEND_LOGGING}" in
-		database) logging="--enable-dblog" ;;
-		syslog\ *) logging="--${MYTHBACKEND_LOGGING}" ;;
-		files) logging="--logpath /var/log/mythtv" ;;
-		console) logging="--nologserver" ;;
-		*)
-			eerror "Invalid MYTHBACKEND_LOGGING value"
-			exit 1
-			;;
-	esac
-
-	#fixes for bug #101308
-	unset DISPLAY
-	unset SESSION_MANAGER
-
-	# Work around any strange permissions that may be on these files.
-	[ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \
-		checkpath --directory --owner mythtv:video --mode 0755 /var/log/mythtv
-	checkpath --directory --owner mythtv:video --mode 0775 /home/mythtv
-	checkpath --directory --owner mythtv:video --mode 0750 /run/mythtv
-}
-
-start() {
-	ebegin "Starting ${name}"
-	start-stop-daemon --start ${start_stop_daemon_args} --exec ${command} \
-		-- ${command_args} ${logging}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping ${name}"
-	start-stop-daemon --stop --retry 10 --progress --pidfile ${pidfile}
-	eend $?
-}
-
-resched() {
-	ebegin "Updating the recording scheduler"
-	${command} --resched
-	eend $?
-}
-
-upnprebuild() {
-	ebegin "Rebuilding UPnP media cache"
-	${command} --upnprebuild
-	eend $?
-}


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/
@ 2023-06-15  0:14 Sam James
  0 siblings, 0 replies; 6+ messages in thread
From: Sam James @ 2023-06-15  0:14 UTC (permalink / raw
  To: gentoo-commits

commit:     1fd8f303366c06b64df5b7b3e9f2776482a34bd7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 15 00:14:20 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun 15 00:14:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd8f303

media-tv/mythtv: add bug/upstream PR info to patch

Bug: https://bugs.gentoo.org/904437
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-tv/mythtv/files/mythtv-33.1-libva.patch | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/media-tv/mythtv/files/mythtv-33.1-libva.patch b/media-tv/mythtv/files/mythtv-33.1-libva.patch
index 8c59f31002a9..1a80f9f90a07 100644
--- a/media-tv/mythtv/files/mythtv-33.1-libva.patch
+++ b/media-tv/mythtv/files/mythtv-33.1-libva.patch
@@ -1,5 +1,5 @@
-diff --git a/mythtv/libs/libmythtv/libmythtv.pro b/mythtv/libs/libmythtv/libmythtv.pro
-index 0ab94a295c..08b4c4d335 100644
+https://bugs.gentoo.org/904437
+https://github.com/MythTV/mythtv/pull/760
 --- a/libs/libmythtv/libmythtv.pro
 +++ b/libs/libmythtv/libmythtv.pro
 @@ -538,7 +538,7 @@ using_frontend {
@@ -37,8 +37,6 @@ index 0ab94a295c..08b4c4d335 100644
          }
  
          !win32-msvc* {
-diff --git a/mythtv/libs/libmythtv/opengl/mythvaapiinterop.cpp b/mythtv/libs/libmythtv/opengl/mythvaapiinterop.cpp
-index 5f92a6beb0..b87ed0da35 100644
 --- a/libs/libmythtv/opengl/mythvaapiinterop.cpp
 +++ b/libs/libmythtv/opengl/mythvaapiinterop.cpp
 @@ -8,8 +8,12 @@
@@ -85,8 +83,6 @@ index 5f92a6beb0..b87ed0da35 100644
          }
      }
      return nullptr;
-diff --git a/mythtv/libs/libmythtv/opengl/mythvaapiinterop.h b/mythtv/libs/libmythtv/opengl/mythvaapiinterop.h
-index 11358db236..2048d4586c 100644
 --- a/libs/libmythtv/opengl/mythvaapiinterop.h
 +++ b/libs/libmythtv/opengl/mythvaapiinterop.h
 @@ -25,9 +25,12 @@ struct AVFilterContext;


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-15  0:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-15  0:14 [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2021-02-15 20:13 Conrad Kostecki
2016-02-24  3:25 Doug Goldstein
2015-10-09 14:14 Doug Goldstein
2015-09-16 15:31 Doug Goldstein
2015-09-16 14:23 Doug Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox