ubuntu is a derivation of debian so maybe this will help, I'm not on anything related to either and it gave me the info I needed. I needed to build a custom kicad and it was painful. Between cmake and wxwidgets and broken kicad cmake files and some other things it was a a nightmare. Please note I said "maybe".
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736180Quote:
"Finally i was success with the testing's KiCad version. Steps below.
Whole problem is coming from the change of footprints/modules syntax.
The KiCad was moved from the .mod files to the .pretty directories. But
this behavior became default from the bzr revision r4535, and the
library repository was changed and the .mod files was removed from it.
But old footprints repository is archived here:
https://code.launchpad.net/~dickelbeck/kicad/library-read-onlyThe new .pretty footprints format seems to be nice, because KiCad is
moving from libraries where more footprints was in one common file(s)
and new format is only one footprint in one .mod file and librery is
the directory which name ends with .pretty.
How to get old .mod files back to KiCad:
1, clone the bzr repo somewhere (i use the /tmp dir):
cd /tmp
bzr branch lp:~dickelbeck/kicad/library-read-only
2, make and install it:
cmake .
make
sudo make install
- they will be installed into /usr/local/share/kicad, where kicad
can find them
3, create the footprints.pdf:
cd /usr/local/kicad/modules/footprints_doc
psmerge -ofootprints.pdf merge_ps-files.ps
Due naming changes (mostly only uppercase), the kicad.pro
need to be updated:
1, copy /usr/share/kicad/template/kicad.pro somewhere into writable dir
1a, open copied kicad.pro in kicad
2, open cvpcb from kicad, go to Preferences - Libraries, remove all
missing libraries and add new from /usr/share/kicad/modules/
2a, if one want, do the same for the Footprint alias files
3, open pcbnew from kicad, go to Preferences - Libraries, check
that libraries was changed
3b, set the path to the footprints.pdf
4, close kicad
5, copy kicad.pro back to the /usr/share/kicad/template/ (need root)
I suggest to make backup of the kicad.pro file, because it will be
changed on kicad-common update. Or do dpkg-divert on it...
To make the "New from template" to work, one can create symlink:
cd /usr/share
sudo ln -s kicad/template template
The steps need to do for all old .pro files or delete the project file
and create the new one..."
One other thing (of way too many), the library mentioned was recently modified, the last commit removed all the files so you need to use the -r flag to bzr and use the next to last revision.