Hi Joseph! =) On 6/19/06, Joseph Smidt <[EMAIL PROTECTED]> wrote:
How do you correctly apply .patch files without cdbs? Do you just have to hardcode all the "patch" commands into debian/rules?
That's one way: you can obviously have some shell snippet in debian/rules that would scan a directory for patches to the pristine source then apply those in some order. Then again, you would proably put that snippet in a separate file that debian/rules can include. But by the time you get to do this, you've reinvented the wheel, which is nice if you're trying to understand things. Dpatch, CDBS, et al. simplifies this at the cost of an additional package (or two) to B-D on, but I think many would find this to be a better tradeoff than managing a mixed-up patchset. AIUI debhelper doesn't do build-time patching at all; most of the stuff it does is called upon the `install-*' and `binary-*' targets. Another way would be to maintain packages within a version control system. ${INSERT_YOUR_FAV_VC_HERE}-buildpackage gives you yet another loose piece of rope to hang yourself on :P Cheers, Zakame -- Zak B. Elep || http://zakame.spunge.org [EMAIL PROTECTED] || [EMAIL PROTECTED] 1486 7957 454D E529 E4F1 F75E 5787 B1FD FA53 851D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]