--- xarchiver-0.5.4.13.orig/doc/html/ch03s03.html	2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/doc/html/ch03s03.html	2018-09-24 13:12:48.570163585 -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.79.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 front end (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,rar,zip etc) and the script <span class="emphasis"><em>xdg-open</em></span> for handling different file types. Since Xarchiver is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have unar, Xarchiver can't create rar archives since unar allows rar archives to be opened, tested and extracted but not to be created.
 				</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.13.orig/doc/xarchiver.docbook	2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/doc/xarchiver.docbook	2018-09-24 13:12:48.570163585 -0500
@@ -305,7 +305,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 front end (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,rar,zip etc) and the script <emphasis>xdg-open</emphasis> for handling different file types. Since &app; is a front end (a graphic user interface to the command line executables) it can't create archives whose archiver is not available. For instance if you have unar, &app; can't create rar archives since unar allows rar archives to be opened, tested and extracted but not to be created.
 				</para>
 			</section>
 			<section id="how_it_works">
--- xarchiver-0.5.4.13.orig/src/main.c	2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/src/main.c	2018-09-24 13:12:48.570163585 -0500
@@ -583,8 +583,6 @@
 
 	if (path)
 		archiver[type].is_compressor = TRUE;
-	else
-		path = g_find_program_in_path("unrar");
 
 	standard = (path != NULL);
 
--- xarchiver-0.5.4.13.orig/src/rar.c	2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/src/rar.c	2018-09-24 13:12:48.570163585 -0500
@@ -35,8 +35,7 @@
 
 	g_spawn_command_line_sync(path, &output, NULL, NULL, NULL);
 
-	if (g_ascii_strncasecmp("\nRAR 5", output, 6) == 0 ||
-	    g_ascii_strncasecmp("\nUNRAR 5", output, 8) == 0)
+	if (g_ascii_strncasecmp("\nRAR 5", output, 6) == 0)
 		rar_version = 5;
 
 	g_free(output);
--- xarchiver-0.5.4.13.orig/xarchiver.desktop.in	2018-03-13 05:22:11.000000000 -0500
+++ xarchiver-0.5.4.13/xarchiver.desktop.in	2018-09-24 13:06:59.326027230 -0500
@@ -9,5 +9,5 @@
 StartupNotify=true
 Terminal=false
 Categories=GTK;Archiving;Compression;Utility;
-_Keywords=GTK;android;archiver;archiving;compression;front end;frontend;7-zip;7z;7za;7zip;7zr;apk;ar;arj;bunzip2;bz2;bzip2;compress;cpio;deb;epub;gtar;gunzip;gz;gzip;jar;lha;lrz;lrzip;lsar;lz;lz4;lzh;lzip;lzma;lzo;lzop;oxt;rar;rar4;rar5;rpm;tar;unar;unarchiver;unarj;unrar;unzip;xpi;xz;zip;zst;Zstandard;zstd;
+_Keywords=GTK;android;archiver;archiving;compression;front end;frontend;7-zip;7z;7za;7zip;7zr;apk;ar;arj;bunzip2;bz2;bzip2;compress;cpio;deb;epub;gtar;gunzip;gz;gzip;jar;lha;lrz;lrzip;lsar;lz;lz4;lzh;lzip;lzma;lzo;lzop;oxt;rar;rar4;rar5;rpm;tar;unar;unarchiver;unarj;unzip;xpi;xz;zip;zst;Zstandard;zstd;
 MimeType=application/epub+zip;application/gzip;application/vnd.android.package-archive;application/vnd.debian.binary-package;application/vnd.openofficeorg.extension;application/vnd.rar;application/x-7z-compressed;application/x-arj;application/x-bzip;application/x-bzip-compressed-tar;application/x-compress;application/x-compressed-tar;application/x-cpio;application/x-cpio-compressed;application/x-java-archive;application/x-lha;application/x-lrzip;application/x-lrzip-compressed-tar;application/x-lz4;application/x-lz4-compressed-tar;application/x-lzip;application/x-lzip-compressed-tar;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-tarz;application/x-tzo;application/x-xpinstall;application/x-xz;application/x-xz-compressed-tar;application/zip;
