Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 8916 - dia-0.90-r2.ebuild
Summary: dia-0.90-r2.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-08 22:52 UTC by Ryan Tolboom
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dia-0.90-r2.ebuild (dia-0.90-r2.ebuild,1.40 KB, text/plain)
2002-10-08 22:53 UTC, Ryan Tolboom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Tolboom 2002-10-08 22:52:55 UTC
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
Comment 1 Ryan Tolboom 2002-10-08 22:53:37 UTC
Created attachment 4533 [details]
dia-0.90-r2.ebuild
Comment 2 foser (RETIRED) gentoo-dev 2002-10-22 07:07:16 UTC
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.
Comment 3 Ryan Tolboom 2002-10-23 00:48:39 UTC
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)
Comment 4 foser (RETIRED) gentoo-dev 2002-10-23 10:22:02 UTC
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.