Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 186213 - dev-ruby/gruff missing media-libs/freetype dependancy
Summary: dev-ruby/gruff missing media-libs/freetype dependancy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-22 11:57 UTC by Douglas Mayle
Modified: 2007-07-22 16:50 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas Mayle 2007-07-22 11:57:46 UTC
In order to build graphs, dev-ruby/gruff needs freetype to be installed.  If not, at runtime, graphs will generate runtime errors.

Reproducible: Always

Steps to Reproduce:
1. Install dev-ruby/gruff on a machine without freetype
2. Try to create a graph
3. Runtime error

Actual Results:  
You get a runtime error

Expected Results:  
Built a graph
Comment 1 Douglas Mayle 2007-07-22 12:19:17 UTC
In addition, if imagemagick is installed without PNG support, you won't get any output...
Comment 2 Hans de Graaff gentoo-dev Security 2007-07-22 16:06:06 UTC
PNG format is not mandatory, you can give the format you want as an argument to e.g. the to_blob method, so 

  image.to_blog('GIF') 

will create GIF images.
Comment 3 Hans de Graaff gentoo-dev Security 2007-07-22 16:50:05 UTC
Douglas, in the future please include the actual runtime errors in the bug report, this greatly helps in determining what is actually going on.

I've added a check in gruff-0.2.8 as to whether imagemagick has been built with the truetype USE flag, which in turn checks for freetype itself.