Subject: Re: [bug#39636] [PATCH 6/6] gnu: kicad: Add translations and search paths.

From: Brice Waegeneire <[email-masked]>
Date: Wed, 19 Feb 2020 19:07:32 +0000

On 2020-02-19 15:35, Danny Milosavljevic wrote:
>> +    (native-search-paths
>> +     (list (search-path-specification
>> +            (variable "KICAD_TEMPLATE_DIR")
>> +            (files '("share/kicad/template")))
>> +           (search-path-specification
>> +            (variable "KICAD_SYMBOL_DIR") ; symbol path
>> +            (files '("share/kicad/library")))
>> +           (search-path-specification
>> +            (variable "KISYSMOD")       ; footprint path
>> +            (files '("share/kicad/modules")))
>> +           (search-path-specification
>> +            (variable "KISYS3DMOD")     ; 3D model path
>> +            (files '("share/kicad/modules/packages3d")))))
> 
> What is the effect of these?
> 
> Otherwise fine, I'll apply all of those, but I'm just wondering what 
> the above
> is for because I've seen thousands of packages and very very few have 
> that,
> and even fewer "normal end user" programs do.

Note that in the 4th patch, the deleted package kicad-library, set 2 of 
those native-paths already. These variables allows KiCad to find the 
location of it's "libraries" packaged in the first patches of this 
series. For example "KISYSMOD" will enable KiCad to find the schematic 
symbol libraries provided by "kicad-symbols" or any other future package 
that would provide some.

This is particularly useful, when running the wizards on your firsts run 
of KiCad, to copy the global symbol library table without using the file 
browser half haphazardly to find the path to that particular library. 
With these environment variables set a user only need to use the 
recommended option.

You can find the related documentation here: 
https://docs.kicad-pcb.org/5.0.2/en/kicad/kicad.html#paths_configuration.