Sample plugin
Nick Schermer
nickschermer at gmail.com
Mon Apr 14 09:02:10 CEST 2008
2008/4/13, Joe Klemmer <klemmerj at webtrek.com>:
> On Wed, 2008-04-09 at 19:15 +0200, Mike Massonnet wrote:
>
> > > Poking around I found that the plugin how-to on the wiki is empty
> > > and the only place I can find the sample plugin code is in the svn
> > > repository.
> >
> > Nowai! http://wiki.xfce.org/dev/howto/panel_plugins
>
>
> That's not the link I had. No wonder I couldn't find it.
>
>
> > Do as Enrico said, follow the svn link to the sample plugin (also
> > pointed on the wiki page).
>
>
> I've taken my first foray into trying to build the sample. Can anyone
> point me to an "autotools for dummies" reference? The sample as is will
> not build because it's not happy with the versions of the xfce lib stuff
> are to old. This is what's in the configure.in.in file -
>
> dnl ***********************************
> dnl *** Check for required packages ***
> dnl ***********************************
> XDT_CHECK_PACKAGE([GTK], [gtk+-2.0], [2.6.0])
> XDT_CHECK_PACKAGE([LIBXFCEGUI4], [libxfcegui4-4.0], [4.3.99.2])
> XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-4.0], [4.3.99.2])
> XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.99.2])
>
> and this is the output from ./autogen.sh
>
> checking for libxfcegui4-4.0 >= 4.3.99.2... not found
> *** The required package libxfcegui4-4.0 was not found on your system.
> *** Please install libxfcegui4-4.0 (atleast version 4.3.99.2) or adjust
> *** the PKG_CONFIG_PATH environment variable if you
> *** installed the package in a nonstandard prefix so that
> *** pkg-config is able to find it.
Search you system if you have the libxfcegui4 pkgconfig file installed
(probably /usr/lib/pkgconfig/). If not, you don't have the *-devel
package of Xfce installed (distro dependent). If the pkgconfig files
do exist and the headers are installed, you need to point your
PKG_CONFIG_PATH to the correct location (export
PKG_CONFIG_PATH=/usr/lib/pkgconfig), as told in the error.
This is no autotools magic, just an incomplete build environment on
your pc (or atleast; not properly configured)
Nick
More information about the Xfce
mailing list