Invalid MIME type "fonts/package" #65

Закрито
5 роки тому відкрито obache · 3 коментарів
obache прокоментував(ла) 5 роки тому
Співавтор

Basic information

  • TDE version: master
  • Distribution: N/A
  • Hardware: N/A

Description

"fonts/package" MIME type is used in tdefontinst, but such MIME type is invalid.

Steps to reproduce

  1. install tdebase
  2. do update-desktop-database
  3. Error in file "/usr/pkg/share/applications/tde/kfontview.desktop": "fonts/package" is an invalid MIME type ("fonts" is an unregistered media type)

FYI

KDE4 replaced "fonts/packae" with "application/vnd.kde.fontspackage"
https://svn.reviewboard.kde.org/r/6111/
Should we rename to "application/vnd.tde.fontspackage"?

<!-- This is a comment. Please fill in the required fields below. The comments provide instructions on how to do so. Note: You do not need to remove comments. --> ## Basic information - TDE version: master - Distribution: N/A - Hardware: N/A <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description "fonts/package" MIME type is used in `tdefontinst`, but such MIME type is invalid. ## Steps to reproduce 1. install tdebase 2. do `update-desktop-database` 3. Error in file "/usr/pkg/share/applications/tde/kfontview.desktop": "fonts/package" is an invalid MIME type ("fonts" is an unregistered media type) ## FYI KDE4 replaced "fonts/packae" with "application/vnd.kde.fontspackage" https://svn.reviewboard.kde.org/r/6111/ Should we rename to "application/vnd.tde.fontspackage"? <!-- If it seems useful, please provide provide one or more screenshots. -->
MicheleC прокоментував(ла) 5 роки тому
Власник

Problem is confirmed. Anyhow there is a file "/opt/trinity/share/mimelnk/fonts/package.desktop" from "tdebase/kcontrol/tdefontinst/tdeio/package.desktop" which defines a mimetype "MimeType=fonts/package". So the error message seems a bit weird.

A solution may be to rename to “application/vnd.tde.fontspackage” as suggested, if it helps to clean the error.

Problem is confirmed. Anyhow there is a file "/opt/trinity/share/mimelnk/fonts/package.desktop" from "tdebase/kcontrol/tdefontinst/tdeio/package.desktop" which defines a mimetype "MimeType=fonts/package". So the error message seems a bit weird.<br> A solution may be to rename to “application/vnd.tde.fontspackage” as suggested, if it helps to clean the error.
SlavekB прокоментував(ла) 5 роки тому
Власник

Yes, I also agree with renaming. I looked at the mentioned KDE reviewboard and it seems that we need to find all the occurrences that may depend on the mime name and rename everything.

Yes, I also agree with renaming. I looked at the mentioned KDE reviewboard and it seems that we need to find all the occurrences that may depend on the mime name and rename everything.
MicheleC прокоментував(ла) 5 роки тому
Власник

I have done the renaming as we discussed, so this issue will be closed.

Nevertheless, I have tried opening a .fonts.tar.gz package in tdefontcview and it seems the font viewer does not support compressed font packages (at least the one I have tried). The question so is whether it is correct to associated the font package mimetype to the tdefontviewer desktop files. Note the error would have been there before as well.

Note that tdefontviewer works fine if I first uncompress the package.

I have done the renaming as we discussed, so this issue will be closed.<br> Nevertheless, I have tried opening a .fonts.tar.gz package in tdefontcview and it seems the font viewer does not support compressed font packages (at least the one I have tried). The question so is whether it is correct to associated the font package mimetype to the tdefontviewer desktop files. Note the error would have been there before as well.<br> Note that tdefontviewer works fine if I first uncompress the package.
MicheleC закрив цю задачу 5 роки тому
MicheleC додав(ла) до R14.0.7 release етапу 5 роки тому
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає виконавця
3 учасників
Сповіщення
Дата завершення

Термін виконання не встановлений.

Залежності

No dependencies set.

Reference: TDE/tdebase#65
Завантаження…
Тут ще немає жодного змісту.