tags 543133 + patch thanks [Petter Reinholdtsen] > I am not aware of any alternative, nor have I any idea what the > package did, so I do not know what to propose as a workaround. I > guess it was font related (ttf - true type font?), and hope some > other tool can be used as a replacement.
I've investigated, and the ttf2pt1 program was used in debian/rules to convert HTML pages to manual pages. This is the code in question: /usr/share/ttf2pt1/scripts/html2man 1 < doc/ptal-hp.html /usr/share/ttf2pt1/scripts/html2man 1 < doc/xojpanel.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-init.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-mlcd.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-printd.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-photod.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-devid.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-connect.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-pml.html /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-device.html /usr/share/ttf2pt1/scripts/html2man 3 < doc/libptal.html A quick workaround for the build problem would be to take the manual pages from the last upload, and use these files when installing the manual pages, or to drop the manual pages from the package. This is a patch doing the latter. diff -ur ../hpoj-0.91/debian/control ../hpoj-0.91-pere/debian/control --- ../hpoj-0.91/debian/control 2009-09-14 11:12:36.000000000 +0200 +++ ../hpoj-0.91-pere/debian/control 2009-09-15 21:48:22.000000000 +0200 @@ -2,7 +2,7 @@ Section: utils Priority: optional Maintainer: Mark Purcell <m...@debian.org> -Build-Depends: debhelper (>> 3.0.0), libqt3-mt-dev, libsane-dev, libcups2-dev, libssl-dev, ttf2pt1, libusb-dev +Build-Depends: debhelper (>> 3.0.0), libqt3-mt-dev, libsane-dev, libcups2-dev, libssl-dev, libusb-dev Build-Conflicts: libsnmp-dev Standards-Version: 3.8.0 Homepage: http://hpoj.sourceforge.net diff -ur ../hpoj-0.91/debian/hpoj-xojpanel.files ../hpoj-0.91-pere/debian/hpoj-xojpanel.files --- ../hpoj-0.91/debian/hpoj-xojpanel.files 2009-09-14 11:12:36.000000000 +0200 +++ ../hpoj-0.91-pere/debian/hpoj-xojpanel.files 2009-09-15 22:16:26.000000000 +0200 @@ -1,3 +1,2 @@ /usr/bin/xojpanel /usr/share/doc/hpoj/html/xojpanel.html -/usr/share/man/man1/xojpanel.1 diff -ur ../hpoj-0.91/debian/rules ../hpoj-0.91-pere/debian/rules --- ../hpoj-0.91/debian/rules 2009-09-14 11:12:36.000000000 +0200 +++ ../hpoj-0.91-pere/debian/rules 2009-09-15 22:14:51.000000000 +0200 @@ -31,17 +31,17 @@ # Add here commands to compile the package. $(MAKE) - /usr/share/ttf2pt1/scripts/html2man 1 < doc/ptal-hp.html - /usr/share/ttf2pt1/scripts/html2man 1 < doc/xojpanel.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-init.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-mlcd.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-printd.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-photod.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-devid.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-connect.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-pml.html - /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-device.html - /usr/share/ttf2pt1/scripts/html2man 3 < doc/libptal.html +# /usr/share/ttf2pt1/scripts/html2man 1 < doc/ptal-hp.html +# /usr/share/ttf2pt1/scripts/html2man 1 < doc/xojpanel.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-init.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-mlcd.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-printd.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-photod.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-devid.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-connect.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-pml.html +# /usr/share/ttf2pt1/scripts/html2man 8 < doc/ptal-device.html +# /usr/share/ttf2pt1/scripts/html2man 3 < doc/libptal.html touch build-stamp @@ -53,7 +53,7 @@ # Add here commands to clean up after the build process. [ ! -f Makefile ] || $(MAKE) distclean rm -f scripts/ptal-cups - rm -f ptal-hp.1 xojpanel.1 ptal-init.1 ptal-mlcd.1 ptal-printd.1 ptal-photod.1 ptal-devid.1 ptal-connect.1 ptal-pml.1 ptal-device.1 libptal.1 +# rm -f ptal-hp.1 xojpanel.1 ptal-init.1 ptal-mlcd.1 ptal-printd.1 ptal-photod.1 ptal-devid.1 ptal-connect.1 ptal-pml.1 ptal-device.1 libptal.1 rm -f apps/xojpanel/Makefile dh_clean @@ -88,8 +88,8 @@ cp scripts/ptal-init debian/hpoj.init dh_installinit -- defaults 19 rm debian/hpoj.init - dh_installman ptal-hp.1 xojpanel.1 ptal-init.1 ptal-mlcd.1 ptal-printd.1 ptal-photod.1 ptal-devid.1 ptal-connect.1 ptal-pml.1 ptal-device.1 libptal.1 - dh_link usr/share/man/man8/ptal-connect.8 usr/share/man/man8/ptal-print.8 +# dh_installman ptal-hp.1 xojpanel.1 ptal-init.1 ptal-mlcd.1 ptal-printd.1 ptal-photod.1 ptal-devid.1 ptal-connect.1 ptal-pml.1 ptal-device.1 libptal.1 +# dh_link usr/share/man/man8/ptal-connect.8 usr/share/man/man8/ptal-print.8 dh_installchangelogs ChangeLog dh_movefiles --sourcedir=debian/hpoj dh_strip A better patch might be to convert the HTML pages to Docbook XML, and generate the HTML and manual pages from the XML source. I leave that to a someone else. :) Happy hacking, -- Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org