[Pkg-roundcube-maintainers] Bug#656886: roundcube: problems with symlinks in /var/lib/roundcube/plugins/

Vincent Bernat bernat at debian.org
Sat Feb 4 09:00:27 UTC 2012


OoO Lors de la soirée naissante du dimanche 22 janvier 2012, vers 18:02,
"Marc Dequènes (Duck)" <duck at duckcorp.org> disait :

> Thanks for adding the jquery plugin in the core. Nevertheless there is
> small problem with the symlinks. As /usr/share/roundcube/plugins is in
> fact /var/lib/roundcube/plugins, and the generated symlinks are
> relative, it fails to load:
> # ll /usr/share/roundcube/plugins/jqueryui/js/jquery-ui.min.js
> lrwxrwxrwx 1 root root 49 Jan  2 21:49
> /usr/share/roundcube/plugins/jqueryui_pkg/js/jquery-ui.min.js ->
> ../../../../javascript/jquery-ui/jquery-ui.min.js

> This problem also arise for the contextmenu plugin, and maybe others.

> According to debian/roundcube-core.links you used absolute path to the
> /usr/share/javascript directory, but unfortunately dh_link generate
> relative paths (duuno why). I just rebuilt your package to unsure any
> local modification from before the jqueryui plugin was shipped is not
> in the way, but debc just confirm this issue.

Sorry for the delayed answer. I do not have this problem on my PC:

$ ls -l /usr/share/roundcube/plugins/jqueryui/js/jquery-ui.min.js
lrwxrwxrwx 1 root root 49 janv. 22 12:37 /usr/share/roundcube/plugins/jqueryui/js/jquery-ui.min.js -> ../../../../javascript/jquery-ui/jquery-ui.min.js
$ ls -lH /usr/share/roundcube/plugins/jqueryui/js/jquery-ui.min.js
-rw-r--r-- 1 root root 219321 janv. 24 21:19 /usr/share/roundcube/plugins/jqueryui/js/jquery-ui.min.js
$ ls -l /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js
lrwxrwxrwx 1 root root 49 janv. 22 12:37 /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js -> ../../../../javascript/jquery-ui/jquery-ui.min.js
$ ls -lH /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js
-rw-r--r-- 1 root root 219321 janv. 24 21:19 /var/lib/roundcube/plugins/jqueryui/js/jquery-ui.min.js

I don't  understand where  jqueryui_pkg comes from  in your  output. You
type "plugins/jqueryui" and  you get "plugins/jqueryui_pkg". Moreover, I
have no such  directory on my system.  Maybe you have  an old version of
roundcube-plugins-extra?
-- 
Vincent Bernat ☯ http://vincent.bernat.im

 /* Identify the flock of penguins.  */
	2.2.16 /usr/src/linux/arch/alpha/kernel/setup.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20120204/704c89c2/attachment.pgp>


More information about the Pkg-roundcube-maintainers mailing list