summaryrefslogtreecommitdiff
path: root/libre/xarchiver/libre.patch
blob: bc1275f0dacf23553c78c2d5c2616e46945e324b (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
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
--- xarchiver-0.5.4.10.orig/doc/html/ch01s01.html	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/doc/html/ch01s01.html	2017-06-27 10:39:13.216633333 -0500
@@ -29,19 +29,19 @@
 						</p></li><li class="listitem"><p>
 							Progress window when using Xarchiver from the command line or from a file-manager
 						</p></li><li class="listitem"><p>
-							ARJ, RAR and ZIP archive comment are supported
+							ARJ and ZIP archive comment are supported
 						</p></li><li class="listitem"><p>
 							Ability to convert the archive to self-extracting for those archive types which support it
 						</p></li><li class="listitem"><p>
-							Smart detection of arj, zip and rar password encrypted archives
+							Smart detection of arj and zip password encrypted archives
 						</p></li><li class="listitem"><p>
 							All the the output of the command line archiver is displayed in the Xarchiver window
 						</p></li><li class="listitem"><p>
-							All common formats are supported: 7z, arj, bzip2, gzip, lha, lzma, lzop, rar, tar, xz, zip, tar.bz2, tar.gz, tar.lzma, tar.lzop, tar.xz, deb and rpm packages (open and extract only)
+							All common formats are supported: 7z, arj, bzip2, gzip, lha, lzma, lzop, tar, xz, zip, tar.bz2, tar.gz, tar.lzma, tar.lzop, tar.xz, deb and rpm packages (open and extract only)
 						</p></li><li class="listitem"><p>
 							Deb and Rpm packages are handled internally, their package managers are NOT required.
 						</p></li><li class="listitem"><p>
-							Zip, rar, arj and 7z password encrypted archives are fully supported
+							Zip, arj and 7z password encrypted archives are fully supported
 						</p></li></ul></div><p>
 			</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch01.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch01s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 1. 
 			Introduction
--- xarchiver-0.5.4.10.orig/doc/html/ch03s03.html	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/doc/html/ch03s03.html	2017-06-27 10:44:30.281933024 -0500
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>General</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch03.html" title="Chapter 3. Usage" /><link rel="prev" href="ch03s02.html" title="Command line options" /><link rel="next" href="ch03s04.html" title="Xarchiver menu" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">General</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03s02.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Usage</th><td width="20%" align="right"> <a accesskey="n" href="ch03s04.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="usage_general"></a>General</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="general_startup"></a>Startup</h3></div></div></div><p>
-					At startup, Xarchiver detects the available installed archivers (tar,rar,zip etc) and the script <span class="emphasis"><em>xdg-open</em></span> for handling different file types. Since Xarchiver is a frontend (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have the free edition of rar, unrar, Xarchiver can't create rar archives since unrar allows rar archives to be opened, tested and extracted but not to be created.
+					At startup, Xarchiver detects the available installed archivers (tar,zip etc) and the script <span class="emphasis"><em>xdg-open</em></span> for handling different file types. Since Xarchiver is a frontend (a graphic user interface to the command line executables) it can't create archives whose archiver is not available.
 				</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="how_it_works"></a>How it works</h3></div></div></div><p>
 					Xarchiver will run in the background the command line executable of the archiver with the archiver's proper switches to perform the selected operation. If something goes wrong Xarchiver reports the full output of the archiver executable in the command line output window. Starting with release 0.5 the files in the archive can be opened within Xarchiver. The script <span class="emphasis"><em>xdg-open</em></span> will detect the file type and run the proper application to handle it. If you don't have such script installed in your system (it's found in the xdg-utils package) Xarchiver will recognize HTML, txt and images files only. The Preferences dialog will notify this to you when you click the Advanced section inside it.
 				</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="dnd"></a>Drag and Drop</h3></div></div></div><p>
--- xarchiver-0.5.4.10.orig/doc/html/ch04s02.html	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/doc/html/ch04s02.html	2017-06-27 10:49:37.077708847 -0500
@@ -1,4 +1,4 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>How can I create an archive with some files password protected and others not?</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch04.html" title="Chapter 4. FAQ" /><link rel="prev" href="ch04s01.html" title="Why are ace archives not supported?" /><link rel="next" href="ch04s03.html" title="Why does Xarchiver emit this error message when handling tar archives?" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">How can I create an archive with some files password protected and others not?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s01.html">Prev</a> </td><th width="60%" align="center">Chapter 4. FAQ</th><td width="20%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="faq_2"></a>How can I create an archive with some files password protected and others not?</h2></div></div></div><p>First of all choose 'New' and select one of arj, 7zip, rar or zip archive formats and choose 'Add' from the Action menu. Do NOT check "Password" in the Add dialog. Add your files and then reopen the Add dialog again but this time check "Password" and
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>How can I create an archive with some files password protected and others not?</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch04.html" title="Chapter 4. FAQ" /><link rel="prev" href="ch04s01.html" title="Why are ace archives not supported?" /><link rel="next" href="ch04s03.html" title="Why does Xarchiver emit this error message when handling tar archives?" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">How can I create an archive with some files password protected and others not?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s01.html">Prev</a> </td><th width="60%" align="center">Chapter 4. FAQ</th><td width="20%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="faq_2"></a>How can I create an archive with some files password protected and others not?</h2></div></div></div><p>First of all choose 'New' and select one of arj, 7zip or zip archive formats and choose 'Add' from the Action menu. Do NOT check "Password" in the Add dialog. Add your files and then reopen the Add dialog again but this time check "Password" and
 enter your password. From now on all the files you add to the archive will be password protected.
 			</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04s01.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch04s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Why are ace archives not supported? </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Why does Xarchiver emit this error message when handling tar archives?</td></tr></table></div></body></html>
\ No hay ningún carácter de nueva línea al final del fichero
--- xarchiver-0.5.4.10.orig/doc/html/ch04s06.html	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/doc/html/ch04s06.html	2017-06-27 10:51:26.282645706 -0500
@@ -1,3 +1,3 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch04.html" title="Chapter 4. FAQ" /><link rel="prev" href="ch04s05.html" title="Why does Xarchiver sometimes report errors but the Error messages window is empty?" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><th width="60%" align="center">Chapter 4. FAQ</th><td width="20%" align="right"> </td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="faq_6"></a>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</h2></div></div></div><p>Because rar and arj executable do not allow to do so. Zip and 7z convertion to self-extracting is made by appending an sfx module to the archive so it's possible to choose a different path.
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</title><link rel="stylesheet" type="text/css" href="xarchiver.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="Xarchiver 0.5.4" /><link rel="up" href="ch04.html" title="Chapter 4. FAQ" /><link rel="prev" href="ch04s05.html" title="Why does Xarchiver sometimes report errors but the Error messages window is empty?" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><th width="60%" align="center">Chapter 4. FAQ</th><td width="20%" align="right"> </td></tr></table><hr /></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="faq_6"></a>Why Xarchiver doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</h2></div></div></div><p>Because arj executable do not allow to do so. Zip and 7z convertion to self-extracting is made by appending an sfx module to the archive so it's possible to choose a different path.
 			</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch04s05.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch04.html">Up</a></td><td width="40%" align="right"> </td></tr><tr><td width="40%" align="left" valign="top">Why does Xarchiver sometimes report errors but the Error messages window is empty? </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> </td></tr></table></div></body></html>
\ No hay ningún carácter de nueva línea al final del fichero
--- xarchiver-0.5.4.10.orig/doc/xarchiver.docbook	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/doc/xarchiver.docbook	2017-06-27 10:58:13.189872100 -0500
@@ -99,7 +99,7 @@
 					</listitem>
 					<listitem>
 						<para>
-							ARJ, RAR and ZIP archive comment are supported
+							ARJ and ZIP archive comment are supported
 						</para>
 					</listitem>
 					<listitem>
@@ -109,7 +109,7 @@
 					</listitem>
 					<listitem>
 						<para>
-							Smart detection of arj, zip and rar password encrypted archives
+							Smart detection of arj and zip password encrypted archives
 						</para>
 					</listitem>
 					<listitem>
@@ -119,7 +119,7 @@
 					</listitem>
 					<listitem>
 						<para>
-							All common formats are supported: 7z, arj, bzip2, gzip, lha, lzma, lzop, rar, tar, xz, zip, tar.bz2, tar.gz, tar.lzma, tar.lzop, tar.xz, deb and rpm packages (open and extract only)
+							All common formats are supported: 7z, arj, bzip2, gzip, lha, lzma, lzop, tar, xz, zip, tar.bz2, tar.gz, tar.lzma, tar.lzop, tar.xz, deb and rpm packages (open and extract only)
 						</para>
 					</listitem>
 					<listitem>
@@ -129,7 +129,7 @@
 					</listitem>
 					<listitem>
 						<para>
-							Zip, rar, arj and 7z password encrypted archives are fully supported
+							Zip, arj and 7z password encrypted archives are fully supported
 						</para>
 					</listitem>
 				</itemizedlist>
@@ -279,7 +279,7 @@
 			<section id="general_startup">
 				<title>Startup</title>
 				<para>
-					At startup, &app; detects the available installed archivers (tar,rar,zip etc) and the script <emphasis>xdg-open</emphasis> for handling different file types. Since &app; is a frontend (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have the free edition of rar, unrar, &app; can't create rar archives since unrar allows rar archives to be opened, tested and extracted but not to be created.
+					At startup, &app; detects the available installed archivers (tar,zip etc) and the script <emphasis>xdg-open</emphasis> for handling different file types. Since &app; is a frontend (a graphic user interface to the command line executables) it can't create archives whose archiver is not available.
 				</para>
 			</section>
 			<section id="how_it_works">
@@ -505,7 +505,7 @@
 		</section>
 		<section id="faq_2">
 			<title>How can I create an archive with some files password protected and others not?</title>
-			<para>First of all choose 'New' and select one of arj, 7zip, rar or zip archive formats and choose 'Add' from the Action menu. Do NOT check "Password" in the Add dialog. Add your files and then reopen the Add dialog again but this time check "Password" and
+			<para>First of all choose 'New' and select one of arj, 7zip or zip archive formats and choose 'Add' from the Action menu. Do NOT check "Password" in the Add dialog. Add your files and then reopen the Add dialog again but this time check "Password" and
 enter your password. From now on all the files you add to the archive will be password protected.
 			</para>
 		</section>
@@ -526,7 +526,7 @@
 		</section>
 		<section id="faq_6">
 			<title>Why &app; doesn't allow me to choose the archive self-extracting path as it happens with zip and 7z?</title>
-			<para>Because rar and arj executable do not allow to do so. Zip and 7z convertion to self-extracting is made by appending an sfx module to the archive so it's possible to choose a different path.
+			<para>Because arj executable do not allow to do so. Zip and 7z convertion to self-extracting is made by appending an sfx module to the archive so it's possible to choose a different path.
 			</para>
 		</section>
 	</chapter>
--- xarchiver-0.5.4.10.orig/po/POTFILES.in	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/po/POTFILES.in	2017-06-27 10:59:22.449994281 -0500
@@ -11,7 +11,6 @@
 src/new_dialog.c
 src/open-with-dlg.c
 src/pref_dialog.c
-src/rar.c
 src/rpm.c
 src/tar.c
 src/window.c
--- xarchiver-0.5.4.10.orig/src/Makefile.am	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/src/Makefile.am	2017-06-27 11:00:34.373326318 -0500
@@ -31,8 +31,6 @@
 	open-with-dlg.h \
 	pref_dialog.c \
 	pref_dialog.h \
-	rar.c \
-	rar.h \
 	rpm.c \
 	rpm.h \
 	socket.c \
--- xarchiver-0.5.4.10.orig/src/Makefile.in	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/src/Makefile.in	2017-06-27 11:03:35.961573888 -0500
@@ -111,7 +111,7 @@
 	extract_dialog.h gzip_et_al.c gzip_et_al.h interface.c \
 	interface.h lha.c lha.h main.c main.h mime.c mime.h \
 	new_dialog.c new_dialog.h open-with-dlg.c open-with-dlg.h \
-	pref_dialog.c pref_dialog.h rar.c rar.h rpm.c rpm.h socket.c \
+	pref_dialog.c pref_dialog.h rpm.c rpm.h socket.c \
 	socket.h string_utils.c string_utils.h support.h tar.c tar.h \
 	utf8-fnmatch.c utf8-fnmatch.h window.c window.h zip.c zip.h \
 	sexy-icon-entry.c sexy-icon-entry.h
@@ -124,7 +124,7 @@
 	xarchiver-lha.$(OBJEXT) xarchiver-main.$(OBJEXT) \
 	xarchiver-mime.$(OBJEXT) xarchiver-new_dialog.$(OBJEXT) \
 	xarchiver-open-with-dlg.$(OBJEXT) \
-	xarchiver-pref_dialog.$(OBJEXT) xarchiver-rar.$(OBJEXT) \
+	xarchiver-pref_dialog.$(OBJEXT) \
 	xarchiver-rpm.$(OBJEXT) xarchiver-socket.$(OBJEXT) \
 	xarchiver-string_utils.$(OBJEXT) xarchiver-tar.$(OBJEXT) \
 	xarchiver-utf8-fnmatch.$(OBJEXT) xarchiver-window.$(OBJEXT) \
@@ -405,7 +405,7 @@
 	extract_dialog.h gzip_et_al.c gzip_et_al.h interface.c \
 	interface.h lha.c lha.h main.c main.h mime.c mime.h \
 	new_dialog.c new_dialog.h open-with-dlg.c open-with-dlg.h \
-	pref_dialog.c pref_dialog.h rar.c rar.h rpm.c rpm.h socket.c \
+	pref_dialog.c pref_dialog.h rpm.c rpm.h socket.c \
 	socket.h string_utils.c string_utils.h support.h tar.c tar.h \
 	utf8-fnmatch.c utf8-fnmatch.h window.c window.h zip.c zip.h \
 	$(am__append_1)
@@ -523,7 +523,6 @@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-new_dialog.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-open-with-dlg.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-pref_dialog.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-rar.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-rpm.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-sexy-icon-entry.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/xarchiver-socket.Po@am__quote@
@@ -750,20 +749,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -c -o xarchiver-pref_dialog.obj `if test -f 'pref_dialog.c'; then $(CYGPATH_W) 'pref_dialog.c'; else $(CYGPATH_W) '$(srcdir)/pref_dialog.c'; fi`
 
-xarchiver-rar.o: rar.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -MT xarchiver-rar.o -MD -MP -MF $(DEPDIR)/xarchiver-rar.Tpo -c -o xarchiver-rar.o `test -f 'rar.c' || echo '$(srcdir)/'`rar.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/xarchiver-rar.Tpo $(DEPDIR)/xarchiver-rar.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='rar.c' object='xarchiver-rar.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -c -o xarchiver-rar.o `test -f 'rar.c' || echo '$(srcdir)/'`rar.c
-
-xarchiver-rar.obj: rar.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -MT xarchiver-rar.obj -MD -MP -MF $(DEPDIR)/xarchiver-rar.Tpo -c -o xarchiver-rar.obj `if test -f 'rar.c'; then $(CYGPATH_W) 'rar.c'; else $(CYGPATH_W) '$(srcdir)/rar.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/xarchiver-rar.Tpo $(DEPDIR)/xarchiver-rar.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='rar.c' object='xarchiver-rar.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -c -o xarchiver-rar.obj `if test -f 'rar.c'; then $(CYGPATH_W) 'rar.c'; else $(CYGPATH_W) '$(srcdir)/rar.c'; fi`
-
 xarchiver-rpm.o: rpm.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xarchiver_CFLAGS) $(CFLAGS) -MT xarchiver-rpm.o -MD -MP -MF $(DEPDIR)/xarchiver-rpm.Tpo -c -o xarchiver-rpm.o `test -f 'rpm.c' || echo '$(srcdir)/'`rpm.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) $(DEPDIR)/xarchiver-rpm.Tpo $(DEPDIR)/xarchiver-rpm.Po
--- xarchiver-0.5.4.10.orig/src/add_dialog.c	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/src/add_dialog.c	2017-06-27 15:58:00.963517272 -0500
@@ -282,12 +282,6 @@
 			default_value = 6;
 			max_value = 9;
 		}
-		else if (archive->type == XARCHIVETYPE_RAR)
-		{
-			compression_msg = _("0 = no compression, 3 is default, 5 = best compression but slowest");
-			default_value = 3;
-			max_value = 5;
-		}
 		else if (archive->type == XARCHIVETYPE_ARJ)
 		{
 			compression_msg = _("0 = no compression, 1 is default, 4 = fastest but least compression");
--- xarchiver-0.5.4.10.orig/src/main.c	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/src/main.c	2017-06-27 11:38:50.760190740 -0500
@@ -29,7 +29,6 @@
 #include "lha.h"
 #include "new_dialog.h"
 #include "pref_dialog.h"
-#include "rar.h"
 #include "rpm.h"
 #include "string_utils.h"
 #include "support.h"
@@ -273,36 +272,6 @@
 		add[type] = xa_gzip_et_al_add;
 	}
 
-	/* RAR */
-
-	type = XARCHIVETYPE_RAR;
-	path = g_find_program_in_path("rar");
-
-	if (path)
-		archiver[type].is_compressor = TRUE;
-	else
-		path = g_find_program_in_path("unrar");
-
-	if (path)
-	{
-		archiver[type].program[0] = path;
-		archiver[type].type = g_slist_append(archiver[type].type, "rar");
-		archiver[type].glob = g_slist_append(archiver[type].glob, "*.rar");
-
-		if (xa_rar_check_version(path) == 5)
-		{
-			archiver[type].type = g_slist_append(archiver[type].type, "rar5");
-			archiver[type].glob = g_slist_append(archiver[type].glob, " .rar");
-		}
-
-		ask[type] = xa_rar_ask;
-		list[type] = xa_rar_list;
-		test[type] = xa_rar_test;
-		extract[type] = xa_rar_extract;
-		add[type] = xa_rar_add;
-		delete[type] = xa_rar_delete;
-	}
-
 	/* RPM package */
 
 	type = XARCHIVETYPE_RPM;
--- xarchiver-0.5.4.10.orig/src/mime.c	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/src/mime.c	2017-06-27 15:55:18.151272132 -0500
@@ -83,7 +83,6 @@
 	         strcmp(mime,"application/x-lzma") == 0 ||
 	         strcmp(mime,"application/x-lzma-compressed-tar") == 0 ||
 	         strcmp(mime,"application/x-lzop") == 0 ||
-	         strcmp(mime,"application/x-rar") == 0 ||
 	         strcmp(mime,"application/x-rpm") == 0 ||
 	         strcmp(mime,"application/x-source-rpm") == 0 ||
 	         strcmp(mime,"application/x-tar") == 0 ||
--- xarchiver-0.5.4.10.orig/src/window.c	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/src/window.c	2017-06-27 16:03:03.542438561 -0500
@@ -435,9 +435,6 @@
 {
 	GSList *list = archiver[archive->type].type;
 
-	if (archive->type == XARCHIVETYPE_RAR && archive->version == 5)
-		list = list->next;
-
 	return list->data;
 }
 
@@ -617,10 +614,6 @@
 		command = g_strconcat ("arj c ",archive[idx]->path[1]," -z",tmp,NULL);
 		break;
 
-		case XARCHIVETYPE_RAR:
-		command = g_strconcat ("rar c ",archive[idx]->path[1]," -z",tmp,NULL);
-		break;
-
 		case XARCHIVETYPE_ZIP:
 		command = g_strconcat ("sh -c \"zip ",archive[idx]->path[1]," -z <",tmp,"\"",NULL);
 		break;
@@ -1054,7 +1047,7 @@
 		g_free (path);
 		return;
 	}
-	/* Detect archive comment,rar one is detected in rar.c */
+	/* Detect archive comment */
 	if (type == XARCHIVETYPE_ZIP)
 		archive[current_page]->has_comment = xa_detect_archive_comment (XARCHIVETYPE_ZIP,path,archive[current_page]);
 	else if (type == XARCHIVETYPE_ARJ)
@@ -1422,12 +1415,6 @@
     archive[idx]->status = XARCHIVESTATUS_SFX;
     switch ( archive[idx]->type)
 	{
-		case XARCHIVETYPE_RAR:
-			command = g_strconcat ("rar s -o+ ",archive[idx]->path[1],NULL);
-			xa_run_command(archive[idx], command);
-			g_free(command);
-		break;
-
 	    case XARCHIVETYPE_ZIP:
 		{
 			gchar *archive_name = NULL;
@@ -1640,7 +1627,7 @@
         "LZOP support:",
         "Kevin Day",
         "",
-        "RARv5, XZ, TAR.XZ support:",
+        "XZ, TAR.XZ support:",
         "Frederick GUERIN <fguerin01@gmail.com>",
         "",
         "GTK+ 3 port:",
@@ -1733,9 +1720,6 @@
 		type = XARCHIVETYPE_LZMA;
 	else if (memcmp(magic, "\211LZO", 4) == 0)
 		type = XARCHIVETYPE_LZOP;
-	else if (memcmp(magic, "\x52\x61\x72\x21\x1a\x07\x00", 7) == 0 ||
-	         memcmp(magic, "\x52\x61\x72\x21\x1a\x07\x01", 7) == 0)
-		type = XARCHIVETYPE_RAR;
 	else if (memcmp(magic, "\xed\xab\xee\xdb", 4) == 0)
 		type = XARCHIVETYPE_RPM;
 	else if (isTar(file))
@@ -1945,7 +1929,6 @@
 		case XARCHIVETYPE_LZMA:
 		case XARCHIVETYPE_LZOP:
 		case XARCHIVETYPE_XZ:
-		case XARCHIVETYPE_RAR:
 		case XARCHIVETYPE_ARJ:
 		case XARCHIVETYPE_7ZIP:
 		pos = 2;
@@ -2010,7 +1993,6 @@
 		case XARCHIVETYPE_LZMA:
 		case XARCHIVETYPE_LZOP:
 		case XARCHIVETYPE_XZ:
-		case XARCHIVETYPE_RAR:
 		case XARCHIVETYPE_ARJ:
 		case XARCHIVETYPE_7ZIP:
 		pos = 2;
--- xarchiver-0.5.4.10.orig/src/archive.h	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/src/archive.h	2017-06-27 16:16:00.555428893 -0500
@@ -31,7 +31,6 @@
 	XARCHIVETYPE_LHA,
 	XARCHIVETYPE_LZMA,
 	XARCHIVETYPE_LZOP,
-	XARCHIVETYPE_RAR,
 	XARCHIVETYPE_RPM,
 	XARCHIVETYPE_TAR,
 	XARCHIVETYPE_TAR_BZ2,
--- xarchiver-0.5.4.10.orig/xarchiver.desktop.in	2017-05-12 04:02:48.000000000 -0500
+++ xarchiver-0.5.4.10/xarchiver.desktop.in	2017-06-27 11:27:06.046197197 -0500
@@ -9,4 +9,4 @@
 Terminal=false
 Categories=GTK;Archiving;Utility;
 StartupNotify=true
-MimeType=application/gzip;application/vnd.debian.binary-package;application/x-7z-compressed;application/x-arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-java-archive;application/x-lha;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-rar;application/x-rpm;application/x-source-rpm;application/x-tar;application/x-tzo;application/x-xz;application/x-xz-compressed-tar;application/zip;
+MimeType=application/gzip;application/vnd.debian.binary-package;application/x-7z-compressed;application/x-arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-java-archive;application/x-lha;application/x-lzma;application/x-lzma-compressed-tar;application/x-lzop;application/x-rpm;application/x-source-rpm;application/x-tar;application/x-tzo;application/x-xz;application/x-xz-compressed-tar;application/zip;