A few searches on google and the pidgin website tell me that the dirs can be:
$HOME/.purple/plugins $(libdir)/pidgin if it's a gtk-type plugin $(libdir)/purple-2 if it's a core-type non-gtk plugin But using pkgconfig will tell you what the $(libdir) variable is from your distro. The 'variable' flag will only work if that variable is defined in the pidgin or purple pc file. 2010/10/11 Chuck Norris <[email protected]> > Yes. But how can I determine plugin directory? > > $(libdir)/pidgin? > > Is it distro independent? > > > 10.10.2010 21:04, Craig Harding пишет: > > You need something like this in your Makefile: > > PIDGIN_CFLAGS=`pkg-config --cflags pidgin purple` > PIDGIN_LIBS=`pkg-config --libs pidgin purple` > PIDGIN_PREFIX=`pkg-config --variable=prefix purple` > > > > On Sun, Oct 10, 2010 at 9:58 AM, Chuck Norris <[email protected]>wrote: > >> I've wrote plugin for pidgin. And now I want make tarball distribution >> for it. I want know right way to determine plugins directory in >> distributive indepentent way. I used >> pkg-config pidgin --variable=plugindir >> but it seems not working on ubuntu 10.4. They use pidgin-2.6.6 and .pc >> file doesn't contain this variable. >> >> _______________________________________________ >> [email protected] mailing list >> Want to unsubscribe? Use this link: >> http://pidgin.im/cgi-bin/mailman/listinfo/support >> > > > > _______________________________________________ > [email protected] mailing list > Want to unsubscribe? Use this link: > http://pidgin.im/cgi-bin/mailman/listinfo/support >
_______________________________________________ [email protected] mailing list Want to unsubscribe? Use this link: http://pidgin.im/cgi-bin/mailman/listinfo/support
