Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
1351100200
:
1001689948
>
wkhtmltopdf
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
wkhtmltopdf.spec
@@ -14,6 +14,7 @@ BuildRequires: gcc-c++ libpng-devel opt-libqt4-devel opt-libQtWebKit-devel Requires: opt-libqt4 >= 4.8 Requires: opt-libQtWebKit4 >= 2.2.3 +Requires: xorg-x11-server-extra %description Simple shell utility to convert html to pdf using the webkit rendering engine, and qt. @@ -54,12 +55,12 @@ mv %{buildroot}%{_bindir}/wkhtmltoimage %{buildroot}%{_bindir}/wkhtmltoimage.bin cat > %{buildroot}%{_bindir}/wkhtmltopdf << EOF #!/bin/bash -LD_LIBRARY_PATH=%{qtlibdir} %{_bindir}/wkhtmltopdf.bin $@ +DISPLAY=:1 LD_LIBRARY_PATH=%{qtlibdir} %{_bindir}/wkhtmltopdf.bin \$@ EOF cat > %{buildroot}%{_bindir}/wkhtmltoimage << EOF #!/bin/bash -LD_LIBRARY_PATH=%{qtlibdir} %{_bindir}/wkhtmltoimage.bin $@ +DISPLAY=:1 LD_LIBRARY_PATH=%{qtlibdir} %{_bindir}/wkhtmltoimage.bin \$@ EOF chmod +x %{buildroot}%{_bindir}/wkhtmltoimage %{buildroot}%{_bindir}/wkhtmltopdf