* xscreensaver の webcollage が動作しない [#cfd9c66a]

- ページ: [[不具合報告/4.7]]
- 投稿者: [[misty]]
- 優先順位: 低
- 状態: 完了
- カテゴリー: 不具合報告
- 投稿日: 2010-08-17 (火) 16:00:50
- バージョン: 

** メッセージ [#jace6298]
http://bugs.gentoo.org/261332 を参照して作ったパッチです。

 
 --- freedesktop.org.xml.netpbm  2009-04-11 00:01:09.000000000 +0900
 +++ freedesktop.org.xml 2010-04-03 23:31:39.000000000 +0900
 @@ -14731,12 +14731,10 @@
      <magic priority="50">
        <match value="P1" type="string" offset="0">
          <match value="0x0a" type="byte" offset="2">
 -         <match value="#" type="string" offset="3"/>
          </match>
        </match>
        <match value="P4" type="string" offset="0">
          <match value="0x0a" type="byte" offset="2">
 -         <match value="#" type="string" offset="3"/>
          </match>
        </match>
      </magic>
 @@ -14774,12 +14772,10 @@
      <magic priority="50">
        <match value="P2" type="string" offset="0">
          <match value="0x0a" type="byte" offset="2">
 -         <match value="#" type="string" offset="3"/>
          </match>
        </match>
        <match value="P5" type="string" offset="0">
          <match value="0x0a" type="byte" offset="2">
 -         <match value="#" type="string" offset="3"/>
          </match>
        </match>
      </magic>
 @@ -14817,12 +14813,10 @@
      <magic priority="50">
        <match value="P3" type="string" offset="0">
          <match value="0x0a" type="byte" offset="2">
 -         <match value="#" type="string" offset="3"/>
          </match>
        </match>
        <match value="P6" type="string" offset="0">
          <match value="0x0a" type="byte" offset="2">
 -         <match value="#" type="string" offset="3"/>
         </match>
        </match>
      </magic>
 
shared_mime_info パッケージの /usr/share/mime/packages/freedesktop.org.xml に当てて、
update-mime-database /usr/share/mime すると webcollage が動作するようになります。

--------
- ざっと見、PBM/PGM/PNM系のデータの3バイト目の#までを見てたのを見なくするためのパッチみたいですね。確かPBM/PGM/PNMの3バイト目からって # で始まるコメントだったと思ったけど、webcollageの画像データはそうなっていない、みたいな世界なのかな? -- [[kojima]] &new{2010-08-19 (木) 16:16:58};
- 調べてみたら shared-mime-info は 0.71 になっているけど、該当箇所は変ってなかったので、このバージョンにパッチをあてて更新してみます -- [[kojima]] &new{2010-08-19 (木) 16:18:26};
- 4.73b2 では webcollage が動作するのを確認しました。ありがとうございます。 -- [[misty]] &new{2010-08-22 (日) 03:22:17};

#comment

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS