Invalid MIME type "fonts/package" #65

已關閉
obache5 年之前建立 · 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 closed this issue 5 年之前
MicheleC 新增至R14.0.7 release 里程碑 5 年之前
登入 才能加入這對話。
未選擇里程碑
No Assignees
3 參與者
訊息
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/tdebase#65
Loading…
尚未有任何內容