[Pkg-chromium-commit] [pkg-chromium] 01/04: remove sourceless flot files

Michael Gilbert mgilbert at moszumanska.debian.org
Sun Feb 16 18:43:22 UTC 2014


This is an automated email from the git hooks/post-receive script.

mgilbert pushed a commit to branch master
in repository pkg-chromium.

commit 60f154ffa89a9069c7d6522361c4d8f1596c2e58
Author: Michael Gilbert <mgilbert at debian.org>
Date:   Sun Feb 16 13:39:39 2014 -0500

    remove sourceless flot files
---
 debian/control |  6 +++++-
 debian/rules   | 22 +++++++++++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 1f48448..8141d63 100644
--- a/debian/control
+++ b/debian/control
@@ -75,7 +75,11 @@ Build-Depends:
  libssl-dev,
  libpci-dev,
  libcap-dev,
- libdrm-dev
+ libdrm-dev,
+ libjs-jquery,
+ libjs-excanvas,
+ libjs-jquery-tablesorter,
+ libjs-jquery-flot | libjs-flot,
 Standards-Version: 3.9.4
 
 Package: chromium
diff --git a/debian/rules b/debian/rules
index 20d6799..f211f51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -394,9 +394,27 @@ debian/configure-stamp:
 	# Populate the LASTCHANGE file template as we no longer have the VCS
 	# files at this point
 	echo "$(DEBIAN_REVISION)" > $(SRC_DIR)/build/LASTCHANGE.in
-	# BUILD_ARGS=$(BUILD_ARGS)
 	cp -p /usr/share/misc/config.guess src/third_party/yasm/source/patched-yasm/config
 	cp -p /usr/share/misc/config.sub src/third_party/yasm/source/patched-yasm/config
+	# replace sourceless libjs-flot files
+	ln -sf /usr/share/javascript/jquery/jquery.min.js src/third_party/flot/jquery.min.js
+	ln -sf /usr/share/javascript/excanvas/excanvas.min.js src/third_party/flot/excanvas.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.colorhelpers.min.js src/third_party/flot/jquery.colorhelpers.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.min.js src/third_party/flot/jquery.flot.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.canvas.min.js src/third_party/flot/jquery.flot.canvas.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.categories.min.js src/third_party/flot/jquery.flot.categories.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.crosshair.min.js src/third_party/flot/jquery.flot.crosshair.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.errorbars.min.js src/third_party/flot/jquery.flot.errorbars.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.fillbetween.min.js src/third_party/flot/jquery.flot.fillbetween.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.image.min.js src/third_party/flot/jquery.flot.image.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.pie.min.js src/third_party/flot/jquery.flot.pie.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.resize.min.js src/third_party/flot/jquery.flot.resize.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.selection.min.js src/third_party/flot/jquery.flot.selection.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.stack.min.js src/third_party/flot/jquery.flot.stack.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.min.js src/third_party/flot/jquery.flot.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.symbol.min.js src/third_party/flot/jquery.flot.symbol.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.threshold.min.js src/third_party/flot/jquery.flot.threshold.min.js
+	ln -sf /usr/share/javascript/jquery-flot/jquery.flot.time.min.js src/third_party/flot/jquery.flot.time.min.js
 
 common-build-arch common-build-indep:: debian/stamp-makefile-build-perf
 debian/stamp-makefile-build-perf: debian/stamp-makefile-build
@@ -425,6 +443,8 @@ clean::
 	rm -f src/v8/tools/gyp/v8.log
 	rm -f src/third_party/yasm/source/patched-yasm/config/config.guess
 	rm -f src/third_party/yasm/source/patched-yasm/config/config.sub
+	# remove sourceless flot files
+	rm -f src/third_party/flot/*
 
 # Install: there's no install rules in scons yet, do it manually
 common-install-prehook-impl::

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-chromium/pkg-chromium.git



More information about the Pkg-chromium-commit mailing list