[Pkg-javascript-devel] Bug#847353: help with node-grunt-contrib-requirejs

Pirate Praveen praveen at onenetbeyond.org
Thu Dec 8 06:55:10 UTC 2016


[adding debian-ruby and #847353]

On വ്യാഴം 08 ഡിസംബര്‍ 2016 10:34 രാവിലെ, Pirate Praveen wrote:
> I think you are only checking for jquery-ui.js and not all the other files like jquery-ui/widgets/datepicker.js
> 
> I did not see any error in gitlab when using the embedded copy of jquery-ui in ruby-jquery-ui-rails (removed .links and installed app directory). So it has to be a bug in the build system.

I just found the root cause, ruby-jquery-ui-rails adds dependency
mapping at the top in addition to embedding the corresponding jquery-ui
files. There is a rake task to generate these files if we symlink
pkg-javascript/jqueryui directory to ruby-jquery-ui-rails/jquery-ui. I
think if we create node-jquery-ui package and add it as a build
dependency of ruby-jquery-ui-rails and symlink /usr/lib/nodejs/jquery-ui
to ruby-jquery-ui-rails/jquery-ui this will solve the problem.

ruby-jquery-ui-rails$ diff -u
app/assets/javascripts/jquery-ui/widgets/draggable.js
/usr/share/javascript/jquery-ui/ui/widgets/draggable.js
--- app/assets/javascripts/jquery-ui/widgets/draggable.js	2016-12-07
11:27:13.193475539 +0530
+++ /usr/share/javascript/jquery-ui/ui/widgets/draggable.js	2016-09-14
22:01:37.000000000 +0530
@@ -1,12 +1,3 @@
-//= require jquery-ui/widgets/mouse
-//= require jquery-ui/data
-//= require jquery-ui/plugin
-//= require jquery-ui/safe-active-element
-//= require jquery-ui/safe-blur
-//= require jquery-ui/scroll-parent
-//= require jquery-ui/version
-//= require jquery-ui/widget
-
 /*!
  * jQuery UI Draggable 1.12.1
  * http://jqueryui.com



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20161208/b3bbfb37/attachment-0001.sig>


More information about the Pkg-javascript-devel mailing list