nixpkgs/pkgs/tools/graphics/wkhtmltopdf/makefix.patch
Emil Rangden f6954aa8d5 updated wkhtmltopdf and use patched qt
With stock version of qt4 wkthmltopdf lacks a lot of features, including:
  * Running without an X11 server
  * Printing more then one HTML document into a PDF file
  * Adding a document outline to the PDF file
  * Adding headers and footers to the PDF file
  * Generating a table of contents
  * Adding links in the generated PDF file
  * Printing using the screen media-type
  * Disabling the smart shrink feature of webkit
2014-08-29 00:04:39 +02:00

25 lines
1.1 KiB
Diff

diff -Naur a/src/image/image.pro b/src/image/image.pro
--- a/src/image/image.pro 2014-08-28 14:07:51.024561967 +0200
+++ b/src/image/image.pro 2014-08-28 14:08:22.383623390 +0200
@@ -25,7 +25,7 @@
unix {
man.path=$$INSTALLBASE/share/man/man1
- man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltoimage --manpage | gzip > $(INSTALL_ROOT)/share/man/man1/wkhtmltoimage.1.gz
+ man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltoimage --manpage | gzip > $$INSTALLBASE/share/man/man1/wkhtmltoimage.1.gz
QMAKE_EXTRA_TARGETS += man
INSTALLS += man
diff -Naur a/src/pdf/pdf.pro b/src/pdf/pdf.pro
--- a/src/pdf/pdf.pro 2014-08-28 14:10:02.305818775 +0200
+++ b/src/pdf/pdf.pro 2014-08-28 14:09:47.360789555 +0200
@@ -25,7 +25,7 @@
unix {
man.path=$$INSTALLBASE/share/man/man1
- man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltopdf --manpage | gzip > $(INSTALL_ROOT)/share/man/man1/wkhtmltopdf.1.gz
+ man.extra=LD_LIBRARY_PATH=../../bin/ ../../bin/wkhtmltopdf --manpage | gzip > $$INSTALLBASE/share/man/man1/wkhtmltopdf.1.gz
QMAKE_EXTRA_TARGETS += man
INSTALLS += man