Package: xfe / 1.43.1-1

26_unrar-using-free-unar.patch Patch series | download
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
Package:     xfe
Subject:     replace unrar with free unar
Author:      Joachim Wiedorn <joodebian at joonet.de>
Bug-Debian:  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862968
Forwarded:   no
Last-Update: 2018-11-26

As unrar is non-free in Debian, several people are unable 
to use this (out of the box). The free unar do the same.
---

diff -urN s13/src/FilePanel.cpp s26/src/FilePanel.cpp
--- s13/src/FilePanel.cpp	2018-05-16 17:28:02.000000000 +0200
+++ s26/src/FilePanel.cpp	2018-11-26 17:00:12.340757930 +0100
@@ -5015,7 +5015,7 @@
         }
         else if (ext1 == "rar")
         {
-            cmd = "unrar x -o+ ";
+            cmd = "unar -f -t ";
         }
         else if (ext1 == "lzh")
         {
@@ -5187,7 +5187,7 @@
         }
         else if (ext1 == "rar")
         {
-            cmd = "unrar x -o+ ";
+            cmd = "unar -f -t ";
         }
         else if (ext1 == "lzh")
         {
@@ -5315,7 +5315,7 @@
             }
             else if (ext1 == "rar")
             {
-                cmd = "unrar x -o+ ";
+                cmd = "unar -f -t ";
             }
             else if (ext1 == "lzh")
             {
diff -urN s13/src/SearchPanel.cpp s26/src/SearchPanel.cpp
--- s13/src/SearchPanel.cpp	2018-05-16 13:37:15.000000000 +0200
+++ s26/src/SearchPanel.cpp	2018-11-26 17:00:12.340757930 +0100
@@ -2678,7 +2678,7 @@
         }
         else if (ext1 == "rar")
         {
-            cmd = "unrar x -o+ ";
+            cmd = "unar -f -t ";
         }
         else if (ext1 == "lzh")
         {