Man 1 ch12s07: Difference between revisions
Jump to navigation
Jump to search
Created page with '__NOTOC__ __NOEDITSECTION__ {{Man1top |lang=en |rev=1.0.6 |Title=7. Patches |prev=Man 1 ch12s06 |Subtitle=Chapter XII. Development guidelines |next=Man 1 ch12s08 }…' |
No edit summary |
||
Line 9: | Line 9: | ||
|next=Man 1 ch12s08 | |next=Man 1 ch12s08 | ||
}} | }} | ||
'''PLEASE SEE [[Sending Patches]] !''' | |||
== 7. Patches == | == 7. Patches == | ||
Before starting to code: | Before starting to code: | ||
Line 17: | Line 19: | ||
Before creating the patch: | Before creating the patch: | ||
# Run | # Run '''make distclean && ./configure && make''' and test if it runs successfully | ||
# If you have the possibility do this both with gcc-2.95 and gcc-3.x as compiler | # 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: | Now create the patch. Assuming that you have two directories, original-tree and my-tree: | ||
# Run | # Run '''make distclean''' in both trees | ||
# cd to the parent directory of both trees | # cd to the parent directory of both trees | ||
# Run | # Run '''diff -Naur original-tree my-tree | bzip2 -9c > patchbla.diff.bz2''' | ||
Latest revision as of 09:57, 20 September 2009
Please consider to upgrade to Bluefish 2!
Please consider to edit the Manual 2!
How To edit the Wiki ManualPLEASE SEE Sending Patches !
7. Patches
Before starting to code:
- Update your SVN tree, or alternatively download the latest snapshot
- Copy this original tree, so you can make a patch against this tree
Before creating the patch:
- Run make distclean && ./configure && make and test if it runs successfully
- 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:
- Run make distclean in both trees
- cd to the parent directory of both trees
- Run diff -Naur original-tree my-tree | bzip2 -9c > patchbla.diff.bz2