summaryrefslogtreecommitdiff
path: root/libre/doublecmd/libre.patch
blob: 97fa697e1c171b5f55a58f2baf62bcfd114a33f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
diff -Nur doublecmd-0.6.0.orig/clean.bat doublecmd-0.6.0/clean.bat
--- doublecmd-0.6.0.orig/clean.bat	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/clean.bat	2015-02-11 02:09:39.165026926 -0200
@@ -22,7 +22,6 @@
 @del /Q /S plugins\wcx\lzma\lib\*.*
 @del /Q /S plugins\wcx\rpm\lib\*.*
 @del /Q /S plugins\wcx\unbz2\lib\*.*
-@del /Q /S plugins\wcx\unrar\lib\*.*
 @del /Q /S plugins\wcx\zip\lib\*.*
 
 @del /Q /S plugins\wdx\deb_wdx\lib\*.*
@@ -45,7 +44,6 @@
 @del /Q plugins\wcx\lzma\src\*.bak
 @del /Q plugins\wcx\zip\src\*.bak
 @del /Q plugins\wcx\unbz2\src\*.bak
-@del /Q plugins\wcx\unrar\src\*.bak
 
 @del /Q plugins\wcx\cpio\src\*.*~
 @del /Q plugins\wcx\rpm\src\*.*~
@@ -53,7 +51,6 @@
 @del /Q plugins\wcx\lzma\src\*.*~
 @del /Q plugins\wcx\zip\src\*.*~
 @del /Q plugins\wcx\unbz2\src\*.*~
-@del /Q plugins\wcx\unrar\src\*.*~
 
 @echo Clean up components output directories
 
@@ -66,4 +63,4 @@
 @del /Q /S components\viewer\lib\*.*
 @del /Q /S components\ZVDateTimeCtrls\lib\*.*
 
-@echo Done.
\ No newline at end of file
+@echo Done.
diff -Nur doublecmd-0.6.0.orig/doublecmd.ext.example doublecmd-0.6.0/doublecmd.ext.example
--- doublecmd-0.6.0.orig/doublecmd.ext.example	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/doublecmd.ext.example	2015-02-11 02:09:39.165026926 -0200
@@ -236,13 +236,6 @@
 Extract={!SHELL} lharc x %f '*'
 #Extract (with flags)=I=%{Enter any LHarc flags:}; if test -n "$I"; then lharc x $I %f; fi
 
-# arj
-[arj]
-Open={!VFS}
-View={!VIEWER} <?unarj l %p?>
-Extract={!SHELL} unarj x %f '*'
-#Extract (with flags)=I=%{Enter any Unarj flags:}; if test -n "$I"; then unarj x $I %f; fi
-
 # ha
 [ha]
 Open={!VFS}
@@ -250,13 +243,6 @@
 Extract={!SHELL} ha xy %f '*'
 #	Extract (with flags)=I=%{Enter any HA flags:}; if test -n "$I"; then ha xy $I %f; fi
 
-# rar
-[rar|r00|r02|r02|r03|r04|r05|r06|r07|r08|r09]
-Open={!VFS}
-View={!VIEWER} <?rar v -c- %p?>
-Extract={!SHELL} rar x -c- %f '*'
-#	Extract (with flags)=I=%{Enter any RAR flags:}; if test -n "$I";then rar x $I %f; fi
-
 #compress
 [Z]
 Open={!VFS}
@@ -287,11 +273,6 @@
 View={!VIEWER} <?bzip -dc %f 2>/dev/null?>
 Uncompress={!SHELL} bunzip %f
 
-# ace
-[ace]
-Open={!VFS}
-Uncompress={!SHELL} unace e %p
-
 # Source RPMs (SuSE uses *.spm, others use *.src.rpm)
 [spm|srcm]
 Open={!VFS}
diff -Nur doublecmd-0.6.0.orig/install/darwin/install.sh doublecmd-0.6.0/install/darwin/install.sh
--- doublecmd-0.6.0.orig/install/darwin/install.sh	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/install/darwin/install.sh	2015-02-11 02:09:39.168360283 -0200
@@ -17,7 +17,6 @@
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/cpio
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/deb
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/rpm
-mkdir -p $DC_INSTALL_DIR/plugins/wcx/unrar
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/zip
 # WDX plugins directories
 mkdir -p $DC_INSTALL_DIR/plugins/wdx
@@ -43,7 +42,6 @@
 install -m 644 plugins/wcx/cpio/lib/cpio.wcx        $DC_INSTALL_DIR/plugins/wcx/cpio/
 install -m 644 plugins/wcx/deb/lib/deb.wcx          $DC_INSTALL_DIR/plugins/wcx/deb/
 install -m 644 plugins/wcx/rpm/lib/rpm.wcx          $DC_INSTALL_DIR/plugins/wcx/rpm/
-install -m 644 plugins/wcx/unrar/lib/unrar.wcx      $DC_INSTALL_DIR/plugins/wcx/unrar/
 install -m 644 plugins/wcx/zip/lib/zip.wcx          $DC_INSTALL_DIR/plugins/wcx/zip/
 # WDX
 install -m 644 plugins/wdx/rpm_wdx/lib/rpm_wdx.wdx  $DC_INSTALL_DIR/plugins/wdx/rpm_wdx/
diff -Nur doublecmd-0.6.0.orig/install/darwin/lib/readme.txt doublecmd-0.6.0/install/darwin/lib/readme.txt
--- doublecmd-0.6.0.orig/install/darwin/lib/readme.txt	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/install/darwin/lib/readme.txt	2015-02-11 02:09:39.168360283 -0200
@@ -1,2 +1 @@
 Before create packages (before run create_packages.mac) copy in this directory third-party libraries:
-- libunrar.dylib - needed for unrar plugin
\ No newline at end of file
diff -Nur doublecmd-0.6.0.orig/install/linux/install.sh doublecmd-0.6.0/install/linux/install.sh
--- doublecmd-0.6.0.orig/install/linux/install.sh	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/install/linux/install.sh	2015-02-11 02:09:39.168360283 -0200
@@ -49,7 +49,6 @@
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/cpio
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/deb
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/rpm
-mkdir -p $DC_INSTALL_DIR/plugins/wcx/unrar
 mkdir -p $DC_INSTALL_DIR/plugins/wcx/zip
 # WDX plugins directories
 mkdir -p $DC_INSTALL_DIR/plugins/wdx
@@ -80,7 +79,6 @@
 install -m 644 plugins/wcx/cpio/lib/cpio.wcx        $DC_INSTALL_DIR/plugins/wcx/cpio/
 install -m 644 plugins/wcx/deb/lib/deb.wcx          $DC_INSTALL_DIR/plugins/wcx/deb/
 install -m 644 plugins/wcx/rpm/lib/rpm.wcx          $DC_INSTALL_DIR/plugins/wcx/rpm/
-install -m 644 plugins/wcx/unrar/lib/unrar.wcx      $DC_INSTALL_DIR/plugins/wcx/unrar/
 install -m 644 plugins/wcx/zip/lib/zip.wcx          $DC_INSTALL_DIR/plugins/wcx/zip/
 # WDX
 install -m 644 plugins/wdx/rpm_wdx/lib/rpm_wdx.wdx  $DC_INSTALL_DIR/plugins/wdx/rpm_wdx/
diff -Nur doublecmd-0.6.0.orig/install/linux/lib/readme.txt doublecmd-0.6.0/install/linux/lib/readme.txt
--- doublecmd-0.6.0.orig/install/linux/lib/readme.txt	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/install/linux/lib/readme.txt	2015-02-11 02:09:39.168360283 -0200
@@ -1,3 +1,2 @@
 Before create packages (before run create_packages.sh) copy in this directory third-party libraries:
-- libunrar.so - needed for unrar plugin
-- libqt4intf.so - needed for qt4 version of Double Commander
\ No newline at end of file
+- libqt4intf.so - needed for qt4 version of Double Commander
diff -Nur doublecmd-0.6.0.orig/install/windows/install.bat doublecmd-0.6.0/install/windows/install.bat
--- doublecmd-0.6.0.orig/install/windows/install.bat	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/install/windows/install.bat	2015-02-11 02:17:31.728521613 -0200
@@ -12,7 +12,6 @@
 mkdir  %DC_INSTALL_DIR%\plugins\wcx\deb
 mkdir  %DC_INSTALL_DIR%\plugins\wcx\rpm
 mkdir  %DC_INSTALL_DIR%\plugins\wcx\sevenzip
-mkdir  %DC_INSTALL_DIR%\plugins\wcx\unrar
 mkdir  %DC_INSTALL_DIR%\plugins\wcx\zip
 rem WDX plugins directories
 mkdir  %DC_INSTALL_DIR%\plugins\wdx
@@ -43,7 +42,6 @@
 copy  plugins\wcx\deb\lib\deb.wcx         %DC_INSTALL_DIR%\plugins\wcx\deb\
 copy  plugins\wcx\rpm\lib\rpm.wcx         %DC_INSTALL_DIR%\plugins\wcx\rpm\
 copy  plugins\wcx\sevenzip\sevenzip.wcx   %DC_INSTALL_DIR%\plugins\wcx\sevenzip\
-copy  plugins\wcx\unrar\lib\unrar.wcx     %DC_INSTALL_DIR%\plugins\wcx\unrar\
 copy  plugins\wcx\zip\lib\zip.wcx         %DC_INSTALL_DIR%\plugins\wcx\zip\
 rem WDX
 copy  plugins\wdx\rpm_wdx\lib\rpm_wdx.wdx %DC_INSTALL_DIR%\plugins\wdx\rpm_wdx\
diff -Nur doublecmd-0.6.0.orig/install/windows/lib/readme.txt doublecmd-0.6.0/install/windows/lib/readme.txt
--- doublecmd-0.6.0.orig/install/windows/lib/readme.txt	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/install/windows/lib/readme.txt	2015-02-11 02:09:39.168360283 -0200
@@ -1,2 +1 @@
 Before create packages (before run create_packages.bat) copy in this directory third-party libraries:
-- unrar.dll - needed for unrar plugin
\ No newline at end of file
diff -Nur doublecmd-0.6.0.orig/multiarc.ini doublecmd-0.6.0/multiarc.ini
--- doublecmd-0.6.0.orig/multiarc.ini	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/multiarc.ini	2015-02-11 02:11:23.775797782 -0200
@@ -37,89 +37,6 @@
 Output=0
 Debug=0
 
-[ACE]
-Archiver=ace
-Description=ACE v2.0.4
-Extension=ace
-Start=^Date
-End=^listed:
-Format0=dd.tt.yy hh:mm ppppppppppp zzzzzzzzz        nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
-List=%P v -y %AQA
-Extract=%P x -y {-p%W} {%S} %AQA @%LQA
-ExtractWithoutPath=%P e -y {-p%W} {%S} %AQA @%LQA
-Test=%P t -y %AQA
-Delete=%P d -y %AQA @%LQA
-Add=%P a -y {-p%W} {-v%V} {%S} %AQA @%LQA
-AddSelfExtract=%P a -y -sfx {-p%W} {-v%V} {%S} %AQA @%LQA
-Enabled=0
-Output=0
-Debug=0
-
-[ARJ]
-Description=ARJ 3.15 by ARJ Software, Inc.
-Archiver=arj
-ID=60 EA
-IDPos=0
-Extension=arj
-Start=^------------
-End=^------------
-Format0=* nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
-Format1=???????????? zzzzzzzzzz pppppppppp       yy-tt-dd hh:mm:ss          aaaaaa
-Format2=?
-Format3=?
-List=%P v %AQA
-Extract=%P x -y {-g%W} {%S} %AQA !%LQA
-ExtractWithoutPath=%P e -y {-g%W} {%S} %AQA !%LQA
-Test=%P t -y {%S} %AQA
-Delete=%P d -y {%S} %AQA !%LQA
-Add=%P a -y {-g%W} {-v%V} {%S} %AQA !%LQA
-Enabled=0
-Output=0
-Debug=0
-
-[RAR]
-Description=RAR 4.00 - http://www.rarlab.com
-Extension=rar
-Archiver=rar
-Start=^-----------
-End=^-----------
-Format0=?nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
-Format1=zzzzzzzzzzzzzzzzzzzzzz pppppppp      dd-tt-yy hh:mm  aaaaaaa
-List=%P v -c- {-p%W} %AQA
-Extract=%P x -y {-p%W} {%S} %AQA @%LQ
-ExtractWithoutPath=%P e -y {-p%W} {%S} %AQA @%LQ
-Test=%P t -y {%S} %AQA
-Delete=%P d -y {%S} %AQA @%LQ
-Add=%P a -y {-p%W} {-v%V} {%S} %AQA @%LQ
-AddSelfExtract=%P a -y -sfx {-p%W} {-v%V} {%S} %AQA @%LQ
-PasswordQuery=Enter password
-Enabled=0
-Output=0
-Debug=0
-
-[RAR (5)]
-Archiver=rar
-Description=RAR 5.x - http://www.rarlab.com
-ID=52 61 72 21
-IDPos=<SeekID>
-IDSeekRange=
-Extension=rar
-Start=^-----------
-End=^-----------
-Format0=aaaaaaaaaaa zzzzzzzzz  dd-tt-yy hh:mm  nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn
-List=%P l -c- {-p%W} %AQA
-Extract=%P x -y {-p%W} {%S} %AQA @%LQA
-ExtractWithoutPath=%P e -y {-p%W} {%S} %AQA @%LQA
-Test=%P t -y {%S} %AQA
-Delete=%P d -y {%S} %AQA @%LQA
-Add=%P a -y {-p%W} {-v%V} {%S} %AQA @%LQA
-AddSelfExtract=%P a -y -sfx {-p%W} {-v%V} {%S} %AQA @%LQA
-PasswordQuery=Enter password
-FormMode=0
-Enabled=0
-Output=0
-Debug=0
-
 [TXZ]
 Archiver=tar
 Description=Compressed tar file (tar.xz)
diff -Nur doublecmd-0.6.0.orig/plugins/build.bat doublecmd-0.6.0/plugins/build.bat
--- doublecmd-0.6.0.orig/plugins/build.bat	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/plugins/build.bat	2015-02-11 02:15:27.420933227 -0200
@@ -13,7 +13,6 @@
 lazbuild wcx\deb\src\deb.lpi              %DC_ARCH%
 lazbuild wcx\rpm\src\rpm.lpi              %DC_ARCH%
 lazbuild wcx\sevenzip\src\sevenzipwcx.lpi %DC_ARCH%
-lazbuild wcx\unrar\src\unrar.lpi          %DC_ARCH%
 lazbuild wcx\zip\src\zip.lpi              %DC_ARCH%
 
 rem WDX plugins
diff -Nur doublecmd-0.6.0.orig/plugins/build.sh doublecmd-0.6.0/plugins/build.sh
--- doublecmd-0.6.0.orig/plugins/build.sh	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/plugins/build.sh	2015-02-11 02:09:39.168360283 -0200
@@ -15,7 +15,6 @@
 $lazbuild wcx/cpio/src/cpio.lpi $DC_ARCH
 $lazbuild wcx/deb/src/deb.lpi $DC_ARCH
 $lazbuild wcx/rpm/src/rpm.lpi $DC_ARCH
-$lazbuild wcx/unrar/src/unrar.lpi $DC_ARCH
 $lazbuild wcx/zip/src/Zip.lpi $DC_ARCH
 
 # WDX plugins
diff -Nur doublecmd-0.6.0.orig/plugins/wcx/zip/lzma/Methods.txt doublecmd-0.6.0/plugins/wcx/zip/lzma/Methods.txt
--- doublecmd-0.6.0.orig/plugins/wcx/zip/lzma/Methods.txt	1989-12-31 22:00:00.000000000 -0200
+++ doublecmd-0.6.0/plugins/wcx/zip/lzma/Methods.txt	2015-02-11 02:09:45.885075770 -0200
@@ -73,13 +73,6 @@
       12 - BZip2 (not used). Use {04 02 02} instead
    02 - BZip
       02 - BZip2
-   03 - Rar
-      01 - Rar15
-      02 - Rar20
-      03 - Rar29
-   04 - Arj
-      01 - Arj (1,2,3)
-      02 - Arj 4
    05 - Z
    06 - Lzh
    07 - Reserved for 7z
@@ -109,9 +102,6 @@
    F1 - Misc Ciphers (Combine)
       01 - Zip
          01 - Main Zip crypto algo
-      03 - RAR
-         02 - 
-         03 - Rar29 AES-128 + (modified SHA-1)
       07 - 7z
          01 - AES-256 + SHA-256
 
@@ -126,8 +116,6 @@
    F0 - Misc Hash
 
    F1 - Misc
-      03 - RAR
-         03 - Rar29 Password Hashing (modified SHA1)
       07 - 7z 
          01 - SHA-256 Password Hashing
     
diff -Nur doublecmd-0.6.5.orig/src/platform/udefaultplugins.pas doublecmd-0.6.5/src/platform/udefaultplugins.pas
--- doublecmd-0.6.5.orig/src/platform/udefaultplugins.pas	2015-08-12 15:40:55.000000000 -0300
+++ doublecmd-0.6.5/src/platform/udefaultplugins.pas	2015-09-12 18:17:31.253684044 -0300
@@ -251,12 +251,6 @@
   else
     gWCXPlugins.Flags[I]:= 4;
 
-  I:= gWCXPlugins.IndexOfName('rar');
-  if I < 0 then
-    gWCXPlugins.Add('rar', 68, Folder + 'unrar' + PathDelim + 'unrar.wcx')
-  else
-    gWCXPlugins.Flags[I]:= 68;
-
   // Wdx plugins
   Folder:= '%commander_path%' + PathDelim + 'plugins' + PathDelim + 'wdx' + PathDelim;