[Build-common-hackers] Bug#202389: Binary patches support

Chris Halls Chris Halls <halls@debian.org>, 202389@bugs.debian.org
Sat, 19 Jul 2003 17:56:15 +0200


Package: cdbs
Version: 0.4.4
Severity: wishlist

I talked to jbailey at debcamp about what we would need in cdbs if we
wanted to use it for the openoffice.org packages.  One thing that we
need to do occasionly is to apply binary patches to files, for example
when adding a new language, which includes translated toolbar bitmaps in
.bmp format.

Our hacked version of dbs recognises patches with the extension .uu, and
pipes them through uudecode before running patch.

The change would require replacing the 
'cat $$patch' with 'uudecode -o/dev/stdout $$patch' in the patch/unpatch
rules when the patch extension was .patch.uu

Chris