Blame SOURCES/desktop-file-utils-0.23-font-media.patch
|
|
0687f1 |
From 16fa31708d6b6af047352d1a78a7eab823b63221 Mon Sep 17 00:00:00 2001
|
|
|
0687f1 |
From: Matthias Clasen <mclasen@redhat.com>
|
|
|
0687f1 |
Date: Mon, 9 Apr 2018 17:06:37 -0400
|
|
|
0687f1 |
Subject: [PATCH] Add font as valid media type
|
|
|
0687f1 |
|
|
|
0687f1 |
This was codified in RFC 8081, and some desktop apps are using
|
|
|
0687f1 |
this now.
|
|
|
0687f1 |
---
|
|
|
0687f1 |
src/mimeutils.c | 4 ++--
|
|
|
0687f1 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
0687f1 |
|
|
|
0687f1 |
diff --git a/src/mimeutils.c b/src/mimeutils.c
|
|
|
0687f1 |
index 0833fdb..bddc7a0 100644
|
|
|
0687f1 |
--- a/src/mimeutils.c
|
|
|
0687f1 |
+++ b/src/mimeutils.c
|
|
|
0687f1 |
@@ -52,9 +52,9 @@ static const char *known_old_fdo_media_types[] = {
|
|
|
0687f1 |
"x-directory"
|
|
|
0687f1 |
};
|
|
|
0687f1 |
|
|
|
0687f1 |
-/* Defined in RFC 2045/2046 and RFC 2077 */
|
|
|
0687f1 |
+/* Defined in RFC 2045/2046, RFC 2077 and RFC 8081 */
|
|
|
0687f1 |
static const char *registered_discrete_media_types[] = {
|
|
|
0687f1 |
- "application", "audio", "image", "model", "text", "video"
|
|
|
0687f1 |
+ "application", "audio", "font", "image", "model", "text", "video"
|
|
|
0687f1 |
};
|
|
|
0687f1 |
|
|
|
0687f1 |
/* Defined in RFC 2045/2046 */
|
|
|
0687f1 |
--
|
|
|
0687f1 |
2.17.0
|
|
|
0687f1 |
|