A WeeChat plugin for silc
- Install weechat either from source or with your favorite package manager
- Make sure
weechat.pc
is in either/usr/lib/pkgconfig/
or /usr/local/lib/pkgconfig/`
- Make sure
- Install the silc tookit either from source or your favorite package manager
- Make sure
silcclient.pc
is in either/usr/lib/pkgconfig/
or /usr/local/lib/pkgconfig/`
- Make sure
- Clone the latest version of this plugin
git clone git@github.com:bsx/weechat-silc.git
- Make a build directory and run
cmake
andmake
cd weechat-silc
mkdir build
cd build
cmake ..
make
- Install the now built
libweechatsilc.so
sudo make install
If you get a CMake Error that either module silccliient
or weemake
were not found
-- checking for module 'weechat>=1.5'
-- package 'weechat>=1.5' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:14 (pkg_check_modules)
-- checking for module 'silcclient'
-- package 'silcclient' not found
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:279 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPkgConfig.cmake:333 (_pkg_check_modules_internal)
CMakeLists.txt:15 (pkg_check_modules)
You either don't have the appropiate .pc
files in their right place or you might need to set your PKG_CONFIG_PATH
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig
Run ldd libweechatsilc.so
to make sure your libraries are linked correctly, if not you might need to do
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- connecting to a silc server: /silc connect
- joining a channel: /silc join
- talking in a channel
- nicklist and modes should work as well
- private messages: /silc msg []
- disconnecting from a server: /silc disconnect
- leaving a channel (you can close the buffer, but that will just lead to madness)
- changing channel or user modes
- setting a channel topic
- nick changes (both yours and others)
- kicking people and being kicked (see: leaving a channel)
- password prompts for keys (currently just loads/generates a key in the current working directory)