I sometimes need to change something in the source code of linuxcnc to make it fit for some special purpose that I find I need.
Remembering the changes made and reproducibly being able to apply them even after years can get tricky. After all, forgetting little details in only human.
That is why building your own .deb packages can be a good idea.
So these are the steps I use:
First get the source from git to the directory linuxcnc-mydevel
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-mydevel cd linuxcnc-mydevel git branch --track v2.5_branch origin/v2.5_branch git checkout v2.5_branch
Then edit the source, try out your stuff, compile and run linuxcnc in-place until your are satisfied with your changes and everything works.
Then write something useful into the changelog
And if you are building the .deb packages from a clean source tree you might need to run
cd debian; ./configure -r; cd ..
Then start the build of your packages and go for lunch
time debuild -i -us -uc -b
If the compilation and the build of the .deb packages completed without errors, then you will find your .deb packages in the parent directory ( the one which contains the linuxcnc-mydevel directory which be created earlier in the git clone).
Page current as of 18.07.2013, Maximilian H