[Pkg-javascript-devel] Bug#849684: python-matplotlib: adequate reports broken symlink for python-matplotlib at jquery-ui.min.css

Ryan Tandy ryan at nardis.ca
Fri Feb 3 04:08:53 UTC 2017


Control: reassign -1 libjs-jquery-ui 1.12.1+dfsg-1

Hi Paul,

(I found a link to this bug on the submitter's blog, via planet.d.o.)

On Fri, Jan 27, 2017 at 08:38:24PM +0100, Paul Gevers wrote:
>I also checked on my system, the link is there.
>paul at testavoira ~ $ COLUMNS=80 dpkg -l libjs-jquery-ui | grep ^ii
>ii  libjs-jquery-u 1.12.1+dfsg- all          JavaScript UI library for
>dynamic
>
>paul at testavoira ~ $ dpkg-query -S
>/usr/share/javascript/jquery-ui/css/smoothness
>libjs-jquery-ui: /usr/share/javascript/jquery-ui/css/smoothness
>
>paul at testavoira ~ $ ls -al /usr/share/javascript/jquery-ui/css/smoothness
>lrwxrwxrwx 1 root root 14 okt 16 16:44
>/usr/share/javascript/jquery-ui/css/smoothness -> ../themes/base

This is the case for clean installs, but if one upgrades from a previous 
version, the directory is not converted to a symlink. A call to 
dpkg-maintscript-helper should be all that is needed to resolve it. 

The attached patch contains an attempt at that. Tested by installing 
libjs-jquery-ui in a jessie chroot and upgrading to sid.

before:

# ls -ld /usr/share/javascript/jquery-ui/css/smoothness/
drwxr-xr-x 3 root root 4096 Feb  3 03:14 /usr/share/javascript/jquery-ui/css/smoothness/

after:

# ls -ld /usr/share/javascript/jquery-ui/css/smoothness
lrwxrwxrwx 1 root root 43 Feb  3 03:20 /usr/share/javascript/jquery-ui/css/smoothness -> ../themes/base

Hope this helps,
Ryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-dir-to-symlink-conversion-for-css-smoothness.patch
Type: text/x-diff
Size: 1192 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20170202/7b51b7e4/attachment.patch>


More information about the Pkg-javascript-devel mailing list