Re: binary files in diff
"Jaldhar H. Vyas" <jaldhar@debian.org> wrote:
> On Wed, 8 Nov 2006, Darren Salt wrote:
>
>> I demand that Frank Gevaerts may or may not have written...
>>
>>> I need to add a binary file (a png icon) to my package. What is the best
>>> way to do this, since the "normal" .diff generation does not support this ?
>>
>> UUcode seems to be the usual way (needs sharutils).
>>
>>
>
> Note perl has the ability to uudecode and encode builtin (perldoc -f
> pack or unpack and look at the u option.) As perl is an essential
> package, by using it you can save yourself a needless dependency.
Ah, that's great. Can you give a short usage example - I would then
prepare a patch for the developer's reference.
TIA, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: