[evince/gnome-3-28] comics: Use official IANA type for .cbr
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome-3-28] comics: Use official IANA type for .cbr
- Date: Sat, 29 Sep 2018 23:31:21 +0000 (UTC)
commit aa212ab667309d63a863405383b2c2c8eff40e5b
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 acc97dd8..8ebb9f39 100644
--- a/configure.ac
+++ b/configure.ac
@@ -818,7 +818,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]