diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-05 02:46:02 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-05 02:46:02 -0300 |
commit | ac02fad38b091e6d86e107805a8f6ac44aa88133 (patch) | |
tree | 8457aa89067317d12213f60bf578d09e8b93d230 /libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch | |
parent | 4af55f71f165e92145f2cdf5396efd04c3266e52 (diff) | |
parent | 6fe05d921e89ab5eb1c2b6265211e6cc4c9e6d55 (diff) |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch')
-rw-r--r-- | libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch b/libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch new file mode 100644 index 000000000..3db748114 --- /dev/null +++ b/libre/gloobus-preview/gloobus-preview-usr-bsdtar-for-rar.patch @@ -0,0 +1,29 @@ +diff -Nur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp +--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.cpp 2012-04-06 10:07:29.000000000 -0300 ++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.cpp 2014-08-26 16:55:39.534735733 -0300 +@@ -55,11 +55,8 @@ + else if ( type == GP_COMPRESSED_RAR + || type == GP_COMPRESSED_RAR_X ) + { +- cmd_args.push_back("unrar"); +- cmd_args.push_back("vb"); +- cmd_args.push_back("-c-"); +- cmd_args.push_back("-p-"); // do not query for password +- cmd_args.push_back("--"); ++ cmd_args.push_back("bsdtar"); ++ cmd_args.push_back("-tf"); + line_parser = &iCompressed::parse_line_rar; + } + else if ( type == GP_COMPRESSED_TAR +diff -Nur gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h +--- gloobus-preview-0.4.5-ubuntu11~ppa290.orig/src/plugin-compressed/plugin-compressed.h 2012-04-06 10:07:29.000000000 -0300 ++++ gloobus-preview-0.4.5-ubuntu11~ppa290/src/plugin-compressed/plugin-compressed.h 2014-08-26 16:52:58.903694500 -0300 +@@ -102,7 +102,7 @@ + PluginManager::register_filetype(GP_COMPRESSED_7Z, 1); + } + +-if(interface::is_program_available("unrar")) { ++if(interface::is_program_available("bsdtar")) { + PluginManager::register_filetype(GP_COMPRESSED_RAR, 1); + PluginManager::register_filetype(GP_COMPRESSED_RAR_X, 1); + } |