Re: Important desktop-wide change (MIME)



Is this not the wrong list for this sort of thing? Should the people
with an issue with the MIME spec not take it up on xdg-list? That's the
only place where a spec change is going to take place.

On Fri, 2004-07-23 at 15:51, Shahms King wrote:
> On Fri, 2004-07-23 at 16:31 +0200, Christian Neumair wrote:
> 
> > I absolutely dislike this proposal. How would the MIME system know that
> > the MIME list changed without crappy .desktop touching or newly
> > introduced notification complexity?
> > I've got a (hopefully) better proposal:
> > Different .desktop files for each plugin and a new field: MIMEMergeInto.
> > Example:
> > gst-player.desktop <-- Installed by the gst-player package [1]
> > gst-player-mpeg.desktop <-- Installed by gst MPEG plugin package,
> > contents:
> > [Desktop Entry]
> > Encoding=3DUTF-8
> > MIMEType=3Dvideo/mpeg
> > MIMEMergeInto=3Dgst-player.desktop
> >=20
> > gst-player.desktop will then support both, self.MIMEType and gst-player-
> > mpeg.MIMEType mime types.
> > Does the spec allow this kind of cropped entries? Does it form a huge
> > performance impact?
> >=20
> > regs,
> >  Chris
> >=20
> > [1] http://packages.debian.org/unstable/gnome/gstreamer-player
> 
> This doesn't really solve the problem.  You've just installed a
> gstreamer MPEG plugin, which means most gstreamer applications can now
> understand it, but the plugin author must now distribute a "merged"=20
> .desktop file for every single gstreamer application?  The CheckMimeType
> entry solves this because the plugin author (or packager) only has to
> run update-mime-database or update-desktop-database or some similar
> script after installation.
> 
> Perhaps the "MIMEMergeInto" is the right idea but backwards? Adding an
> "Include" key would probably work well.  Perhaps as a list of globs or
> something.  Then, gstreamer itself could install a .desktop file that
> had a line reading "Include=3D/usr/share/gstreamer/mime-types/*.desktop"
> or "Include=3D/usr/share/gstreamer/mime-types" or something similar and
> plugin authors could drop the minimal .desktop file there and every
> application that supported gstreamer MIME types would be updated
> "automagically".
> 





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