On 10/07/11 09:10, ~suv wrote:
On 10/7/11 08:44, Hannes Hochreiner wrote:
recently, I noticed some problems with the JessyInk-extension causing errors in Firefox. The problem seems to be the hashbang line (#!/usr/bin/env js) that is present in the js files distributed in the debian package (used for example with Linux Mint Debian Edition). These lines are neither present in the repository nor in the tar-ball. Therefore, my guess is that they are added at the packaging stage.
Since the presence of a hashbang line breaks JessyInk, I wanted to ask whether it is possible to modify the packaging script in such a way that the lines are not added any more to the js files belonging to the JessyInk-extension (jessyInk.js, jessyInk_core_mouseHandler_noclick.js, jessyInk_core_mouseHandler_zoomControl.js). If packaging is not the problem please let me know, so that I can keep digging for the real cause.
AFAIU this only affected on some linux distributions (0.48.1 with custom patches on Ubuntu and Debian), and after having been reported on irc and in debian's bug tracker, was addressed in:
Bug #602005 "permissions of script files wrong/missing shebang lines" https://bugs.launchpad.net/inkscape/+bug/602005
(see comment #11 et seq.)
~suv
Thanks for pointing out the bug report to me and especially for taking care of the issue.
Cheers, Hannes