[Pkg-javascript-devel] Bug#705233: node-cssom: patch

Dafydd Harries daf at debian.org
Thu Apr 11 16:58:18 UTC 2013


Package: node-cssom
Followup-For: Bug #705233
Control: tags -1 +patch

It looks like upstream introduced a Jakefile.js upstream which generates
lib/index.js. Here is a patch that runs "jake lib" during build to
generate the file.

diff -Nru node-cssom-0.2.5/debian/clean node-cssom-0.2.5/debian/clean
--- node-cssom-0.2.5/debian/clean	1969-12-31 19:00:00.000000000 -0500
+++ node-cssom-0.2.5/debian/clean	2013-04-11 11:58:53.000000000 -0400
@@ -0,0 +1 @@
+lib/index.js
diff -Nru node-cssom-0.2.5/debian/control node-cssom-0.2.5/debian/control
--- node-cssom-0.2.5/debian/control	2013-04-09 18:03:22.000000000 -0400
+++ node-cssom-0.2.5/debian/control	2013-04-11 11:54:50.000000000 -0400
@@ -3,7 +3,7 @@
 Priority: extra
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Laszlo Boszormenyi (GCS) <gcs at debian.hu>, David Paleino <dapal at debian.org>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), node-jake
 Standards-Version: 3.9.4
 Homepage: https://github.com/NV/CSSOM
 Vcs-Git: git://git.debian.org/collab-maint/node-cssom.git
diff -Nru node-cssom-0.2.5/debian/rules node-cssom-0.2.5/debian/rules
--- node-cssom-0.2.5/debian/rules	2012-03-22 16:19:17.000000000 -0400
+++ node-cssom-0.2.5/debian/rules	2013-04-11 11:58:57.000000000 -0400
@@ -4,5 +4,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+override_dh_auto_build:
+	jake lib
+
 %:
 	dh $@
-------------- next part --------------
A non-text attachment was scrubbed...
Name: node-cssom.diff
Type: text/x-diff
Size: 1210 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20130411/3924020f/attachment.diff>


More information about the Pkg-javascript-devel mailing list