debian/0000755000000000000000000000000011736565074007204 5ustar debian/dirs0000644000000000000000000000001011351740330010036 0ustar usr/bin debian/docs0000644000000000000000000000000711351740330010033 0ustar README debian/manpages0000644000000000000000000000002111351740330010672 0ustar wkhtmltopdf.1.gz debian/install0000644000000000000000000000002411351740330010550 0ustar wkhtmltopdf usr/bin debian/README.source0000644000000000000000000000066411351740330011350 0ustar wkhtmltopdf for Debian ---------------------- This package uses quilt to manage all modifications to the upstream source. Changes are stored in the source package as diffs in debian/patches and applied during the build. Please see: /usr/share/doc/quilt/README.source for more information on how to apply the patches, modify patches, or remove a patch. -- Emmanuel Bouthenot Sat, 16 Jan 2010 14:12:12 +0000 debian/copyright0000644000000000000000000000145711351740330011125 0ustar This package was debianized by: Emmanuel Bouthenot on Sun, 22 Feb 2009 16:00:59 +0000 It was downloaded from: http://code.google.com/p/wkhtmltopdf/ Upstream Authors: Jakob Truelsen Copyright: Copyright (C) 2008-2009 Jakob Truelsen Various patches: Copyright (C) 2009 Mário Silva Copyright (C) 2009 Emmanuel Bouthenot Copyright (C) 2009 Benoit Garret License: wkhtmltopdf is licensed under the terms of the GPL version 3 or (at your option) any later version. On Debian systems, the complete text of the GNU General Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. The Debian packaging is licensed under the GPLv3: Copyright (C) 2009, Emmanuel Bouthenot debian/watch0000644000000000000000000000036111374060533010221 0ustar version=3 opts=\ downloadurlmangle=s|.*[?]name=(.*?)&.*|http://wkhtmltopdf.googlecode.com/files/$1|,\ filenamemangle=s|[^/]+[?]name=(.*?)&.*|$1| \ http://code.google.com/p/wkhtmltopdf/downloads/detail[?]name=wkhtmltopdf-([0-9.]+).tar.bz2&.* debian/source/0000755000000000000000000000000011377300013010461 5ustar debian/source/format0000644000000000000000000000001411377300013011667 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011531544647010627 5ustar debian/patches/series0000644000000000000000000000003611455143545012040 0ustar fix_typos fix_encoding_option debian/patches/fix_encoding_option0000644000000000000000000000177711531544250014600 0ustar Description: Fix --encoding option Author: Emmanuel Bouthenot Forwarded: not-needed Last-Update: 2010-10-12 --- a/src/pageconverter.cc +++ b/src/pageconverter.cc @@ -59,14 +59,14 @@ phaseDescriptions.push_back("Resolving links"); phaseDescriptions.push_back("Counting pages"); phaseDescriptions.push_back("Loading headers and footers"); - if (!settings.defaultEncoding.isEmpty()) - QWebSettings::globalSettings()->setDefaultTextEncoding(settings.defaultEncoding); if (!settings.enableIntelligentShrinking) { QWebSettings::globalSettings()->setPrintingMaximumShrinkFactor(1.0); QWebSettings::globalSettings()->setPrintingMinimumShrinkFactor(1.0); } QWebSettings::globalSettings()->setPrintingMediaType(settings.printMediaType?"print":"screen"); #else + if (!settings.defaultEncoding.isEmpty()) + QWebSettings::globalSettings()->setDefaultTextEncoding(settings.defaultEncoding); phaseDescriptions.push_back("Loading page"); #endif phaseDescriptions.push_back("Printing pages"); debian/patches/fix_typos0000644000000000000000000000363511531544647012605 0ustar Description: Fix some typos. Author: Emmanuel Bouthenot Forwarded: not-needed Last-Update: 2010-05-26 --- a/src/arguments.cc +++ b/src/arguments.cc @@ -499,7 +499,7 @@ addarg("cookie-jar", 0, "Read and write cookies from and to the supplied cookie jar file", new QStrSetter(s.cookieJar, "path", "") ); addarg("cookie",0,"Set an additional cookie (repeatable)", new MapSetter<>(s.cookies, "name", "value")); addarg("post", 0, "Add an additional post field (repeatable)", new MapSetter >(s.post, "name", "value")); - addarg("post-file", 0, "Post an aditional file (repeatable)", new MapSetter >(s.post, "name", "path")); + addarg("post-file", 0, "Post an additional file (repeatable)", new MapSetter >(s.post, "name", "path")); addarg("title", 0, "The title of the generated pdf file (The title of the first document is used if not specified)", new QStrSetter(s.documentTitle,"text","")); addarg("disallow-local-file-access", 0, "Do not allowed conversion of a local file to read in other local files, unless explecitily allowed with --allow", new ConstSetter(s.blockLocalFileAccess, true, false)); addarg("allow", 0, "Allow the file or files from the specified folder to be loaded (repeatable)", new StringListSetter(s.allowed,"path")); --- a/README +++ b/README @@ -103,7 +103,7 @@ --page-width Page width (default unit millimeter) --password HTTP Authentication password --post Add an additional post field (repeatable) - --post-file Post an aditional file (repeatable) + --post-file Post an additional file (repeatable) --print-media-type * Use print media-type instead of screen -p, --proxy Use a proxy -q, --quiet Be less verbose debian/README.Debian0000644000000000000000000000071511531300161011221 0ustar 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). The xvfb Debian package contains a wrapper which makes it trivial: xvfb-run -- wkhtmltopdf [options] -- Cyril Brulebois , Mon, 7 Feb 2011 01:11:31 +0100 debian/changelog0000644000000000000000000000673011736564443011063 0ustar wkhtmltopdf (0.9.9-4) unstable; urgency=low * Fix a FTBFS triggered by a arch:any rebuild (Closes: #666321) * Fix typo in debian/control (long description) * Bump Standards-Version to 3.9.3 * Switch debhelper compat to v9 * Enabling hardened build flags -- Emmanuel Bouthenot Mon, 02 Apr 2012 20:23:26 +0000 wkhtmltopdf (0.9.9-3) unstable; urgency=low [ Cyril Brulebois ] * Mention xvfb-run in README.Debian, which makes it trivial to run wkhtmltopdf without X (Closes: #612235). [ Emmanuel Bouthenot ] * Convert patches to dep3 format. * Add a missing dependency on libqtwebkit-dev (due to the recent split of libqt4-dev) to fix a FTBFS (Closes: #618226). -- Emmanuel Bouthenot Thu, 24 Feb 2011 21:27:20 +0000 wkhtmltopdf (0.9.9-2) unstable; urgency=low * Add a patch to fix --encoding option (Closes: #599421). * Bump Standards-Version to 3.9.1. * Fix Vcs-Browser url. -- Emmanuel Bouthenot Tue, 12 Oct 2010 20:42:47 +0000 wkhtmltopdf (0.9.9-1) unstable; urgency=low * New upstream release (Closes: #581799) * Fix debian/watch (take into account GoogleCode changes) * Switch to dpkg-source 3.0 (quilt) format * Add a patch to fix some typos. -- Emmanuel Bouthenot Wed, 26 May 2010 20:25:29 +0000 wkhtmltopdf (0.9.5-1) unstable; urgency=low * New upstream release -- Emmanuel Bouthenot Mon, 22 Mar 2010 19:11:21 +0000 wkhtmltopdf (0.9.4-1) unstable; urgency=low * New upstream release * Minor debian/copyright updates -- Emmanuel Bouthenot Thu, 11 Mar 2010 13:40:56 +0000 wkhtmltopdf (0.9.2-1) unstable; urgency=low * New upstream release * Bump Standards-Version to 3.8.4 (no changes) -- Emmanuel Bouthenot Wed, 24 Feb 2010 01:00:06 +0100 wkhtmltopdf (0.9.1-1) unstable; urgency=low * New upstream release * Remove patch about manpage fixes (merged upstream) -- Emmanuel Bouthenot Thu, 28 Jan 2010 19:48:59 +0000 wkhtmltopdf (0.9.0-1) unstable; urgency=low * New upstream release (Closes: #551848) * Add a patch to fix bugs with the manpage: - hyphen used as minus sign - standardization of the NAME section * Add a README.source file about quilt usage with Debian patches. * Bump Standards-Version to 3.8.3 * Maintainer became Debian Developer: adjust email, VCS and DM fields. -- Emmanuel Bouthenot Sat, 16 Jan 2010 11:43:12 +0000 wkhtmltopdf (0.8.3-1) unstable; urgency=low * New upstream release * Remove the patch which fix a segfault during start-up (fixed upstream). -- Emmanuel Bouthenot Thu, 06 Aug 2009 12:03:29 +0000 wkhtmltopdf (0.8.2-1) unstable; urgency=low * New upstream release * Update debian/copyright: manpage is no longer under GFDL. * Update debian/control: bump Standards-Version to 3.8.2 * Add a patch (backported from svn trunk) to fix a segfault during start-up. -- Emmanuel Bouthenot Mon, 13 Jul 2009 22:58:55 +0000 wkhtmltopdf (0.8.0-1) unstable; urgency=low * New upstream release. * Upload to unstable. * Improve debian/rules using dh7 overrides (update debhelper dependency accordingly). -- Emmanuel Bouthenot Wed, 20 May 2009 21:31:18 +0200 wkhtmltopdf (0.7.5-1) experimental; urgency=low * Initial release (Closes: #514422) -- Emmanuel Bouthenot Wed, 29 Apr 2009 13:54:39 +0000 debian/control0000644000000000000000000000146311736565053010610 0ustar Source: wkhtmltopdf Section: utils Priority: extra Maintainer: Emmanuel Bouthenot Build-Depends: debhelper (>= 8.9.0), dpkg-dev (>= 1.16.1~), qt4-qmake, libqt4-dev (>=4.5), libqtwebkit-dev Standards-Version: 3.9.3 Homepage: http://code.google.com/p/wkhtmltopdf/ Vcs-Git: git://anonscm.debian.org/users/kolter/wkhtmltopdf.git Vcs-Browser: http://anonscm.debian.org/git/users/kolter/wkhtmltopdf.git Package: wkhtmltopdf Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: xserver | xvfb Description: Command line utility to convert html to pdf using WebKit wkhtmltopdf is a command line program which permits one to create a pdf from an url, a local html file or stdin. It produces a pdf like rendred with the WebKit engine. . This program requires an X11 server to run. debian/compat0000644000000000000000000000000211736521157010374 0ustar 9 debian/source.lintian-overrides0000644000000000000000000000007711736521624014061 0ustar wkhtmltopdf: package-needs-versioned-debhelper-build-depends 9 debian/rules0000755000000000000000000000077511736562361010271 0ustar #!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk override_dh_auto_configure: qmake-qt4 -makefile -unix \ QMAKE_CFLAGS="$(CFLAGS)" \ QMAKE_CXXFLAGS="$(CXXFLAGS)" \ QMAKE_LFLAGS="$(LDFLAGS)" override_dh_auto_build: # invoke 'manins' target to build the manpage as well $(MAKE) manins override_dh_auto_install: # make install is buggy echo clean: [ ! -f Makefile ] || $(MAKE) distclean # manpage not removed properly rm -f wkhtmltopdf.1.gz dh $@ %: dh $@