Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#978015: Add "image/webp webp" to /etc/mime.types ?

205 views
Skip to first unread message

Trent W. Buck

unread,
Dec 24, 2020, 8:00:04 AM12/24/20
to
Package: mime-support
Version: 3.62
Severity: normal
Tags: upstream

I attached foo.webp to an email and mutt used application/octet-stream.
I think to fix this mime.types needs to contain "image/webp webp".

https://en.wikipedia.org/wiki/WebP

Debian already supports this file format, and
file(1) uses the the correct media type (née MIME type):

$ gm convert rose: webp:- | file --mime -
/dev/stdin: image/webp; charset=binary

I think the RIGHT fix is to trick Google into filing IANA paperwork so it appears here:

https://www.iana.org/assignments/media-types/image.csv

I think if that is done, Debian will get it automatically.
Is that right?

Can mime-support add it right now (before IANA)?

I understand that in the meantime, I can patch it
per-user in ~/.mime.types or
per-host in /etc/mime.types (but not /etc/mime.types.d/foo.conf).


-- System Information:
Debian Release: 10.7
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'proposed-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-0.bpo.2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

mime-support depends on no packages.

Versions of packages mime-support recommends:
ii bzip2 1.0.6-9.2~deb10u1
ii file 1:5.35-4+deb10u1
ii xz-utils 5.2.4-1

mime-support suggests no packages.

-- debconf-show failed

Charles Plessy

unread,
Dec 27, 2020, 6:30:03 PM12/27/20
to
Control: forcemerge -1 971011

Le Thu, Dec 24, 2020 at 11:46:37PM +1100, Trent W. Buck a écrit :
>
> I think the RIGHT fix is to trick Google into filing IANA paperwork so it appears here:
>
> https://www.iana.org/assignments/media-types/image.csv
>
> I think if that is done, Debian will get it automatically.
> Is that right?

Hi Trent, that is right.

I see on the upstream mailing list that it is being discussed.

https://groups.google.com/a/webmproject.org/g/webp-discuss/c/gklBC0vn7NI/m/_bmsFb05AwAJ

In my opinion, it is unfair to call IANA's registration "paperwork",
"administrative work" or "time investment" (as in the thread linked
above).

Registration is done through a simple web form, without the need to
create an account.

https://www.iana.org/form/media-types

Have a nice day,

Charles

--
Charles Plessy Nagahama, Yomitan, Okinawa, Japan
Debian Med packaging team http://www.debian.org/devel/debian-med
Tooting from work, https://mastodon.technology/@charles_plessy
Tooting from home, https://framapiaf.org/@charles_plessy

Charles Plessy

unread,
Mar 5, 2022, 8:10:03 PM3/5/22
to
Le Mon, Dec 28, 2020 at 08:16:24AM +0900, Charles Plessy a écrit :
>
> I see on the upstream mailing list that it is being discussed.
>
> https://groups.google.com/a/webmproject.org/g/webp-discuss/c/gklBC0vn7NI/m/_bmsFb05AwAJ
>
> In my opinion, it is unfair to call IANA's registration "paperwork",
> "administrative work" or "time investment" (as in the thread linked
> above).
>
> Registration is done through a simple web form, without the need to
> create an account.
>
> https://www.iana.org/form/media-types

Hi Trent and VA,

would one of you be intereted to ping Google to register the media type
to the IANA ?
0 new messages