Hi,

[snip]

So, I managed to fix everything you mentioned.

> W: xul-ext-cryptocat: embedded-javascript-library 
> usr/share/xul-ext/cryptocat/chrome/content/data/js/lib/jquery/jquery.js 
> please use libjs-jquery
> W: xul-ext-cryptocat: embedded-javascript-library 
> usr/share/xul-ext/cryptocat/chrome/content/data/js/lib/strophe/strophe.js 
> please use libjs-strophe

But I fail to correctly symlink the files of libjs-strophe and libjs-jquery.

I've tried to patch the source code, but it seems that doing that kind
of thing

-<script type="application/javascript"
src="js/lib/jquery/jquery.js"></script>
+<script type="application/javascript"
src="./../../../../../javascript/jquery/jquery.js"></script>

does not work.

(I saw that the sieve extension does it like that.)

I suppose that I can't get out of this kind of sandboxed URL
chrome://cryptocat/content/data/

I also tried to symlink the files but i get a 404, for example :

file:///usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/crypto...@crypto.cat/chrome/content/data/js/lib/jquery/jquery.js
not found

But the symlink in
/usr/share/xul-ext/cryptocat/chrome/content/data/js/lib/ looks like this:

jquery.js -> /usr/share/javascript/jquery/jquery.js


Not quite sure what I miss here.
Do you have any examples where this actually works?
Will continue searching..

Cheers!
u.

_______________________________________________
Pkg-mozext-maintainers mailing list
Pkg-mozext-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-mozext-maintainers

Reply via email to