[media] DocBook: Use base64 for gif/png files
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 16 Jun 2011 02:13:19 +0000 (23:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:52:59 +0000 (17:52 -0300)
commitbd7319dc325ac327ddb3777564361bd4186ecdb6
treef4fcd674a4d1326dab7f81d4d4e508f28651a784
parent2c87d9db46d1dcc956facaf98805d4d68b823b23
[media] DocBook: Use base64 for gif/png files

The patch utility doesn't work with non-binary files. This causes some
tools to break, like generating tarball targets and the scripts that
generate diff patches at http://www.kernel.org/pub/linux/kernel/v2.6/.

So, let's convert all binaries to ascii using base64, and add a
logic at Makefile to convert them back into binaries at runtime.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Reported-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
27 files changed:
Documentation/DocBook/.gitignore
Documentation/DocBook/Makefile
Documentation/DocBook/media/Makefile
Documentation/DocBook/media/bayer.png.b64 [new file with mode: 0644]
Documentation/DocBook/media/crop.gif.b64 [new file with mode: 0644]
Documentation/DocBook/media/dvb/dvbstb.png [deleted file]
Documentation/DocBook/media/dvbstb.png.b64 [new file with mode: 0644]
Documentation/DocBook/media/fieldseq_bt.gif.b64 [new file with mode: 0644]
Documentation/DocBook/media/fieldseq_tb.gif.b64 [new file with mode: 0644]
Documentation/DocBook/media/nv12mt.gif.b64 [new file with mode: 0644]
Documentation/DocBook/media/nv12mt_example.gif.b64 [new file with mode: 0644]
Documentation/DocBook/media/pipeline.png.b64 [new file with mode: 0644]
Documentation/DocBook/media/v4l/bayer.pdf [deleted file]
Documentation/DocBook/media/v4l/bayer.png [deleted file]
Documentation/DocBook/media/v4l/crop.gif [deleted file]
Documentation/DocBook/media/v4l/fieldseq_bt.gif [deleted file]
Documentation/DocBook/media/v4l/fieldseq_tb.gif [deleted file]
Documentation/DocBook/media/v4l/nv12mt.gif [deleted file]
Documentation/DocBook/media/v4l/nv12mt_example.gif [deleted file]
Documentation/DocBook/media/v4l/pipeline.png [deleted file]
Documentation/DocBook/media/v4l/subdev-formats.xml
Documentation/DocBook/media/v4l/vbi_525.gif [deleted file]
Documentation/DocBook/media/v4l/vbi_625.gif [deleted file]
Documentation/DocBook/media/v4l/vbi_hsync.gif [deleted file]
Documentation/DocBook/media/vbi_525.gif.b64 [new file with mode: 0644]
Documentation/DocBook/media/vbi_625.gif.b64 [new file with mode: 0644]
Documentation/DocBook/media/vbi_hsync.gif.b64 [new file with mode: 0644]