Hi, I'm beginner in Linux programming, I don't have much experience, I hope you can help me.
I need to create GIMP filter with ability to send and receive XMPP messages. I downloaded and installed GIMP plugin template from http://developer.gimp.org/plug-in-template.html , and it works. I also have Loudmouth XMPP plugin (sorry, I can't post more links) , and I would like to include that plugin in GIMP plugin template.
I was told that I have to add
PKG_CHECK_MODULES(LOUDMOUTH, loudmouth-1.0)
AC_SUBST(LOUDMOUTH_CFLAGS)
AC_SUBST(LOUDMOUTH_LIBS)
in configure.in. There I already have
PKG_CHECK_MODULES(GIMP,
gimp-2.0 >= $GIMP_REQUIRED_VERSION gimpui-2.0 >= $GIMP_REQUIRED_VERSION)
AC_SUBST(GIMP_CFLAGS)
AC_SUBST(GIMP_LIBS)
Also, I was told that I have to add LOUDMOUTH_CFLAGS and LOUDMOUTH_LIBS to src/Makefile.am. In Makefile.am I already have:
INCLUDES =\
-I$(top_srcdir) \
@GIMP_CFLAGS@ \
-I$(includedir)
LDADD = $(GIMP_LIBS)
How to write this? How to add this librabry in my project?
Thanks in a advance. Ilija