Remove obsolete patch
This commit is contained in:
parent
e800ee4f23
commit
c397611985
@ -1,27 +0,0 @@
|
||||
From e0f51b2ccda6f403f2b3abc4045d930feda765fc Mon Sep 17 00:00:00 2001
|
||||
From: Bastien Nocera <hadess@hadess.net>
|
||||
Date: Fri, 27 May 2016 18:05:19 +0200
|
||||
Subject: [PATCH] Fix multi-page DjVu detection by file
|
||||
|
||||
We need to have the same globs for both image/vnd.djvu+multipage and
|
||||
image/vnd.djvu so that checking by file will force checking by magic,
|
||||
otherwise all the multi-page files will be detected as simple
|
||||
image/vnd.djvu.
|
||||
---
|
||||
freedesktop.org.xml.in | 2 ++
|
||||
tests/list | 4 ++--
|
||||
2 files changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
|
||||
index c8d0361..d33063b 100644
|
||||
--- a/freedesktop.org.xml.in
|
||||
+++ b/freedesktop.org.xml.in
|
||||
@@ -4670,6 +4670,8 @@ command to generate the output files.
|
||||
</match>
|
||||
</magic>
|
||||
<sub-class-of type="image/vnd.djvu"/>
|
||||
+ <glob pattern="*.djvu"/>
|
||||
+ <glob pattern="*.djv"/>
|
||||
</mime-type>
|
||||
<mime-type type="image/dpx">
|
||||
<_comment>DPX image</_comment>
|
@ -20,9 +20,6 @@ Source4: eog-defaults.list
|
||||
# Work-around for https://bugs.freedesktop.org/show_bug.cgi?id=40354
|
||||
Patch0: 0001-Remove-sub-classing-from-OO.o-mime-types.patch
|
||||
|
||||
# Upstream patch
|
||||
Patch1: 0001-Fix-multi-page-DjVu-detection-by-file.patch
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: glib2-devel
|
||||
|
Loading…
Reference in New Issue
Block a user