= desktop-file-utils = spec を書く際に desktop file(.desktop)を操作する desktop-file-utils を使用する場合があります。[[BR]] このページでは、 desktop-file-utils に関する情報を随時まとめていきたいと思います。 == エラーが出るパッケージ == 現在、[http://vinelinux.org/vineplus.html VinePlus] や[http://vinelinux.org/vineseed.html VineSeed] に存在するパッケージで、インストールの後(またはビルドの際)に error 或いは warning を発するパッケージが幾つか存在しています。それらのパッケージは使用可能ですが、今後はできる限り修正していきたいと思っています。まずはそれを見つけ次第リストアップします。 === VinePlus/6 === * === VineSeed === * == Unity 用記述への対応 == 今のところ筆者が目にした数は多くありませんが、 Ubuntu のデスクトップ環境でも採用されているデスクトップインターフェース(GUIシェル)である Unity 用の記述が desktop file に存在する場合があります。(今後数は増えるかも) {{{ TargetEnvironment=Unity }}} 上記のような記述が見えた場合、 Unity 用の記述となります。 Unity 以外では不要ですし error の元ですので、基本的には削除します。( desktop-file-install 或いは desktop-file-validate で引っかかったはず) {{{ --- midori-0.4.0/data/midori_orig.desktop.in 2011-08-02 07:06:36.000000000 +0900 +++ midori-0.4.0/data/midori.desktop.in 2011-08-03 02:13:08.000000000 +0900 @@ -13,19 +13,3 @@ X-Osso-Type=application/x-executable X-Osso-Service=midori X-Ayatana-Desktop-Shortcuts=TabNew;WindowNew;Private - -[TabNew Shortcut Group] -Name=New _Tab -Exec=midori -e TabNew -TargetEnvironment=Unity - -[WindowNew Shortcut Group] -Name=New _Window -Exec=midori -e WindowNew -TargetEnvironment=Unity - -[Private Shortcut Group] -Name=New P_rivate Browsing Window -Exec=midori --private -TargetEnvironment=Unity - }}} ここに挙げた diff の事例は、 [http://software.twotoasts.de/index.php?/pages/midori_summary.html midori] の patch です。 Unity 関連の記述を削除しています。 = 参考 = * [http://standards.freedesktop.org/menu-spec/latest/apa.html A. Registered Categories] * [http://developer.momonga-linux.org/wiki/?cmd=view&p=desktop-file-utils&key=desktop-file-utils Developer at Momonga Project - desktop-file-utils]