← Back to team overview

kicad-developers team mailing list archive

PPA: library packages modifications

 

Dear All,


A big job is done currently on KiCad libraries. Footprints are now on a
same repo [1], dedicated repo for templates [2], symbols [3], 3D
packages [4]...
So it's now time to change PPA libraries package also...


*Previous situation:*

There is only one package for libs: kicad-library
This package contain all libraries:
- modules/footprints
- symbols
- templates
- 3D (not all, just a subset)

This content is based on git repo:
https://github.com/KiCad/kicad-library
and
https://github.com/KiCad/*.pretty


With this schema it is not possible to install only symbols or
symbols+footprints without 3D or any other combination.

New repositories size are more or less like this:
symbols: ~ 20M
templates: ~ 10M
footprints: ~130M
3D: ~ 4G

Have a single big package look to be not really acceptable since
everybody could choose to don't download 3D (for example) if it's not
required (or footprint...).


*New package situation:*

So I have reshaped packages:

kicad-library
kicad-library-footprints
kicad-library-packages3d
kicad-library-symbols
kicad-library-templates


kicad-library is a meta package. It had a dependency (recommend, not
strong) to each others.
The version of this package will be prefixed with a "1:" to put it on
the front of older version of kicad-library.

kicad-library-packages3d own all 3D. This package have a large size (~
330M, 4G on disk) . It will have a recommended dependency to
kicad-library-footprint

kicad-library-footprints own all footprints
kicad-library-symbols same with symbols
kicad-library-templates same with ... templates ;)

All kicad-library-* packages have a conflict constraint to
kicad-library << 1:0.1 and kicad-common (as before).
There is also a recommended dependency to kicad-library >= 1:0.1.

This last point will avoid cross installation between kicad-library
version since those packages are be incompatible (shared files...).


*Migration*

No specific action are required. Update will do his jobs automatically.
Anyway you can now install only one package if you want limit disk
space/download time...


If you experience any errors, please let me know ! Main error that can
be found is one file in two packages (file conflict)...


[1] https://github.com/KiCad/kicad-footprints
[2] https://github.com/KiCad/kicad-templates
[3] https://github.com/KiCad/kicad-symbols
[4] https://github.com/KiCad/kicad-packages3D



Follow ups