Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv-status/, media-tv/mythtv-status/files/
Date: Thu, 25 Nov 2021 16:20:41
Message-Id: 1637857228.b5be9b86cfcdde31df829e09029ac68b7c21cab1.marecki@gentoo
1 commit: b5be9b86cfcdde31df829e09029ac68b7c21cab1
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 16:19:48 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 16:20:28 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5be9b86
7
8 media-tv/mythtv-status: add 1.0.1, drop 0.10.4
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 media-tv/mythtv-status/Manifest | 2 +-
13 .../{mythtv-status.1 => mythtv-status-1.0.1.man} | 57 +++++++++++++++-------
14 ...us-0.10.4.ebuild => mythtv-status-1.0.1.ebuild} | 10 ++--
15 3 files changed, 46 insertions(+), 23 deletions(-)
16
17 diff --git a/media-tv/mythtv-status/Manifest b/media-tv/mythtv-status/Manifest
18 index e154d5387ee9..6849e4b27dd1 100644
19 --- a/media-tv/mythtv-status/Manifest
20 +++ b/media-tv/mythtv-status/Manifest
21 @@ -1 +1 @@
22 -DIST mythtv-status-0.10.4.tar.gz 37640 BLAKE2B 5fb07894d35a487b8903cade2eda48c6e53efb89690c00105bd8248a3d0518d172a47d5799901f102fc6b3621afedb4c507810a62be6ed3a31480d0c2592f24b SHA512 9701eb59e084df0bdcc487cc79949bb8efd9657b9982a2e545220938255657b49a72cc30c94a08ebc8341ec0d222e03646466f806bc44de3f2d531b75d0d7c1a
23 +DIST mythtv-status-1.0.1.tar.gz 45990 BLAKE2B 439d1b4a0d324a94e947139cd7038ba623532f414a43a8a6f481f5630cba9d6801288bd684e92c59c465f8f65683fc7b86efb47700b6ff58e1b299ca81442d19 SHA512 9f0a3a38c91ec451f2c95177d8acc7566705ec77e601fe40cdf97d8f8ccf5f9b55e419d42309e1601e128c0344103ffe75d10a06bcb15d5a1617ad30424dbc1a
24
25 diff --git a/media-tv/mythtv-status/files/mythtv-status.1 b/media-tv/mythtv-status/files/mythtv-status-1.0.1.man
26 similarity index 87%
27 rename from media-tv/mythtv-status/files/mythtv-status.1
28 rename to media-tv/mythtv-status/files/mythtv-status-1.0.1.man
29 index a4f49fa944ff..9c15d44393a8 100644
30 --- a/media-tv/mythtv-status/files/mythtv-status.1
31 +++ b/media-tv/mythtv-status/files/mythtv-status-1.0.1.man
32 @@ -1,4 +1,4 @@
33 -.\" Automatically generated by Pod::Man 2.25 (Pod::Simple 3.16)
34 +.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
35 .\"
36 .\" Standard preamble:
37 .\" ========================================================================
38 @@ -38,27 +38,36 @@
39 . ds PI \(*p
40 . ds L" ``
41 . ds R" ''
42 +. ds C`
43 +. ds C'
44 'br\}
45 .\"
46 .\" Escape single quotes in literal strings from groff's Unicode transform.
47 .ie \n(.g .ds Aq \(aq
48 .el .ds Aq '
49 .\"
50 -.\" If the F register is turned on, we'll generate index entries on stderr for
51 +.\" If the F register is >0, we'll generate index entries on stderr for
52 .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
53 .\" entries marked with X<> in POD. Of course, you'll have to process the
54 .\" output yourself in some meaningful fashion.
55 -.ie \nF \{\
56 -. de IX
57 -. tm Index:\\$1\t\\n%\t"\\$2"
58 +.\"
59 +.\" Avoid warning from groff about undefined register 'F'.
60 +.de IX
61 ..
62 -. nr % 0
63 -. rr F
64 -.\}
65 -.el \{\
66 -. de IX
67 +.nr rF 0
68 +.if \n(.g .if rF .nr rF 1
69 +.if (\n(rF:(\n(.g==0)) \{\
70 +. if \nF \{\
71 +. de IX
72 +. tm Index:\\$1\t\\n%\t"\\$2"
73 ..
74 +. if !\nF==2 \{\
75 +. nr % 0
76 +. nr F 2
77 +. \}
78 +. \}
79 .\}
80 +.rr rF
81 .\"
82 .\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
83 .\" Fear. Run. Save yourself. No user-serviceable parts.
84 @@ -124,7 +133,7 @@
85 .\" ========================================================================
86 .\"
87 .IX Title "MYTHTV-STATUS 1"
88 -.TH MYTHTV-STATUS 1 "2012-07-07" "perl v5.14.2" "User Contributed Perl Documentation"
89 +.TH MYTHTV-STATUS 1 "2019-01-28" "perl v5.34.0" "User Contributed Perl Documentation"
90 .\" For nroff, turn off justification. Always turn off hyphenation; it makes
91 .\" way too many mistakes in technical documents.
92 .if n .ad l
93 @@ -148,6 +157,9 @@ about to be recorded.
94 .IP "\fB\-c, \-\-colour\fR" 4
95 .IX Item "-c, --colour"
96 Use colour when showing the status of the encoder(s).
97 +.IP "\fB\-\-date\fR" 4
98 +.IX Item "--date"
99 +Set the date to run as, used for debugging purposes.
100 .IP "\fB\-d, \-\-description\fR" 4
101 .IX Item "-d, --description"
102 Display the description for the scheduled recordings.
103 @@ -162,17 +174,24 @@ Display the input \s-1ID\s0 and channel name against the recording details.
104 .IP "\fB\-\-encoder\-skip\-idle\fR" 4
105 .IX Item "--encoder-skip-idle"
106 Suppress displaying idle encoders in the Encoders block.
107 +.IP "\fB\-\-encoder\-warn\-non\-idle\fR" 4
108 +.IX Item "--encoder-warn-non-idle"
109 +Display warnings if an encoder is not idle. This is the default, it allows
110 +you to know if an encoder or the MythTV system is busy. To disable, use
111 +\&\fB\-\-no\-encoder\-warn\-non\-idle\fR.
112 .IP "\fB\-e, \-\-episode\fR" 4
113 .IX Item "-e, --episode"
114 Display the episode (subtitle) for the scheduled recordings.
115 .IP "\fB\-\-email <address>[ \-\-email <address> ...]\fR" 4
116 .IX Item "--email <address>[ --email <address> ...]"
117 Send the output to the listed email addresses. By default the encoder status,
118 -currently recording shows and time till next recording is surpressed from
119 +currently recording shows and time till next recording is suppressed from
120 the email.
121 .Sp
122 To turn the additional blocks on you can use \fB\-\-encoders\fR, \fB\-\-recording\-now\fR
123 and/or \fB\-\-next\-recording\fR.
124 +.Sp
125 +By default highlight is turned on, to disable it use \fB\-\-nohighlight\fR.
126 .IP "\fB\-\-email\-only\-on\-alert\fR" 4
127 .IX Item "--email-only-on-alert"
128 Only send an email out (if \-\-email is present) if there is an alert
129 @@ -192,13 +211,17 @@ Handy for debugging things.
130 .IX Item "--guide-days-warn <days>"
131 Warn if the number of days of guide data present is equal to or below
132 this level. Default is 2 days.
133 -.IP "\fB\-h \s-1HOST\s0, \-\-host=HOST\fR" 4
134 +.IP "\fB\-h \s-1HOST,\s0 \-\-host=HOST\fR" 4
135 .IX Item "-h HOST, --host=HOST"
136 The host to check, defaults to localhost.
137 +.IP "\fB\-\-highlight\fR" 4
138 +.IX Item "--highlight"
139 +Surround any items that are considered a warning with asterisks. This helps
140 +to highlight an issue if colour mode is disabled.
141 .IP "\fB\-\-nostatus\fR, \fB\-\-noencoders\fR, \fB\-\-norecording\-now\fR, \fB\-\-noscheduled\-recordings\fR, \fB\-\-noschedule\-conflicts\fR, \fB\-\-nonext\-recording\fR, \fB\-\-nototal\-disk\-space\fR, \fB\-\-nodisk\-space\fR, \fB\-\-noguide\-data\fR, \fB\-\-noauto\-expire\fR" 4
142 .IX Item "--nostatus, --noencoders, --norecording-now, --noscheduled-recordings, --noschedule-conflicts, --nonext-recording, --nototal-disk-space, --nodisk-space, --noguide-data, --noauto-expire"
143 Suppress displaying blocks of the output if they would normally be displayed.
144 -.IP "\fB\-p \s-1PORT\s0, \-\-port=PORT\fR" 4
145 +.IP "\fB\-p \s-1PORT,\s0 \-\-port=PORT\fR" 4
146 .IX Item "-p PORT, --port=PORT"
147 The port to use when connecting to MythTV, defaults to 6544.
148 .IP "\fB\-\-oneliner\-bullets\fR" 4
149 @@ -219,7 +242,7 @@ in red. This in seconds, and defaults to 3600 (1 hour).
150 .IP "\fB\-\-verbose\fR" 4
151 .IX Item "--verbose"
152 Have slightly more verbose output. This includes any warnings that might
153 -be generated while parsing the \s-1XML\s0.
154 +be generated while parsing the \s-1XML.\s0
155 .IP "\fB\-v, \-\-version\fR" 4
156 .IX Item "-v, --version"
157 Show the version of mythtv-status and then exit.
158 @@ -277,5 +300,5 @@ A warning is generated
159 Andrew Ruthven, andrew@×××××××.nz
160 .SH "LICENSE"
161 .IX Header "LICENSE"
162 -Copyright (c) 2007\-2009 Andrew Ruthven <andrew@×××××××.nz>
163 -This code is hereby licensed for public consumption under the \s-1GNU\s0 \s-1GPL\s0 v3.
164 +Copyright (c) 2007\-2018 Andrew Ruthven <andrew@×××××××.nz>
165 +This code is hereby licensed for public consumption under the \s-1GNU GPL\s0 v3.
166
167 diff --git a/media-tv/mythtv-status/mythtv-status-0.10.4.ebuild b/media-tv/mythtv-status/mythtv-status-1.0.1.ebuild
168 similarity index 69%
169 rename from media-tv/mythtv-status/mythtv-status-0.10.4.ebuild
170 rename to media-tv/mythtv-status/mythtv-status-1.0.1.ebuild
171 index ce2ab4fbf7d1..a3b29af82d56 100644
172 --- a/media-tv/mythtv-status/mythtv-status-0.10.4.ebuild
173 +++ b/media-tv/mythtv-status/mythtv-status-1.0.1.ebuild
174 @@ -1,12 +1,12 @@
175 # Copyright 1999-2021 Gentoo Authors
176 # Distributed under the terms of the GNU General Public License v2
177
178 -EAPI=5
179 +EAPI=8
180
181 DESCRIPTION="Displays the current status of MythTV at the command prompt"
182 HOMEPAGE="http://www.etc.gen.nz/projects/mythtv/mythtv-status.html"
183 -SRC_URI="http://www.etc.gen.nz/projects/mythtv/tarballs/${P}.tar.gz"
184 -#SRC_URI="mirror://ubuntu/pool/universe/m/mythtv-status/mythtv-status_0.10.2.orig.tar.gz"
185 +#SRC_URI="http://www.etc.gen.nz/projects/mythtv/tarballs/${P}.tar.gz"
186 +SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.gz -> ${P}.tar.gz"
187
188 LICENSE="GPL-3"
189 SLOT="0"
190 @@ -22,7 +22,7 @@ RDEPEND="
191 media-tv/mythtv[perl]"
192
193 src_install() {
194 - dobin bin/mythtv-status
195 - doman "${FILESDIR}/mythtv-status.1"
196 + dobin bin/${PN}
197 + newman "${FILESDIR}"/${P}.man ${PN}.1
198 dodoc README FAQ ChangeLog THANKS
199 }