Development - Patches: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
Fal7i (talk | contribs)
m Created page with '__NOTOC__ __NOEDITSECTION__ {{Man2top |lang=en |rev=2.0.0 |st=d |Title=7. Patches |prev=Man 2 ch12s06 |Subtitle=Chapter XII. Development guidelines |next=Man 2 ch1…'
 
m moved Man 2 ch12s07 to Development - Patches: Title updates (BV)
 
(No difference)

Latest revision as of 11:16, 9 July 2010



PLEASE SEE Sending Patches !

7. Patches

Before starting to code:

  1. Update your SVN tree, or alternatively download the latest snapshot
  2. Copy this original tree, so you can make a patch against this tree

Before creating the patch:

  1. Run make distclean && ./configure && make and test if it runs successfully
  2. If you have the possibility do this both with gcc-2.95 and gcc-3.x as compiler

Now create the patch. Assuming that you have two directories, original-tree and my-tree:

  1. Run make distclean in both trees
  2. cd to the parent directory of both trees
  3. Run diff -Naur original-tree my-tree | bzip2 -9c > patchbla.diff.bz2