mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2025-04-21 12:27:27 +03:00
upleveled cmdline patches to kicad bzr 3493
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
First build
|
||||
-----------
|
||||
|
||||
bzr checkout -r 3378 lp:kicad kicad.bzr
|
||||
bzr checkout -r 3493 lp:kicad kicad.bzr
|
||||
cd kicad.bzr
|
||||
ln -s wherever/eda-tools/kicad-patches patches
|
||||
quilt push -a
|
||||
@@ -23,3 +23,33 @@ quilt push -a
|
||||
cmake .
|
||||
make -j 5
|
||||
make install
|
||||
|
||||
Uplevel patches to latest KiCad
|
||||
-------------------------------
|
||||
|
||||
git clone git@projects.qi-hardware.com:eda-tools.git
|
||||
|
||||
bzr branch lp:kicad
|
||||
cp -a kicad kicad.<latest_kicad_rev>
|
||||
cd kicad
|
||||
|
||||
# apply patches manually
|
||||
patch --dry-run -p1 < ../eda-tools/kicad-patches/cmdline_{new,common,eeschema,pcbnew}.patch
|
||||
# check with --dry-run, apply carefully, go through .rej files
|
||||
# delete all .rej and .orig files
|
||||
|
||||
# build latest KiCad with upleveled patches
|
||||
cmake -DKICAD_TESTING_VERSION=ON .
|
||||
make -j 5
|
||||
|
||||
# test cmdline functionality
|
||||
cd ../eda-tools/kicad-cmdline-testing
|
||||
./kicmd_test clean
|
||||
./kicmd_test test
|
||||
# check that the output files look right, no crashes, no dialogs and
|
||||
# that a subsequent ./kicmd_test clean will find and delete all
|
||||
# expected files
|
||||
|
||||
./eda-tools/kicad-patches/kicad_diff.sh <latest_kicad_rev>
|
||||
# check patches, move to eda-tools/kicad-patches, update doc, check
|
||||
# that it applies clean, commit
|
||||
|
||||
Reference in New Issue
Block a user