Man 1 ch12s07: Difference between revisions

From Bluefish Wiki
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 <tt>'''make distclean && ./configure && make'''</tt> and test if it runs successfully
# 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 <tt>'''make distclean'''</tt> in both trees
# Run '''make distclean''' in both trees
# cd to the parent directory of both trees
# cd to the parent directory of both trees
# Run <tt>'''diff -Naur original-tree my-tree | bzip2 -9c > patchbla.diff.bz2'''</tt>
# Run '''diff -Naur original-tree my-tree | bzip2 -9c > patchbla.diff.bz2'''





Latest revision as of 10:57, 20 September 2009


Please consider to upgrade to Bluefish 2!

Please consider to edit the Manual 2!

How To edit the Wiki Manual
{{#if:7. Patches|
7. Patches
}}
Prev }}
Chapter XII. Development guidelines
}}
 Next
}}

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


Prev }}
Up
}}
 Next
}}
6. File reference}}
Home | ToC
 8. Translations
}}