1 |
commit: dafcc15f1852cbbe699aa0066232f432b090c3f4 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 28 20:07:56 2019 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 28 20:08:38 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dafcc15f |
7 |
|
8 |
media-plugins/vdr-graphlcd: Remove old. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/646176 |
11 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
12 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
13 |
|
14 |
media-plugins/vdr-graphlcd/Manifest | 1 - |
15 |
.../graphlcd-0.1.5-radiotext-lcr-service.diff | 126 -------- |
16 |
.../files/0.1.5/graphlcd-0.1.5-span.diff | 356 --------------------- |
17 |
.../files/0.1.5/graphlcd-0.1.5_vdr-1.5.3.diff | 19 -- |
18 |
.../0.1.5/vdr-graphlcd-0.1.5-missing-freetyp2.diff | 30 -- |
19 |
.../0.1.5/vdr-graphlcd-0.1.5-missing-include.patch | 11 - |
20 |
.../vdr-graphlcd/vdr-graphlcd-0.1.9.ebuild | 100 ------ |
21 |
7 files changed, 643 deletions(-) |
22 |
|
23 |
diff --git a/media-plugins/vdr-graphlcd/Manifest b/media-plugins/vdr-graphlcd/Manifest |
24 |
index 8e778975844..8e899e78509 100644 |
25 |
--- a/media-plugins/vdr-graphlcd/Manifest |
26 |
+++ b/media-plugins/vdr-graphlcd/Manifest |
27 |
@@ -1,2 +1 @@ |
28 |
-DIST vdr-graphlcd-0.1.9.tgz 286572 BLAKE2B 251b7fce4149c01c9a3a1e64a88b8236e7ca0e041be25edf628df7754a3eb094a61582f9c3746ff28729c6e53cd784ee8b6b02169660ce9119239aac624e9b46 SHA512 46c78fe0c7bc7d67d757323a6a937e9feedcdb3e3f233227024dd84f0cb84ce8f08becd3b4ae9c0b7edfba40804a29fa0e3efc8e74eceb82812f288b8e40c6cd |
29 |
DIST vdr-plugin-graphlcd-1.0.0.tar.bz2 888495 BLAKE2B 0557e0750cfa6baf16b2ca5d6e5b69b206d493717e9337fb84403b171b1a4a558fbbc77e32e2f00c1cc0aaadb1390f807e3cd578725aa2ad6786d037c4bb3251 SHA512 05994707b8e8a5640db3c9d4ea991d81b92d6d3e88de98ffc8a4bdac3b885fed2780958babbfec0967209aa15043a3799f08de0d3005ec6eeabf130de7879822 |
30 |
|
31 |
diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-radiotext-lcr-service.diff b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-radiotext-lcr-service.diff |
32 |
deleted file mode 100644 |
33 |
index 8c2c180ab2c..00000000000 |
34 |
--- a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-radiotext-lcr-service.diff |
35 |
+++ /dev/null |
36 |
@@ -1,126 +0,0 @@ |
37 |
-diff -Naur graphlcd-0.1.4.orig/state.c graphlcd-0.1.4/state.c |
38 |
---- graphlcd-0.1.4.orig/state.c 2007-02-04 23:35:16.317687570 +0100 |
39 |
-+++ graphlcd-0.1.4/state.c 2007-02-04 23:42:12.065780817 +0100 |
40 |
-@@ -16,6 +16,7 @@ |
41 |
- |
42 |
- #include <vdr/eitscan.h> |
43 |
- #include <vdr/i18n.h> |
44 |
-+#include <vdr/plugin.h> |
45 |
- |
46 |
- #include "compat.h" |
47 |
- |
48 |
-@@ -654,6 +655,8 @@ |
49 |
- |
50 |
- void cGraphLCDState::GetProgramme() |
51 |
- { |
52 |
-+ bool ptitle = false; |
53 |
-+ |
54 |
- mutex.Lock(); |
55 |
- #if VDRVERSNUM < 10300 |
56 |
- const cEventInfo * present = NULL, * following = NULL; |
57 |
-@@ -670,9 +673,11 @@ |
58 |
- { |
59 |
- event.presentTime = present->GetTime(); |
60 |
- event.presentTitle = ""; |
61 |
-- if (!isempty(present->GetTitle())) |
62 |
-+ if (!isempty(present->GetTitle())) { |
63 |
- event.presentTitle = present->GetTitle(); |
64 |
- event.presentSubtitle = ""; |
65 |
-+ ptitle = true; |
66 |
-+ } |
67 |
- if (!isempty(present->GetSubtitle())) |
68 |
- event.presentSubtitle = present->GetSubtitle(); |
69 |
- } |
70 |
-@@ -704,9 +709,11 @@ |
71 |
- { |
72 |
- event.presentTime = present->StartTime(); |
73 |
- event.presentTitle = ""; |
74 |
-- if (!isempty(present->Title())) |
75 |
-+ if (!isempty(present->Title())) { |
76 |
- event.presentTitle = present->Title(); |
77 |
- event.presentSubtitle = ""; |
78 |
-+ ptitle = true; |
79 |
-+ } |
80 |
- if (!isempty(present->ShortText())) |
81 |
- event.presentSubtitle = present->ShortText(); |
82 |
- } |
83 |
-@@ -724,6 +731,54 @@ |
84 |
- } |
85 |
- } |
86 |
- #endif |
87 |
-+ |
88 |
-+#if VDRVERSNUM >= 10330 |
89 |
-+ { // get&display Radiotext |
90 |
-+ cPlugin *p; |
91 |
-+ p = cPluginManager::CallFirstService("RadioTextService-v1.0", NULL); |
92 |
-+ if (p) { |
93 |
-+ RadioTextService_v1_0 rtext; |
94 |
-+ if (cPluginManager::CallFirstService("RadioTextService-v1.0", &rtext)) { |
95 |
-+ if (rtext.rds_info == 2 && strstr(rtext.rds_title, "---") == NULL) { |
96 |
-+ char rtpinfo[2][65], rtstr[140]; |
97 |
-+ strcpy(rtpinfo[0], rtext.rds_title); |
98 |
-+ strcpy(rtpinfo[1], rtext.rds_artist); |
99 |
-+ sprintf(rtstr, "%02d:%02d %s | %s", rtext.title_start->tm_hour, rtext.title_start->tm_min, trim(((std::string)(rtpinfo[0]))).c_str(), trim(((std::string)(rtpinfo[1]))).c_str()); |
100 |
-+ ptitle ? event.presentSubtitle = rtstr : event.presentTitle = rtstr; |
101 |
-+ } |
102 |
-+ else if (rtext.rds_info > 0) { |
103 |
-+ char rtstr[65]; |
104 |
-+ strcpy(rtstr, rtext.rds_text); |
105 |
-+ ptitle ? event.presentSubtitle = trim(rtstr) : event.presentTitle = trim(rtstr); |
106 |
-+ } |
107 |
-+ } |
108 |
-+ } |
109 |
-+ } |
110 |
-+#endif |
111 |
-+ |
112 |
-+#if VDRVERSNUM >= 10330 |
113 |
-+ { // get&display LcrData |
114 |
-+ cPlugin *p; |
115 |
-+ p = cPluginManager::CallFirstService("LcrService-v1.0", NULL); |
116 |
-+ if (p) |
117 |
-+ { |
118 |
-+ LcrService_v1_0 lcrData; |
119 |
-+ if (cPluginManager::CallFirstService("LcrService-v1.0", &lcrData)) |
120 |
-+ { |
121 |
-+ if ( strstr( lcrData.destination, "---" ) == NULL ) |
122 |
-+ { |
123 |
-+ char lcrStringParts[3][25], lcrString[100]; |
124 |
-+ strcpy( lcrStringParts[0], (const char *)lcrData.destination ); |
125 |
-+ strcpy( lcrStringParts[1], (const char *)lcrData.price ); |
126 |
-+ strcpy( lcrStringParts[2], (const char *)lcrData.pulse ); |
127 |
-+ sprintf(lcrString, "%s | %s", trim((std::string)(lcrStringParts[1])).c_str(), trim((std::string)(lcrStringParts[2])).c_str()); |
128 |
-+ event.presentTitle = trim(lcrStringParts[0]); |
129 |
-+ event.presentSubtitle = trim(lcrString); |
130 |
-+ } |
131 |
-+ } |
132 |
-+ } |
133 |
-+ } |
134 |
-+#endif |
135 |
- mutex.Unlock(); |
136 |
- } |
137 |
- |
138 |
-diff -Naur graphlcd-0.1.4.orig/state.h graphlcd-0.1.4/state.h |
139 |
---- graphlcd-0.1.4.orig/state.h 2007-02-04 23:35:16.317687570 +0100 |
140 |
-+++ graphlcd-0.1.4/state.h 2007-02-04 23:43:05.728759351 +0100 |
141 |
-@@ -130,4 +130,21 @@ |
142 |
- tVolumeState GetVolumeState(); |
143 |
- }; |
144 |
- |
145 |
-+// Radiotext |
146 |
-+struct RadioTextService_v1_0 { |
147 |
-+ int rds_info; |
148 |
-+ int rds_pty; |
149 |
-+ char *rds_text; |
150 |
-+ char *rds_title; |
151 |
-+ char *rds_artist; |
152 |
-+ struct tm *title_start; |
153 |
-+}; |
154 |
-+ |
155 |
-+// LcrData |
156 |
-+struct LcrService_v1_0 { |
157 |
-+ cString destination; |
158 |
-+ cString price; |
159 |
-+ cString pulse; |
160 |
-+}; |
161 |
-+ |
162 |
- #endif |
163 |
|
164 |
diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-span.diff b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-span.diff |
165 |
deleted file mode 100644 |
166 |
index 949049af050..00000000000 |
167 |
--- a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5-span.diff |
168 |
+++ /dev/null |
169 |
@@ -1,356 +0,0 @@ |
170 |
-diff -Naur graphlcd-0.1.4.orig/display.c graphlcd-0.1.4/display.c |
171 |
---- graphlcd-0.1.4.orig/display.c 2007-02-04 23:10:36.609384554 +0100 |
172 |
-+++ graphlcd-0.1.4/display.c 2007-02-04 23:17:48.756350745 +0100 |
173 |
-@@ -115,6 +115,7 @@ |
174 |
- nCurrentBrightness = -1; |
175 |
- LastTimeBrightness = 0; |
176 |
- bBrightnessActive = true; |
177 |
-+ LastTimeSA.Set(0); |
178 |
- } |
179 |
- |
180 |
- cGraphLCDDisplay::~cGraphLCDDisplay() |
181 |
-@@ -373,6 +374,11 @@ |
182 |
- update = true; |
183 |
- } |
184 |
- |
185 |
-+ if ( LastTimeSA.TimedOut() ) |
186 |
-+ { |
187 |
-+ update = true; |
188 |
-+ LastTimeSA.Set(1000); |
189 |
-+ } |
190 |
- // update Display every second or due to an update |
191 |
- if (CurrTime != LastTime || update) |
192 |
- { |
193 |
-@@ -1460,6 +1466,8 @@ |
194 |
- nTopY + nProgressbarHeight, |
195 |
- GLCD::clrBlack, false); |
196 |
- |
197 |
-+ DisplaySA(); |
198 |
-+ |
199 |
- if (1 < replay.total && 1 < replay.current) // Don't show full progressbar for endless streams |
200 |
- { |
201 |
- bitmap->DrawRectangle(FRAME_SPACE_X, |
202 |
-@@ -1945,3 +1953,141 @@ |
203 |
- } |
204 |
- mutex.Unlock(); |
205 |
- } |
206 |
-+ |
207 |
-+void cGraphLCDDisplay::DisplaySA() |
208 |
-+{ |
209 |
-+// Spectrum Analyzer visualization |
210 |
-+ if ( GraphLCDSetup.enableSpectrumAnalyzer ) |
211 |
-+ { |
212 |
-+ if (cPluginManager::CallFirstService(SPAN_GET_BAR_HEIGHTS_ID, NULL)) |
213 |
-+ { |
214 |
-+ Span_GetBarHeights_v1_0 GetBarHeights; |
215 |
-+ |
216 |
-+ int bandsSA = 20; |
217 |
-+ int falloffSA = 8; |
218 |
-+ int channelsSA = 1; |
219 |
-+ |
220 |
-+ unsigned int bar; |
221 |
-+ unsigned int *barHeights = new unsigned int[bandsSA]; |
222 |
-+ unsigned int *barHeightsLeftChannel = new unsigned int[bandsSA]; |
223 |
-+ unsigned int *barHeightsRightChannel = new unsigned int[bandsSA]; |
224 |
-+ unsigned int volumeLeftChannel; |
225 |
-+ unsigned int volumeRightChannel; |
226 |
-+ unsigned int volumeBothChannels; |
227 |
-+ unsigned int *barPeaksBothChannels = new unsigned int[bandsSA]; |
228 |
-+ unsigned int *barPeaksLeftChannel = new unsigned int[bandsSA]; |
229 |
-+ unsigned int *barPeaksRightChannel = new unsigned int[bandsSA]; |
230 |
-+ |
231 |
-+ GetBarHeights.bands = bandsSA; |
232 |
-+ GetBarHeights.barHeights = barHeights; |
233 |
-+ GetBarHeights.barHeightsLeftChannel = barHeightsLeftChannel; |
234 |
-+ GetBarHeights.barHeightsRightChannel = barHeightsRightChannel; |
235 |
-+ GetBarHeights.volumeLeftChannel = &volumeLeftChannel; |
236 |
-+ GetBarHeights.volumeRightChannel = &volumeRightChannel; |
237 |
-+ GetBarHeights.volumeBothChannels = &volumeBothChannels; |
238 |
-+ GetBarHeights.name = "graphlcd"; |
239 |
-+ GetBarHeights.falloff = falloffSA; |
240 |
-+ GetBarHeights.barPeaksBothChannels = barPeaksBothChannels; |
241 |
-+ GetBarHeights.barPeaksLeftChannel = barPeaksLeftChannel; |
242 |
-+ GetBarHeights.barPeaksRightChannel = barPeaksRightChannel; |
243 |
-+ |
244 |
-+ if ( cPluginManager::CallFirstService(SPAN_GET_BAR_HEIGHTS_ID, &GetBarHeights )) |
245 |
-+ { |
246 |
-+ int i; |
247 |
-+ int barWidth = 2; |
248 |
-+ int saStartX = FRAME_SPACE_X; |
249 |
-+ int saEndX = saStartX + barWidth*bandsSA*2 + bandsSA/4 - 1; |
250 |
-+ int saStartY = FRAME_SPACE_Y; |
251 |
-+ int saEndY = FRAME_SPACE_Y + bitmap->Height()/2 - 3; |
252 |
-+ |
253 |
-+ LastTimeSA.Set(100); |
254 |
-+ |
255 |
-+ if ( GraphLCDSetup.SAShowVolume ) |
256 |
-+ { |
257 |
-+ |
258 |
-+ saStartX = FRAME_SPACE_X + bitmap->Width()/2 - (barWidth*bandsSA*2 + bandsSA/4)/2 - 2; |
259 |
-+ saEndX = saStartX + barWidth*bandsSA*2 + bandsSA/4 - 1; |
260 |
-+ |
261 |
-+ // left volume |
262 |
-+ bitmap->DrawRectangle(FRAME_SPACE_X, |
263 |
-+ saStartY, |
264 |
-+ saStartX-1, |
265 |
-+ saEndY + 1, |
266 |
-+ GLCD::clrWhite, true); |
267 |
-+ |
268 |
-+ for ( i=0; (i<logo->Width()/2-2) && (i<3*(volumeLeftChannel*saStartX)/100); i++) |
269 |
-+ { |
270 |
-+ bitmap->DrawRectangle(saStartX - i - 2, |
271 |
-+ saStartY + saEndY/2 - i, |
272 |
-+ saStartX - i - 4, |
273 |
-+ saStartY + saEndY/2 + i, |
274 |
-+ GLCD::clrBlack, true); |
275 |
-+ } |
276 |
-+ |
277 |
-+ // right volume |
278 |
-+ bitmap->DrawRectangle(saEndX + 1, |
279 |
-+ saStartY, |
280 |
-+ bitmap->Width() - 1, |
281 |
-+ saEndY + 1, |
282 |
-+ GLCD::clrWhite, true); |
283 |
-+ |
284 |
-+ for ( i=0; (i<logo->Width()/2-2) && (i<3*(volumeRightChannel*saStartX)/100); i++) |
285 |
-+ { |
286 |
-+ bitmap->DrawRectangle(saEndX + 2 + i, |
287 |
-+ saStartY + saEndY/2 - i, |
288 |
-+ saEndX + i + 4, |
289 |
-+ saStartY + saEndY/2 + i, |
290 |
-+ GLCD::clrBlack, true); |
291 |
-+ } |
292 |
-+ } |
293 |
-+ // black background |
294 |
-+ bitmap->DrawRectangle(saStartX, |
295 |
-+ saStartY, |
296 |
-+ saEndX, |
297 |
-+ saEndY + 1, |
298 |
-+ GLCD::clrBlack, true); |
299 |
-+ |
300 |
-+ for ( i=0; i < bandsSA; i++ ) |
301 |
-+ { |
302 |
-+/* if ( channelsSA == 2 ) |
303 |
-+ { |
304 |
-+ bar = barHeightsLeftChannel[i]; |
305 |
-+ bar = barHeightsRightChannel[i]; |
306 |
-+ }*/ |
307 |
-+ if ( channelsSA == 1) |
308 |
-+ { |
309 |
-+ // the bar |
310 |
-+ bar = (barHeights[i]*(saEndY-saStartY))/100; |
311 |
-+ bitmap->DrawRectangle(saStartX + barWidth*2*(i)+ barWidth + 1, |
312 |
-+ saEndY, |
313 |
-+ saStartX + barWidth*2*(i) + barWidth+ barWidth + 1, |
314 |
-+ saEndY - bar, |
315 |
-+ GLCD::clrWhite, true); |
316 |
-+ |
317 |
-+ // the peak |
318 |
-+ bar = (barPeaksBothChannels[i]*(saEndY-saStartY))/100; |
319 |
-+ if ( bar > 0 ) |
320 |
-+ { |
321 |
-+ bitmap->DrawRectangle(saStartX + barWidth*2*(i)+ barWidth + 1, |
322 |
-+ saEndY - bar, |
323 |
-+ saStartX + barWidth*2*(i) + barWidth+ barWidth + 1, |
324 |
-+ saEndY - bar+1, |
325 |
-+ GLCD::clrWhite, true); |
326 |
-+ } |
327 |
-+ } |
328 |
-+ } |
329 |
-+ } |
330 |
-+ |
331 |
-+ delete [] barHeights; |
332 |
-+ delete [] barHeightsLeftChannel; |
333 |
-+ delete [] barHeightsRightChannel; |
334 |
-+ delete [] barPeaksBothChannels; |
335 |
-+ delete [] barPeaksLeftChannel; |
336 |
-+ delete [] barPeaksRightChannel; |
337 |
-+ } |
338 |
-+ } |
339 |
-+} |
340 |
-+ |
341 |
-+//############################################################################################# |
342 |
-+ |
343 |
-+ |
344 |
-diff -Naur graphlcd-0.1.4.orig/display.h graphlcd-0.1.4/display.h |
345 |
---- graphlcd-0.1.4.orig/display.h 2007-02-04 23:10:36.609384554 +0100 |
346 |
-+++ graphlcd-0.1.4/display.h 2007-02-04 23:20:24.209000170 +0100 |
347 |
-@@ -29,10 +29,33 @@ |
348 |
- #include <vdr/thread.h> |
349 |
- #include <vdr/player.h> |
350 |
- |
351 |
-+#define SPAN_CLIENT_CHECK_ID "Span-ClientCheck-v1.0" |
352 |
-+#define SPAN_GET_BAR_HEIGHTS_ID "Span-GetBarHeights-v1.0" |
353 |
- |
354 |
- #define LCDMAXCARDS 4 |
355 |
- static const int kMaxTabCount = 10; |
356 |
- |
357 |
-+struct Span_Client_Check_1_0 { |
358 |
-+ bool *isActive; |
359 |
-+ bool *isRunning; |
360 |
-+}; |
361 |
-+ |
362 |
-+struct Span_GetBarHeights_v1_0 { |
363 |
-+ unsigned int bands; // number of bands to compute |
364 |
-+ unsigned int *barHeights; // the heights of the bars of the two channels combined |
365 |
-+ unsigned int *barHeightsLeftChannel; // the heights of the bars of the left channel |
366 |
-+ unsigned int *barHeightsRightChannel; // the heights of the bars of the right channel |
367 |
-+ unsigned int *volumeLeftChannel; // the volume of the left channels |
368 |
-+ unsigned int *volumeRightChannel; // the volume of the right channels |
369 |
-+ unsigned int *volumeBothChannels; // the combined volume of the two channels |
370 |
-+ const char *name; // name of the plugin that wants to get the data |
371 |
-+ // (must be unique for each client!) |
372 |
-+ unsigned int falloff; // bar falloff value |
373 |
-+ unsigned int *barPeaksBothChannels; // bar peaks of the two channels combined |
374 |
-+ unsigned int *barPeaksLeftChannel; // bar peaks of the left channel |
375 |
-+ unsigned int *barPeaksRightChannel; // bar peaks of the right channel |
376 |
-+}; |
377 |
-+ |
378 |
- enum ThreadState |
379 |
- { |
380 |
- Normal, |
381 |
-@@ -104,6 +127,7 @@ |
382 |
- time_t LastTime; |
383 |
- time_t LastTimeCheckSym; |
384 |
- time_t LastTimeModSym; |
385 |
-+ cTimeMs LastTimeSA; |
386 |
- struct timeval CurrTimeval; |
387 |
- struct timeval UpdateAt; |
388 |
- |
389 |
-@@ -125,6 +149,7 @@ |
390 |
- void DisplayTextItem(); |
391 |
- void DisplayColorButtons(); |
392 |
- void DisplayVolume(); |
393 |
-+ void DisplaySA(); |
394 |
- |
395 |
- void UpdateIn(long usec); |
396 |
- bool CheckAndUpdateSymbols(); |
397 |
-diff -Naur graphlcd-0.1.4.orig/i18n.c graphlcd-0.1.4/i18n.c |
398 |
---- graphlcd-0.1.4.orig/i18n.c 2007-02-04 23:10:38.792567843 +0100 |
399 |
-+++ graphlcd-0.1.4/i18n.c 2007-02-04 23:23:31.966096053 +0100 |
400 |
-@@ -966,5 +966,53 @@ |
401 |
- # endif |
402 |
- #endif |
403 |
- }, |
404 |
-+{ |
405 |
-+ "Show spectrum analyzer", |
406 |
-+ "Zeige Spectrum Analyzer", |
407 |
-+ "",// TODO Slovenski |
408 |
-+ "",// TODO Italiano |
409 |
-+ "",// TODO Nederlands |
410 |
-+ "",// TODO Portuguçês |
411 |
-+ "",// TODO Franais |
412 |
-+ "",// TODO Norsk |
413 |
-+ "",// TODO Suomi |
414 |
-+ "",// TODO Polski |
415 |
-+ "",// TODO Español |
416 |
-+ "",// TODO Ellinika |
417 |
-+ "",// TODO Svenska |
418 |
-+ "",// TODO Romnâã |
419 |
-+ "",// TODO Magyar |
420 |
-+ "",// TODO Catalàà |
421 |
-+#if VDRVERSNUM > 10302 |
422 |
-+ "",// TODO Russian |
423 |
-+# if VDRVERSNUM > 10307 |
424 |
-+ "",// TODO Croatian |
425 |
-+# endif |
426 |
-+#endif |
427 |
-+ }, |
428 |
-+ { |
429 |
-+ "Show SA volume", |
430 |
-+ "Zeige SA Lautstrke", |
431 |
-+ "",// TODO Slovenski |
432 |
-+ "",// TODO Italiano |
433 |
-+ "",// TODO Nederlands |
434 |
-+ "",// TODO Portugus |
435 |
-+ "",// TODO Franêçais |
436 |
-+ "",// TODO Norsk |
437 |
-+ "",// TODO Suomi |
438 |
-+ "",// TODO Polski |
439 |
-+ "",// TODO Español |
440 |
-+ "",// TODO Ellinika |
441 |
-+ "",// TODO Svenska |
442 |
-+ "",// TODO Romnâã |
443 |
-+ "",// TODO Magyar |
444 |
-+ "",// TODO Catal |
445 |
-+#if VDRVERSNUM > 10302 |
446 |
-+ "",// TODO Russian |
447 |
-+# if VDRVERSNUM > 10307 |
448 |
-+ "",// TODO Croatian |
449 |
-+# endif |
450 |
-+#endif |
451 |
-+ }, |
452 |
- { NULL } |
453 |
- }; |
454 |
-diff -Naur graphlcd-0.1.4.orig/menu.c graphlcd-0.1.4/menu.c |
455 |
---- graphlcd-0.1.4.orig/menu.c 2007-02-04 23:10:38.862563031 +0100 |
456 |
-+++ graphlcd-0.1.4/menu.c 2007-02-04 23:24:53.710477952 +0100 |
457 |
-@@ -101,4 +101,6 @@ |
458 |
- SetupStore("BrightnessActive", GraphLCDSetup.BrightnessActive = newGraphLCDSetup.BrightnessActive); |
459 |
- SetupStore("BrightnessIdle", GraphLCDSetup.BrightnessIdle = newGraphLCDSetup.BrightnessIdle); |
460 |
- SetupStore("BrightnessDelay", GraphLCDSetup.BrightnessDelay = newGraphLCDSetup.BrightnessDelay); |
461 |
-+ SetupStore("enableSpectrumAnalyzer", GraphLCDSetup.enableSpectrumAnalyzer = newGraphLCDSetup.enableSpectrumAnalyzer); |
462 |
-+ SetupStore("SAShowVolume", GraphLCDSetup.SAShowVolume = newGraphLCDSetup.SAShowVolume); |
463 |
- } |
464 |
-diff -Naur graphlcd-0.1.4.orig/plugin.c graphlcd-0.1.4/plugin.c |
465 |
---- graphlcd-0.1.4.orig/plugin.c 2007-02-04 23:10:38.862563031 +0100 |
466 |
-+++ graphlcd-0.1.4/plugin.c 2007-02-04 23:26:57.655292837 +0100 |
467 |
-@@ -54,6 +54,7 @@ |
468 |
- virtual cOsdObject * MainMenuAction(); |
469 |
- virtual cMenuSetupPage * SetupMenu(); |
470 |
- virtual bool SetupParse(const char * Name, const char * Value); |
471 |
-+ virtual bool Service(const char *Id, void *Data); |
472 |
- }; |
473 |
- |
474 |
- cPluginGraphLCD::cPluginGraphLCD() |
475 |
-@@ -243,8 +244,24 @@ |
476 |
- else if (!strcasecmp(Name, "BrightnessActive")) GraphLCDSetup.BrightnessActive = atoi(Value); |
477 |
- else if (!strcasecmp(Name, "BrightnessIdle")) GraphLCDSetup.BrightnessIdle = atoi(Value); |
478 |
- else if (!strcasecmp(Name, "BrightnessDelay")) GraphLCDSetup.BrightnessDelay = atoi(Value); |
479 |
-+ else if (!strcasecmp(Name, "enableSpectrumAnalyzer")) GraphLCDSetup.enableSpectrumAnalyzer = atoi(Value); |
480 |
-+ else if (!strcasecmp(Name, "SAShowVolume")) GraphLCDSetup.SAShowVolume = atoi(Value); |
481 |
- else return false; |
482 |
- return true; |
483 |
- } |
484 |
- |
485 |
-+bool cPluginGraphLCD::Service(const char *Id, void *Data) |
486 |
-+{ |
487 |
-+ if (strcmp(Id, SPAN_CLIENT_CHECK_ID) == 0) |
488 |
-+ { |
489 |
-+ if ( GraphLCDSetup.enableSpectrumAnalyzer && (Data != NULL) ) |
490 |
-+ { |
491 |
-+ *((Span_Client_Check_1_0*)Data)->isActive = true; |
492 |
-+ } |
493 |
-+ return true; |
494 |
-+ } |
495 |
-+ |
496 |
-+ return false; |
497 |
-+} |
498 |
-+ |
499 |
- VDRPLUGINCREATOR(cPluginGraphLCD); // Don't touch this! |
500 |
-diff -Naur graphlcd-0.1.4.orig/setup.c graphlcd-0.1.4/setup.c |
501 |
---- graphlcd-0.1.4.orig/setup.c 2007-02-04 23:10:38.865896137 +0100 |
502 |
-+++ graphlcd-0.1.4/setup.c 2007-02-04 23:27:59.671030635 +0100 |
503 |
-@@ -52,7 +52,9 @@ |
504 |
- ScrollTime(500), |
505 |
- BrightnessActive(100), |
506 |
- BrightnessIdle(100), |
507 |
-- BrightnessDelay(30) |
508 |
-+ BrightnessDelay(30), |
509 |
-+ enableSpectrumAnalyzer(1), |
510 |
-+ SAShowVolume(1) |
511 |
- { |
512 |
- } |
513 |
- |
514 |
-diff -Naur graphlcd-0.1.4.orig/setup.h graphlcd-0.1.4/setup.h |
515 |
---- graphlcd-0.1.4.orig/setup.h 2007-02-04 23:10:38.865896137 +0100 |
516 |
-+++ graphlcd-0.1.4/setup.h 2007-02-04 23:28:55.347204140 +0100 |
517 |
-@@ -54,6 +54,8 @@ |
518 |
- int BrightnessActive; |
519 |
- int BrightnessIdle; |
520 |
- int BrightnessDelay; |
521 |
-+ int enableSpectrumAnalyzer; |
522 |
-+ int SAShowVolume; |
523 |
- |
524 |
- public: |
525 |
- cGraphLCDSetup(void); |
526 |
|
527 |
diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5_vdr-1.5.3.diff b/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5_vdr-1.5.3.diff |
528 |
deleted file mode 100644 |
529 |
index fac88fb5e61..00000000000 |
530 |
--- a/media-plugins/vdr-graphlcd/files/0.1.5/graphlcd-0.1.5_vdr-1.5.3.diff |
531 |
+++ /dev/null |
532 |
@@ -1,19 +0,0 @@ |
533 |
-fix compile Probs up from vdr-1.5.3 |
534 |
- |
535 |
-Joerg Bornkessel <hd_brummy@g.o> 2007 06 26 |
536 |
- |
537 |
-diff -Naur graphlcd-0.1.5.orig/layout.c graphlcd-0.1.5/layout.c |
538 |
---- graphlcd-0.1.5.orig/layout.c 2007-06-26 21:43:52.000000000 +0200 |
539 |
-+++ graphlcd-0.1.5/layout.c 2007-06-26 21:46:05.000000000 +0200 |
540 |
-@@ -65,7 +65,11 @@ |
541 |
- file += "/fonts/"; |
542 |
- file += url.substr(4, pos - 4); |
543 |
- } |
544 |
-+#if APIVERSNUM >= 10503 |
545 |
-+ return font.LoadFT2(file, cCharSetConv::SystemCharacterTable(), size); |
546 |
-+#else |
547 |
- return font.LoadFT2(file, I18nCharSets()[Setup.OSDLanguage], size); |
548 |
-+#endif |
549 |
- } |
550 |
- else |
551 |
- { |
552 |
|
553 |
diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-freetyp2.diff b/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-freetyp2.diff |
554 |
deleted file mode 100644 |
555 |
index 2c10c869742..00000000000 |
556 |
--- a/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-freetyp2.diff |
557 |
+++ /dev/null |
558 |
@@ -1,30 +0,0 @@ |
559 |
-#bug 203856 |
560 |
- |
561 |
-diff -Naur graphlcd-0.1.5_orig/Makefile graphlcd-0.1.5/Makefile |
562 |
---- graphlcd-0.1.5_orig/Makefile 2007-02-05 19:24:03.000000000 +0100 |
563 |
-+++ graphlcd-0.1.5/Makefile 2007-12-31 02:08:00.000000000 +0100 |
564 |
-@@ -9,6 +9,9 @@ |
565 |
- # |
566 |
- PLUGIN = graphlcd |
567 |
- |
568 |
-+# define this if you built graphlcd-base with freetype: |
569 |
-+HAVE_FREETYPE2 = 1 |
570 |
-+ |
571 |
- ### The version number of this plugin (taken from the main source file): |
572 |
- |
573 |
- VERSION = $(shell grep 'static const char \*VERSION *=' plugin.c | awk '{ print $$6 }' | sed -e 's/[";]//g') |
574 |
-@@ -51,9 +54,12 @@ |
575 |
- |
576 |
- INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -I$(INSTALLPREFIX)/include |
577 |
- |
578 |
--DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"' |
579 |
--DEFINES += -D_GNU_SOURCE |
580 |
-+DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' |
581 |
- |
582 |
-+ifdef HAVE_FREETYPE2 |
583 |
-+ INCLUDES += -I$(INSTALLPREFIX)/include/freetype2 |
584 |
-+ DEFINES += -DHAVE_FREETYPE2 |
585 |
-+endif |
586 |
- |
587 |
- ### The object files (add further files here): |
588 |
- |
589 |
|
590 |
diff --git a/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-include.patch b/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-include.patch |
591 |
deleted file mode 100644 |
592 |
index e96823bec88..00000000000 |
593 |
--- a/media-plugins/vdr-graphlcd/files/0.1.5/vdr-graphlcd-0.1.5-missing-include.patch |
594 |
+++ /dev/null |
595 |
@@ -1,11 +0,0 @@ |
596 |
-diff -ru graphlcd-0.1.4-orig/display.c graphlcd-0.1.4/display.c |
597 |
---- graphlcd-0.1.4-orig/display.c 2007-02-05 11:32:23.963790615 +0100 |
598 |
-+++ graphlcd-0.1.4/display.c 2007-02-05 11:32:35.890079873 +0100 |
599 |
-@@ -29,6 +29,7 @@ |
600 |
- |
601 |
- #include <vdr/tools.h> |
602 |
- #include <vdr/menu.h> |
603 |
-+#include <vdr/plugin.h> |
604 |
- |
605 |
- #include "compat.h" |
606 |
- |
607 |
|
608 |
diff --git a/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.9.ebuild b/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.9.ebuild |
609 |
deleted file mode 100644 |
610 |
index ba2e889c515..00000000000 |
611 |
--- a/media-plugins/vdr-graphlcd/vdr-graphlcd-0.1.9.ebuild |
612 |
+++ /dev/null |
613 |
@@ -1,100 +0,0 @@ |
614 |
-# Copyright 1999-2019 Gentoo Authors |
615 |
-# Distributed under the terms of the GNU General Public License v2 |
616 |
- |
617 |
-EAPI=5 |
618 |
- |
619 |
-inherit vdr-plugin-2 |
620 |
- |
621 |
-VERSION="502" # every bump, new version |
622 |
- |
623 |
-DESCRIPTION="VDR Plugin: support output on Graphical LCD " |
624 |
-HOMEPAGE="https://projects.vdr-developer.org/projects/graphlcd" |
625 |
-SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz" |
626 |
- |
627 |
-KEYWORDS="~amd64 ~x86" |
628 |
- |
629 |
-SLOT="0" |
630 |
-LICENSE="GPL-2" |
631 |
-IUSE="" |
632 |
- |
633 |
-DEPEND=">=media-video/vdr-1.6 |
634 |
- >=app-misc/graphlcd-base-${PV}" |
635 |
-RDEPEND="${DEPEND}" |
636 |
- |
637 |
-pkg_setup() { |
638 |
- vdr-plugin-2_pkg_setup |
639 |
- |
640 |
- if ! getent group lp | grep -q vdr; then |
641 |
- echo |
642 |
- einfo "Add user 'vdr' to group 'lp' for full user access to parport device" |
643 |
- echo |
644 |
- elog "User vdr added to group lp" |
645 |
- gpasswd -a vdr lp |
646 |
- fi |
647 |
- if ! getent group usb | grep -q vdr; then |
648 |
- echo |
649 |
- einfo "Add user 'vdr' to group 'usb' for full user access to usb device" |
650 |
- echo |
651 |
- elog "User vdr added to group usb" |
652 |
- gpasswd -a vdr usb |
653 |
- fi |
654 |
-} |
655 |
- |
656 |
-src_prepare() { |
657 |
- vdr-plugin-2_src_prepare |
658 |
- |
659 |
- sed -i "s:/usr/local:/usr:" Makefile |
660 |
- |
661 |
- sed -i "s:i18n.c:i18n.h:g" Makefile |
662 |
- |
663 |
- sed -i "s:include \$(VDRDIR)/Make.global:-include \$(VDRDIR)/Make.global:" Makefile |
664 |
-} |
665 |
- |
666 |
-src_install() { |
667 |
- vdr-plugin-2_src_install |
668 |
- |
669 |
- insopts -m0644 -ovdr -gvdr |
670 |
- |
671 |
- insinto /usr/share/vdr/${VDRPLUGIN}/logos |
672 |
- doins -r ${VDRPLUGIN}/logos/* |
673 |
- |
674 |
- insinto /usr/share/vdr/${VDRPLUGIN}/fonts |
675 |
- doins ${VDRPLUGIN}/fonts/*.fnt |
676 |
- |
677 |
- for font in /usr/share/fonts/corefonts/*.ttf; do |
678 |
- elog ${font} |
679 |
- dosym ${font} /usr/share/vdr/graphlcd/fonts |
680 |
- done |
681 |
- |
682 |
- insinto /etc/vdr/plugins/${VDRPLUGIN} |
683 |
- doins ${VDRPLUGIN}/logonames.alias.* |
684 |
- doins ${VDRPLUGIN}/fonts.conf.* |
685 |
- |
686 |
- dosym /usr/share/vdr/${VDRPLUGIN}/fonts /etc/vdr/plugins/${VDRPLUGIN}/fonts |
687 |
- dosym /usr/share/vdr/${VDRPLUGIN}/logos /etc/vdr/plugins/${VDRPLUGIN}/logos |
688 |
- dosym /etc/graphlcd.conf /etc/vdr/plugins/${VDRPLUGIN}/graphlcd.conf |
689 |
- |
690 |
- dosym /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias.1.3 /etc/vdr/plugins/${VDRPLUGIN}/logonames.alias |
691 |
-} |
692 |
- |
693 |
-pkg_preinst() { |
694 |
- |
695 |
- if [[ -e /etc/vdr/plugins/graphlcd/fonts ]] && [[ ! -L /etc/vdr/plugins/graphlcd/fonts ]] \ |
696 |
- || [[ -e /etc/vdr/plugins/graphlcd/logos ]] && [[ ! -L /etc/vdr/plugins/graphlcd/logos ]] ;then |
697 |
- |
698 |
- elog "Remove wrong DIR in /etc/vdr/plugins/graphlcd from prior install" |
699 |
- elog "Press CTRL+C to abbort" |
700 |
- epause |
701 |
- rmdir -R /etc/vdrplugins/graphlcd/{fonts,logos} |
702 |
- fi |
703 |
-} |
704 |
- |
705 |
-pkg_postinst() { |
706 |
- vdr-plugin-2_pkg_postinst |
707 |
- |
708 |
- elog "Add additional options in /etc/conf.d/vdr.graphlcd" |
709 |
- elog |
710 |
- elog "Please copy or link one of the supplied fonts.conf.*" |
711 |
- elog "files in /etc/vdr/plugins/graphlcd/ to" |
712 |
- elog "/etc/vdr/plugins/graphlcd/fonts.conf" |
713 |
-} |