[Pkg-chromium-commit] [pkg-chromium] 03/04: build chromedriver
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 4ee408fb8fb9b710ab3830701d5d6a5c2b5034ed
Author: Michael Gilbert <mgilbert at debian.org>
Date: Sun Feb 16 13:41:33 2014 -0500
build chromedriver
---
debian/chromedriver.install | 1 +
debian/chromium.install | 3 ++-
debian/control | 12 ++++++++++++
debian/patches/chromedriver-revision.patch | 13 +++++++++++++
debian/patches/series | 1 +
debian/rules | 1 +
6 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/debian/chromedriver.install b/debian/chromedriver.install
new file mode 100644
index 0000000..ddc9dba
--- /dev/null
+++ b/debian/chromedriver.install
@@ -0,0 +1 @@
+usr/lib/chromium/chromedriver
diff --git a/debian/chromium.install b/debian/chromium.install
index bee8972..3c40da8 100644
--- a/debian/chromium.install
+++ b/debian/chromium.install
@@ -1,6 +1,7 @@
debian/tmp/etc
debian/tmp/usr/bin
-debian/tmp/usr/lib/chromium/chrom*
+debian/tmp/usr/lib/chromium/chromium
+debian/tmp/usr/lib/chromium/chrome-sandbox
debian/tmp/usr/lib/chromium/*.pak
debian/tmp/usr/lib/chromium/resources/extension/demo/library.js
debian/tmp/usr/lib/chromium/content_resources.pak
diff --git a/debian/control b/debian/control
index 22b5b5b..bbb813b 100644
--- a/debian/control
+++ b/debian/control
@@ -167,3 +167,15 @@ Description: page inspector for the chromium browser
.
This package contains 'inspector', allowing web developers to inspect any
element of a web page at runtime (HTML, JavaScript, CSS, ..).
+
+Package: chromedriver
+Architecture: i386 amd64
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ chromium (= ${binary:Version}),
+Description: WebDriver driver for chromium browser
+ Chromedriver serves as a bridge between the chromium web browser and the
+ selenium webdriver.
+ .
+ See http://code.google.com/p/selenium/wiki/ChromeDriver for details.
diff --git a/debian/patches/chromedriver-revision.patch b/debian/patches/chromedriver-revision.patch
new file mode 100644
index 0000000..f56dc36
--- /dev/null
+++ b/debian/patches/chromedriver-revision.patch
@@ -0,0 +1,13 @@
+description: set chromedriver version as undefined
+
+--- a/src/chrome/test/chromedriver/embed_version_in_cpp.py 2014-02-16 03:10:19.731438807 +0000
++++ b/src/chrome/test/chromedriver/embed_version_in_cpp.py 2014-02-16 03:10:59.339438710 +0000
+@@ -25,7 +25,7 @@
+ options, args = parser.parse_args()
+
+ version = open(options.version_file, 'r').read().strip()
+- revision = lastchange.FetchVersionInfo(None).revision
++ revision = "undefined"
+ if revision:
+ version += '.' + revision.strip()
+
diff --git a/debian/patches/series b/debian/patches/series
index ac5b58b..6162e40 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -19,3 +19,4 @@ third-party-cookies-off-by-default.patch
ps-print.patch
window-placement.patch
no-promo.patch
+chromedriver-revision.patch
diff --git a/debian/rules b/debian/rules
index f211f51..20df029 100755
--- a/debian/rules
+++ b/debian/rules
@@ -310,6 +310,7 @@ GYP_DEFINES += use_pulseaudio=1
BUILD_TARGETS := \
chrome \
chrome_sandbox \
+ chromedriver \
$(NULL)
TESTS_TARGETS := \
--
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