Invalid MIME type "fonts/package" #65

クローズ
obache5年前に作成 · 3件のコメント
obache5年前 にコメント
共同作業者

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. -->
MicheleC5年前 にコメント
オーナー

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.
SlavekB5年前 にコメント
オーナー

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.
MicheleC5年前 にコメント
オーナー

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
読み込み中…
まだ内容がありません