Accepting request 401913 from home:AndreasStieger:branches:GNOME:Factory

Add alias application/nappdf to application/pdf (boo#984021)

OBS-URL: https://build.opensuse.org/request/show/401913
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=54
This commit is contained in:
Dominique Leuenberger 2016-06-14 15:17:06 +00:00 committed by Git OBS Bridge
parent b6b38fcf1b
commit 2b7ae556de
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From c6f5d831d2e8838f65895ce9c59e1ccc2d22a1c2 Mon Sep 17 00:00:00 2001
From: Andreas Stieger <astieger@suse.com>
Date: Thu, 9 Jun 2016 18:35:20 +0200
Subject: [PATCH] Add alias application/nappdf for application/pdf
Upstream: committed
References: https://bugs.freedesktop.org/show_bug.cgi?id=96463 https://bugzilla.opensuse.org/show_bug.cgi?id=984021
---
freedesktop.org.xml.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 34a5d00..38c292a 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -215,6 +215,7 @@ command to generate the output files.
<alias type="application/x-pdf"/>
<alias type="image/pdf"/>
<alias type="application/acrobat"/>
+ <alias type="application/nappdf"/>
</mime-type>
<mime-type type="application/xspf+xml">
<_comment>XSPF playlist</_comment>
--
2.6.6

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 14 10:46:29 UTC 2016 - astieger@suse.com
- Add alias application/nappdf to application/pdf (boo#984021)
0001-Add-alias-application-nappdf-for-application-pdf.patch
-------------------------------------------------------------------
Tue Mar 1 23:19:28 UTC 2016 - dimstar@opensuse.org

View File

@ -26,6 +26,8 @@ Group: System/X11/Utilities
Source: http://people.freedesktop.org/~hadess/%{name}-%{version}.tar.xz
Source1: mime-info-to-mime
Source2: macros.shared-mime-info
# PATCH-FIX-UPSTREAM 0001-Add-alias-application-nappdf-for-application-pdf.patch boo#984021 astieger@suse.com -- Add alias application/nappdf for application/pdf
Patch0: 0001-Add-alias-application-nappdf-for-application-pdf.patch
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libxml2-devel
@ -56,6 +58,7 @@ This package contains:
%lang_package
%prep
%setup -q
%patch0 -p1
translation-update-upstream
%build