mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
f6954aa8d5
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
25 lines
1.1 KiB
Diff
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
|