← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH 3/5] Clean up the applications/*.destop files.

 

Perhaps. In general this should be the job of the distribution, but I'm not
sure we can count on the distributions to define such application-specific
types. Anyone else have comments on this?

On Mon, May 30, 2016 at 01:36:17PM -0500, José Ignacio wrote:
> On May 30, 2016 7:53 AM, "Chris Pavlina" <pavlina.chris@xxxxxxxxx> wrote:
> >
> > Committed with cleanups.
> >
> > I used application/x-gerber and application/x-excellon for Gerber and
> Excellon
> > formats. There is a bit of disagreement over the proper MIME types for
> those,
> > but those are what gerbv uses, so we might as well not be different just
> for
> > the sake of it. We should probably add an association between the mime
> type and
> > the usual extensions as well, as I don't think those are generally
> recognize -
> > not sure how to do that, perhaps you could follow up?
> 
> I'm inclined to let distributions define generic types like gerber and
> excellon. It would not be proper to define them in the kicad mime package
> imo, as they are not kicad-specific. I can write up a package for standard
> gerber files that can be installed optionally if the user doesnt have the
> mime type installed. If the mime type is installed by the system just
> putting the types in the .desktop as you did is sufficient.
> 
> >
> > We should reach out to the translators directly for translations.
> >
> > I've attached a diff from your version to mine so you can see what I
> changed.
> > You did the bulk of the work, so I still credited you.
> >
> > On Sun, May 29, 2016 at 06:30:40PM -0500, José Ignacio Romero wrote:
> > >
> > > Put all keys in consistent order and remove/fix bogus mime types, some
> > > assigned to programs that don't even open files. Those files could use
> > > some TLC from translators and people better at words than me to
> > > improve the wording and provide translated names and tooltips, I
> > > preserved some of the french that was already in the files.
> > > ---
> > >  .../linux/mime/applications/bitmap2component.desktop     | 12
> ++++++------
> > >  resources/linux/mime/applications/eeschema.desktop       | 16
> +++++++++-------
> > >  resources/linux/mime/applications/gerbview.desktop       | 13
> +++++++------
> > >  resources/linux/mime/applications/kicad.desktop          | 14
> ++++++++------
> > >  resources/linux/mime/applications/pcbcalculator.desktop  | 14
> +++++++-------
> > >  resources/linux/mime/applications/pcbnew.desktop         | 15
> ++++++++-------
> > >  6 files changed, 45 insertions(+), 39 deletions(-)
> > >
> >


Follow ups

References