[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mass bug filing about packages manipulating/deleting shipped files



On 23.09.2012 19:21, Darren Salt wrote:
> I demand that Andreas Beckmann may or may not have written...
> 
> [snip]
>> xine-ui_0.99.7-1
>>   /var/lib/xine/xine.desktop
> 
>> These seem to be some state/registry/... files that are updated during
>> postinst.
> 
> That and gxine.desktop (at least) are updated then because the list of
> supported MIME types may vary depending on which xine-lib packages are
> installed.
> 
>> What should we do with these? Unfortunately I didn't find a policy
>> reference that forbids this ...
> 
> If you have better ideas concerning these, I'm listening...

you could let the xine-lib packages install corresponding desktop files
for the mime-types they support.

okular (document viewer) has a similar problem. Depending on which
features you enable during configure the list of supported mime types
varies.
The way okular solves this is to install separate desktop files [1]. If
you enable support for format x, it installs a corresponding desktop file.

A similar approach should work for xine-lib.

HTH,
Michael

[1] # ls /usr/share/applicatins/kde4/okularApplication_*
okularApplication_comicbook.desktop  okularApplication_ghostview.desktop
 okularApplication_plucker.desktop
okularApplication_dvi.desktop        okularApplication_kimgio.desktop
  okularApplication_xps.desktop
okularApplication_fax.desktop        okularApplication_ooo.desktop
okularApplication_fb.desktop         okularApplication_pdf.desktop

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: