some htmldoc bugs fixed

This commit is contained in:
Dmitry Isaenko 2017-12-22 06:21:23 +03:00
parent ecaa82183b
commit 11af669bbb
3 changed files with 22 additions and 2 deletions

View file

@ -1,3 +1,4 @@
AUX htmldoc-desktop.patch 273 SHA256 e1173421304816e74585135eb3b4806fc6046d7ee773cabf44cff613fdb92710 SHA512 20b4e044b5f414ddc66dc7cf8a757c33c262a5afb71b5d8036bceafb3e0eacbe0f8ae6deda11e04a550cc7c038063f8aa7beec820012e50705749a6aae9c7ede WHIRLPOOL be1835eb82e77a8d887c76cfbbace6a317c87b9a9b8b29646d59b6eccbfeea01c48edb1a1edc18298788d1e0e4d29f0374b1350f4bf34b46611b1a0525f9b4fd
DIST htmldoc-1.9.1-source.tar.gz 4429305 SHA256 cbee52b9e6f5485086db1b86d7ed0609925fef325a88cf96a6d11a5859117094 SHA512 078630c73c0e2101fbe7ee633ddd54ffe2ea133280320825a5e88143076a1a55e86b7a3657f305506eab1ae1a2289ca61ae43833b4de57362df5ec1dd604e03a WHIRLPOOL 8dcd4ed8d1ab1b1b5cc10dca5a63f008002f2b476e59c79f44ff7257003b11b038efe0b5279c7eff8b97aab17f0aedc82bb0e412f58b26183953e835a03c5cbc
EBUILD htmldoc-1.9.1.ebuild 1116 SHA256 b2ad477881d653bcc0074a8307d2224494b1841ce62c82ee913943a2ab017a25 SHA512 e7364dc7779205511246b070257b7bea4f473fe54ae21e5be6ebe35aa728f851ff306186001c5d1d1b866bc84672eb40c649b3e312242d37610413aba7bb2d16 WHIRLPOOL 39af409977de77c999536acedb8f553e6d56df843ea52dba6d48cfe3cf6a7712798e0926965ac709227db07755cd8687029366cbafdffb43e6a8ed2bbf9f259c
EBUILD htmldoc-1.9.1.ebuild 1293 SHA256 0fda99d14ca54fe3c01d1598d56083469b8686e43059163bf6d58aca1afb359e SHA512 9d14b22b2a13a7851e7e064f3c816c1107f10f432edc670d287f57ae011b8022e819833264ebfbdd3f79d256efebacd78d9b0ed6f9416b6fad5c00dbb745d88a WHIRLPOOL bb68993f3aab68e322c02646d2d86cb7d4f78731362ea45658532148d3c8e939644981aebbfa97409f147953e455e98fd4c55a1ee2bfe45986eb35c5533d88c1
MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968

View file

@ -0,0 +1,8 @@
--- desktop/htmldoc.desktop 2017-10-30 01:09:50.000000000 +0300
+++ desktop/htmldoc.desktop 2017-12-22 05:28:05.000000000 +0300
@@ -7,4 +7,4 @@
Exec=htmldoc %F
Icon=htmldoc
Terminal=false
-Categories=Application;Office;X-Red-Hat-Base;
+Categories=Office;X-Red-Hat-Base;

View file

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
inherit toolchain-funcs xdg-utils eutils
DESCRIPTION="Convert HTML pages into a PDF document"
HOMEPAGE="https://michaelrsweet.github.io/htmldoc/"
@ -22,6 +22,9 @@ S="${WORKDIR}"
src_prepare() {
default
cd "${S}"
epatch "${FILESDIR}/htmldoc-desktop.patch"
# make sure not to use the libs htmldoc ships with
rm -r jpeg png zlib || die 'failed to unbundle jpeg, png, and zlib'
@ -41,3 +44,11 @@ src_configure() {
src_install() {
emake DSTROOT="${D}" install
}
pkg_postinst() {
xdg_mimeinfo_database_update
}
pkg_postrm() {
xdg_mimeinfo_database_update
}