← Back to team overview

kicad-developers team mailing list archive

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

 

Gerber and excellon are pretty specific mime-types.  My guess is most
distros will not provide mime-types for them.  We should provide the
mime-types for all file types supported by the various kicad apps.  If
distros need to modify them, I'm fine with leaving that up to the distro
package devs.  I we provide them, the package devs will have some idea
that kicad handles these file types.  Trying to guess what the needs of
each distro would be a never ending task.

On 5/30/2016 3:40 PM, Simon Wells wrote:
> do the fad engineering distros even define those types?
> 
> On Tue, May 31, 2016 at 7:35 AM, Chris Pavlina <pavlina.chris@xxxxxxxxx> wrote:
>> 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(-)
>>>>>
>>>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help   : https://help.launchpad.net/ListHelp
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
> 


Follow ups

References