Package: wkhtmltopdf
Version: 0.9.9-2
Severity: normal
Tags: patch

Hi,

we ship xvfb-run in the xvfb package, which makes it trivial to run
something with xvfb. I guess it's a better idea to document that than
to point to some random wrapper hidden on a bug tracker.

Please find a patch attached.

Thanks for considering.

KiBi.
>From 08ccf5dcc394680bbd24aea3df8a7fae7dd694f4 Mon Sep 17 00:00:00 2001
From: Cyril Brulebois <k...@debian.org>
Date: Mon, 7 Feb 2011 01:13:22 +0100
Subject: [PATCH] Mention xvfb-run in README.Debian.

It makes it trivial to run wkhtmltopdf without X.
---
 debian/README.Debian |   14 ++++++--------
 debian/changelog     |    7 +++++++
 2 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index bce0070..8737890 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,13 +1,11 @@
 Wkhtmltopdf without X server
 ----------------------------
 
-Due to its dependency on Qt-WebKit, wkhtmltopdf requires an X11 server to run.
-If you want to provide an automated service or use wkhtmltopdf from a webserver,
-it could be convenient to use a virtual X11 server (like Xvfb). James Cole
-(inta...@gmail.com) has created[1] a shell script which is a wrapper around Xvfb
-and wkhtmltopdf.
+Due to its dependency on Qt-WebKit, wkhtmltopdf requires an X11 server to
+run. If you want to provide an automated service or use wkhtmltopdf from a
+webserver, it could be convenient to use a virtual X11 server (like Xvfb).
+The xvfb Debian package contains a wrapper which makes it trivial:
 
+    xvfb-run -- wkhtmltopdf [options]
 
-[1] http://code.google.com/p/wkhtmltopdf/issues/detail?id=3#c5
-
- -- Emmanuel Bouthenot <kol...@openics.org>, Tue, 24 Mar 2009 22:23:11 +0000
+ -- Cyril Brulebois <k...@debian.org>, Mon,  7 Feb 2011 01:11:31 +0100
diff --git a/debian/changelog b/debian/changelog
index cb10fee..f2285ec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+wkhtmltopdf (0.9.9-3) unstable; urgency=low
+
+  * Mention xvfb-run in README.Debian, which makes it trivial to run
+    wkhtmltopdf without X.
+
+ -- Cyril Brulebois <k...@debian.org>  Mon, 07 Feb 2011 01:12:40 +0100
+
 wkhtmltopdf (0.9.9-2) unstable; urgency=low
 
   * Add a patch to fix --encoding option (Closes: #599421).
-- 
1.7.2.3

Reply via email to