Bug#798003: freeimage: please change FreeImage.h encoding

Ghislain Vaillant ghisvail at gmail.com
Sun Nov 22 14:07:42 UTC 2015


Hi Christophe,

 > could you please change the encoding on installed FreeImage.h header?
 > The actual encoding is no longer ASCII since you introduced a second 
 > author "hervé".
 > This change may cause some packages to FTBS.

You meant *upstream* introduced a second author, not us?

I saw that Fedora is solving the inconsistent encoding by converting all 
source files to UTF-8 [1]. Would that solve your problem?

[1] https://apps.fedoraproject.org/packages/freeimage/

 > Trying to install salome from source FTBS because of this change.
 > The installer tries to recover FreeImage version by using grep > 
VERSION in FreeImage.h

 > The non ASCII encoding somehow breaks this as the grep command no
 > longer returns the lines including "VERSION". Instead the grep
 > command return a message "Binary .... matches".

 > Changing "hervé" to herve fix the problem.

Sounds that the version parsing of `salome` is a bit fragile too.

Ghis



More information about the debian-science-maintainers mailing list