[Pkg-lyx-devel] Bug#390279 and Lyx 1.4.3

Sven Hoexter sven at timegate.de
Tue Oct 17 12:46:39 UTC 2006


On Tue, Oct 17, 2006 at 11:11:59AM +0200, Per Olofsson wrote:
> Sven Hoexter:
> >    * Add a mime file and call dh_installmime -i
> 
> It's a good thing, but are you sure the MIME stuff you added is
> correct? For reference:
> 
> application/x-lyx;      lyx-qt %s;      nametemplate=%s.lyx; test=test "$DISPLAY" != "";     priority=5
> application/x-lyx;      lyx-xforms %s;  nametemplate=%s.lyx; test=test "$DISPLAY" != "";     priority=4
> application/x-lyx;      lyx-gtk %s;     nametemplate=%s.lyx; test=test "$DISPLAY" != "";     priority=3
> 
> 
> 1. If you look at /etc/mailcap, most apps seem to have '%s' instead of
>    just %s.
I looked through the files in /usr/lib/mime/packages/, according to the
dh_installmime manpage that's the place where the files should end up.
There I can find files using %s with and without quotation.

> 2. All MIME stuff is in lyx-common even though the other packages might
>    not have been installed. Shouldn't there be one mime file for each
>    arch package? (Alternatively, just one for the lyx package.)
Here I'd say to have the complete file in one package. That can of course
still be lyx but I think the frontends or at least lyx-common should depend
on the lyx package as it get's more and more usefull to have it installed.

> 3. Many have a description="..." as well.
>
> 4. Maybe an edit=... attribute would be good too, even if it's redundant.
> 
> This is not a show-stopper of course, I can upload the package anyway,
> but I'd probably revert the MIME changes first unless 1 and 2 are
> fixed. (I'm not sure what the correct fix is though because I haven't
> read the policy about this.)
I couldn't find much documentation on this issue yet. For the xml based
shared-mime-info are specs avaible etc.

-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]



More information about the Pkg-lyx-devel mailing list