IMPORTANT: broken pixmaps in svn

Jasper Huijsmans jasper at xfce.org
Tue Apr 5 12:30:57 CEST 2005


On Tue, Apr 05, 2005 at 11:54:59AM +0200, Auke Kok wrote:
> Jasper Huijsmans wrote:
> 
> >On Tue, Apr 05, 2005 at 11:20:55AM +0200, Auke Kok wrote:
> > 
> >
> >>Tuukka M?kinen wrote:
> >>
> >>   
> >>
> >>>Brian J. Tarricone wrote:
> >>>
> >>>     
> >>>
> >>>>It looks like something went wrong.  In xfce4-icon-theme, all of the
> >>>>.png files are broken. 
> >>>>       
> >>>>
> >>>I checked few of the files for fun(?) and noticed that they are mostly 
> >>>ok but png header is broken for some reason. According to this page 
> >>>http://mindprod.com/jgloss/png.html
> >>>
> >>>png file should start with \211PNG\r\n\032\n (or 89504E470D0A1A0A in 
> >>>hex) but files I looked at started with 89504E470A1A0A. Notice the 
> >>>missing 0D = \r. In addition chunksize (=next 4 bytes in file) was 
> >>>0x0000000A in broken files when in correct one it was 0x0000000D.
> >>>     
> >>>
> >>I feared st like this, I noticed that the SVN png's were all 1 to 4 
> >>bytes smaller than the CVS versions.
> >>
> >>needless to say: four-letter-word
> >>
> >>options:
> >>
> >>1) recommit all png's (ugly and messy)
> >>   
> >>
> >
> >... but acceptable I think. svn rm *.png; <cp files>; svn add *.png; svn 
> >ci;
> >-- would that work?
> > 
> >
> 
> yes. definately. Is this workable for you? it could mean disaster for 
> olivier... the xfwm4 contains many many pngs.
> 

for i in */*.png; do
  svn rm $i
  cp /path/to/cvs/$i $i
  svn add $i
done

?

> sofar
> 
> 
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev



More information about the Xfce4-dev mailing list