On 23.01.2004, at 21:23, Pierre Mazoyer wrote:
I am interested in helping to port some Unix software to Mac OS X with Fink; but I am not familiar with packaging systems.
Great! Welcome to the club.
I've read the packaging manual which was very useful to understand .info files. But I did not find any information about creating a .patch file.
By looking at some .patch files in /sw, I have understood I should run the diff command on every file I have patched to make the software able to compile on Mac OS X and copy and paste the results in a .patch file, am I right?
What i do normally is duplicate the whole source directory. E.g.
src/ src-patched/
Then test and change the files in src-patched until everything compiles. Then use something like
diff -Naur src src-patched > package.patch
to create the patch file. Rememeber to review the .patch file to only include the necessary changes. Also remember to run
fink validate package.info
and
fink validate package.deb
before submitting your package to the package submission tracker.
Is there some guidelines to follow in order to create .patch files?
Thank you for your help, and please remember I am just a beginner with Fink.
I hope that helped. And it is definitely a good idea to look at other, similar, package on how to do a correct info and patch file.
Chris.
PS: Please also check the package submission tracker first to make sure nobody else has already started porting your software.
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
