h4cc / wkhtmltopdf-amd64

wkhtmltopdf - Convert html to pdf using webkit (qtwebkit). Linux amd64 Binary.
http://wkhtmltopdf.org/
GNU Lesser General Public License v3.0
474 stars 170 forks source link

Packages for Debian Jessie #13

Closed slashsbin closed 9 years ago

slashsbin commented 9 years ago

Are there any plans on upgrading packages to Debian Stable(Jessie)?

h4cc commented 9 years ago

Debian Jessie 8 is stable since April, a upgrade seems usefull.

Problem currently lies in the versioning of this package, which is equal to the versioning of wkhtmltopdf. This disallows having a newer version or different ones for multiple architectures.

How about adding all Debian/Ubuntu/OSX binaries with names like wkhtmltopdf-amd64-debian-jessie?

slashsbin commented 9 years ago

I don't think adding all binaries is a good idea, because doing so will force everyone to have all binaries in their vendor directory. For example I'd like to use wkhtmltopdf on my debian jessie server, so I add it to my composer.json file and do a composer update, but all other binaries will also be downloaded to my vendor directory. It will increase network transfer rate on every composer install and composer update, and also increase my project backup size. I don't have a good alternative solution for this, but it seems having multiple git branches for every distribution will do the job, or maybe multiple forks of this repository.

h4cc commented 9 years ago

In the end only a different package will solve this. But with Debian/Ubuntu/CentOS/OSX this would result in a total of 8 packages (=repos). That is not what this was intended so solve and would require some tedious work by now.

Also the wkhtmltopdf project now offers .deb/.rpm/.pkg/.exe installer/packages, which solve its correctly via package manager plus integrated security features.

If there ain't a better idea, i will only provide Debian 7 binaries here - anybody else should not rely on this but use the original packages.

Thanks for your feedback! :+1: