CONTENTS: How to make a patch for a port Make a patch for a port ========================= To make a patch from KDE CVS that can be added directly to a port: cd kde-cvs-module # The top level, not any deeper diff -u3 path/to-oldfile path/to-newfile > patch-path-to-file # make sure to use relative paths Check out the ports or area51 module from sirius, as appropriate Find the port that you want to patch. For instance, if you just made a patch in kdebase, the port is in x11/kdebase3 If a files directory exists (e.g. x11/kdebase3/files ) cvs add and commit the file directly there. If it doesn't exist, create it. Note the patches are applied alphabetically, and must be named something beginning with "patch-". The rest of the file name is arbitrary, but we tend to use the path with dash delimiters. For instance if the file to patch is: kdebase/kdm/frontend/genkdmconf.c the patch name is: patch-kdm-kfrontend-genkdmconf.c KDE-CVS Modules <--> Ports locations mapping ============================================ accessibility accessibility/kdeaccessibility arts audio/arts kdeaddons misc/kdeaddons3 |_| |_|- games/atlantikdesigner |_|- editors/kate-plugins |_|- editors/vimpart |_|- misc/kfile-plugins |_|- misc/kicker-applets |_|- misc/knewsticker-scripts |_|- misc/konq-plugins |_|- misc/ksig |_|- misc/renamedlgplugins |_|- multimedia/noatun-plugins |_|- net/kontact-plugins kdeadmin sysutils/kdeadmin3 kdeartwork x11-wm/kdeartwork3 kdebase x11/kdebase3 kdeedu misc/kdeedu3 kdegames games/kdegames3 kdegraphics graphics/kdegraphics3 kdelibs x11/kdelibs3 kdemultimedia misc/kdemultimedia3 kdenetwork net/kdenetwork3 kdesdk devel/kdesdk3 kdetoys x11-clocks/kdetoys3 kdeutils misc/kdeutils3 kdevelop devel/kdevelop koffice editors/koffice-kde3 qt x11-toolkits/qt32 quanta www/quanta
To edit this content, you must have an account on sirius:
setenv CVS_RSH ssh # if required cvs -d<user>@sirius.firepipe.net:/home/kde-freebsd co devdocs
This file is called: cheat-sheet
Content last modified: Friday, 13-Feb-2004 22:42:03 CET