full build.log: https://bugs.gentoo.org/attachment.cgi?id=253595 important part: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DGETTEXT_PACKAGE=\""xfce4-stopwatch-plugin"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libdrm -I/usr/include/atk-1.0 -O2 -march=x86-64 -pipe -c -o xfce4_stopwatch_plugin-stopwatch.o `test -f 'stopwatch.c' || echo './'`stopwatch.c stopwatch.c: In function ‘xfce_PanelPluginRegisterExternalFull’: stopwatch.c:700: error: ‘XfceExternalPanelPlugin’ undeclared (first use in this function) stopwatch.c:700: error: (Each undeclared identifier is reported only once stopwatch.c:700: error: for each function it appears in.) stopwatch.c:700: error: ‘panel_plugin’ undeclared (first use in this function) stopwatch.c:714: warning: passing argument 1 of ‘g_object_ref_sink’ makes pointer from integer without a cast this is with Xfce 4.8.0_pre1 tarballs (latest as of today)
I can confirm this issue on Ubuntu Precise running Xfce 4.10: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DGETTEXT_PACKAGE=\""xfce4-stopwatch-plugin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -pthread -I/usr/include/xfce4/libxfce4panel-1.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/xfce4 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -pthread -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -g -O2 -MT xfce4_stopwatch_plugin-stopwatch.o -MD -MP -MF .deps/xfce4_stopwatch_plugin-stopwatch.Tpo -c -o xfce4_stopwatch_plugin-stopwatch.o `test -f 'stopwatch.c' || echo './'`stopwatch.c stopwatch.c: In function ‘xfce_PanelPluginRegisterExternalFull’: stopwatch.c:700:2: error: unknown type name ‘XfceExternalPanelPlugin’ stopwatch.c:714:2: warning: passing argument 1 of ‘g_object_ref_sink’ makes pointer from integer without a cast [enabled by default] /usr/include/glib-2.0/gobject/gobject.h:445:13: note: expected ‘gpointer’ but argument is of type ‘int’ make[3]: *** [xfce4_stopwatch_plugin-stopwatch.o] Error 1
Since reporting this bug I've removed xfce4-stopwatch-plugin from the Gentoo repositories. If I don't remember wrong, this was the only plug-in that broke and didn't get a fix anywhere (ML, IRC, bugzilla, other distros) with 4.9/4.10 Just saying :/
Yes, this is the reason I cannot include it on my Ubuntu PPA, and likely why Debian and Ubuntu don't ship the plug-in.
This project has been archived, so we are closing related bugs