Root/kicad-patches/README

1First build
2-----------
3
4bzr checkout -r 3494 lp:kicad kicad.bzr
5cd kicad.bzr
6ln -s wherever/eda-tools/kicad-patches patches
7quilt push -a
8cmake -DKICAD_TESTING_VERSION=ON .
9make -j 5
10make install
11
12
13Rebuild with new/changed patches
14--------------------------------
15
16# update the patches
17git pull
18
19# rebuild KiCad
20cd wherever/kicad.bzr
21quilt pop -af
22quilt push -a
23cmake -DKICAD_TESTING_VERSION=ON .
24make -j 5
25make install
26
27
28Rebuild with a new version of KiCad
29-----------------------------------
30
31cd wherever/kicad.bzr
32quilt pop -a
33bzr update
34bzr update -r 3494 # if different from latest
35quilt push -a
36cmake -DKICAD_TESTING_VERSION=ON .
37make -j 5
38make install
39
40
41Alternative process to uplevel patches to latest KiCad
42------------------------------------------------------
43
44git clone git@projects.qi-hardware.com:eda-tools.git
45
46bzr branch lp:kicad
47cp -a kicad kicad.<latest_kicad_rev>
48cd kicad
49
50# apply patches manually
51patch --dry-run -p1 < ../eda-tools/kicad-patches/cmdline_{new,common,eeschema,pcbnew}.patch
52# check with --dry-run, apply carefully, go through .rej files
53# delete all .rej and .orig files
54
55# build latest KiCad with upleveled patches
56cmake -DKICAD_TESTING_VERSION=ON .
57make -j 5
58
59# test cmdline functionality
60cd ../eda-tools/kicad-cmdline-testing
61./kicmd_test clean
62./kicmd_test test
63# check that the output files look right, no crashes, no dialogs and
64# that a subsequent ./kicmd_test clean will find and delete all
65# expected files
66
67./eda-tools/kicad-patches/kicad_diff.sh <latest_kicad_rev>
68# check patches, move to eda-tools/kicad-patches, update doc, check
69# that it applies clean, commit
70

Archive Download this file

Branches:
master



interactive