Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/vdr-epgsearch/, media-plugins/vdr-epgsearch/files/
Date: Fri, 11 May 2018 09:24:12
Message-Id: 1526030597.9b395179dbfab9dfbd7f0883fc85268b4ed1e643.mgorny@gentoo
1 commit: 9b395179dbfab9dfbd7f0883fc85268b4ed1e643
2 Author: Martin Dummer <martin.dummer <AT> ts <DOT> fujitsu <DOT> com>
3 AuthorDate: Thu May 10 21:44:36 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri May 11 09:23:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b395179
7
8 media-plugins/vdr-epgsearch: drop old
9
10 Closes: https://bugs.gentoo.org/650078
11 Closes: https://github.com/gentoo/gentoo/pull/8338
12 Package-Manager: Portage-2.3.31, Repoman-2.3.9
13
14 media-plugins/vdr-epgsearch/Manifest | 1 -
15 .../files/vdr-epgsearch-1.0.0_vdr-1.7.25.diff | 32 ------
16 .../files/vdr-epgsearch-1.0.0_vdr-1.7.33.diff | 120 ---------------------
17 .../files/vdr-epgsearch-1.0.0_vdr-2.1.2.diff | 15 ---
18 .../vdr-epgsearch/vdr-epgsearch-1.0.0-r1.ebuild | 112 -------------------
19 5 files changed, 280 deletions(-)
20
21 diff --git a/media-plugins/vdr-epgsearch/Manifest b/media-plugins/vdr-epgsearch/Manifest
22 index b87ce9a7d70..f90f3c0a14a 100644
23 --- a/media-plugins/vdr-epgsearch/Manifest
24 +++ b/media-plugins/vdr-epgsearch/Manifest
25 @@ -1,2 +1 @@
26 -DIST vdr-epgsearch-1.0.0.tgz 667633 BLAKE2B 6a5c03b595f1f25c1f77b8e1e86f9a35a59ce20c258a196c5d828d48e139d25bf1d6c8da32d2e55fcc1576165c9f0c849e1ae8199657f062baf9ed738d97344a SHA512 3105dc847a75ad54ca854418a83db847942ba1d85f1c65a94b88310dfcdd5d614b89f0f27fd3ffc8e8c5db6c1c1e0f36e8e7a33cc71299922287f2d19dd385af
27 DIST vdr-epgsearch-1.0.1_p20141227.tar.gz 472802 BLAKE2B 9ffc067c2aff29e3d79b620edf88ff7aca64ad5d1de3aa32b19fbc1889673e2439a6d65b46e2f3ff5fd3d416ff24cbafd6d41f562b3775210f0234c6990f03ab SHA512 952d58f6f03d2804f97be14779faf37c3788b42d78a6460102e2f1c74f6a58d7d68639e7e95e40f27417ce3658c0d5bf856399b6e8e8c214ea143d2865507562
28
29 diff --git a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.25.diff b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.25.diff
30 deleted file mode 100644
31 index 3a8babbc16f..00000000000
32 --- a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.25.diff
33 +++ /dev/null
34 @@ -1,32 +0,0 @@
35 ---- epgsearch/conflictcheck.h.bak 2012-03-03 15:33:15.000000000 +0100
36 -+++ epgsearch/conflictcheck.h 2012-03-03 15:35:43.000000000 +0100
37 -@@ -169,12 +169,12 @@
38 - result = true;
39 - #ifdef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE
40 - else
41 -- result = Priority >= Setup.PrimaryLimit;
42 -+ result = Priority >= 0;
43 - #endif
44 - #endif
45 - }
46 - else
47 -- result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit;
48 -+ result = !IsPrimaryDevice() || Priority >= 0;
49 - }
50 - else
51 - needsDetachReceivers = true;
52 -@@ -259,12 +259,12 @@
53 - result = true;
54 - #ifdef DO_REC_AND_PLAY_ON_PRIMARY_DEVICE
55 - else
56 -- result = Priority >= Setup.PrimaryLimit;
57 -+ result = Priority >= 0;
58 - #endif
59 - #endif
60 - }
61 - else
62 -- result = !IsPrimaryDevice() || Priority >= Setup.PrimaryLimit;
63 -+ result = !IsPrimaryDevice() || Priority >= 0;
64 - }
65 - else
66 - needsDetachReceivers = true;
67
68 diff --git a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.33.diff b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.33.diff
69 deleted file mode 100644
70 index aa51685cb28..00000000000
71 --- a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-1.7.33.diff
72 +++ /dev/null
73 @@ -1,120 +0,0 @@
74 -diff -Naur epgsearch-1.0.0.orig/epgsearchsvdrp.c epgsearch-1.0.0/epgsearchsvdrp.c
75 ---- epgsearch-1.0.0.orig/epgsearchsvdrp.c 2012-12-15 11:42:41.000000000 +0100
76 -+++ epgsearch-1.0.0/epgsearchsvdrp.c 2012-12-15 11:44:38.000000000 +0100
77 -@@ -564,7 +564,7 @@
78 - strftime(bufStart, sizeof(bufStart), "%H%M", localtime_r(&start, &tm_r));
79 - strftime(bufEnd, sizeof(bufEnd), "%H%M", localtime_r(&stop, &tm_r));
80 -
81 -- int timerMatch;
82 -+ eTimerMatch timerMatch;
83 - bool hasTimer = false;
84 - if (Timers.GetMatch(pEvent, &timerMatch))
85 - hasTimer = (timerMatch == tmFull);
86 -diff -Naur epgsearch-1.0.0.orig/mail.c epgsearch-1.0.0/mail.c
87 ---- epgsearch-1.0.0.orig/mail.c 2012-12-15 11:42:41.000000000 +0100
88 -+++ epgsearch-1.0.0/mail.c 2012-12-15 11:45:02.000000000 +0100
89 -@@ -49,7 +49,7 @@
90 - const cEvent* pEvent = GetEvent();
91 - if (!pEvent) return "";
92 -
93 -- int TimerMatch = tmNone;
94 -+ eTimerMatch TimerMatch = tmNone;
95 - cTimer* pTimer = Timers.GetMatch(pEvent, &TimerMatch);
96 - if (!pTimer) return "";
97 -
98 -diff -Naur epgsearch-1.0.0.orig/menu_commands.c epgsearch-1.0.0/menu_commands.c
99 ---- epgsearch-1.0.0.orig/menu_commands.c 2012-12-15 11:42:41.000000000 +0100
100 -+++ epgsearch-1.0.0/menu_commands.c 2012-12-15 11:45:40.000000000 +0100
101 -@@ -121,7 +121,7 @@
102 - {
103 - if (!event) return osContinue;
104 -
105 -- int timerMatch = tmNone;
106 -+ eTimerMatch timerMatch = tmNone;
107 - cTimer* timer = Timers.GetMatch(event, &timerMatch);
108 - if (timerMatch == tmFull)
109 - {
110 -diff -Naur epgsearch-1.0.0.orig/menu_event.c epgsearch-1.0.0/menu_event.c
111 ---- epgsearch-1.0.0.orig/menu_event.c 2012-12-15 11:42:41.000000000 +0100
112 -+++ epgsearch-1.0.0/menu_event.c 2012-12-15 11:46:17.000000000 +0100
113 -@@ -92,7 +92,7 @@
114 - cEventObj* eventObjPrev = GetPrev(event);
115 - cEventObj* eventObjNext = GetNext(event);
116 -
117 -- int timerMatch = tmNone;
118 -+ eTimerMatch timerMatch = tmNone;
119 - Timers.GetMatch(event, &timerMatch);
120 - const char* szRed = trVDR("Button$Record");
121 - if (timerMatch == tmFull)
122 -diff -Naur epgsearch-1.0.0.orig/menu_main.c epgsearch-1.0.0/menu_main.c
123 ---- epgsearch-1.0.0.orig/menu_main.c 2012-12-15 11:42:41.000000000 +0100
124 -+++ epgsearch-1.0.0/menu_main.c 2012-12-15 11:47:08.000000000 +0100
125 -@@ -181,7 +181,7 @@
126 - if (item) {
127 - if (item->timerMatch == tmFull)
128 - {
129 -- int tm = tmNone;
130 -+ eTimerMatch tm = tmNone;
131 - cTimer *timer = Timers.GetMatch(item->event, &tm);
132 - if (timer)
133 - {
134 -diff -Naur epgsearch-1.0.0.orig/menu_searchresults.c epgsearch-1.0.0/menu_searchresults.c
135 ---- epgsearch-1.0.0.orig/menu_searchresults.c 2012-12-15 11:42:41.000000000 +0100
136 -+++ epgsearch-1.0.0/menu_searchresults.c 2012-12-15 11:51:12.000000000 +0100
137 -@@ -217,7 +217,7 @@
138 - if (item) {
139 - if (item->timerMatch == tmFull)
140 - {
141 -- int tm = tmNone;
142 -+ eTimerMatch tm = tmNone;
143 - cTimer *timer = Timers.GetMatch(item->event, &tm);
144 - if (timer)
145 - {
146 -diff -Naur epgsearch-1.0.0.orig/menu_searchresults.h epgsearch-1.0.0/menu_searchresults.h
147 ---- epgsearch-1.0.0.orig/menu_searchresults.h 2012-12-15 11:42:41.000000000 +0100
148 -+++ epgsearch-1.0.0/menu_searchresults.h 2012-12-15 11:51:57.000000000 +0100
149 -@@ -50,7 +50,7 @@
150 - bool episodeOnly;
151 - cMenuTemplate* menuTemplate;
152 - public:
153 -- int timerMatch;
154 -+ eTimerMatch timerMatch;
155 - bool inSwitchList;
156 - const cEvent *event;
157 - const cSearchExt* search;
158 -diff -Naur epgsearch-1.0.0.orig/menu_whatson.c epgsearch-1.0.0/menu_whatson.c
159 ---- epgsearch-1.0.0.orig/menu_whatson.c 2012-12-15 11:42:41.000000000 +0100
160 -+++ epgsearch-1.0.0/menu_whatson.c 2012-12-15 11:52:37.000000000 +0100
161 -@@ -527,7 +527,7 @@
162 - {
163 - if (item->timerMatch == tmFull)
164 - {
165 -- int tm = tmNone;
166 -+ eTimerMatch tm = tmNone;
167 - cTimer *timer = Timers.GetMatch(item->event, &tm);
168 - if (timer)
169 - {
170 -diff -Naur epgsearch-1.0.0.orig/menu_whatson.h epgsearch-1.0.0/menu_whatson.h
171 ---- epgsearch-1.0.0.orig/menu_whatson.h 2012-12-15 11:42:41.000000000 +0100
172 -+++ epgsearch-1.0.0/menu_whatson.h 2012-12-15 11:53:09.000000000 +0100
173 -@@ -35,7 +35,7 @@
174 - const cEvent *event;
175 - cChannel *channel;
176 - showMode mode;
177 -- int timerMatch;
178 -+ eTimerMatch timerMatch;
179 - bool inSwitchList;
180 - cMenuTemplate* menuTemplate;
181 -
182 -diff -Naur epgsearch-1.0.0.orig/services.c epgsearch-1.0.0/services.c
183 ---- epgsearch-1.0.0.orig/services.c 2012-12-15 11:42:41.000000000 +0100
184 -+++ epgsearch-1.0.0/services.c 2012-12-15 11:53:34.000000000 +0100
185 -@@ -143,7 +143,7 @@
186 - strftime(bufStart, sizeof(bufStart), "%H%M", localtime_r(&start, &tm_r));
187 - strftime(bufEnd, sizeof(bufEnd), "%H%M", localtime_r(&stop, &tm_r));
188 -
189 -- int timerMatch;
190 -+ eTimerMatch timerMatch;
191 - bool hasTimer = false;
192 - if (Timers.GetMatch(pEvent, &timerMatch))
193 - hasTimer = (timerMatch == tmFull);
194
195 diff --git a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-2.1.2.diff b/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-2.1.2.diff
196 deleted file mode 100644
197 index 5b9d657e95e..00000000000
198 --- a/media-plugins/vdr-epgsearch/files/vdr-epgsearch-1.0.0_vdr-2.1.2.diff
199 +++ /dev/null
200 @@ -1,15 +0,0 @@
201 -diff -Naur epgsearch-1.0.0.orig/uservars.h epgsearch-1.0.0/uservars.h
202 ---- epgsearch-1.0.0.orig/uservars.h 2013-10-23 00:54:29.000000000 +0200
203 -+++ epgsearch-1.0.0/uservars.h 2013-10-23 00:56:21.000000000 +0200
204 -@@ -537,7 +537,11 @@
205 - cVideodirVar() : cInternalVar("%videodir%") {}
206 - string Evaluate(const cEvent*, bool escapeStrings = false)
207 - {
208 -+#if APIVERSNUM > 20101
209 -+ return cVideoDirectory::Name();
210 -+#else
211 - return VideoDirectory;
212 -+#endif
213 - }
214 - };
215 -
216
217 diff --git a/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.0-r1.ebuild b/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.0-r1.ebuild
218 deleted file mode 100644
219 index d550ca75a66..00000000000
220 --- a/media-plugins/vdr-epgsearch/vdr-epgsearch-1.0.0-r1.ebuild
221 +++ /dev/null
222 @@ -1,112 +0,0 @@
223 -# Copyright 1999-2018 Gentoo Foundation
224 -# Distributed under the terms of the GNU General Public License v2
225 -
226 -EAPI=5
227 -
228 -inherit vdr-plugin-2
229 -
230 -DESCRIPTION="VDR Plugin: Searchtimer and replacement of the VDR program menu"
231 -HOMEPAGE="http://winni.vdr-developer.org/epgsearch"
232 -
233 -case ${P#*_} in
234 - rc*|beta*)
235 - MY_P="${P/_/.}"
236 - SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/beta/${MY_P}.tgz"
237 - S="${WORKDIR}/${MY_P#vdr-}"
238 - ;;
239 - *)
240 - SRC_URI="http://winni.vdr-developer.org/epgsearch/downloads/${P}.tgz"
241 - ;;
242 -esac
243 -
244 -LICENSE="GPL-2"
245 -SLOT="0"
246 -KEYWORDS="amd64 x86"
247 -IUSE="pcre tre l10n_de"
248 -
249 -DEPEND=">=media-video/vdr-1.3.45
250 - pcre? ( dev-libs/libpcre )
251 - tre? ( dev-libs/tre )"
252 -RDEPEND="${DEPEND}"
253 -
254 -REQUIRED_USE="pcre? ( !tre )
255 - tre? ( !pcre )"
256 -
257 -src_prepare() {
258 - vdr-plugin-2_src_prepare
259 -
260 - fix_vdr_libsi_include conflictcheck.c
261 -
262 - if has_version ">=media-video/vdr-1.7.25"; then
263 - epatch "${FILESDIR}/${P}_vdr-1.7.25.diff"
264 - fi
265 -
266 - if has_version ">=media-video/vdr-1.7.28"; then
267 - sed -i "s:SetRecording(recording->FileName(), recording->Title:SetRecording(recording->FileName:" menu_searchresults.c
268 - fi
269 -
270 - if has_version ">=media-video/vdr-1.7.33"; then
271 - epatch "${FILESDIR}/${P}_vdr-1.7.33.diff"
272 - fi
273 -
274 - epatch "${FILESDIR}/${P}_vdr-2.1.2.diff"
275 -
276 - # disable automagic deps
277 - sed -i Makefile -e '/^AUTOCONFIG=/s/^/#/'
278 -
279 - if use pcre; then
280 - einfo "Using pcre for regexp searches"
281 - sed -i Makefile -e 's:^#REGEXLIB = pcre:REGEXLIB = pcre:'
282 - fi
283 -
284 - if use tre; then
285 - einfo "Using tre for unlimited fuzzy searches"
286 - sed -i Makefile -e 's:^#REGEXLIB = pcre:REGEXLIB = tre:'
287 - fi
288 -
289 - # install conf-file disabled
290 - sed -e '/^Menu/s:^:#:' -i conf/epgsearchmenu.conf
291 -
292 - # Get a rid of the broken symlinks
293 - rm -f README{,.DE} MANUAL
294 -}
295 -
296 -src_install() {
297 - vdr-plugin-2_src_install
298 -
299 - diropts "-m755 -o vdr -g vdr"
300 - keepdir /etc/vdr/plugins/epgsearch
301 - insinto /etc/vdr/plugins/epgsearch
302 -
303 - doins conf/epgsearchmenu.conf
304 - doins conf/epgsearchconflmail.templ conf/epgsearchupdmail.templ
305 -
306 - dodoc conf/*.templ
307 -
308 - doman man/en/*.gz
309 -
310 - if use l10n_de; then
311 - doman -i18n=de man/de/*.gz
312 - fi
313 -}
314 -
315 -pkg_preinst() {
316 - has_version "<${CATEGORY}/${PN}-0.9.18"
317 - previous_less_than_0_9_18=$?
318 -}
319 -
320 -pkg_postinst() {
321 - vdr-plugin-2_pkg_postinst
322 - if [[ $previous_less_than_0_9_18 = 0 ]] ; then
323 - elog "Moving config-files to new location /etc/vdr/plugins/epgsearch"
324 - cd "${ROOT}"/etc/vdr/plugins
325 - local f
326 - local moved=""
327 - for f in epgsearch*.* .epgsearch*; do
328 - [[ -e ${f} ]] || continue
329 - mv "${f}" "${ROOT}/etc/vdr/plugins/epgsearch"
330 - moved="${moved} ${f}"
331 - done
332 - elog "These files were moved:${moved}"
333 - fi
334 -}