Define system integration data to use for registering MIME types
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 30/100
- Issue 類型
- 文件
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- linux
研究方向
從建議的 AppDir 路徑 usr/share/mime/packages 和所引用的 AddingMIMETutor 指南開始。在 AppImage 規範中定義系統整合工具應將哪些 *.xml 檔案部署到 $XDG_DATA_HOME/mime/packages、唯一名稱如何支援取消部署,以及何時執行 update-mime-database。
由索引模型根據 Issue 內容生成。
描述
Some applications are handlers for certain MIME types which might not (yet) be part of the shared-mime-info database at least on most target systems.
So for proper system integration those MIME types should be registered with the system, so that the app from the appimage can as well be registered as handler for files of those MIME types.
The spec should define what data in what files could be added to the appdir, so that system integrators (like appimaged) know what to look for and what to use.
The typical GUI linux system uses shared-mime-info. Info about deploying custom extensions (per user) can be found here: https://www.freedesktop.org/wiki/Specifications/AddingMIMETutor/
So applications which deploy custom MIME types following the XDG/FHS/shared-mime-info would normally deploy one or more files to $PREFIX/usr/share/mime/packages and then expect the package installer to invoke update-mime-database so all the new and old separate data about MIME types is integrated in the actual system database.
So for a start with the spec, given that other parts are already picking up optionally files from the XDG/FHS layout, the idea could be to point out that if there are any *.xml files in the AppDir at usr/share/mime/packages, system integration tools with XDG-based systems are recommended to deploy those files to the proper user directory ($XDG_DATA_HOME/mime/packages) with some unique name as also needed for undeployment, and then run update-mime-database.
What do you think?
- 主要語言
- 沒有語言資料
- 星號
- 94
- 分支
- 30
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
AppImage/AppImageSpec 的其他 Issue
-
難度 5/5 一週以上 新手友好度 25/100
AppImage/AppImageSpec#60 · 7 則留言 ·
-
難度 5/5 一週以上 新手友好度 25/100
AppImage/AppImageSpec#59 · 15 則留言 · 2 個 reaction ·
-
難度 4/5 3-5 天 新手友好度 35/100
AppImage/AppImageSpec#48 · 2 則留言 ·
-
help wanted
難度 5/5 一週以上 新手友好度 25/100
AppImage/AppImageSpec#44 · 10 則留言 · 1 個 reaction ·
-
難度 5/5 一週以上 新手友好度 35/100
AppImage/AppImageSpec#40 · 1 則留言 ·
查看 AppImage/AppImageSpec 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 72/100
維護者通常 1 天內回覆
-
難度 1/5 1-3 小時 新手友好度 88/100
-
Section 4.3未關閉
難度 2/5 1-3 小時 新手友好度 66/100
w3c-cg/a11y-req-ja#9 ·
-
Bases views: Explain how to show, hide and reorder properties可能已有人在做 @churnish 今天認領。 未關閉
難度 1/5 1-3 小時 新手友好度 91/100
obsidianmd/obsidian-help#1192 ·
維護者通常 2 天內回覆
-
discussion need-feedback type: documentation
難度 1/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆