This revision adds support for exporting to PNG. In order to do this dia must use the libart library. I added a dependancy for libart and a sed script in src_unpack to make configure detect and use the libart2-config script as opposed to the old libart-config. Both of these changes are only used if the png USE flag is enabled. ryan
Created attachment 4533 [details] dia-0.90-r2.ebuild
Is there a reason for using libart_lgpl instead of libpng ? I updated the ebuild, but i changed the png dep to libpng. Also i added a truetype USE flag. Test please.
The reason we need libart is because without it dia can't export to PNG. DIA needs both libpng and libart to export to PNG. It sounded a little crazy to me at first, but it's in the NEWS file in the source directory: * PNG export filter (requires libpng and libart). and you can also check the source app/export_png.c: #if defined(HAVE_LIBPNG) && defined(HAVE_LIBART)
Ah good, that explains. I build once with both, but forgot i had libart_lgpl still around ;) So i missed that. Well, i'll fix that then. Thanks. Closing this bug.