Package Details: htmldoc 1.8.29-1

Git Clone URL: (read-only)
Package Base: htmldoc
Description: Produce PDF or Postscript from HTML documents including TOCs and Indices
Upstream URL:
Licenses: GPL2
Conflicts: htmldoc-svn
Submitter: mortdeus
Maintainer: jamesan (grimsock)
Last Packager: jamesan
Votes: 19
Popularity: 0.551228
First Submitted: 2013-05-14 17:51
Last Updated: 2016-03-25 03:33

Latest Comments

Zeniff commented on 2016-04-30 06:29

(Sorry for the long post; trying to give as much detail as I can..)

It seems to hardcode where it "looks for" font files to be the build directory, even though it actually "installs" the font files in the right place.

It works fine, UNTIL I rename/remove the build dir after installing the built pkg:
htmldoc /builds/htmldoc-rename-to-test/src/htmldoc-1.8.29/doc/intro.html

It fails, giving LOTS of repeated errors like:
ERR005: Unable to open font width file /builds/htmldoc/pkg/htmldoc/usr/share/htmldoc/fonts/Dingbats.afm!
ERR005: Unable to open psglyphs data file!
ERR005: Unable to open character set file iso-8859-1!
ERR005: Unable to open font width file /builds/htmldoc/pkg/htmldoc/usr/share/htmldoc/fonts/Courier.afm!

But it works if you prefix the htmldoc command with the correct location:
HTMLDOC_DATA=/usr/share/htmldoc/ htmldoc /builds/htmldoc-rename-to-test/src/htmldoc-1.8.29/doc/intro.html

I thought this patch from Gentoo would work, but it didn't:

HOWEVER! The AUR PKGBUILD from 2014-08-10, which installs version 1.8.27-4 DOES work!

I tried comparing sources from 1.8.27-4 and 1.8.29-1, but all I can guess is that it might have something to do with the variables:
....which I tried to change in ./configure, but that did not help.

NOTE: datarootdir seems to be a newly added (not in 1.8.27) variable in versions starting with 1.8.28, which don't work! So that's my best guess for what's causing it....

ALSO! WithOUT using makepkg and just doing "./configure prefix=/somedir/, make, make install", it DID work to install AND use fonts correctly!

So, is this a bug in the PKGBUILD, upstream, or something else?

I'm not sure what else to try.... :(

jamesan commented on 2016-03-25 03:36

Apologies for my lack of attention to this package. I've removed the changelog from the sources array (which is the prevailing current packaging standard), and have updated the version and hash values to the latest upstream. The errno.patch needs to be re-rerolled at some point, but it still currently applies correctly (with a line offset).

I've also added grimsock as co-maintainer to prevent me from being the bottleneck to updating this moving forward.

Kazun commented on 2016-02-23 22:29

Here is correct md5sums

trulex commented on 2016-02-01 10:42

HTMLDOC 1.8.29 released on Jan 3, 2016

grimsock commented on 2015-11-21 12:14

Could you please fix:
==> Validating source files with md5sums...
htmldoc-1.8.28-source.tar.gz ... Passed
errno.patch ... Passed
htmldoc.install ... Passed
ChangeLog ... FAILED

cokomoko commented on 2015-08-09 10:45

==> Kaynaklar açılıyor...
-> htmldoc-1.8.28-source.tar.gz ile bsdtar açılıyor
==> prepare() işlemine başlanıyor...
patching file htmldoc/http-addrlist.c
==> build() işlemine başlanıyor...
checking for gawk... gawk
checking for clang... clang
checking whether the C compiler works... no
configure: error: in `/tmp/yaourt-tmp-cokomoko/PKGDEST.YPo/src/htmldoc-1.8.28':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> HATA: build() içinde bir hata oluştu.

hemant_ng commented on 2015-08-09 04:18

Removing Changelog did not work due to MD5 mismatch. I needed htmldoc to run chm2pdf. Since AUR already has archmage, I removed both chm2pdf and htmldoc. Calibre can convert CHM to * formats too (including PDF).

ondoho commented on 2015-08-05 09:35

i had to remove the Changelog from the PKGBUILD to make this install.
not sure why, i just did it.
i also compiled without gui, if anyone's interested, modified PKGBUILD:

hemant_ng commented on 2015-07-31 04:06

I have htmldoc 1.8.28-1 installed and getting below error when upgrading to 1.8.28-2. I changed 'prefix' and make lines in PKGBUILD and still got same error.

-> Found htmldoc-1.8.28-source.tar.gz
-> Found errno.patch
-> Found htmldoc.install
-> Found ChangeLog
==> Validating source files with md5sums...
htmldoc-1.8.28-source.tar.gz ... Passed
errno.patch ... Passed
htmldoc.install ... Passed
ChangeLog ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build htmldoc.
==> Restart building htmldoc ? [y/N]
==> --------------------------------

dhead666 commented on 2015-03-03 00:18

Thanks ber_t for the fix :), I had an issue with chm2pdf because of this.

Marking the package as as out-of-date.

All comments