1 |
hd_brummy 08/02/02 20:51:17 |
2 |
|
3 |
Added: vdr-filebrowser-0.0.6b-typofix.diff sources.conf |
4 |
othercommands.conf order.conf |
5 |
vdr-filebrowser-0.0.6b_vdr-1.5.diff commands.conf |
6 |
Log: |
7 |
initial ebuild, taken from vdr testing overlay; also thanks to E.O'Donnell on bug 208210 |
8 |
(Portage version: 2.1.3.19) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b-typofix.diff |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b-typofix.diff?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b-typofix.diff?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: vdr-filebrowser-0.0.6b-typofix.diff |
17 |
=================================================================== |
18 |
fix some compile probs, depend on typos |
19 |
|
20 |
Joerg Bornkessel <hd_brummy@g.o> 02 Fev 2008 |
21 |
diff -Naur filebrowser-0.0.6b.orig/po/cs_CZ.po filebrowser-0.0.6b/po/cs_CZ.po |
22 |
--- filebrowser-0.0.6b.orig/po/cs_CZ.po 2008-02-02 19:59:43.960349841 +0100 |
23 |
+++ filebrowser-0.0.6b/po/cs_CZ.po 2008-02-02 20:00:19.293265014 +0100 |
24 |
@@ -85,7 +85,7 @@ |
25 |
|
26 |
#: menu-filebrowser.c:107 menu-filebrowser.c:226 menu-filebrowser.c:228 |
27 |
msgid "Filebrowser" |
28 |
-msgstr { |
29 |
+msgstr "" |
30 |
|
31 |
#: menu-filebrowser.c:234 menu-filebrowser.c:443 |
32 |
msgid "Select Destination" |
33 |
diff -Naur filebrowser-0.0.6b.orig/po/tr_TR.po filebrowser-0.0.6b/po/tr_TR.po |
34 |
--- filebrowser-0.0.6b.orig/po/tr_TR.po 2008-02-02 19:59:43.960349841 +0100 |
35 |
+++ filebrowser-0.0.6b/po/tr_TR.po 2008-02-02 20:00:41.088291684 +0100 |
36 |
@@ -85,7 +85,7 @@ |
37 |
|
38 |
#: menu-filebrowser.c:107 menu-filebrowser.c:226 menu-filebrowser.c:228 |
39 |
msgid "Filebrowser" |
40 |
-msgstr NULL |
41 |
+msgstr "" |
42 |
|
43 |
#: menu-filebrowser.c:234 menu-filebrowser.c:443 |
44 |
msgid "Select Destination" |
45 |
|
46 |
|
47 |
|
48 |
1.1 media-plugins/vdr-filebrowser/files/sources.conf |
49 |
|
50 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/sources.conf?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/sources.conf?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: sources.conf |
54 |
=================================================================== |
55 |
# * sources.conf * |
56 |
# Define sources in the style of many other plugins to switch your virtual root at runtime. |
57 |
# First field specifies source's name, second the path. Escaping rules from above apply. |
58 |
# The third (facultative) field specifies a file filter. |
59 |
# |
60 |
# Example |
61 |
# All%: (note the escaped colon!):/ |
62 |
# Home:/home:*.doc |
63 |
# Temp:/tmp |
64 |
|
65 |
|
66 |
|
67 |
|
68 |
1.1 media-plugins/vdr-filebrowser/files/othercommands.conf |
69 |
|
70 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/othercommands.conf?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/othercommands.conf?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: othercommands.conf |
74 |
=================================================================== |
75 |
# * othercommands.conf * |
76 |
# You have the possibility to move commands into their own submenu. |
77 |
# Apart from reducing the need to "scroll" with the color keys, it keeps cost of command-matching low |
78 |
# (especially with shell-matched commands) for they are checked not until you open this menu. |
79 |
# Syntax is like in order.conf, you still define your commands in commands.conf, this file determines |
80 |
# which (named) commands are moved to the menu. |
81 |
# Both Attention and Attention2 from above apply. |
82 |
# |
83 |
# Example |
84 |
# Mark all # move this commands to the menu |
85 |
# Threads |
86 |
# Sources |
87 |
# |
88 |
# Please note that those comments aren't supported in othersources.conf at the time! |
89 |
|
90 |
|
91 |
|
92 |
|
93 |
1.1 media-plugins/vdr-filebrowser/files/order.conf |
94 |
|
95 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/order.conf?rev=1.1&view=markup |
96 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/order.conf?rev=1.1&content-type=text/plain |
97 |
|
98 |
Index: order.conf |
99 |
=================================================================== |
100 |
# * order.conf * |
101 |
# A file to reorder commands. Usually you will see internal commands first, then commands from commands.conf |
102 |
# and then a command to show the thread list. |
103 |
# To reorder, just insert the names of the commands in this file, one per line. |
104 |
# To remove a certain command prefix its name with a minus sign (-). |
105 |
# Attention: Internal command names are localized, so your order.conf needs to be changed when you switch from |
106 |
# english to french, and again when you switch from french to german. |
107 |
# Attention2: For custom commands, remove the question mark and escaped colons. |
108 |
# Commands not mentioned in order.conf are appended to ordered commands. |
109 |
# |
110 |
# Example (uses commands.conf-snippet from above): |
111 |
# Remove #shows remove first |
112 |
# Threads #an internal command to see currently executing commands |
113 |
# Mark #an internal command |
114 |
# -Unmark #Hide an internal command |
115 |
# %--- #Reorder the command "---", escape first minus sign |
116 |
# |
117 |
# Please note that those comments aren't supported in order.conf at the time! |
118 |
|
119 |
|
120 |
|
121 |
|
122 |
1.1 media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b_vdr-1.5.diff |
123 |
|
124 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b_vdr-1.5.diff?rev=1.1&view=markup |
125 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/vdr-filebrowser-0.0.6b_vdr-1.5.diff?rev=1.1&content-type=text/plain |
126 |
|
127 |
Index: vdr-filebrowser-0.0.6b_vdr-1.5.diff |
128 |
=================================================================== |
129 |
diff -Nur filebrowser-old/statebag.c filebrowser/statebag.c |
130 |
--- filebrowser-old/statebag.c 2006-12-04 22:13:24.000000000 +0100 |
131 |
+++ filebrowser/statebag.c 2007-06-18 20:20:21.000000000 +0200 |
132 |
@@ -27,10 +27,10 @@ |
133 |
#ifdef FILEBROWSER_PLUGIN_BUILD |
134 |
Threads=new cThreadList(); |
135 |
#endif |
136 |
- SelectedFiles=new cStringList(); |
137 |
+ SelectedFiles=new cStringContainerList(); |
138 |
Commands=new cFilebrowserCommands(); |
139 |
BaseDir[0]='\0'; |
140 |
- CurrentFiles=new cStringList(); |
141 |
+ CurrentFiles=new cStringContainerList(); |
142 |
} |
143 |
|
144 |
cFilebrowserStatebag::~cFilebrowserStatebag() |
145 |
diff -Nur filebrowser-old/statebag.h filebrowser/statebag.h |
146 |
--- filebrowser-old/statebag.h 2006-12-04 22:13:24.000000000 +0100 |
147 |
+++ filebrowser/statebag.h 2007-06-18 20:21:46.000000000 +0200 |
148 |
@@ -22,7 +22,7 @@ |
149 |
#include <vdr/plugin.h> |
150 |
|
151 |
//Forward declarations for used classes |
152 |
-class cStringList; |
153 |
+class cStringContainerList; |
154 |
#ifdef FILEBROWSER_PLUGIN_BUILD |
155 |
class cThreadList; |
156 |
#endif |
157 |
@@ -31,7 +31,7 @@ |
158 |
class cFilebrowserStatebag |
159 |
{ |
160 |
protected: |
161 |
- cStringList* SelectedFiles; |
162 |
+ cStringContainerList* SelectedFiles; |
163 |
#ifdef FILEBROWSER_PLUGIN_BUILD |
164 |
cThreadList* Threads; |
165 |
#endif |
166 |
@@ -41,7 +41,7 @@ |
167 |
cFilebrowserStatebag(); |
168 |
~cFilebrowserStatebag(); |
169 |
|
170 |
- cStringList* GetSelectedFiles() { return SelectedFiles; }; |
171 |
+ cStringContainerList* GetSelectedFiles() { return SelectedFiles; }; |
172 |
#ifdef FILEBROWSER_PLUGIN_BUILD |
173 |
cThreadList* GetThreads() { return Threads; }; |
174 |
#endif |
175 |
@@ -54,7 +54,7 @@ |
176 |
cString Filter; |
177 |
cString CurrentDirectory; |
178 |
cString ConfigDirectory; |
179 |
- cStringList* CurrentFiles; |
180 |
+ cStringContainerList* CurrentFiles; |
181 |
|
182 |
#ifdef FILEBROWSER_PLUGIN_BUILD |
183 |
/* |
184 |
diff -Nur filebrowser-old/threads.c filebrowser/threads.c |
185 |
--- filebrowser-old/threads.c 2006-12-07 20:19:48.000000000 +0100 |
186 |
+++ filebrowser/threads.c 2007-06-18 20:20:21.000000000 +0200 |
187 |
@@ -35,7 +35,7 @@ |
188 |
this->CurrentFile=CurrentFile ? strdup(CurrentFile) : NULL; |
189 |
this->Statebag=Statebag; |
190 |
//deep copy of Selected files |
191 |
- SelectedFiles=new cStringList(); |
192 |
+ SelectedFiles=new cStringContainerList(); |
193 |
for(int i=0; i<Statebag->GetSelectedFiles()->Count(); i++) |
194 |
{ |
195 |
SelectedFiles->Add(new cStringContainer(strdup((char*)Statebag->GetSelectedFiles()->Get(i)->GetObject()))); |
196 |
@@ -317,7 +317,7 @@ |
197 |
|
198 |
char* cConfigCommandThread::SelectedFilesHandler(const char* OrgString, const char* CurrentPos, const cCommandParser::cHandlerParameters* Params) |
199 |
{ |
200 |
- cStringList* SelectedFiles=(cStringList*)Params->Data; |
201 |
+ cStringContainerList* SelectedFiles=(cStringContainerList*)Params->Data; |
202 |
char* Text=NULL; |
203 |
int TextLength=0; |
204 |
|
205 |
diff -Nur filebrowser-old/threads.h filebrowser/threads.h |
206 |
--- filebrowser-old/threads.h 2006-12-04 22:13:24.000000000 +0100 |
207 |
+++ filebrowser/threads.h 2007-06-18 20:20:21.000000000 +0200 |
208 |
@@ -41,7 +41,7 @@ |
209 |
char* DestinationFile; |
210 |
char* CurrentFile; |
211 |
char* Description; |
212 |
- cStringList* SelectedFiles; |
213 |
+ cStringContainerList* SelectedFiles; |
214 |
ThreadState State; |
215 |
bool RemoveRequested; |
216 |
public: |
217 |
diff -Nur filebrowser-old/tools.c filebrowser/tools.c |
218 |
--- filebrowser-old/tools.c 2007-02-03 18:57:13.000000000 +0100 |
219 |
+++ filebrowser/tools.c 2007-06-18 20:20:21.000000000 +0200 |
220 |
@@ -20,10 +20,10 @@ |
221 |
#include "tools.h" |
222 |
|
223 |
/* |
224 |
- Implementation cStringList |
225 |
+ Implementation cStringContainerList |
226 |
*/ |
227 |
|
228 |
-bool cStringList::Contains(const char* String) |
229 |
+bool cStringContainerList::Contains(const char* String) |
230 |
{ |
231 |
for(cStringContainer *i = First(); i; i=Next(i)) |
232 |
{ |
233 |
@@ -35,7 +35,7 @@ |
234 |
return false; |
235 |
} |
236 |
|
237 |
-void cStringList::Remove(const char* String) |
238 |
+void cStringContainerList::Remove(const char* String) |
239 |
{ |
240 |
for(cStringContainer *i = First(); i!=NULL; i=Next(i)) |
241 |
{ |
242 |
diff -Nur filebrowser-old/tools.h filebrowser/tools.h |
243 |
--- filebrowser-old/tools.h 2007-02-03 18:57:13.000000000 +0100 |
244 |
+++ filebrowser/tools.h 2007-06-18 20:20:21.000000000 +0200 |
245 |
@@ -55,7 +55,7 @@ |
246 |
~cStringContainer() {}; |
247 |
}; |
248 |
|
249 |
-class cStringList : public cList<cStringContainer> |
250 |
+class cStringContainerList : public cList<cStringContainer> |
251 |
{ |
252 |
public: |
253 |
bool Contains(const char* String); |
254 |
|
255 |
|
256 |
|
257 |
|
258 |
1.1 media-plugins/vdr-filebrowser/files/commands.conf |
259 |
|
260 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/commands.conf?rev=1.1&view=markup |
261 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-plugins/vdr-filebrowser/files/commands.conf?rev=1.1&content-type=text/plain |
262 |
|
263 |
Index: commands.conf |
264 |
=================================================================== |
265 |
# * commands.conf * |
266 |
# A file defining commands to be run on files, roughly based on vdr's original commands.conf syntax: |
267 |
# Columns are separated by colons, first column is the name of the command. |
268 |
# When it ends with a question mark, you will be asked whether you really want to execute this command. |
269 |
# |
270 |
# The second column contains a filename pattern, that you only see commands useful in current context. |
271 |
# If this starts with an exclamation mark, it will be treated as a shell script that returns 0 |
272 |
# if it matches and anything other if it doesn't. %f is replaced with the filename to be checked |
273 |
# (escape sequences from below apply, %! analogue). As this results in loading your shell and running |
274 |
# a command for every file and defined command, consider using othercommands.conf (see below) |
275 |
# to move away seldom used commands. |
276 |
# |
277 |
# The third column contains the command to be executed, where following expansions are made: |
278 |
# %f: current file |
279 |
# %d: if available, a destination file must be choosed, which is inserted |
280 |
# here |
281 |
# %D: if available, a destination file must be choosed, with the possibility |
282 |
# to create a new one |
283 |
# %m: expands to currently marked files, separated by a space. If no file is |
284 |
# marked, current file is used |
285 |
# %M: the same as %m, but this will change some time - don't use it |
286 |
# %%: % |
287 |
# %:: : |
288 |
# |
289 |
# The fourth (facultative) column contains flags. |
290 |
# Following are recognized at the moment: |
291 |
# b: Don't switch to the output of this command (it is available via "Threads"-command) |
292 |
# s: Execute command synchronously - beware, this may yield to a non-responsive osd for a while! |
293 |
# r: Remove thread from list automaticially if it had no errors |
294 |
# |
295 |
# The fifth (facultative) column may contain an access code, only numbers are supported! |
296 |
# |
297 |
# Examples: |
298 |
# Remove?:*:rm -rf %m:s:12345 |
299 |
# Move:*.c:mv %m %D:br |
300 |
# Recode:+(*.ogg|*.mp3):recode %d %M |
301 |
|
302 |
|
303 |
|
304 |
|
305 |
-- |
306 |
gentoo-commits@l.g.o mailing list |