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@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@testavoira ~ $ dpkg-query -S /usr/share/javascript/jquery-ui/css/smoothness libjs-jquery-ui: /usr/share/javascript/jquery-ui/css/smoothness paul@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
>From e15caf0ad1125656ad294b68225caa2c6d49914c Mon Sep 17 00:00:00 2001 From: Ryan Tandy <[email protected]> Date: Thu, 2 Feb 2017 19:22:21 -0800 Subject: [PATCH] Add dir to symlink conversion for css/smoothness --- debian/changelog | 7 +++++++ debian/libjs-jquery-ui.maintscript | 1 + 2 files changed, 8 insertions(+) create mode 100644 debian/libjs-jquery-ui.maintscript diff --git a/debian/changelog b/debian/changelog index d0ca0ca..8fae77a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +jqueryui (1.12.1+dfsg-4) UNRELEASED; urgency=medium + + * Convert /usr/share/javascript/jquery-ui/css/smoothness to a symlink upon + upgrade from older versions. (Closes: #849684) + + -- Ryan Tandy <[email protected]> Thu, 02 Feb 2017 19:01:15 -0800 + jqueryui (1.12.1+dfsg-3) unstable; urgency=medium * Provide node-jquery-ui (Closes: #847353) diff --git a/debian/libjs-jquery-ui.maintscript b/debian/libjs-jquery-ui.maintscript new file mode 100644 index 0000000..12f3bbc --- /dev/null +++ b/debian/libjs-jquery-ui.maintscript @@ -0,0 +1 @@ +dir_to_symlink /usr/share/javascript/jquery-ui/css/smoothness ../themes/base 1.12.1+dfsg-4~ -- 2.1.4
-- Pkg-javascript-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
