Package: node-stringprep Version: 0.1.5-1 Followup-For: Bug #719382 User: [email protected] Usertags: origin-ubuntu trusty ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: * Switch from node-waf to node-gyp to fix FTBFS (Closes: #719382) I'm not a particularly node-friendly person, and have no ideal how to test this, but this naive patch seems to end up building and installing the right files, at any rate. ... Adam -- System Information: Debian Release: wheezy/sid APT prefers trusty-updates APT policy: (500, 'trusty-updates'), (500, 'trusty-security'), (500, 'trusty'), (500, 'saucy-updates') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.13.0-0-generic (SMP w/4 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru node-stringprep-0.1.5/debian/changelog node-stringprep-0.1.5/debian/changelog diff -Nru node-stringprep-0.1.5/debian/control node-stringprep-0.1.5/debian/control --- node-stringprep-0.1.5/debian/control 2013-03-05 16:56:44.000000000 -0700 +++ node-stringprep-0.1.5/debian/control 2013-12-29 04:55:42.000000000 -0700 @@ -7,6 +7,7 @@ debhelper, dh-buildinfo, nodejs-dev (>= 0.2.6), + node-gyp, libicu-dev Standards-Version: 3.9.4 Homepage: https://github.com/astro/node-stringprep diff -Nru node-stringprep-0.1.5/debian/rules node-stringprep-0.1.5/debian/rules --- node-stringprep-0.1.5/debian/rules 2013-03-05 16:54:22.000000000 -0700 +++ node-stringprep-0.1.5/debian/rules 2013-12-29 04:51:12.000000000 -0700 @@ -22,7 +22,7 @@ libpkgname = node-node-stringprep -CDBS_BUILD_DEPENDS += , nodejs-dev (>= 0.2.6), libicu-dev +CDBS_BUILD_DEPENDS += , nodejs-dev (>= 0.2.6), node-gyp, libicu-dev # suppress optional build-dependencies CDBS_BUILD_DEPENDS_rules_upstream-tarball = @@ -35,13 +35,14 @@ DEB_INSTALL_DOCS_$(libpkgname) += README.markdown configure/$(libpkgname):: - NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf configure + NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-gyp configure build/$(libpkgname):: - NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf build + NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-gyp build install/$(libpkgname):: - NODE_PATH=$(cdbs_curdestdir)/usr/lib/nodejs node-waf install + install -m 644 -D build/Release/node-stringprep.node \ + $(cdbs_curdestdir)/usr/lib/nodejs/node-stringprep.node # Node modules have an uncommon extension preventing autodetection by # dh_shlibdeps, so we do it manually

