Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339908 - x11-plugins/gkrellm-gkfreq broken call to gdk_string_width:
Summary: x11-plugins/gkrellm-gkfreq broken call to gdk_string_width:
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-06 07:33 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-01-24 07:57 UTC (History)
3 users (show)

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


Attachments
Build log (gkrellm-gkfreq-1.0:20100926-221328.log,1.55 KB, text/plain)
2010-10-06 07:33 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-06 07:33:18 UTC
warning: passing argument 1 of ‘gdk_string_width’ from incompatible pointer type
/usr/include/gtk-2.0/gdk/gdkfont.h:79:7: note: expected ‘struct GdkFont *’ but argument is of type ‘struct PangoFontDescription *’

It has been this way for a long time it seems, and most likely the program will crash at runtime. Time to last rite it if nobody reported it before?
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-06 07:33:30 UTC
Created attachment 249721 [details]
Build log
Comment 2 Pietro Franchi 2010-10-21 08:21:50 UTC
If I understand correctly there is a simple fix for this problem, see [1]. The gdk_string_width type mismatch is due to the migration to PangoFont from GtkFont, and gkrellm provides a wrapper function (gkrellm_gdk_string_width) to fix the problem.

This plugin has recently been resurrected by a new maintainer, and I've opened an upstream today [3].

I've been using this plug-in for many years and it's really good, so please hold on to this for a bit while it gets fixed. I am happy to proxy maintain if necessary.

[1] http://www.mirrorservice.org/sites/members.dslextreme.com/users/billw/gkrellm/plugins2-reference.html
[2] http://sourceforge.net/projects/gkrellm-gkfreq/
[3] https://sourceforge.net/tracker/?func=detail&aid=3091836&group_id=308547&atid=1299508
Comment 3 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-10-31 14:55:22 UTC
(In reply to comment #2)
> I've been using this plug-in for many years and it's really good, so please
> hold on to this for a bit while it gets fixed. I am happy to proxy maintain if
> necessary.

Thanks for all the info!

I'm still technically the maintainer for these things, but a bit short on time these days, so any help you can lend would be appreciated!  If you post an updated ebuild I'd be happy to throw it in the tree.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2011-01-24 07:57:26 UTC
The package was removed from the tree.