forked from pool/krusader
Accepting request 441259 from KDE:Extra
- Add Remove-non-archive-mimetypes-from-krarc-archive-mime-type-list.patch to fix dolphin opening e.g. LibreOffice files as archives (boo#1011320, kde#371765) OBS-URL: https://build.opensuse.org/request/show/441259 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/krusader?expand=0&rev=46
This commit is contained in:
commit
28cb169cb5
@ -0,0 +1,32 @@
|
||||
From e3fad5256a5cba9f908f1f5d951907c6194040b5 Mon Sep 17 00:00:00 2001
|
||||
From: "Martin T. H. Sandsmark" <martin.sandsmark@kde.org>
|
||||
Date: Sat, 19 Nov 2016 13:14:00 +0100
|
||||
Subject: Remove non-archive mimetypes from krarc archive mime type list
|
||||
|
||||
Putting non-archive mimetypes in the list of archive mimetypes confuses
|
||||
other applications using KIO, like Dolphin. Getting Krusader to open
|
||||
normal files as archives should be done by linking them in the Krusader
|
||||
Protocol settings.
|
||||
|
||||
BUG: 371765
|
||||
REVIEW: 129434
|
||||
---
|
||||
krArc/krarc.protocol | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/krArc/krarc.protocol b/krArc/krarc.protocol
|
||||
index 121a9d1..9783afd 100644
|
||||
--- a/krArc/krarc.protocol
|
||||
+++ b/krArc/krarc.protocol
|
||||
@@ -1,7 +1,7 @@
|
||||
[Protocol]
|
||||
exec=kio_krarc
|
||||
protocol=krarc
|
||||
-archiveMimetype=application/x-7z,application/x-7z-compressed,application/x-ace,application/x-ace-compressed,application/x-arj,application/x-arj-compressed,application/x-cpio,application/x-deb,application/x-debian-package,application/vnd.debian.binary-package,application/x-java-archive,application/x-lha,application/x-lha-compressed,application/x-rar,application/x-rar-compressed,application/x-rpm,application/x-source-rpm,application/zip,application/x-zip,application/x-zip-compressed,application/vnd.oasis.opendocument.chart,application/vnd.oasis.opendocument.database,application/vnd.oasis.opendocument.formula,application/vnd.oasis.opendocument.graphics,application/vnd.oasis.opendocument.presentation,application/vnd.oasis.opendocument.spreadsheet,application/vnd.oasis.opendocument.text,application/vnd.openxmlformats-officedocument.presentationml.presentation,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/x-cbz,application/x-cbr,application/epub+zip,application/x-webarchive,application/x-plasma
|
||||
+archiveMimetype=application/x-7z,application/x-7z-compressed,application/x-ace,application/x-ace-compressed,application/x-arj,application/x-arj-compressed,application/x-cpio,application/x-lha,application/x-lha-compressed,application/x-rar,application/x-rar-compressed,application/zip,application/x-zip,application/x-zip-compressed
|
||||
input=filesystem
|
||||
output=filesystem
|
||||
listing=Name,Type,Size,Date,Access,Owner,Group,Link
|
||||
--
|
||||
cgit v0.11.2
|
||||
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 21 20:01:31 UTC 2016 - wbauer@tmo.at
|
||||
|
||||
- Add Remove-non-archive-mimetypes-from-krarc-archive-mime-type-list.patch
|
||||
to fix dolphin opening e.g. LibreOffice files as archives
|
||||
(boo#1011320, kde#371765)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 23 17:15:55 UTC 2016 - hrvoje.senjan@gmail.com
|
||||
|
||||
|
@ -29,6 +29,8 @@ Source1: krusader_browse_iso.desktop
|
||||
Patch0: krusader-2.5.0-generate-manpage.patch
|
||||
# PATCH-FIX-UPSTREAM 0001-Don-t-hardcode-appdata-location.patch
|
||||
Patch1: 0001-Don-t-hardcode-appdata-location.patch
|
||||
# PATCH-FIX-UPSTREAM Remove-non-archive-mimetypes-from-krarc-archive-mime-type-list.patch boo#1011320, kde#371765 -- fixes dolphin opening e.g. LibreOffice files as archives
|
||||
Patch2: Remove-non-archive-mimetypes-from-krarc-archive-mime-type-list.patch
|
||||
BuildRequires: extra-cmake-modules >= 1.1.0
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libacl-devel
|
||||
@ -88,6 +90,7 @@ An advanced twin panel (commander style) file manager for KDE.
|
||||
%setup -q -n %{name}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
export RPM_OPT_FLAGS="%{optflags} -fpermissive"
|
||||
|
Loading…
Reference in New Issue
Block a user