Some production instances of odoo run on aarch64-linux,
which depends on wkhtmltopdf.
Commit 569d5e54 moved to the -bin release of wkhtmltopdf
but did not include the binary package for aarch64-linux.
This commit extends the -bin packaging to pull the "arm64"
release for aarch64-linux.
Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
wkhtmltopdf is a bit cursed.
1. It needs a specially patched version of QT to work.
2. It doesn't build currently.
3. Upstream repos are archived.
4. It depends on insecure dependencies.
In the mid term this dependency should be removed, but it's still a hard
dependency for:
* bookstack
* monica
* odoo (ref https://github.com/odoo/odoo/issues/86501)
* snipe-it
Instead of spending time to fix the build issues, use the -bin version
in the meantime.
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
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