RE: Bug#338191: Endianess change workaround
Hi,
> png_set_swap() seems to be the libpng's function that has to
> be called
> to do such a trick, and since it's already part of d-i udebs there
> should be no problem in using it.
> This would let gtk-rooyskel unchanged since PNG swapping is done at
> runtime by gtk.so.
> But how can i know if the PNG swap has to be performed or not? a new
> boolean question (debconf/pngswap=TRUE/FALSE ? ), should be
> preset at
> ISO build/boot time i think..
The code could be something like
#ifdef NEEDS_BYTE_SWAPPING
do png_set_swap() tricke
#else
normal code
#
And NEEDS_BYTE_SWAPPING would defined at compile time for the arches
thet need it
Ciao,
Davide
Reply to: