Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198848 - net-p2p/mldonkey needs media-libs/gd w/ USE=jpeg
Summary: net-p2p/mldonkey needs media-libs/gd w/ USE=jpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-11 19:45 UTC by Jesus de Santos Garcia
Modified: 2009-11-09 18:36 UTC (History)
2 users (show)

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 Jesus de Santos Garcia 2007-11-11 19:45:42 UTC
The mldonkey ebuild (version 2.9.2 checked) checks that +truetype is enabled in gd when you have activated that dependency.

But, that is not enough. With only +truetype in the gd package I open the mldonkey Web Interface and go to Bandwidth Stats getting the message that "gd support is not compiled".

Adding +jpeg to media-libs/gd solved the problem (the error report doesn't appear although I do not get any graph at all, I have to investigate this).
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-11-21 16:57:18 UTC
[ebuild   R   ] media-libs/gd-2.0.35  USE="jpeg* png truetype -fontconfig -xpm" 0 kB

I still have the bandwith stats graph working.
Comment 2 Jesus de Santos Garcia 2007-11-22 12:39:38 UTC
With

 media-libs/gd-2.0.35  USE="jpeg png truetype -fontconfig -xpm
 net-p2p/mldonkey-2.9.2  USE="gd magic -doc -fasttrack -gnutella -gtk -guionly

the reported error disappeared by when I click in Bandwidth Stats (in the web gui) no graphs appear at all.
 
Comment 3 spiralvoice 2007-12-11 00:43:39 UTC
Is option html_mods_vd_gfx enabled? It might got disabled by default because you did not have jpeg support compiled into MLDonkey.

Btw: Default for the graphs is png, if you use both jpeg and png you can switch the output format by using option html_mods_vd_gfx_png
Comment 4 Jesus de Santos Garcia 2007-12-11 12:43:47 UTC
(In reply to comment #3)
> Is option html_mods_vd_gfx enabled? It might got disabled by default because
> you did not have jpeg support compiled into MLDonkey.
> 
> Btw: Default for the graphs is png, if you use both jpeg and png you can switch
> the output format by using option html_mods_vd_gfx_png
> 

Hmm... yes, that was the problem.

Thanks!
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-12-17 20:13:02 UTC
So what's the fix here? 
Comment 6 Jesus de Santos Garcia 2007-12-18 12:25:03 UTC
(In reply to comment #5)
> So what's the fix here? 
> 

Detecting that gd is compiled with +truetype and +jpeg, I think...
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2009-11-09 18:36:43 UTC
This has been fixed some time ago.  USE=truetype from media-libs/gd is needed.