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. -->
擁有者

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 關閉了這個問題 5 年前
MicheleC 新增到 R14.0.7 release 里程碑 5 年前
登入 才能加入這對話。
未選擇里程碑
沒有負責人
3 參與者
通知
截止日期

未設定截止日期。

先決條件

未設定先決條件。

參考: TDE/tdebase#65
載入中…
尚未有任何內容