← Back to team overview

marionnet-dev team mailing list archive

[Branch ~marionnet-drivers/marionnet/trunk] Rev 478: Fixed some PNG files in order to prevent errors with libpng>=1.6. Example of error messages launc...

 

------------------------------------------------------------
revno: 478
committer: Jean-Vincent Loddo <loddo@xxxxxxxxxxxxxxxxxxxx>
branch nick: marionnet
timestamp: Tue 2016-10-04 16:49:04 +0200
message:
  Fixed some PNG files in order to prevent errors with libpng>=1.6. Example of error messages launching marionnet in a GNU/Linux distribution with a recent version of libpng:
  ---
  Fatal error: exception GdkPixbuf.GdkPixbufError(5, "Failed to load image '/usr/local/share/marionnet/images/launcher-icons/marionnet-launcher.png':
  Fatal error in PNG image file: IDAT: invalid distance too far back")
  ---
  The problem was solved installing pngfix (from http://downloads.sourceforge.net/libpng/libpng-1.6.24.tar.xz) then launching something like :
  for i in $(pngfix $(find -name "*.png") | grep TFB | awk '{print $NF}'); do pngfix -o --out=/tmp/ok.png $i; cat /tmp/ok.png > $i; done
  Thanks to Franck Butelle for the bug report and for suggesting pngfix.
modified:
  share/images/ico.cable-serial-left-right.large.png
  share/images/ico.cable-serial-left-right.small.png
  share/images/ico.cable-serial.small.png
  share/images/ico.cable-serial.xxl.png
  share/images/ico.dado-no.24.png
  share/images/ico.dado.24.png
  share/images/ico.diffuser.orig.png
  share/images/ico.hardware-gray.small.png
  share/images/ico.resource-2.med.png
  share/images/ico.script-analyse-3.med.png
  share/images/ico.script-finish.med.png
  share/images/ico.script-start-2.med.png
  share/images/ico.software-gray.small.png
  share/images/ico.uml-gray.small.png
  share/images/ico.xml-16.inv.png
  share/images/launcher-icons/marionnet-launcher.png
  share/images/marionnet-launcher.png


--
lp:marionnet
https://code.launchpad.net/~marionnet-drivers/marionnet/trunk

Your team marionnet-dev is subscribed to branch lp:marionnet.
To unsubscribe from this branch go to https://code.launchpad.net/~marionnet-drivers/marionnet/trunk/+edit-subscription