Invalid MIME type "fonts/package" #65

Затворени
отворен преди 5 години от obache · 3 коментара
Сътрудник

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. -->
Притежател

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.
Притежател

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.
Притежател

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 added this to the R14.0.7 release milestone преди 5 години
Впишете се за да се присъедините към разговора.
Няма етап
Няма изпълнители
3 участника
Известия
Due Date

No due date set.

Зависимости

No dependencies set.

Reference: TDE/tdebase#65
Зареждане…
Все още няма съдържание.