Pidgin

Main Page | Recent changes | Random | Special
Edit this page | Page history | Discuss this page
 


Page type: Uncategorised

Contents

IRC Enhancements

Open IRC related tickets in trac

Other features or fixes

Add a /mop command

Neccesary edits:

Add the command info into the array of command details found in libpurple/protocols/irc/parse.c

{ "mop", "", irc_cmd_mop, N_("mop: Grant channel operator status to all users") }

The first item is the typed command, the second appears to be a getopt string for the command arguments, mop takes no arguments in xchat and I see no reason to add any, the fourth argument is the string used when a user types /help mop I'm not sure yet what the N_ function does yet, but probably some kind of translation function. The third argument is the name of a function whose prototype is in libpurple/protocols/irc/irc.h and the body of that function is in libpurple/protocols/irc/cmds.c

Developing in Ubuntu

Getting the source

Stealing instructions from http://developer.pidgin.im/wiki/UsingPidginMonotone

sudo apt-get install monotone
mkdir ~/.monotone
DATABASE=~/.monotone/pidgin.mtn
cd $(dirname $DATABASE)
wget http://developer.pidgin.im/static/pidgin.mtn.bz2 #187mb download, ouch!
bzip2 -d pidgin.mtn.bz2
mtn -d $DATABASE pull --set-default pidgin.im "im.pidgin.*"
mtn -d $DATABASE co -b im.pidgin.pidgin ~/src/pidgin/

Building

sudo apt-get build-dep pidgin
sudo apt-get install libtool
cd ~/src/pidgin/
./autogen.sh # or ./configure
make