Dominique Leuenberger 2015-02-23 12:06:06 +00:00 committed by Git OBS Bridge
commit 08ce450830
5 changed files with 70 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fd49c8c7ca9ecb10c59845094a18dbb73b69c72b4bad3db5e864f2111cb323a
size 517420

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bbc0bd023f497dfd75e1ca73441cbbb5a63617d9e14f2790b868361cc055b5b1
size 537916

View File

@ -0,0 +1,25 @@
From 824cff3da0f17812715795f0e64a47f7331a338b Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 18 Feb 2015 10:37:36 +0100
Subject: Bump priority for ISO images glob matching
To work-around file managers that cannot use magic to differentiate
mime-types.
https://bugs.freedesktop.org/show_bug.cgi?id=80877
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 64f34b9..59e399c 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -1499,7 +1499,7 @@ command to generate the output files.
<_comment>raw CD image</_comment>
<sub-class-of type="application/x-raw-disk-image"/>
<alias type="application/x-iso9660-image"/>
- <glob pattern="*.iso"/>
+ <glob pattern="*.iso" weight="80"/>
<glob pattern="*.iso9660"/>
</mime-type>
<mime-type type="application/x-cdrdao-toc">
--
cgit v0.10.2

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Thu Feb 19 09:41:10 UTC 2015 - dimstar@opensuse.org
- Update to version 1.4:
+ Add glob for low-resolution videos from GoPro.
+ Add mime-type for partially downloaded files.
+ Use IANA registered mime-type for Debian packages.
+ Add another magic for OTF fonts.
+ Add support for Adobe PageMaker.
+ Remove the Apple iOS PNG variant.
+ Add *.dbk glob for DocBook.
+ Use IANA registered mime-type for Vivo.
+ Remove obsolete application/x-gmc-link mime-type.
+ Make application/x-wais-source a subclass of text/plain.
+ Flip application/smil+xml and application/smil type/alias.
+ Add Nintendo 64 ROM magic.
+ Add qpress archive support.
+ Add image/x-tiff-multipage mime-type.
+ Rename "Microsoft icon" to "Windows icon".
+ Add magic for ODB files.
+ Use IANA registered text/markdown for Markdown.
+ New mimetype for SCons scripts as subclass of x-python.
+ Make application/pgp-encrypted a subclass of text/plain.
+ Associate *.qmltypes and *.qmlproject files with the text/x-qml
mime type.
+ Add text/x-genie mime type for Genie source code.
+ Disable fdatasync() usage if PKGSYSTEM_ENABLE_FSYNC is set.
+ Skip mime database update if packages are older than cache.
+ Add "-n" option to update-mime-database to only update if
"newer".
-------------------------------------------------------------------
Thu Feb 19 02:51:39 UTC 2015 - hrvoje.senjan@gmail.com
- Add shared-mime-info-bump-priority-for-ISO-images.patch
(fdo#80877, kde#337035, boo#904100)
-------------------------------------------------------------------
Tue Apr 8 23:10:43 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package shared-mime-info
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: shared-mime-info
Version: 1.3
Version: 1.4
Release: 0
# FIXME: Remove workaround for fdo#70366 once fixed
Url: http://freedesktop.org/wiki/Software/shared-mime-info
@ -27,6 +27,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 shared-mime-info-bump-priority-for-ISO-images.patch fdo#80877 kde#337035 boo#904100 hrvoje.senjan@gmail.com -- work-around file managers that cannot use magic to differentiate mime-types
Patch0: shared-mime-info-bump-priority-for-ISO-images.patch
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libxml2-devel
@ -59,6 +61,7 @@ This package contains:
%lang_package
%prep
%setup -q
%patch0 -p1
translation-update-upstream
%build