I've created an ebuild for the khtml2png-2.0.3, with patches, for compiling on an x86 arch with kde 3.2 or higher. khtml2png is a command line program that will convert web pages to png images by using the khtml libraries. I found it useful for some webpage screen grabbing scripts that I was running. I have applied the package in media-gfx/khtml2png. home page: http://khtml2png.sourceforge.net/index.php
Created attachment 74921 [details] Portage Overlay Directory for khtml2png (gzipped tar file) Portage overlay directory - untar this in your portage overlay director (I suggest using media-gfx). Contains the ebuild, patch file, and associated portage files.
Created attachment 74922 [details] khtml2png-2.0.3.ebuild file The ebuild file for khtml2png-2.0.3
Created attachment 74923 [details, diff] khtml2png-2.0.3 header fix patch a patch for fixing a kde header reference in the source. copy this file to your portage files directory for khtml2png.
Created attachment 74924 [details] ChangeLog for khtml2png-2.0.3 ChangeLog for 2.0.3
Can you please re-attach your ebuild as plain text? http://dev.gentoo.org/~ciaranm/docs/mw-faq/attachments.txt
The ebuild, patch and Changelog files are in the attachments. The tar.gz file can now be deleted.
(In reply to comment #5) > Can you please re-attach your ebuild as plain text? > > http://dev.gentoo.org/~ciaranm/docs/mw-faq/attachments.txt > Done.
Created attachment 97927 [details] Ebuild for newer version 2.5.0
Created attachment 97928 [details, diff] Header patch (for newer version, essentially the same as the other, though)
Created attachment 140353 [details] khtml2png-2.7.0.ebuild patch unnecessery
This is now in the sunrise overlay. You'll be able to find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/www-client/khtml2png ...as soon as it'll be reviewed :)
i've added ~amd64 keyword to the ebuild in sunrise overlay and removed/renamed RDEPEND (RDEPEND=DEPEND is default, if no RDEPEND is set).
(In reply to comment #12) > i've ... removed/renamed RDEPEND (RDEPEND=DEPEND is default, > if no RDEPEND is set). When was "best current practice" changed? Some months ago it was considered a good practice to have RDEPEND="${DEPEND}" instead of relaying on default behavior. I've grepped sunrise ebuilds, 118 ebuilds have RDEPEND="${DEPEND}" and 114 ebuilds have no RDEPEND at all.
This is a case of WONTFIX because it's KDE 3 only and no KDE 4 version from upstream available.