[Geany] pkg-config support for plugins

Enrico Tröger enrico.troeger at xxxxx
Fri Mar 28 16:34:16 UTC 2008


On Thu, 13 Mar 2008 13:29:32 +0100, Enrico Tröger
<enrico.troeger at uvena.de> wrote:

> Hi,
> 
> since 2333, "make install" will also install all header files which
> can be used in plugins and additionally a pkg-config file is
> installed. This means for plugin authors, they can query the
> necessary CFLAGS and LDFLAGS for compiling their sources. This makes
> it quite easy to use the autotools for configuring the plugin
> sources. The package name for pkg-config is "geany".

Since SVN r2428 the pkgconfig file also contains the datadir and
localedir.

Plugin authors can query these values with:
pkg-config --variable=prefix geany
pkg-config --variable=libdir geany
pkg-config --variable=datadir geany
pkg-config --variable=localedir geany

This should be used instead of the "geany --print-prefix" command which
might be removed in future versions.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080328/652aed32/attachment.pgp>


More information about the Users mailing list