Problem is.. i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -Wl,-O1,--as-needed -o xfce4-diskperf-plugin -lxfce4panel -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 xfce4_diskperf_plugin-main.o xfce4_diskperf_plugin-config_gui.o xfce4_diskperf_plugin-devperf.o xfce4_diskperf_plugin-main.o: In function `main': main.c:(.text+0x1f): undefined reference to `gtk_init' main.c:(.text+0x38): undefined reference to `xfce_external_panel_plugin_new' main.c:(.text+0x73): undefined reference to `g_signal_connect_data' Output supressed, it continues few pages. Reproducible: Always Steps to Reproduce: 1. LDFLAGS="-Wl,--as-needed" emerge -av =xfce4-diskperf-2.0
Created attachment 105677 [details, diff] xfce4-diskperf-2.0.ebuild.patch
Created attachment 105679 [details, diff] xfce4-diskperf-asneeded.patch
Sorry Jakub, forgot to assing to xfce in the first place. :-) And forgot to add xfce4-dev-tools to DEPEND cause we need macros for eautoreconf.
Upstream bug opened, http://bugzilla.xfce.org/show_bug.cgi?id=2733
Fixed in upstream.
Thanks for reporting!