Merge branch 'dev-bundle-0.2.3' into devel

This commit is contained in:
Nick Martin
2012-09-17 21:35:20 -07:00
3 changed files with 16 additions and 9 deletions

View File

@@ -17,11 +17,5 @@ override_dh_prep:
tar -C debian/tmp/usr/lib -xzf $(TARBALL)
echo -n 'deb' > debian/tmp/usr/lib/meteor/.package_stamp
# node fibers distributes copies of the library pre-compiled for many
# different architectures. This confuses shlibdeps. Just ignore the
# fibers library.
override_dh_shlibdeps:
dh_shlibdeps -Xfibers.node
%:
dh $@

View File

@@ -1,8 +1,9 @@
#!/bin/bash
set -e
set -u
BUNDLE_VERSION=0.2.2
BUNDLE_VERSION=0.2.3
UNAME=$(uname)
ARCH=$(uname -m)
@@ -182,7 +183,6 @@ npm install mongodb@1.1.5
npm install uglify-js@1.3.3
npm install clean-css@0.6.0
npm install progress@0.0.5
npm install fibers@0.6.9
npm install useragent@1.1.0
npm install request@2.11.0
npm install http-proxy@0.8.2
@@ -201,6 +201,19 @@ git clone http://github.com/akdubya/rbytes.git
npm install sockjs@0.3.1
rm -rf rbytes
npm install fibers@0.6.9
# Fibers ships with compiled versions of its C code for a dozen platforms. This
# bloats our dev bundle, and confuses dpkg-buildpackage and rpmbuild into
# thinking that the packages need to depend on both 32- and 64-bit versions of
# libstd++. Remove all the ones other than our architecture. (Expression based
# on build.js in fibers source.)
FIBERS_ARCH=$(node -p -e 'process.platform + "-" + process.arch + "-v8-" + /[0-9]+\.[0-9]+/.exec(process.versions.v8)[0]')
cd fibers/bin
mv $FIBERS_ARCH ..
rm -rf *
mv ../$FIBERS_ARCH .
cd ../..
cd "$DIR"
curl "$MONGO_URL" | tar -xz

2
meteor
View File

@@ -1,6 +1,6 @@
#!/bin/bash
BUNDLE_VERSION=0.2.2
BUNDLE_VERSION=0.2.3
# OS Check. Put here because here is where we download the precompiled
# bundles that are arch specific.