[evince/wip/hadess/mime-type-aliases: 2/2] comics: Use official IANA type for .cbr
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/hadess/mime-type-aliases: 2/2] comics: Use official IANA type for .cbr
- Date: Wed, 12 Sep 2018 11:55:19 +0000 (UTC)
commit 712edc34ee8b74967a4a3a13f0be983f397f060e
Author: FeRD (Frank Dana) <ferdnyc gmail com>
Date: Fri Aug 31 05:11:37 2018 -0400
comics: Use official IANA type for .cbr
This change adds `application/vnd.comicbook-rar` to the
`COMICS_MIME_TYPES` list generated by `configure.ac`.
`application/vnd.comicbook-rar` was designated on 2017-12-11 as the IANA
assigned mime type for CBR files, and `application/x-cbr` was listed
as a "Deprecated alias".
https://www.iana.org/assignments/media-types/application/vnd.comicbook-rar
Freedesktop's xdg/shared-mime-info was updated accordingly in this commit:
https://cgit.freedesktop.org/xdg/shared-mime-info/commit/?id=855cb8daff8eac292745a3986bd152f07e88711c
See: https://bugzilla.redhat.com/show_bug.cgi?id=1506829
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/configure.ac b/configure.ac
index f8df272c..77e3cda3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -846,7 +846,7 @@ AC_SUBST(TIFF_MIME_TYPES)
AC_SUBST(APPDATA_TIFF_MIME_TYPES)
AM_SUBST_NOTMAKE(APPDATA_TIFF_MIME_TYPES)
if test "x$enable_comics" = "xyes"; then
-
COMICS_MIME_TYPES="application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/x-ext-cbr;application/x-ext-cbz;application/vnd.comicbook+zip;application/x-ext-cb7;application/x-ext-cbt"
+
COMICS_MIME_TYPES="application/x-cbr;application/x-cbz;application/x-cb7;application/x-cbt;application/x-ext-cbr;application/x-ext-cbz;application/x-ext-cb7;application/x-ext-cbt;application/vnd.comicbook+zip;application/vnd.comicbook-rar"
APPDATA_COMICS_MIME_TYPES=$(echo "<mimetype>$COMICS_MIME_TYPES</mimetype>" | sed -e
's/;/<\/mimetype>\n <mimetype>/g')
if test -z "$EVINCE_MIME_TYPES"; then
EVINCE_MIME_TYPES="${COMICS_MIME_TYPES}"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]