Differences

This shows you the differences between two versions of the page.

devel:tools1 [2008/02/09 19:09] (current)
manni Page moved and renamed from tools to devel:tools1
Line 1: Line 1:
 +====== Tools for developers ======
 +
 +Devlopers may want to know (and share!) where to get certain tools mentioned in the documentation and how to use them.
 +
 +===== cvs =====
 +
 +If you are on a windows platform, please see the extra page about [[tools:cvs| cvs on windows]].
 +
 +===== diff / diff3 =====
 +
 +To produce patches you need a utility that will give compare the original and the changed version of a file. The [[http://www.delorie.com/djgpp/| DJGPP]] project has a large collection of Windows/DOS ports GNU tools. diff and diff3 are among them.
 +
 +==== Download ====
 +
 +Here is a link for the diff package (322 kB) on a German mirror:
 +[ftp://ftp.fh-koblenz.de/pub/DJGPP/current/v2gnu/dif28b.zip dif28b.zip]. The binaries you are looking for can be found in the "bin" subdirectory of the zip file. You can forget about the rest.
 +
 +Alternatively, you might want to install the cygwin package that also comes with diff and all its friends. You can get cygwin at http://www.cygwin.com
 +
 +=== Usage ===
 +
 +On the command line, just enter
 +<code>diff -b -c original_file changed_file > diff_file</code>
 +Where original_file is the name of the original, changed_file is the name of the file with your changes and diff_file is the file that should contain the diffs afterwards.
 +The -b option excludes changes to a files white space. The -c option includes context lines into the patch. People who are not working with an already patch version will thus be able to apply your patches.
 +
 +
 +===== patch =====
 +
 +If you want to incorporate a patch from someone else into your version of Popfile you need the patch program and a patch (or course).
 +
 +=== Download ===
 +
 +Again, there is a port of patch to DOS / Windows included in the [[http://www.delorie.com/djgpp| DJGPP]] package. And here is the link to a fast, German mirror:
 +[ftp://ftp.fh-koblenz.de/pub/DJGPP/current/v2gnu/pat253b.zip pat253b.zip] (114 kB).
 +
 +And, again, patch is also included in the cygwin distribtution (http://www.cygwin.com).
 +
 +=== Usage ====
 +
 +<code>patch file_to_be_patched patch</code>
 
devel/tools1.txt · Last modified: 2008/02/09 19:09 by manni

Should you find anything in the documentation that is incomplete, unclear, outdated or just plain wrong, please let us know and leave a note in the Documentation Forum.

Recent changes RSS feed Donate Driven by DokuWiki
The content of this wiki is protected by the GNU Fee Documentation License