Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692532 - media-gfx/wkhtmltopdf-bin - Convert html to pdf (and various image formats) using webkit
Summary: media-gfx/wkhtmltopdf-bin - Convert html to pdf (and various image formats) u...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: https://wkhtmltopdf.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2019-08-19 15:19 UTC by Edoardo Liverani
Modified: 2023-07-20 19:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
wkhtmltopdf-bin-0.12.5.ebuild (wkhtmltopdf-bin-0.12.5.ebuild,1.08 KB, text/plain)
2019-08-19 15:19 UTC, Edoardo Liverani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edoardo Liverani 2019-08-19 15:19:01 UTC
Created attachment 587422 [details]
wkhtmltopdf-bin-0.12.5.ebuild

As described in https://bugs.gentoo.org/361587 
The source version doesn't seem to compile with "patched qt" which add many features to this software. 
The following message appears on --help and on man pages:

>Reduced Functionality:
>  This version of wkhtmltopdf has been compiled against a version of QT without
>  the wkhtmltopdf patches. Therefore some features are missing, if you need
>  these features please use the static version.

The only way I found to get these features, is to use the prebuild binary version from the Debian 8 release (Arch does something similar, see https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=wkhtmltopdf-static)

You'll find the ebuild attached, tested on my server.

The dependencies and deps' versions will have to be tuned for the selected release (e.g. Debian 9 depends on libssl1.1, this is why I chose the release for Debian 8) and for future dependencies versions released in the portage tree.
Comment 1 Agostino Sarubbo gentoo-dev 2019-08-26 10:31:08 UTC
Dear proxy-maint,

Edoardo wants to maintain this ebuild in portage. Can you assist him?
Thanks
Comment 2 Joonas Niilola gentoo-dev 2020-04-03 13:22:26 UTC
Gentoo is currently in process of deprecating qtwebkit and any software that uses it, please see

  https://bugs.gentoo.org/684580

besides there are security concerns to be raised when ever using bundled libraries, especially when system ones are available. Upstreams qtlibs look old. 

And third, the the manpower currently in proxy-maint won't allow us to add any new packages to ::gentoo tree. You can read more about that from here, 

  https://archives.gentoo.org/gentoo-proxy-maint/message/44f7712fb49850288cd840c3541f6d7e

I suggest putting your package to GURU overlay for now. Sorry, I currently can't help more. 

  https://wiki.gentoo.org/wiki/Project:GURU