Commits
Jean-Francois Dockes authored and David B. Evans committed 40371538d3b
1 - | diff --git filters/ppt-dump.py filters/ppt-dump.py |
2 - | index f41a9f39..dc3085a4 100755 |
3 - | --- filters/ppt-dump.py |
4 - | +++ filters/ppt-dump.py |
5 - | |
6 - | -#!/usr/bin/env python2 |
7 - | +#!/usr/bin/env python2.7 |
8 - | # |
9 - | # This Source Code Form is subject to the terms of the Mozilla Public |
10 - | # License, v. 2.0. If a copy of the MPL was not distributed with this |
11 - | diff --git filters/rcl7z filters/rcl7z |
12 - | index c68c8bcb..ac50c4ec 100755 |
13 - | --- filters/rcl7z |
14 - | +++ filters/rcl7z |
15 - | |
16 - | -#!/usr/bin/env python2 |
17 - | +#!/usr/bin/env python2.7 |
18 - | |
19 - | # 7-Zip file filter for Recoll |
20 - | |
21 - | diff --git filters/rclaudio filters/rclaudio |
22 - | index 94ca0be7..08d6375a 100755 |
23 - | --- filters/rclaudio |
24 - | +++ filters/rclaudio |
25 - | |
26 - | -#!/usr/bin/env python2 |
27 - | +#!/usr/bin/env python2.7 |
28 - | |
29 - | # Audio tag filter for Recoll, using mutagen |
30 - | |
31 - | diff --git filters/rclchm filters/rclchm |
32 - | index f9811c37..3bc9b16d 100755 |
33 - | --- filters/rclchm |
34 - | +++ filters/rclchm |
35 - | |
36 - | -#!/usr/bin/env python2 |
37 - | +#!/usr/bin/env python2.7 |
38 - | """Extract Html files from a Microsoft Compiled Html Help file (.chm) |
39 - | Needs at least python 2.2 for HTMLParser (chmlib needs 2.2 too)""" |
40 - | |
41 - | diff --git filters/rcldia filters/rcldia |
42 - | index 282148eb..a480294b 100755 |
43 - | --- filters/rcldia |
44 - | +++ filters/rcldia |
45 - | |
46 - | -#!/usr/bin/env python2 |
47 - | +#!/usr/bin/env python2.7 |
48 - | # -*- coding: utf-8 -*- |
49 - | from __future__ import print_function |
50 - | |
51 - | diff --git filters/rcldjvu.py filters/rcldjvu.py |
52 - | index c5397195..0be01452 100755 |
53 - | --- filters/rcldjvu.py |
54 - | +++ filters/rcldjvu.py |
55 - | |
56 - | -#!/usr/bin/env python2 |
57 - | +#!/usr/bin/env python2.7 |
58 - | # Copyright (C) 2016 J.F.Dockes |
59 - | # This program is free software; you can redistribute it and/or modify |
60 - | # it under the terms of the GNU General Public License as published by |
61 - | diff --git filters/rcldoc.py filters/rcldoc.py |
62 - | index e8fa1831..b92b185d 100755 |
63 - | --- filters/rcldoc.py |
64 - | +++ filters/rcldoc.py |
65 - | |
66 - | -#!/usr/bin/env python2 |
67 - | +#!/usr/bin/env python2.7 |
68 - | from __future__ import print_function |
69 - | |
70 - | import rclexecm |
71 - | diff --git filters/rclepub filters/rclepub |
72 - | index 8042d7f9..51786af1 100755 |
73 - | --- filters/rclepub |
74 - | +++ filters/rclepub |
75 - | |
76 - | -#!/usr/bin/env python2 |
77 - | +#!/usr/bin/env python2.7 |
78 - | """Extract Html content from an EPUB file (.epub)""" |
79 - | from __future__ import print_function |
80 - | |
81 - | diff --git filters/rclepub1 filters/rclepub1 |
82 - | index bd44f635..a7ea6c06 100755 |
83 - | --- filters/rclepub1 |
84 - | +++ filters/rclepub1 |
85 - | |
86 - | -#!/usr/bin/env python2 |
87 - | +#!/usr/bin/env python2.7 |
88 - | """Extract Html content from an EPUB file (.chm), concatenating all sections""" |
89 - | from __future__ import print_function |
90 - | |
91 - | diff --git filters/rclics filters/rclics |
92 - | index 0ef04f2d..de177024 100755 |
93 - | --- filters/rclics |
94 - | +++ filters/rclics |
95 - | |
96 - | -#!/usr/bin/env python2 |
97 - | +#!/usr/bin/env python2.7 |
98 - | from __future__ import print_function |
99 - | |
100 - | # Read an ICS file, break it into "documents" which are events, todos, |
101 - | diff --git filters/rclimg.py filters/rclimg.py |
102 - | index 7eb1da91..4eb6c9b0 100755 |
103 - | --- filters/rclimg.py |
104 - | +++ filters/rclimg.py |
105 - | |
106 - | -#!/usr/bin/env python2 |
107 - | +#!/usr/bin/env python2.7 |
108 - | |
109 - | # Python-based Image Tag extractor for Recoll. This is less thorough |
110 - | # than the Perl-based rclimg script, but useful if you don't want to |
111 - | diff --git filters/rclinfo filters/rclinfo |
112 - | index f353d19e..36cf34e0 100755 |
113 - | --- filters/rclinfo |
114 - | +++ filters/rclinfo |
115 - | |
116 - | -#!/usr/bin/env python2 |
117 - | +#!/usr/bin/env python2.7 |
118 - | |
119 - | # Read a file in GNU info format and output its nodes as subdocs, |
120 - | # interfacing with recoll execm |
121 - | diff --git filters/rclkar filters/rclkar |
122 - | index d6570dd5..34b8d2a2 100755 |
123 - | --- filters/rclkar |
124 - | +++ filters/rclkar |
125 - | |
126 - | -#!/usr/bin/env python2 |
127 - | +#!/usr/bin/env python2.7 |
128 - | |
129 - | # Read a .kar midi karaoke file and translate to recoll indexable format |
130 - | # This does not work with Python3 yet because python:midi doesn't |
131 - | diff --git filters/rcllatinclass.py filters/rcllatinclass.py |
132 - | index 3f8b8634..e6b0fbee 100755 |
133 - | --- filters/rcllatinclass.py |
134 - | +++ filters/rcllatinclass.py |
135 - | |
136 - | -#!/usr/bin/env python2 |
137 - | +#!/usr/bin/env python2.7 |
138 - | """Try to guess a text's language and character set by checking how it matches lists of |
139 - | common words. This is not a primary method of detection because it's slow and unreliable, but it |
140 - | may be a help in discrimating, for exemple, before european languages using relatively close |
141 - | diff --git filters/rclopxml.py filters/rclopxml.py |
142 - | index b7f7fe83..4f1803c1 100755 |
143 - | --- filters/rclopxml.py |
144 - | +++ filters/rclopxml.py |
145 - | |
146 - | -#!/usr/bin/env python2 |
147 - | +#!/usr/bin/env python2.7 |
148 - | # Copyright (C) 2015 J.F.Dockes |
149 - | # This program is free software; you can redistribute it and/or modify |
150 - | # it under the terms of the GNU General Public License as published by |
151 - | diff --git filters/rclpdf.py filters/rclpdf.py |
152 - | index 1e6852ea..47b09534 100755 |
153 - | --- filters/rclpdf.py |
154 - | +++ filters/rclpdf.py |
155 - | |
156 - | -#!/usr/bin/env python2 |
157 - | +#!/usr/bin/env python2.7 |
158 - | # Copyright (C) 2014 J.F.Dockes |
159 - | # This program is free software; you can redistribute it and/or modify |
160 - | # it under the terms of the GNU General Public License as published by |
161 - | diff --git filters/rclppt.py filters/rclppt.py |
162 - | index a4e50265..993bc56c 100755 |
163 - | --- filters/rclppt.py |
164 - | +++ filters/rclppt.py |
165 - | |
166 - | -#!/usr/bin/env python2 |
167 - | +#!/usr/bin/env python2.7 |
168 - | |
169 - | # Recoll PPT text extractor |
170 - | # Mso-dumper is not compatible with Python3. We use sys.executable to |
171 - | diff --git filters/rclpython filters/rclpython |
172 - | index 615455b3..1e411890 100755 |
173 - | --- filters/rclpython |
174 - | +++ filters/rclpython |
175 - | |
176 - | -#!/usr/bin/env python2 |
177 - | +#!/usr/bin/env python2.7 |
178 - | # -*- coding: iso-8859-1 -*- |
179 - | """ |
180 - | MoinMoin - Python source parser and colorizer |
181 - | diff --git filters/rclrar filters/rclrar |
182 - | index 8f723fa5..5f6adfb0 100755 |
183 - | --- filters/rclrar |
184 - | +++ filters/rclrar |
185 - | |
186 - | -#!/usr/bin/env python2 |
187 - | +#!/usr/bin/env python2.7 |
188 - | |
189 - | # Rar file filter for Recoll |
190 - | # Adapted from the Zip archive filter by mroark. |
191 - | diff --git filters/rclrtf.py filters/rclrtf.py |
192 - | index e4b56d54..ffd0560e 100755 |
193 - | --- filters/rclrtf.py |
194 - | +++ filters/rclrtf.py |
195 - | |
196 - | -#!/usr/bin/env python2 |
197 - | +#!/usr/bin/env python2.7 |
198 - | from __future__ import print_function |
199 - | |
200 - | import rclexecm |
201 - | diff --git filters/rclsoff-flat.py filters/rclsoff-flat.py |
202 - | index 337a5f94..65bfa73a 100755 |
203 - | --- filters/rclsoff-flat.py |
204 - | +++ filters/rclsoff-flat.py |
205 - | |
206 - | -#!/usr/bin/env python2 |
207 - | +#!/usr/bin/env python2.7 |
208 - | # Copyright (C) 2014 J.F.Dockes |
209 - | # This program is free software; you can redistribute it and/or modify |
210 - | # it under the terms of the GNU General Public License as published by |
211 - | diff --git filters/rclsoff.py filters/rclsoff.py |
212 - | index 5730d97c..4404a14b 100755 |
213 - | --- filters/rclsoff.py |
214 - | +++ filters/rclsoff.py |
215 - | |
216 - | -#!/usr/bin/env python2 |
217 - | +#!/usr/bin/env python2.7 |
218 - | # Copyright (C) 2014 J.F.Dockes |
219 - | # This program is free software; you can redistribute it and/or modify |
220 - | # it under the terms of the GNU General Public License as published by |
221 - | diff --git filters/rclsvg.py filters/rclsvg.py |
222 - | index 8c1b8aea..cee17324 100755 |
223 - | --- filters/rclsvg.py |
224 - | +++ filters/rclsvg.py |
225 - | |
226 - | -#!/usr/bin/env python2 |
227 - | +#!/usr/bin/env python2.7 |
228 - | # Copyright (C) 2014 J.F.Dockes |
229 - | # This program is free software; you can redistribute it and/or modify |
230 - | # it under the terms of the GNU General Public License as published by |
231 - | diff --git filters/rcltar filters/rcltar |
232 - | index d8bf100d..ab4b306e 100755 |
233 - | --- filters/rcltar |
234 - | +++ filters/rcltar |
235 - | |
236 - | -#!/usr/bin/env python2 |
237 - | +#!/usr/bin/env python2.7 |
238 - | |
239 - | # Tar-file filter for Recoll |
240 - | # Thanks to Recoll user Martin Ziegler |
241 - | diff --git filters/rcltext.py filters/rcltext.py |
242 - | index 77359ff6..be410984 100755 |
243 - | --- filters/rcltext.py |
244 - | +++ filters/rcltext.py |
245 - | |
246 - | -#!/usr/bin/env python2 |
247 - | +#!/usr/bin/env python2.7 |
248 - | |
249 - | # Wrapping a text file. Recoll does it internally in most cases, but |
250 - | # this is for use by another filter. |
251 - | diff --git filters/rcltxtlines.py filters/rcltxtlines.py |
252 - | index 220151fd..b2907364 100755 |
253 - | --- filters/rcltxtlines.py |
254 - | +++ filters/rcltxtlines.py |
255 - | |
256 - | -#!/usr/bin/env python2 |
257 - | +#!/usr/bin/env python2.7 |
258 - | """Index text lines as document (execm handler sample). This exists |
259 - | to demonstrate the execm interface and is not meant to be useful or |
260 - | efficient""" |
261 - | diff --git filters/rcluncomp.py filters/rcluncomp.py |
262 - | index 32a11c1a..eab3b257 100644 |
263 - | --- filters/rcluncomp.py |
264 - | +++ filters/rcluncomp.py |
265 - | |
266 - | -#!/usr/bin/env python2 |
267 - | +#!/usr/bin/env python2.7 |
268 - | from __future__ import print_function |
269 - | |
270 - | import rclexecm |
271 - | diff --git filters/rclwar filters/rclwar |
272 - | index b654f3b3..301e28e9 100755 |
273 - | --- filters/rclwar |
274 - | +++ filters/rclwar |
275 - | |
276 - | -#!/usr/bin/env python2 |
277 - | +#!/usr/bin/env python2.7 |
278 - | |
279 - | # WAR web archive filter for recoll. War file are gzipped tar files |
280 - | |
281 - | diff --git filters/rclxls.py filters/rclxls.py |
282 - | index c7b2343a..f8f10f8b 100755 |
283 - | --- filters/rclxls.py |
284 - | +++ filters/rclxls.py |
285 - | |
286 - | -#!/usr/bin/env python2 |
287 - | +#!/usr/bin/env python2.7 |
288 - | |
289 - | # Extractor for Excel files. |
290 - | # Mso-dumper is not compatible with Python3. We use sys.executable to |
291 - | diff --git filters/rclxml.py filters/rclxml.py |
292 - | index 33ae8e3e..507851db 100755 |
293 - | --- filters/rclxml.py |
294 - | +++ filters/rclxml.py |
295 - | |
296 - | -#!/usr/bin/env python2 |
297 - | +#!/usr/bin/env python2.7 |
298 - | # Copyright (C) 2014 J.F.Dockes |
299 - | # This program is free software; you can redistribute it and/or modify |
300 - | # it under the terms of the GNU General Public License as published by |
301 - | diff --git filters/rclxmp.py filters/rclxmp.py |
302 - | index 158e1222..602769af 100755 |
303 - | --- filters/rclxmp.py |
304 - | +++ filters/rclxmp.py |
305 - | |
306 - | -#!/usr/bin/env python2 |
307 - | +#!/usr/bin/env python2.7 |
308 - | # Copyright (C) 2016 J.F.Dockes |
309 - | # This program is free software; you can redistribute it and/or modify |
310 - | # it under the terms of the GNU General Public License as published by |
311 - | diff --git filters/rclzip filters/rclzip |
312 - | index 35739625..0c597fbd 100755 |
313 - | --- filters/rclzip |
314 - | +++ filters/rclzip |
315 - | |
316 - | -#!/usr/bin/env python2 |
317 - | +#!/usr/bin/env python2.7 |
318 - | # Copyright (C) 2014 J.F.Dockes |
319 - | # This program is free software; you can redistribute it and/or modify |
320 - | # it under the terms of the GNU General Public License as published by |
321 - | diff --git filters/xls-dump.py filters/xls-dump.py |
322 - | index abffa330..57a8f113 100755 |
323 - | --- filters/xls-dump.py |
324 - | +++ filters/xls-dump.py |
325 - | |
326 - | -#!/usr/bin/env python2 |
327 - | +#!/usr/bin/env python2.7 |
328 - | # |
329 - | # This Source Code Form is subject to the terms of the Mozilla Public |
330 - | # License, v. 2.0. If a copy of the MPL was not distributed with this |
331 - | diff --git filters/xlsxmltocsv.py filters/xlsxmltocsv.py |
332 - | index 0c9a5047..90ab06f2 100755 |
333 - | --- filters/xlsxmltocsv.py |
334 - | +++ filters/xlsxmltocsv.py |
335 - | |
336 - | -#!/usr/bin/env python2 |
337 - | +#!/usr/bin/env python2.7 |
338 - | # Copyright (C) 2015 J.F.Dockes |
339 - | # This program is free software; you can redistribute it and/or modify |
340 - | # it under the terms of the GNU General Public License as published by |